TeXhax Digest Friday, March 24, 1989 Volume 89 : Issue 25 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: Problems with MicroTeX on a Zenith Z-286 TeXnical question--problems with screen previewer Needed: previewers (dvi to tektronix 4010/4014, dvi to dec-vt330) Needed: a font for the International Phonetic Alphabet Needed: blackboard bold fonts and general font information A suggestion regarding lfonts_ams.tex and euler Needed: ACM.bst for the .99c version of BibTeX New Unix TeX distribution available for ftp Announcing new version of XeT for VMS Recursive postscript encapsulation Re: TeX page as an EPSF Man page for ivd2dvi Needed: Latex Form Letter information Re: Line breaking within a citation Re: TeXhax Digest V89 #16 (possible LaTeX bug) Latex hanging caption macro LaTeX book suggestions LaTeX, sectional units defined by \@startsection Obtaining a funny paragraph shape in TeX ------------------------------------------------------------------------ Date: Fri, 17 Mar 89 16:10:11 EST From: mroth@afit-ab.arpa (Mark A. Roth) Subject: Problems with MicroTeX on a Zenith Z-286 Keywords: MicroTeX, Zenith We have MicroTeX version 1.5 (originally from Addison-Wesley, now of Arbortex). We have successfully used this on many machines including the Zenith Z-241 and Z-248, both AT compatible machines. But we have encountered problems on the Z-286, also an AT compatible. Environment: MS-DOS 3.21 The VER command gives: IBM Personal Computer DOS Version 3.21 config.sys has only a files and buffers command autoexec.bat has only a path command 640K memory Running any supplied .EXE file (TEX, INITEX, BIBTEX) gives the following error on the Z-286: MicroTeX Version 1.5A1 Copyright (c) 1986 by Addison-Wesley Publishing Company, Inc. MicroTeX: Can't open overlay file MicroTeX: Overlay trouble The is a collection of printable/non-printable characters which seem to be the same for each program. We have never gotten this error message on any other machine. We have ordered the upgrade for MicroTeX from Arbortex, but in the meantime we would sure like to solve this problem. If anyone has run into this before I would appreciate your help. Mark Roth arpa: mroth@afit.af.mil or mroth@afit.arpa ----------------------------------------------------------------------------- Date: Fri, 17 Mar 89 14:45:10 EDT From: WIMMER%EXCELAN.ECL1.URI.EDU@UWAVM.ACS.WASHINGTON.EDU Subject: TeXnical question--problems with screen previewer Keywords: TeX, query, previewer Hello! I am not on your mailing list as of yet, but have a question which I hope you can answer. I recently received the supposed latest version of TeX (V2.93) and have successfully installed the drivers I need for my LN03+ laser printer and also for my Printronix line printer. I am, however, having problems with the screen previewer for VT100 terminals, DVITOVDU. I get actual characters, but am missing most spaces between words and about one character every word. Has anyone else used this and had the same problems? Is there a way to `fix' it or am I just doing something wrong? The default dummy font is [300]cmr10.pk and I've tried nearly ALL the fonts without much success. I'd appreciate any help or steering the right direction I can get. Thanks. Karen Wimmer Engineering Computer Lab University of Rhode Island To respond, our network connection is being re-organized, please send to: STF101@URIACC.BITNET %%% Moderators' note: The results you are getting are normal with %%% DVITOVDU. By the time spacing commands make it into a DVI file %%% it becomes difficult to tell interword spacing from kerns. %%% (Most interword spaces are |w0| commands, but you can't absolutely %%% count on it.) DVITOVDU is primarily interested in showing you %%% what your page will look like, rather than in providing a %%% galley for proof-reading, so it works by accumulating space %%% values until an interword space seems to be indicated, and %%% is quite ready to put that interword space at a kern, and to %%% suppress the preceding or following interword space. For proof- %%% reading copy which also gives a rough (often quite rough) %%% sense of what the page will look like, CRUDETYPE is a better %%% choice. ---------------------------------------------------------------------------- Date: Mon, 20 Mar 89 18:11:05 EDT From: "Prof.Heinz W. Engl" Subject: Needed: previewers (dvi to tektronix 4010/4014, dvi to dec-vt330) Keywords: previewers to all: can anyone give me information how and where to obtain the following previewers: dvi to tektronix 4010/4014 dvi to dec-vt330 ? i run tex on a microvax 3500 under vms. please answer either to texhax or to k310773@aearn.bitnet thanks heinz engl, linz, austria ------------------------------------------------------------------------ Date: Mon, 20 Mar 89 11:35:07 EST From: Greg McGary Subject: Needed: a font for the International Phonetic Alphabet Keywords: font, International Phonetic Alphabet Does anyone have a METAFONT font for the International Phonetic Alphabet? 300dpi design size with TFM & PKs at commom magnifications are most desirable. If you can include MF source, that's welcome also! Thanks in advance. -- Greg McGary -- 4201 University Drive #102, Durham, NC 27707 voice: (919) 490-6037 -- {decvax,hplabs,seismo,mcnc}!duke!gm data: (919) 493-5953 gm@cs.duke.edu %%% There are two possibilities from the state of Washington. The %%% older one is available from Washington State University (see %%% the listing in TUGboat) and a newer IPA font has been developed %%% at the Humanities and Arts Computing Center at the University of %%% Washington in Seattle. For details of the HACC font, send %%% Email to Elisabet@Max.acs.washington.edu ----------------------------------------------------------------------------- Date: Fri, 17 Mar 89 13:08:40 EST From: Charles R. Martin Subject: Needed: blackboard bold fonts and general font information Keywords: fonts We need to find a blackboard bold font, and would appreciate any pointers. A more general question: is there a single place or single file on the various servers that is a list of the keepers of various archives? We keep having these questions of what fonts, styles, macros, etc. come up. Thanks for any information, Charlie Martin (...!mcnc!duke!crm, crm@summanulla.mc.duke.edu) -------------------------------------------------------------------------- Date: Thu, 16 Mar 89 14:52:38 pst From: rusty@garnet.berkeley.edu Subject: A suggestion regarding lfonts_ams.tex and euler Keywords: fonts, euler I don't know if it was here, but someone pointed out that the file lfonts_ams.tex at Clarkson needs to be updated to include the Euler family. I don't see how I can do it because TeX limits you to 16 families and lfonts_ams.tex is already using 15 and Euler would add 6 more families. Here's what I'd like to have in lfonts_ams.tex but it blows up on the \eufbfam line with "! No room for a new \fam". \newfam\itfam % \it is family 4 \newfam\slfam % \sl is family 5 \newfam\bffam % \bf is family 6 \newfam\ttfam % \tt is family 7 \newfam\sffam % \sf is family 8 \newfam\scfam % \sf is family 9 \newfam\lyfam % \ly is family 10 \newfam\xmfam % \mx is family 11 % AMS Symbols 1 medium \newfam\ymfam % \my is family 12 % AMS Symbols 2 medium \newfam\cyrfam % \cyr is family 13 % AMS Cyrillic light \newfam\cybfam % \cyb is family 14 % AMS Cyrillic bold \newfam\eufmfam % \eufm is family 15 % AMS Euler Fractur medium \newfam\eufbfam % \eufb is family 16 % AMS Euler Fraktur bold \newfam\eurmfam % \eurm is family 17 % AMS Euler Roman medium \newfam\eurbfam % \eurb is family 18 % AMS Euler Roman bold \newfam\eusmfam % \eusm is family 19 % AMS Euler Script medium \newfam\eusbfam % \eusb is family 20 % AMS Euler Script bold Phone-Number: (415) 643-9097 Organization: Computer Center, UC Berkeley %%% Moderators' note: Opening up the |fam| field is not going to be easy %%% but it is probably not impossible. In module 681 of TeX, the field %%% is defined as a |quarterword| which allows some latitude even in %%% unexpanded TeX. In 64-bit gargantuan TeX, |quarterword| is a 16-bit %%% field. In plain.tex, \newfam is limited to sixteen (TeXbook p. 347) %%% and in the plain.tex versions of \mathchardef there is no place for %%% anything greater than a 4-bit value for \fam (TeXbook pp 289--290). %%% Any increase in the number of families over 16 would require a %%% substantial addition to the change file for TeX, and it is not %%% clear whether the results would meet Donald Knuth's test for calling %%% the result "TeX" since the use of higher numbered families would %%% also require a new plain.tex, at least in the area of \mathchardef -------------------------------------------------------------------------- Date: Tue, 14 Mar 89 14:03:50 CST From: raghu@fergvax.unl.edu (Raghu V. Hudli) Subject: Needed: ACM.bst for the .99c version of BibTeX Keywords: BibTeX Can anyone tell me whether an acm.bst file exists for th .99c version of BibTeX? If it exists , how can I get it. Thanks for your help raghu@fergvax.unl.edu ------------------------------------------------------------------------- Date: Fri, 17 Mar 89 14:23:24 PST From: Joe Weening Subject: New Unix TeX distribution available for ftp Keywords: UNIX, TeX A new Unix TeX distribution from the University of Washington is now available for anonymous ftp on labrea.stanford.edu. This contains version 2.95 of TeX, version 1.7 of Metafont, and many other updated files. Almost all of the TeX and Metafont code is set up to be converted from Pascal to C, so no Pascal compiler is needed. To get a copy of this distribution: 1. Please do not ftp between 9am and 6pm, Pacific time. Labrea is a poor VAX-11/750 and can't handle much of a load. 2. Open an ftp connection as follows: % ftp labrea.stanford.edu Name: anonymous Password: guest (or your name) ftp> cd pub/tex 3. If you know you want to get everything: ftp> binary ftp> mget * This will copy over 20 megabytes of files. 4. If you want to be more selective: ftp> get README ftp> get COPYING.POLICY README gives a general overview of the files, and COPYING.POLICY includes a list of all of the files. Be sure to set "binary" mode before transferring any of the other files. An important change in this distribution is that GF files are no longer distributed for most fonts, but PK files are. There is a program to convert PK files to GF files, if you need it. ------------------------------------------------------------------------ Date: Tue, 14 Mar 89 11:23-0800 From: Subject: Announcing new version of XeT for VMS Keywords: XeT, VMS I have created a new version of XeT for VMS by merging the TeX.CH file for TeX V2.0 and the XeT.CH file (supplied with the PD TeX VMS dist) for TeX V2.0 originally written at WAITS (some very peculiar machine that has a file syntax of "name.ext[area,area]"). The new version of XeT compiles great for both XeT and INIXeT, creates format files from PLAIN and LPLAIN, and passes the TRIP test (generates the same tran- script file as TeX but I haven't got a printed page yet -- explained in a second). For those of you who don't know, XeT is TeX for right-to-left speaking languages (such as Hebrew which is the font I'm using to test this new version of XeT). The problem with this new version of XeT is that it requires all DVI drivers be changed to understand two new DVI codes: |begin_reflect| (250) and |end_reflect| (251). XeT will process everything I have written in TeX and generate output with zero trouble. When I try to use any of the four new XeT primitives, (\beginL, \beginR, \endL, \& \endR), XeT generates a DVI file I can't process until I change the DVI processors I have (from N. Beebe). This is the BIG problem! I may understand how to deal with TeX source, but I've never looked at any DVI driver code. This change would require a great deal of work as well since the DVI processor will be doing all the character/word reorganization (all XeT does is make sure the lines are full and a few other items about fonts and L-to-R placement). Does anyone want to help or make suggestions? I can make the change file and old verion of TeX V2.0 source available for testing (I plan to distribute in PD when I get a DVI driver patch as well). Now that there is a DVI standards committee, they should probably get involved with this as well! Let me hear from those of you interested!!!!!! Love and kisses, The Great Zar ZAR @ CITCHEM ZAR @ XHMEIA.Caltech.Edu %%% Moderator's note: At the urging of Jacques Goldberg of Technion in %%% Haifa, Larry Denenberg provided an ivd2dvi program which filters %%% out all the |begin_reflect| and |end_reflect| commands and does the %%% necessary reversals so that (in Unix jargon): %%% TeX-XeT | ivd2dvi | %%% works, and no specially designed drivers will be needed. %%% For a copy of ivd2dvi, FTP from ~ftp/tex on june.cs.washington.edu %%% or get in touch with mackay@cs.washington.edu. ivd2dvi is written in %%% C and should require only minor adjustments for file handling %%% on non-Unix systems. See Larry Denenberg's message just below. ------------------------------------------------------------------------- Date: Sat, 18 Mar 89 15:38:04 GMT From: Sebastian Rahtz Subject: Re: TeX page as an EPSF Keywords: dviware, EPSF, TeX Stephan will probably say this too but his new dvi2ps generates EPS pages on request. X-Uucp: ..!rochester!ken Internet: ken@cs.rochester.edu X-Snail: CS Dept., U of Roch., NY 14627. Voice: Ken! X-Phone: (716) 275-1448 (office) ---------------------------------------------------------------------------- Date: Tue, 14 Mar 89 17:31:44 -0500 From: Larry Denenberg Subject: Man page for ivd2dvi Keywords: ivd2dvi, dviware TeXhax Digest V89 #1 contained a mention of ivd2dvi, a postprocessor that converts dvi-ivd files produced by TeX-XeT into equivalent dvi files. ivd2dvi is available from june.cs.washington.edu via anonymous ftp in tex/ivd2dvi.tar.Z. I have reproduced the man page here; it should be self-explanatory. (At least one version of dvi2ps can process dvi-ivd files on its own and does not require ivd2dvi. Probably that capability will disappear, since it adds lots of complexity that is now unnecessary.) Please send all comments and suggestions to larry@bbn.com. NAME ivd2dvi - convert a dvi-ivd file to a standard dvi file SYNOPSIS ivd2dvi [-Xv] [-b buffersize] [filename] DESCRIPTION An extension to TeX called TeX-XeT produces ``dvi-ivd'' files, which are similar to dvi files but include nonstan- dard commands calling for the ``reflection'' (horizontal reversal) of text. In general, dvi-ivd files cannot be pro- cessed by standard dvi drivers because the reflection com- mands are not recognized. ivd2dvi converts a dvi-ivd file to an equivalent dvi file, that is, to a file in which the necessary reflections are carried out using only standard dvi commands. The resulting file can be processed by any dvi driver. The dvi-ivd file to be translated is specified on the com- mand line; if the file cannot be found and its name contains no period following the rightmost slash, ``.dvi'' is appended and ivd2dvi tries again. Unlike most dvi proces- sors, ivd2dvi is a true filter and reads its standard input if no file is specified. The dvi file produced by ivd2dvi is written to standard output. ivd2dvi also performs careful error checking for proper placement of the reflection commands since dvitype(1), the dvi-file validation program, does not understand them. OPTIONS -v Verbose mode. The number of each page is printed as it is processed. -c Error checking only. Report if reflection commands are misused in the input file (or if the input file is mal- formed in some other way detectable by ivd2dvi) but produce no output. -b newbuffersize Change the size of ivd2dvi's buffers. ivd2dvi uses several internal buffers and cannot proceed if any overflows. When this happens, you should try again using -b to increase the buffer size. The default buffer size is 1024, which is plenty big. -X Exact mode. In this mode, ivd2dvi attempts to process the input file without modification. The comment string is not updated, NOP commands are retained, and the maximum stack depth is copied from the input file if possible (this number is conservatively but impre- cisely computed by TeX; normally ivd2dvi will substi- tute the exact value). As a result, dvi files with no reflection commands are more likely to emerge totally unchanged. Use of this flag is discouraged except for debugging. ENVIRONMENT TEXFONTS Colon-separated list of directories to be searched for font metric files. The default is /usr/lib/tex/fonts. FILES /usr/lib/tex/fonts/*.tfm Font metric files. SEE ALSO ``Mixing right-to-left texts with left-to-right texts,'' Donald Knuth and Pierre MacKay, TUGboat volume 8 (1987), number 1, pp. 14-25. dvitype(1) AUTHOR Larry Denenberg, larry@bbn.com or larry@harvard.edu. ----------------------------------------------------------------------------- Date: Wed, 15 Mar 89 10:26:11 EST From: Larry Atkinson Subject: Needed: Latex Form Letter information Keywords: LaTeX, letter I would appreciate information on producing form letters with multiple addresses. Thanks ahead of time. Larry Atkinson ----------------------------------------------------------------------------- Date: Tue, 14 Mar 89 16:36:40 CST From: Don Hosek Subject: Re: Line breaking within a citation Keywords: LaTeX The original solution I sent apparently has been superseded in version 2.09 of LaTeX (there were some comments referring to 2.08 in the TransFig manual, but I chose to ignore those). Leslie Lamport might be able to shed some light on this. In any event, the following file, breakcites.sty (accessed as the document style option breakcites) should take care of your line breaking problem. You may also want to use \cite{key1,key2} rather than \cite{key1} \cite{key2}. % breakcites.sty % Style file to allow citations to be broken across lines. % -Don Hosek 3/14/89 % \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi \def\@citea{}\@cite{\@for\@citeb:=#2\do {\@citea\def\@citea{,\penalty\@m\ }\@ifundefined {b@\@citeb}{{\bf ?}\@warning {Citation `\@citeb' on page \thepage \space undefined}}% {\csname b@\@citeb\endcsname}}}{#1}} ------------------------------------------------------------------------ Date: Fri, 17 Mar 89 13:11:59 PST From: lamport@src.dec.com (Leslie Lamport) Subject: Re: TeXhax Digest V89 #16 (possible LaTeX bug) Keywords: LaTeX, bug Marty Cohen writes A coworker found the following LaTeX bug... You will note that four lines disappear. These lines are approximately 1/6in long and at a 45 deg angles. >From page 106 of the manual there is a smallest slanted line that LaTeX can draw---its length is about 10 points, or 1/7-inch. If you try; to draw ;a smaller slanted line, LaTeX will print nothing. Leslie Lamport ------------------------------------------------------------------------ Date: 17 Mar 89 From: gagac@isumvs.bitnet Subject: Latex hanging caption macro Keywords: LaTeX, macro, hang indent caption Figure 1.1: This is the debugged version of a modified caption macro to produce captions with hanging indentation (like this). If the caption is less than a full line, it will be centered. \isucaption is used in the same way as \caption (the name may be changed). The variable \captionwidth may be set to match the width of a \tabular* environment. If set inside a table or figure environment, it will affect only that environment. \def\isucaption{\refstepcounter\@captype \@dblarg{\@isucaption\@captype}} \newlength\captionwidth \captionwidth=\hsize \long\def\@isucaption#1[#2]#3{ \baselineskip 14.5 pt \addcontentsline {\csname ext@#1\endcsname}{#1} {\protect\numberline{\csname fnum@#1\endcsname}{\ignorespaces #2}} \par \begingroup \@parboxrestore \setbox\@tempboxa\hbox{\csname fnum@#1\endcsname #3} \ifdim \wd\@tempboxa >\captionwidth \begingroup \setbox\@tempboxa\hbox{\csname fnum@#1\endcsname^^} \advance \captionwidth by -\wd\@tempboxa \@makecaption{\csname fnum@#1\endcsname} {\ignorespaces{\protect\parbox[t]{\captionwidth}{#3}}}% \endgroup \else \begingroup \@makecaption{\csname fnum@#1\endcsname} {\ignorespaces #3} \endgroup \fi \par\vspace{1.7ex} \endgroup} -------------------------------------------------------------------- Date: March 20, 1989 From: Nico (Poppelier%Hutruu51.Bitnet@Cunyvm.Cuny.Edu) Subject: LaTeX book suggestions Kewyords: LaTeX, book If the subject of the LaTeX book and a possible revision of it is still a matter of discussion in TeXhax, I'd like to contribute something. 1. The description of the `list' environment on pages 112-115 explains, with a helpful Figure 5.3, that \topsep vertical space is added between the preceding paragraph and the first item of the list. But what is added, if anything is added, between the last item of the last and the following paragraph? I know: page 166, but that's Appendix C, explains that the same amount of space is added, but why not use the extra space on page 113 to include the end of the list in Figure 5.3? 2. While we're on the subject of Figure 5.3: a similar diagram can be made for a normal text page and the relevant parameters. Style files or TeX files called `layout' can be obtained from several people -- see also TUGBoat -- but these diagrams would be a welcome addition to the book. ______ ______ Nico | | -------- -------- --------------------------------------------------------------------- Date: March 20, 1989 From: Nico (Poppelier%Hutruu51.Bitnet@Cunyvm.Cuny.Edu) Subject: LaTeX, sectional units defined by \@startsection Keywords: LaTeX, \@startsection I have a problem with the LaTeX definition of \section, \subsection, etc, in terms of \@startsection. LaTeX produces the following for a subsection following a section (underscores stand for white space): 1.5__LaTeX and DTP 1.5.1__What is DTP? whereas the house style of several Dutch publishing companies show a preference for: 1.5____LaTeX and DTP 1.5.1__What is DTP? that is, with sectional unit titles at a fixed amount from the left margin. The thing is that such a change requires modifications to macros in latex.tex -- I think I know where to modify latex.tex, although alternative suggestions would be welcome. A question to Leslie Lamport: has the format of sectional unit titles intentionally been `hidden' in latex.tex and if so: why? ______ ______ Nico | | -------- -------- --------------------------------------------------------------------- Date: March 20, 1989 From: Nico (Poppelier%Hutruu51.Bitnet@Cunyvm.Cuny.Edu) Subject: Obtaining a funny paragraph shape in TeX Keywords: TeX, paragraph A matter of `house style' -- a few scientific journals published by a publishing company in The Netherlands use a paragraph shape that I've been trying to simulate in TeX, so far without success. Instead of (underscores stand for white space): aaaaaaaaaabbbbbbbbbbcccccccccc ddddddddddeeeeeeeeeeffffffffff gggggggggghhhhhhhh.___________ the paragraphs look like: aaaaaaaaaabbbbbbbbbbcccccccccc ddddddddddeeeeeeeeeeffffffffff ______ggggggggghhhhhhhh.______ This shape is used in table and figure captions, which are centered on the page and set in a box of the same width as the table or figure. Any suggestions as to how to solve this puzzle? ______ ______ Nico | | -------- -------- ------------------------------------------------------------------------ %%% 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 %%% %%% Concerning subscriptions, address changes, unsubscribing: %%% BITNET: send a one-line mail message to LISTSERV@UWAVM %%% SUBSCRIBE TEXHAX % to subscribe %%% or UNSUBSCRIBE TEXHAX %%% %%% All others: send a similar one line mail message to %%% TeXhax-request@cs.washington.edu %%% Please be sure you send a valid internet address!! %%% in the form name@domain or name%routing@domain %%% and use the style of the Bitnet one-line message, so that %%% we can find your subscription request easily. %%% %%% All submissions to: TeXhax@cs.washington.edu %%% %%% Back issues available for FTPing as: %%% machine: directory: filename: %%% JUNE.CS.WASHINGTON.EDU TeXhax/TeXhaxyy.nn %%% yy = last two digits of current year %%% nn = issue number %%% %%% For further information about TeX Users Group services and publications %%% contact Karen at KLB@SEED.AMS.COM or write to TUG at %%% TeX Users Group %%% P.O. Box 9506 %%% Providence, R.I. 02940-9506 %%% Telephone (401) 751-7760 %%% %%% Current versions of the software now in general distribution: %%% TeX 2.95 metafont 1.7 %%% plain.tex 2.94 plain.mf 1.0 %%% LaTeX 2.09 ( 8/10/88) cmbase.mf see cm85.bug %%% SliTeX 2.09 gftodvi 1.7 %%% tangle 2.9 gftopk 1.4 %%% weave 2.9 gftype 2.2 %%% dvitype 2.9 pktype 2.2 %%% pltotf 2.3 pktogf 1.0 %%% tftopl 2.5 mft 0.3 %%% BibTeX 0.99c dvipage 3.0 %%% AmSTeX 1.1d %%%\bye %%% End of TeXhax Digest ************************** -------