		==================================
		latex-cover.sty (was faxcover.sty)
		==================================

	   	   Version 1.04, 11/22/1997
		        R. Krienke 
	        krienke@informatik.uni-koblenz.de

DESCRIPTION:
------------

latex-cover.sty offers a way to create custom coverpage templates for use
with the faxcover application from the hylafax distribution.
The cover template ist used by faxcover when sending a fax to 
automatically create a coverpage with information such as the
destination fax number, the  receipient etc. from the template file and
information supplied by sendfax.

The advantage of latex-cover.sty for creating such a template compared with
the possibility of changing the original faxcover.ps template file is
that latex-cover.sty allows the design of the coverpage to be made in
latex(2e). On the other hand the file faxcover.ps contains pure 
postscript making it rather difficult for a user to design a new
coverpage template.  

Using latex-cover.sty in conjunction with latex and dvips 
the user can now write a plain latex file and insert commands defined in
latex-cover.sty at those places where he wants to insert parameters
actually filled in by faxcover when a fax is beeing send.
The latex source can be comiled by latex and converted to the Postscript
template file via dvips. Thats all!

latex-cover.sty offers the following commands to insert Variables in the
template file that are replaced by actual values when a fax is beeing
send. The names of the variables are similar to the names described in
the man page of faxcover (the difference is that the latex command names
contain no "-" and that you have to write \toperson instead of \to for
the variable "to").
So if you want to insert the destination faxnumer somewhere in your
coverpage simply place the latex command \tofaxnumber in the correct
position of your latexfile.
Here are all the command described by latex-cover.sty. You can find a
description of the variables in the manpage of faxcover:

\commentsX
\comments
\from
\toperson
\fromcompany
\tocompany
\regarding
\tolocation
\tovoicenumber
\fromlocation
\fromvoicenumber
\tofaxnumber
\fromfaxnumber
\pagecount
\todaysdate

the file lcover.tex defined a demo coverpage the user may take as a
starting point for his own page.

There is another command that helps you define the string to use 
if the page-count Variable should have the value zero. Because you
probably do not want the number "0" to appear on the coverpage 
as the number of pages to follow. To avoid this the \pagecount macro 
inserts Postscript code to test the actual value. If it is zero, a "?"
character is used inseat of the number "0". You can change the text to
appear in this case by giving a value to the tex macro 
\zeroPagecounterString eg:

 	\zeroPagecounterString{unknown}


BUGS:
-----

There is one problem that you should know about. The main problem is,
that you design a page with fax variables in latex. At that
point latex has no knowlwdge about with what values the variables
will be replaced. So latex does not know about the size of tex
for a variable and cannot do correct formatting for the
variable. So if you e.g. try to center such a variable the text
in the resulting coverpage for a fax will probably not be
centered.

A property of dvips poses another restriction on the creation of a 
template  with latex(2e) using faxcover.sty. 
The template .tex-file has to use postscript fonts in
order to create a correct faxcover template. Not doing so results
in the appearance of strange characters in the final coverpage. The
problems arises because dvips changes the standard fontencoding vector in
the resulting ps file, so that manually inserted text (from a command
like \tofaxnumber etc) that relies on the standard encoding produces 
incorrect text to be displayed. 
So it is important, that the template .tex-file contains a command like

	\usepackage{times}

or a similar psfonts package of latex.	



INSTALLATION:
------------

Simlpy copy the file latex-cover.sty in a directory where tex can find it. 
Then design your page, run latex and finally convert the dvi file to
Postscript using dvips. The file lcover.tex is a demo template
source. The file lcover.ps is the templatefile for use with
sendfax (faxcover).
After you created your new templatefile you can use it best by setting
the environmentvariable FAXCOVER to the pathname of your ps  file.


CHANGES:
--------
1.00 --> 1.01
	Found Bug that caused wrong characters to appear in the
	final coverpage. The fix was to use postscriptfonts instead of
	pk-fonts from latex. For this reason the user has to use one of the
	ps fonts packages like "times".

1.01 --> 1.02
	The was a problem when sending a fax including coverpage from
	winflex. Unlike the unix faxcover program winflex
	does not provide a postscript routine to break
	lines of text (used for the comments line on the coverpage).
	So I provided (excacly the routine used by faxcover) in
	my style using a different name, to prevent name clashes.

	I changed the name of the stylefile to be equivalent to the
	name of the distribution( from faxcover.sty to latex-cover.sty).
	You will need to change your coverpage tex files accordingly.

	A little bit Postscript code was added to handle page counters
	(number of pages to follow) with value zero.
	
1.02 --> 1.03
	Small Bugfix: The demo template .tex file contained \today
	instead of \todaysdate, so the date was always the one
	of the day the dvi-file was created.

1.03 -> 1.04 
	Small Bugfix: The comments field was not correctly broken into
	lines. Thanks to Lorenzo M. Catucci" <lorenzo@argon.roma2.infn.it>
	who found this bug and thanks to Volker Riediger
	<riediger@uni-koblenz.de> who helped fixing the postscript code.
