TeXhax Digest Tuesday, December 4, 1990 Volume 90 : Issue 073 Moderators: Tiina Modisett and Pierre MacKay %%% The TeXhax digest is brought to you as a service of the TeX Users Group %%% %%% in cooperation with the UnixTeX distribution service at the %%% %%% University of Washington %%% Today's Topics: Correct list of LaTeX fonts, anyone? Correction for DVI2LN03 for August 1990 DECUS TeX Collection LaTeX style for Crop Marks Re: TeXhax Digest V90 #071 (verbatim) Changing page length mid-document (TeXhax Digest V90 #072) TeX for P/OS Feynman Diagrams in LaTeX MakeIndex for MS-DOS, and a new anonymous ftp site for TeX. Needed: Addresses of vendors Aesthetics: suggested new error message \sf and \bf \topglue 7-bit encodings (TeXhax Digest V90 #071) index formatting ------------------------------------------------------------------------------ Date: Tue, 4 DEC 90 14:12:39 BST From: UHAC010@vax.rhbnc.ac.uk Subject: Correct list of LaTeX fonts, anyone? Keywords: LaTeX, fonts I'm trying to get together the minimal set of fonts that would be needed by a LaTeX user assuming the standard styles and no use of \newfont. I have analysed LFONTS.TEX to produce what I thought was the list, but I'm obviously being naive, because LaTeX keeps surprising me by asking for fonts at unexpected magnifications. Has anyone got a complete list of names and sizes? Dr Adrian Johnstone, Mail: Department of Computer Science, Royal Holloway & Bedford New College, University of London, Egham, Surrey, TW20 0EX, England Phone: 0784 443425 (+44-784 443425) Fax: 0784 437520 Telex: 935504 RHC Janet: a.johnstone@uk.ac.rhbnc.vax Arpa: a.johnstone%vax.rhbnc.ac.uk@nss.cs.ucl.ac.uk --------------------------------------------------------------------------- Date: Thu, 29 Nov 90 21:27:23 EST From: ted@nieland.DAYTON.OH.US (Ted Nieland) Subject: Correction for DVI2LN03 for August 1990 DECUS TeX Collection Keywords: DECUS, correction A problem has been found with the STARTUP.COM in the DECUS TeX Collection of August 1990. This problem affects the DVI2LN03 DVI driver included in the collection. The problem is that the driver looks up the TFM files via the logical name TEX$FONTS instead of using the TEX_FONTS. This results in the DVI driver reporting the font characters are incorrect. To correct the problem edit the STARTUP.COM file in [TEX.EXE] to include a logical name definition for TEX$FONTS that is the same as the one for TEX_FONTS (or change the code for DVI2LN03 to use the TEX_FONTS logical, which is what I will be doing to the master collection). Sorry about the problem, but I was not able to get access to a "clean" machine (one that did not already have an old TeX installation) to test the collection and I was caught by the fact the TEX$FONTS was legal and good definition on the system I was using to create collection. [Anyone have a VAX system they can give me to continue the development of the collection under conditions I can control? ;) ] If anyone finds any other problems with the DECUS TeX Collection, please send the notices to decus-tex@nieland.dayton.oh.us. M. Edward (Ted) Nieland DECUS TeX Collection Editor Ted@NIELAND.DAYTON.OH.US ------------------------------------------------------------------------------- Date: 30 Nov 90 6:33 -0800 From: Darrell Wick Subject: LaTeX style for Crop Marks Keywords: LaTeX, crop marks I would like to include crop marks on my LaTeX output. Is there a style or other routine for accomplishing this? Thanks, Darrell Wick ------------------------------------------------------------------------------ Date: Wed, 28 Nov 90 16:15:54 CET From: mahilata Subject: Re: TeXhax Digest V90 #071 (verbatim) Keywords: verbatim, \frenchspacing re: verbatim \frenchspacing does the trick ---------------------------------------------------------------------------- Date: Wed, 28 Nov 90 14:28:58 -0800 From: mackay@cs.washington.edu (Pierre MacKay) Subject: Changing page length mid-document (TeXhax Digest V90 #072) Keywords: page length We have used this for years to balance pages in the Near Eastern Publications Format at the University of Washington. You need a few \new.... declarations to start with. If there is any stretchable glue anywhere, \longpage will often act like a no-op, but in several of our formats we don't permit any stretch at all, because we like to make facing lines match up. \longpage and \verylongpage must be invoked well before the end of the page. \shortpage wants to be in the line you want to end the page with. Page balancing being what it is, I have never spent any time on trying to make this more sophisticated. It is hand work anyway. % \def\longpage{\pagegoal=\longpagedepth}% \def\verylongpage{\pagegoal=\verylongpagedepth}% \def\shortpage{\vadjust{\mainstrut}}% \finalhyphendemerits=15000 % We rather disapprove of these \linepenalty=-10 % We don't really care how many lines (within reason) \widowpenalty=10000\clubpenalty=10000 % But oh how we hate widows! \let\textpoint=\elevenpoint \textpoint % % Now that we have a baselineskip value and a strut, we can set the following % \global\setbox\mainstrutbox=\hbox{\strut}\def\mainstrut{\unhcopy\mainstrutbox} \longpagedepth=\nettdepth \advance \longpagedepth by \baselineskip \verylongpagedepth=\longpagedepth \advance \verylongpagedepth by \baselineskip It also helps to have a dvi-display system that opens two pages in a proper verso-recto pair. Unfortunately, there aren't enough of those. Email concerned with UnixTeX distribution software should be sent primarily to: elisabet@max.u.washington.edu Elizabeth Tachikawa otherwise to: mackay@cs.washington.edu Pierre A. MacKay Smail: Northwest Computing Support Center TUG Site Coordinator for Thomson Hall, Mail Stop DR-10 Unix-flavored TeX University of Washington Seattle, WA 98195 (206) 543-6259 ------------------------------------------------------------------------------- Date: Tue, 27 Nov 90 13:36 EDT From: BURT@binah.cc.brandeis.edu Subject: TeX for P/OS Keywords: TeX, P/OS Are there versions of TeX that run under P/OS, the operating system of the DEC Professional? P/OS is related to RSX-11M-Plus, and I may be able to run such an application as well. Thanks for your help John Burt ------------------------------------------------------------------------- Date: Wed, 28 Nov 90 10:37 EST From: "Stephen A. Wood, (804)249-7367" Subject: Feynman Diagrams in LaTeX Keywords: LaTeX, Feynman diagrams A paper entitled "A LaTeX Graphics Routine for Drawing Feynman Diagrams" by Michael J.S. Levine recently appeared in Computer Physics Communications (V 58, p 181-198 (1990)). Does anyone know where this LaTeX macro package FEYNMAN is available electronically? Stephen A. Wood (saw@cebaf2.cebaf.gov) CEBAF Newport News, Virginia ------------------------------------------------------------------------------- Date: Tue, 27 Nov 1990 15:10:16 EST From: AHLQUIST@METSAT.MET.FSU.EDU Subject: MakeIndex for MS-DOS, and a new anonymous ftp site for TeX. Keywords: Makeindex, MS-DOS Regarding Masoud Salehi's question in TeXhax no. 72, MakeIndex for MS-DOS is available from science.utah.edu. Nelson Beebe made the adaptation. Note: science.utah.edu is now a UNIX machine. MakeIndex is probably also available from a number of other sites, including metsat.met.fsu.edu. The latter address is a new anonymous ftp site which I am helping to manage. For MS-DOS machines, we offer SBTeX with a choice of several screen previewers and a few Beebe printer drivers. All of the software was written elsewhere, but I have assembled it into a form that is fairly straightforward to install, and I have written unifying documentation. Among the utilities are MakeIndex and BibTeX. For the Mac, we offer OzTeX. We are very much in the learning curve of operating this site and we hope to improve our documentation, etc. If you download something now, a better version may be available in a few weeks or a month, but give us a try, and let us know what is good and what isn't. I have added more Internet information to Peter Flynn's servers.tex document, and it is available from our site. - Jon Dr. Jon Ahlquist, Dept. of Meteorology, Florida State University, Tallahassee, FL 32306-3034, USA Telephone: (904) 644-1558 Internet: ahlquist@metsat.met.fsu.edu ------------------------------------------------------------------------------ Date: Tue, 27 Nov 90 09:18:45 GMT From: Vincenzo Subject: Needed: Addresses of vendors Keywords: Tex, vendors, addresses, general Daer friends, I would like to find the addresses of some vendors of the TeX package for the HP-9000 running HP-UX. Anybody can help me? The vendors of the fonts and the device drivers (dviXX) are also apreciated. Thanks a lot| Vincenzo (DeFlorio at IBaCsata.BITNET) ---------------------------------------------------------------------------- Date: Mon, 26 Nov 90 16:31 GMT From: "Peter Flynn, UCC" Subject: Aesthetics: suggested new error message Keywords: TeX, error messages A colleague here was reading a book on DTP and came across a much-wished-for error message (the book was lamenting that no system had it)... +------------------------------+ | Page aesthetically offensive | | Refusing to print | +------------------------------+ I don't suppose there's any way we can get this into TeX...:-) ///Peter --------------------------------------------------------------------- Date: Sat, 17 Nov 90 12:59:14 GMT From: Donald Peterson Subject: \sf and \bf Keywords: fonts, Sans Serif, LaTeX I find the Sans Serif typeface very attractive, anfd often want to use it as the main typeface in a LaTeX document. However, I then find thsat whenever \bf is used (e.g. by the \chapter{}, \section{} commands, in the toc, etc), the typeface reverts to Roman. Is there any way of setting it to \sf so that it stays that way, becoming bold when necessary, unless there is an explicit request to change to Roman? I worked out how to load a specific size of bold-sans-serif, but this is very clumsy. Donald Peterson. Please send replies direct to PetersonDM@uk.ac.bham.cs ---------------------------------------------------------------------------- Date: Tue, 20 Nov 90 12:38:05 +0000 From: Dominik Wujastyk Subject: \topglue Keywords: TeX, \topglue Just learned that my 17th paperback printing of the TeXbook is out of date. Grrr. The culprit is \topglue, which seems to be addressed to solving the complexities about \topskip and what happens at the top of a page. Could some kind soul produce a diff file of 17th to 18th printing of the TeXbook, or even just the text relating to \topglue? Dominik ----------------------------------------------------------------------------- Date: Wed, 21 Nov 90 16:36:25 -0800 From: mackay@cs.washington.edu (Pierre MacKay) Subject: 7-bit encodings (TeXhax Digest V90 #071) Keywords: encoding Although I have long been partial to the atob<--->btoa pair of programs, which are also well known and have been around for many years, I will echo Dominik Wujastyk's appeal, and consent to switch to any version of a well-known free software encoding which 1. Guarantees that the leftmost character in each line is a safe Alpha character. 2. Excludes the ASCII space character. (This is the weak spot in the traditional uuencode. Space was permitted in early btoa encodings, but the authors learned better soon.) 3. Provides at least 2 validation checks at the end of the file Such as line or character count and some sort of checksum. I do not know XXencode, but I fervently hope, since it is being pushed at present, that it meets these minimum criteria, especially number 2. Is there a convenient North American source? ----------------------------------------------------------------------------- Date: Mon, 26 Nov 90 10:02:09 EST From: jrv@sdimax2.mitre.org Subject: index formatting Keywords: TeX, index, formatting Gentlemen: I am trying to create an index in two column form with plain TeX. I have implemented the two column macros on page 257 of the TeXBook, and they format text into two columns fine. I'd now like to add the continuation notes where a main entry spills over into the next column. These macros from page 262 to create the appropriate marks run OK: \def\beginindex{\begingroup \parindent=1em \maxdepth=\maxdimen \def\par{\endgraf \futurelet\next\inxentry} \obeylines \everypar={\hangindent 2\parindent} \exhyphenpenalty=10000 \raggedright} \def\inxentry{\ifx\next\sub \let\next=\subentry \else\ifx\next\endindex \let\next=\vfill \else\let\next=\mainentry \fi\fi \next} \def\endindex{\mark{}\break\endgroup} \let\sub=\indent \newtoks\maintoks \newtoks\subtoks \def\mainentry#1,{\mark{}\noindent \maintoks={#1}\mark{\the\maintoks}#1,} \def\subentry\sub#1,{\mark{\the\maintoks}\indent \subtoks={#1}\mark{\the\maintoks\sub\the\subtoks}#1,} With just these macros, the index looks good - correct line breaks, indentation, etc. I then added the following code from page 263 to produce the continuation lines: \newtoks\normaloutput \normaloutput={\if L\lr \global\setbox\leftcolumn=\columnbox\global\let\lr=R \else \doubleformat \global\let\lr=L\fi} \output={\dimen0=\dp255 \normaloutput \ifodd\pageno\else\if L\lr \expandafter\inxcheck\botmark\sub\end\fi\fi} \def\inxcheck#1\sub#2\end{\def\next{#1}% \ifx\next\empty % do nothing if \botmark is null \else\noindent #1\continued % 'main entry (continued):' \def\next{#2}% \ifx\next\empty % nothing more if \botmark has no \sub \else\let\sub=\continued \indent #2\fi \advance\dimen0 by-\prevdepth \kern\dimen0 \fi} \def\continued{ ({\it continued}\thinspace):\endgraf} However, they generate the following error messages in the log file: This is TeX, Version 3.0(c)sb30 (preloaded format=plain 90.4.30) 26 NOV 1990 10:19 ... ! Missing { inserted. } \hangindent 2\parindent \next ...the \maintoks }\indent \subtoks ={#1}\mark {\the \ma... l.58 \sub programming, integer, 26 ? ! Missing } inserted. } \endgroup l.113 \endindex ? ! Unbalanced output routine. } \endgroup l.113 \endindex Am I doing something wrong, or was there an error in the TeXBook at this point? I've tried inserting braces various places, without luck. The code is much too subtle for me to follow. While I'm at it, I note that the above code assumes that each main entry ends in a comma. How should it be modified to allow a main entry without a comma (i.e. no page numbers)? Thanks in advance. - Jim Van Zandt ----------------------------------------------------------------------- %%% Further information about the TeXhax Digest, the TeX %%% Users Group, and the latest software versions is available %%% in every tenth issue of the TeXhax Digest. %%% %%% Concerning subscriptions, address changes, unsubscribing: %%% %%% BITNET: send a one-line mail message to LISTSERV@xxx %%% SUBSCRIBE TEX-L % to subscribe %%% or UNSUBSCRIBE TEX-L %%% %%% Internet: send a similar one line mail message to %%% TeXhax-request@cs.washington.edu %%% JANET users may choose to use %%% texhax-request@uk.ac.nsf %%% All submissions to: TeXhax@cs.washington.edu %%% %%% Back issues available for FTPing as: %%% machine: directory: filename: %%% JUNE.CS.WASHINGTON.EDU TeXhax/TeXhaxyy.nnn %%% yy = last two digits of current year %%% nnn = issue number %%% %%%\bye %%% End of TeXhax Digest ************************** -------