| 1 |
readme |
| 2 |
|
| 3 |
This file describes setting up newlfm.cls, the class file which contains the |
| 4 |
information about the new letter, fax and memo class newlfm. newlfm creates |
| 5 |
two additional .sty files, addrset.sty and setdim.sty. These support the |
| 6 |
processing performed by newlfm. |
| 7 |
|
| 8 |
newlfm uses a number of external .sty files to perform various functions. |
| 9 |
Please get the current version of these .sty files from better CTAN |
| 10 |
locations everywhere, install them as requested and update your configuration as |
| 11 |
necessary. |
| 12 |
|
| 13 |
These files are as follows: |
| 14 |
|
| 15 |
.sty File CTAN Location Retrieve? |
| 16 |
mdwlist macros/latex/contrib/supported/mdwtools Entire subdirectory |
| 17 |
fancyhdr macros/latex/contrib/supported/fancyhdr Entire subdirectory |
| 18 |
envlab macros/latex/contrib/supported/envlab Entire subdirectory |
| 19 |
graphics dviware/ln03/rmcs Specific file |
| 20 |
|
| 21 |
Setup procedure: |
| 22 |
|
| 23 |
1) Use a temporary working subdirectory. Unpack the newlfm archive file by |
| 24 |
using an appropriate tool, if you have an archive file. These tools are |
| 25 |
widely available. If you do not have them, please check CTAN. Otherwise |
| 26 |
just copy the files from the newlfm archive location in CTAN. |
| 27 |
|
| 28 |
2) Start up a OS command frame (MS-DOS command prompt, unix console). The OS |
| 29 |
command frame must be able to access some TeX version, and that is your |
| 30 |
responsibility. The setup procedure here requires access to TeX and more |
| 31 |
specifically to LaTeX. |
| 32 |
|
| 33 |
3) The setup utility assumes that you are running dvips as your printer |
| 34 |
driver. If not, you must change make_win.bat or make_unix. |
| 35 |
|
| 36 |
4) make .cls and .sty files: |
| 37 |
|
| 38 |
This acts to setup the program, by running the various components in the |
| 39 |
correct order. |
| 40 |
|
| 41 |
a) Win family: type |
| 42 |
|
| 43 |
make_win |
| 44 |
|
| 45 |
To check on commands: |
| 46 |
|
| 47 |
type make_win.bat |
| 48 |
|
| 49 |
b) unix/linux family: type |
| 50 |
|
| 51 |
make_unix |
| 52 |
|
| 53 |
To check on commands: |
| 54 |
|
| 55 |
more make_unix |
| 56 |
|
| 57 |
5) After running the make utility, print copies of the demonstration letters test1 |
| 58 |
- test7. Print these letters and examine them. Here is a brief description: |
| 59 |
|
| 60 |
(a) test1 is a standard letter, with a little palm tree in the left header |
| 61 |
and a motto in Large bf text in the footer. A signature is printed in the signature |
| 62 |
block. It has a FAX cover page. |
| 63 |
|
| 64 |
(b) test2 is a standard memo, with a large palm tree at an odd angle in the |
| 65 |
top margin, centered. It is written in pig latin, or ig-pay atin-lay. This |
| 66 |
is a dialect of American English popular among 8 year olds. |
| 67 |
|
| 68 |
(c) test3 is a full memo, with a smaller memo space (144pt margins on either |
| 69 |
side). It has all address information in both the "from" and "to" sections |
| 70 |
of the memo. |
| 71 |
|
| 72 |
(d) test4 is a business letter with a header file containing a small palm |
| 73 |
tree and a firm identification section in the left margin. |
| 74 |
|
| 75 |
(e) test5 is a business letter with a header file containing a small palm |
| 76 |
tree and a firm identification section in the left margin. It also has a |
| 77 |
table, built in the standard table fashion, included. |
| 78 |
|
| 79 |
(f) test6 is a form letter, which prints letters to two different persons, |
| 80 |
including a fax header page for each. |
| 81 |
|
| 82 |
(g) test7 is a form letter file, which prints letters to two different persons, |
| 83 |
including a fax header page for each. In addition, it changes the order of |
| 84 |
the date and from addresses, and fiddles with the spacing. |
| 85 |
|
| 86 |
(h) test8 is a form letter file, which prints letters to three different |
| 87 |
persons from a list command multletter, including a fax header page for |
| 88 |
each. In addition, it changes the order of the date and from addresses, and |
| 89 |
fiddles with the spacing. This file also illustrates the use of the stored |
| 90 |
letter dimensional information, stored in the letters database letrinfo.tex. |
| 91 |
|
| 92 |
(i) test9 is a form letter file, which prints letters to three different |
| 93 |
persons from a list command multletter, including a fax header page for |
| 94 |
each. In addition, it changes the order of the date and from addresses, and |
| 95 |
fiddles with the spacing. This file also illustrates the use of the stored |
| 96 |
letter dimensional information, stored in the letters database letrinfo.tex. |
| 97 |
|
| 98 |
(j) test10 is a letter showing inclusion of nameto and namefr options |
| 99 |
directly rather than through the letrinfo file. It prints them in cello-window form. |
| 100 |
|
| 101 |
(k) test11 is a press release. |
| 102 |
|
| 103 |
6) newlfm.zip includes all files necessary to perform the demos. |
| 104 |
(a) After executing the setup utility, all files in these packages should |
| 105 |
be placed on your LaTeX path. You may wish to place them in your "local |
| 106 |
site" tree, which is the LaTeX storage location for local files. Ensure |
| 107 |
that the local LaTeX path is executed or searched after the default LaTeX |
| 108 |
path. |
| 109 |
|
| 110 |
(b) Place all files newlfm.* on the "local site" tree, in the location for |
| 111 |
LaTeX files. In addition, letrinfo.tex and extracd.tex are both placed on |
| 112 |
the "local site" tree. They should probably for simplicity be placed at the |
| 113 |
same location as is newlfm.cls. |
| 114 |
|
| 115 |
In that way, when you replace or upgrade, information for the use of newlfm |
| 116 |
(in particular, your letrinfo.tex file) will not be deleted inadvertantly. |
| 117 |
|
| 118 |
7) newlfm.dvi (and probably newlfm.ps) are produced by the setup utility. |
| 119 |
This is a result of the docstrip program's extraction from newlfm.dtx of the |
| 120 |
instructions for the newlfm.dtx class. Please print this and check it for |
| 121 |
simple information about the class. |
| 122 |
|
| 123 |
8) Bugs and problems may be reported to |
| 124 |
|
| 125 |
Paul A. Thompson, Ph.D. |
| 126 |
Div of Biostatistics |
| 127 |
Box 8067, Washington University School of Medicine |
| 128 |
St. Louis, MO 63110 |
| 129 |
|
| 130 |
[email protected] |
| 131 |
|
| 132 |
If you wish me to examine anything, please send a gzipped tar file |
| 133 |
containing all sources (this includes letrinfo.tex and extracd.tex). I will |
| 134 |
try to run your example. NOTE: First step of debugging is to ensure that |
| 135 |
newlfm.cls is the same as mine; I don't look at your version of my class |
| 136 |
file. Please be sure that you have read the documentation first, however. |
| 137 |
|
| 138 |
MANIFEST OF ALL NEWLFM COMPONENTS |
| 139 |
|
| 140 |
This is a manifest of all files currently used in newlfm. It can serve as a |
| 141 |
checklist for users to ensure that all files for the class are present. |
| 142 |
|
| 143 |
extracd.tex Pattern file to enable users to change phrases for letter components |
| 144 |
letrinfo.tex Letter database file for examples |
| 145 |
lvb.eps Signature of Ludwig von Beetfonten |
| 146 |
makeclean_win.bat Clean up the subdirectory on a Windows box |
| 147 |
make_clean Clean up the subdirectory on a unix box |
| 148 |
make_unix Make .cls, .sty, manual and all examples on unix box |
| 149 |
make_win.bat Make .cls, .sty, manual and all examples on Windows box |
| 150 |
newlfm.dtx Source for newlfm and all associated program |
| 151 |
newlfm.ins File to produce newlfm.cls |
| 152 |
newlfm.txt A blurb about newlfm |
| 153 |
newlfm.zip .zip file containing all parts of the system |
| 154 |
palm.eps Palm tree used in examples |
| 155 |
README Instructions for setting up system |
| 156 |
sfaxpage.tex Pattern for FAX header page, modifiable by the user |
| 157 |
smemosec.tex Pattern for the memo block, modifiable by the user |
| 158 |
sprsrls.tex Pattern for the press release, modifiable by the user |
| 159 |
test1.tex Example file 1 |
| 160 |
test2.tex Example file 2 |
| 161 |
test3.tex Example file 3 |
| 162 |
test4.tex Example file 4 |
| 163 |
test5.tex Example file 5 |
| 164 |
test6.tex Example file 6 |
| 165 |
test7.tex Example file 7 |
| 166 |
test8.tex Example file 8 |
| 167 |
test9.tex Example file 9 |
| 168 |
test10.tex Example file 10 |
| 169 |
test11.tex Example file 11 |
| 170 |
test12.tex Example file 12 |
| 171 |
test1alt.tex Example file 1, alternative option specification (old style) |
| 172 |
test2alt.tex Example file 2, alternative option specification (old style) |
| 173 |
test3alt.tex Example file 3, alternative option specification (old style) |
| 174 |
test4alt.tex Example file 4, alternative option specification (old style) |
| 175 |
test5alt.tex Example file 5, alternative option specification (old style) |
| 176 |
test6alt.tex Example file 6, alternative option specification (old style) |
| 177 |
test7alt.tex Example file 7, alternative option specification (old style) |
| 178 |
test8alt.tex Example file 8, alternative option specification (old style) |
| 179 |
wine.eps Picture of some wine bottles |
| 180 |
|
| 181 |
newlfm uses internally defined macros to set up fax header pages, memo |
| 182 |
header blocks and press releases. To customize these for yourself: |
| 183 |
|
| 184 |
1) Change sfaxpage.tex to faxpage.tex for the fax page and modify it as needed; or |
| 185 |
2) Change smemosec.tex to memosec.tex for the memo block and modify it as needed; |
| 186 |
3) Change sprsrls.tex to prsrls.tex for the press release and modify it as needed. |
| 187 |
|
| 188 |
Modification of the files is in the hands of the user. Your mileage may |
| 189 |
vary. As developer and supporter of newlfm, I specifically exclude support |
| 190 |
for user modifications, but will consider a consulting arrangement at the |
| 191 |
user's discretion. |
| 192 |
|
| 193 |
|
| 194 |
|
| 195 |
|