ED W40 Processing TeX Documents Wendy Plotkin July 27, 1993 Preparing the document 1) Xedit the document inserting the TeX formatting language. Use examples of other documents in the TeX file (in my bottom drawer until I leave), and/or the TeX manual (in the bookcase). If the letter is to have TEI letterhead, then the first line of the letter should have the command: \input teilet (n.b. If the above line shows a "cent" sign, it should be a backslash -- the reverse of a "/".) This is a driver file that draws on three other files (TEIDEFS TeX, TEIFOOT TeX, and TEIHEAD TeX) that include the TeX commands for the letterhead. 2) On the two "back" terminals in Room 168, the "¤" "‡" characters are not transmitted correctly to the computer, and must be redefined if TeX is to read them as brackets. To do this, a) Go to the top of the document after you have typed it in. b) From the command line, type in Alt ¤ C0 * * c) Go again to the top of the document. d) From the command line, type in Alt ‡ D0 * * e) Save the document. Processing the document 3) Bring up on the screen the filelist of the disk on which your letter is saved (usually, your A disk--thus "Filelist" is the command you would give). 4) In the prefix area of the TeX file you just prepared, type in Tex /n 5) If there are any problems in processing, type Quit. a) Look at the new file that has been created -- with the Filetype of "Texlog" -- to figure out the problem. b) Correct the problems. c) The most common problems I have are i) Leaving out backslashes ii) Using $ to designate U.S. dollars. Because $ is a TeX symbol, when you use it before a dollar amount, you must precede it with a backslash. iii) Forgetting to correct the ¤ ‡ bracket problem using the "alt" command above. d) Ed Garay is the Computer Center guru on TeX, and can help you if you have questions. Also, you can send a note to Consult. 6) Once it has been processed, refresh the filelist to see what new files have been created from the TeX processing. a) If you are processing a TeX file that is on a disk to which you only have R/O access, the new files will show up on your "A" disk, even if the TeX file itself is on another disk, such as the "C" or "D" disk. The two new files showing up on the filelist will have the same filename as your TeX file, but the filetypes "TEXLOG" and "DVI". The "TeXLog" if for your information if questions come up about processing, but can be deleted if the letter is okay. The DVI file is the formatted file that is ready to be printed. After you print out the letter, you would only keep the DVI letter if you thought you might wish to print out another with the *original* date on the letter (normally, I don't keep it). If you keep the TeX version only, and process/print it at a later date, that date will show up on the new version. Printing the File In the prefix area of the DVI file, type Printtex and hit return. This will result in the document being printed on the 8790 machine in the basement in duplex. If you wish to get it faster, give the command Printtex / (dest grc105 which will convert it to Postscript and print it out one-sided on the 2700 machine in the main computer room of GRC. The only caution on the second method is that any Postscript file takes up a lot of space. If your A disk is close to capacity, you may go over with the new file and abort the process (this is not very likely, however). Wendy Plotkin July 27, 1993