TeXhax Digest Tuesday, August 18, 1987 Volume 87 : Issue 70 Editor: Malcolm Brown Today's Topics: Re: question about automated letters in TeX/LaTeX VorTeX adds X previewer Re: slashing zeroes TeX Uneven inter-row spacing from LaTeX tabular environment Putting tilde under letters in math mode ---------------------------------------------------------------------- Date: 18 Aug 87 From: Malcolm Subject: immoderate notes %% Please note that I'll be out of town until 8/27. This means that it %% may be as late as September 1 before I get out another TeXhax digest. %% I suggest you wait until 8/27 before sending any more TeXhax %% submissions. Given the volume of returned digests, it may well be %% the case that the disk quota assigned to the TeXhax subdirectory %% will be exhausted before 8/27. Don't be alarmed; I'll be back to %% straighten things out. %% %% Sorry I won't make it to the TUG meeting --- I hope it's a good %% conference! %% %% Malcolm ------------------------------ Date: Thu, 13 Aug 87 22:39:03 edt From: Bengt Martensson To: texhax@SCORE.STANFORD.EDU Subject: Re: question about automated letters in TeX/LaTeX Reply-To: watale!bengt@kingcong.waterloo.edu Return-Receipt-To: bengt@watale.waterloo.edu >doesanyone out there have a way to automate letters so that the same text will >take addresses and names from other files? i hope the question is clear.... >thanks in advance This is what I have been using for quite some time: I have a format based on a modification of the letter format in the TeXbook. I use a function in Emacs to insert the skeleton of the letter, like this: \magnification=1200 \input busletter \input addresses \def\today{August 13, 1987} \BMletterhead \address \XxxYyy \body Dear Prof.~XXX: Blah, blah. % \closing Sincerely, \BM %\annotations %encl. %BM/\TeX %cc: XXX %\ps %P. S. Blah, blah \endletter \makelabel \bye Note that I let Emacs, not TeX, generate the date, as opposed to all "smart" letter formats. The advantage is for my documentation--I don't save a paper copy. This file inputs my address data base addresses.tex, resident in the path TEXINPUTS (for Unix) or TEX$INPUTS (VMS). It looks in principle like this: \begingroup \obeylines \gdef\RonaldReagan{% President Ronald Reagan The White House 123 Black Street Washington DC, CA 12345} % \gdef\MichaelGorbatief{% ... ...} % \endgroup (I hope the meaning is clear.) I do not enter the address directly in the letter, but in the file addresses.tex. Then I can write \RonaldReagan after \address. As long as the addresses file does not grow too large, this works fine. Bengt Martensson (bengt@watale.waterloo.edu, bengt@watlager.bitnet) -- One day I am going to submit a program (or an Emacs function) to help all of you with broken shift-key on your terminals... ------------------------------ Date: Thu, 13 Aug 87 23:21:20 PDT From: vortex@ucbarpa.Berkeley.EDU (The VorTeX Distribution) To: TeXhax@score.stanford.edu Subject: VorTeX adds X previewer The following is an update of the utilities for use with TeX which are currently included in the VorTeX distribution: dvitool - A previewer for DVI files which runs on the SUN workstation. dvi2x - A previewer for DVI which runs on a Vax or Sun and talks to an X server. fonts - A set of fonts used for TeX and LaTeX in the sizes needed for using the previewer. pxltool - SUN-based font editor for PXL files emacs - A large LISP library for use with emacs which facilitates editing of TeX, LaTeX, and BIBTex files. dvitoip - A DVI to INTERPRESS filter. It allows the printing of DVI files on an Xerox Dandelion printer. texdvi - A program which runs TeX, LaTeX, or SliTeX and previews the results using DVItool. gr2ps - A program which converts grelim files to POSTSCRIPT. makeindex - A general purpose index generator for use with LaTeX files. May also be used with other dialects of TeX. We have just added a new DVI previewer to the VorTeX distribution. The previewer, dvi2x, runs on a Sun 2, Sun 3, or Vax computer and displays on an X server. Dvi2x has similar functionality to our other previewer, dvitool. Licenced users of the VorTeX 2.0 distribution may obtain a copy of the new software free of charge by sending a magnetic tape (1200', 2400', or 3M streaming cartridge), along with a cover letter requesting a software update, to the address below. The VorTeX software is the copyrighted property of the Regents of the University of California, and may be licensed for a fee. If you would like further information on licensing, as well as the appropriate forms, please send your postal mailing address to vortex-dist@ucbvax.Berkeley.EDU, and we will send you a licensing package. Mike Robinson VorTeX group, Univerity of California, Berkeley Please address any correspondence to: Professor Michael A. Harrison Att. Vortex Dist. Computer Science Division University of California Berkeley, CA 94720 UUCP: ...!ucbvax!vortex-dist ARPA: vortex-dist@ucbvax.berkeley.edu ------------------------------ Date: Fri, 14 Aug 87 11:14:20 EST From: i5f@l.cc.purdue.edu (S Bechtolsheim) To: texhax@score.stanford.edu, mazzarel%husc@harvard.harvard.edu, Subject: Re: slashing zeroes I'd like to mention, that my new driver should not have this problem anymore. Paul: send me one page TeX sample, I will run it through my driver and sned you the PostScript file back, which you then can print. Stephan ------------------------------ Subject: TeX To: TeXHax@SCORE.STANFORD.EDU From: @RELAY.CS.NET,@ncrlnk.dayton.ncr.com,@ncr-sd:cape@ncrcce Date: Fri, 14 Aug 87 15:35:08 -0400 (at ncrlnk.Dayton.NCR.COM) From: Robert Cape Location: NCR Comten, Inc. Information Services St. Paul, MN To: TeXHax Location: Stanford I saw a reference to your group a while ago in comp.text. Do you know of any implementations of TeX that run on an NCR Tower under System V? Either PD source and/or commercial implementation recommendations are welcome. -Thanx ============================================================================ | Robert Cape | | | NCR Comten, Inc. | NCR Internet: 622-7211 | | Information Services | AT&T : 612-638-7211 | | 2700 Snelling Ave. N. | USENET : cape@stpaul.ncr.com | | St. Paul, MN 55113 | | ------------------------------ Date: Fri, 14 Aug 87 17:34 EDT From: (John Lavagnino) Subject: Uneven inter-row spacing from LaTeX tabular environment To: TeXhax@score.stanford.edu X-Original-To: TeXhax@score.stanford.edu, LAV I find that the tabular environment sometimes generates uneven spacing between rows when the p{wd} specifier is used. Consider: \begin{tabular}{p{2.5in}} Jesus \\ Mary \\ Joseph \end{tabular} The vertical space between Mary and Joseph turns out to be greater than that between Jesus and Mary. There are no letters with descenders in "Jesus", but there are in "Mary"; other tests seem to suggest that letters with descenders trigger this problem. I haven't seen it when I use the other specifiers and not p{}. LaTeX bug, or my own folly? It occurs with TeX 2.0, LaTeX 2.09, released 7 January 1986, running under VAX/VMS. John Lavagnino, Feldberg Computer Center, Brandeis University ------------------------------ Date: Mon, 17 Aug 87 11:29:50 EDT From: Hal_Varian@um.cc.umich.edu To: texhax@score.stanford.edu Are there any other FinalWord II users out there in TeX-land? If so, they might find the following FinalWord macros useful for processing their TeX files. FinalWord II (by Mark of the Unicorn) is a nice emacs-like progammable editor. --------------------------------cut here----------------------------------- ;find TeX errors ; start in the TeX file, hit ^B to Begin. Macro prompts you for log file ; name and splits screen. Loads log file in top window. ; Hit ^G to go to each error in turn. Be sure to close your .log file ; when you are done in order to clear it out of your swap file. begin : (f winsplit find dired "*.log" r toend f winswitch r toend) ;create the windows, find files of the form *.log, after loading go to ;the beginning of the log file. Then switch to the text window and go to ;the beginning of it. finderr : search toend "l.[0-9]+" f 2 c copy (past (match "[0-9]+")) Q1 draw ;search for the next occurence of a TeX error, skip over "l.", read the ;line number into register Q1. Redraw the screen. gotoerr : (get "" Q1)->lineno ;get the line number from Q1 and go to that line. geterr : r winswitch finderr f winswitch gotoerr (hilit toeol) ;switch from the TeX window to the log window, find the error, switch ;back to the TeX window, go to the error and highlight the line. ^B : begin ;control-B to begin ^G : geterr ;control-G to get the next error. ------------------------------ Date: Mon, 17 Aug 87 16:42:43 CDT From: mclay@ngp.utexas.edu (Robert McLay) Posted-Date: Mon, 17 Aug 87 16:42:43 CDT To: texhax@score.stanford.edu Subject: Putting tilde under letters in math mode In my department we tend to write a vector with a tilde under the letter: V ~ I know that there are other choices to show that it is a vector but it would be nice to be able to have a function that would work in math mode to do this. Say \utilde{v} => V ~ I tried to figure it out using \tilde as a guide but got lost. If you can help me out, I would sure appreciate it. ________________________________________________________________________ Robert McLay The University of Texas at Austin, Dept of ASE-EM WRW 201c, Austin, TX 78712 mclay@ngp.utexas.edu {ihnp4,allegra,seismo}!ngp!mclay ------------------------------ %%% %%% subscriptions, address changes to: texhax-request@score.stanford.edu %%% %%% submissions to: texhax@score.stanford.edu %%% %%% BITNET redistribution: TEX-L@TAMVM1.BITNET (list server) %%% %%%\bye %%% ------------------------------ End of TeXhax Digest ************************** -------