Subject: TeXhax Digest V89 #47 From: TeXhax Digest Errors-To: TeXhax-request@cs.washington.edu Maint-Path: TeXhax-request@cs.washington.edu To: TeXhax-Distribution-List:; Reply-To: TeXhax@cs.washington.edu TeXhax Digest Monday, May 15, 1989 Volume 89 : Issue 47 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: Needed: GFtoDVI Decus Tex collection available for ftp Is there a Spanish TeX users group? T-shirts, anyone? TEX and INITEX CMS-Changes Needed: dvialw.ps (without ftp) VMS 5.xx and TeX TeX opinions TeX and LaTeX for DG AOS/VS Landscape printing from TeX or LaTeX Using \futurelet give optional parameters 10pt extension font in 12pt LaTeX Possible LaTeX Bug Emacs and TeX-mode BibTeX .bst cross reference generator -------------------------------------------------------------------------- Date: Tue, 9 May 89 08:36:35 EDT From: amgreene@ATHENA.MIT.EDU Subject: Needed: GFtoDVI Keywords: gftodvi I recently ftp'ed the Unix distribution from LaBrea and tried to make gftodvi. However, I soon discovered that there was no .ch file for it. Does anybody have either C source for gftodvi, or a .ch file? Thanks, Andrew Marc Greene SIPB Secretary and Project Athena Watchmaker %%% Moderators' note: GFtoDVI has recently been rewritten by Donald %%% A web2c change file is under construction at this time. Meanwhile %%% pascal compilation is possible, though not easy, through the %%% files under tex82/Unsupported in the UnixTeX distribution. ------------------------------------------------------------------------------- Date: Mon, 8 May 89 13:28 CDT From: "K. SANKARA RAO" Subject: Decus Tex collection available for ftp Keywords: Decus, TeX, ftp Decus Tex collection compiled by Ted Nieland is availble for anonymous ftp from power.eee.ndsu.nodak.edu (192.33.18.40). Please note that there is no connection between this computer sie and DECUS and the package is made available for ftp only as a service to the network community. If any organizer of DECUS objects to my making this directory available for ftp, it will be withdrawn forthwith. The tape of backup set can be ordred either through DECUS Library or your LUG Tape Librarian. The diectory is disk$ftp:[tex] K. Sankara Rao North Dakota State University Fargo, ND ------------------------------------------------------------------------------ Date: 8 May 89 16:02 +0100 From: Walter Brunswig Subject: Is there a Spanish TeX users group? Keywords: TeX, Spanish Dear TeXhaxers (?), Do you know if there is a spanish TeX users group ? Thank you very much for your help. Best wishes & saludos Walter Brunswig Instituto de Radioastronomia Milimetrica Granada - Spain ---------------------------------------------------------------------------- Date: Sun May 07 17:02:34 1989 From: microsoft!leefi@beaver Subject: T-shirts, anyone? Keywords: TeX t-shirt A non-technical question: Does anyone know where to get a TeX t-shirt? I saw one a few years ago at some seminar and just now thought about getting one... If anyone sells one or knows where to buy one, I would appreciate any purchase information. Thanks in advance. Lee Fisher, Microsoft Corp., Redmond, WA, USA, +1(206)882-8621 leefi@microsoft.com.UUCP, leefi%microsoft@uw-beaver.MIL, {uw-beaver,decvax,decwrl,intelca,sun,tikal,uunet}!microsoft!leefi leefi@microsoft.beaver.washington.EDU, Compu$erve: 72357,1451 ------------------------------------------------------------------------- Date: Fri, 28 Apr 89 16:13 SET From: Renzo Beltrame Subject: TEX and INITEX CMS-Changes Keywords: TeX, Initex I generated TeX and INITEX on our IBM 3081 with VM/CMS. So I had to modify the CMS-CHANGES files. If it would be useful I can send these files to score.stanford.edu. Please give me some suggestion to avoid unpleasant characters conversion. Thanks. Beltrame ------------------------------------------------------------------------ Date: Fri, 5 May 89 16:31 EDT From: Subject: Needed: dvialw.ps (without ftp) Keywords: dvialw.ps Can somebody tell me where to get a copy of "dvialw.ps", the header file used by dvialw.exe (without using ftp)? I appreciate any help. Zhen Zhang (bitnet address: zhangz@musc ) Medical Univ. of South Carolina ------------------------------------------------------------------------------ Date: Fri, 5 May 89 16:33:18 cdt From: "Commins,Paul P" Subject: VMS 5.xx and TeX Keywords: VMS 5.xx, TeX We are about to upgrade our VAX operating system from VMS 4.7 to 5.1. We're worried that our old version of TeX, version 2.01, will not function under VMS 5.xx. Does anyone have first hand experience with the VMS 5.xx/TeX 2.01 combination? Please send replies to me since we're a Bitnet site and sometimes miss a digest here and there. Thanks, Paul Commins Grinnell College Computer Services COMMINS@GRIN1.BITNET ----------------------------------------------------------------------------- Date: SUN 07 MAY 1989 19:19:00 EDT From: INHB000 Subject: TeX opinions Keywords: TeX I would like to add a few comments to those of Douglas Miller in TeXhax #33. Although I essentially agree with him, I don't think TeX is perfect. For example, I think that TeX's arithemtic is terrible. The inability to give an expression as numerical parameter is very troublesome. Macro writing would be much simplified if you had the ability to look ahead at the next token (\futurelet gives an awkward way of doing this, but is not really satisfactory). Numerical (not just integral) and string variables would be extremely useful. (I don't understand how token variables work, but they don't do what I would want.) My publisher wanted the book I am writing set in such a way that if facing pages are the same length, then the left hand page is the longer. I'm not sure why they consider this important, but I am not a book designer. At any rate, I had to tell him that if they insist on that, then they are going to have to typeset it in the traditional way, for I see no way of coercing TeX into doing that. I don't say it can't be done; I suppose it might be possible to make TeX think it is doing two-column style and cut the page myself, but this is far beyond my ability of TeX programming. I also think I would run out of memory. Finally, I don't disagree with his remarks on hand-formatting. In fact, I think that TeX still leaves too much of it to the user. I have published a book that includes some 600 diagrams, all done with LaTeX picture mode. But the Latex book suggests that the way to prepare diagrams is to lay them out on graph paper and read off the coordinates! This is as far from logical typesetting as possible. WYSIWYG would certainly be an improvement on that! Fortunately, I have made some macros that make the process semi-automatic. Michael Barr ------------------------------------------------------------------------------- Date: Wed, 3 May 89 12:44+0500 From: Subject: TeX and LaTeX for DG AOS/VS Comments: If you have trouble reaching this host as MATH.Tau.Ac.IL Please use the old address: user@taurus.BITNET Keywords: TeX, LaTeX, DG AOS/VS Hi to you all, I am interested in getting TeX and LaTeX for AOS/VS on a Data General MV-20000 computer. Does it exist? Is there a public domain version? Where can I get it from? Please mail me directly, as I am not a reader of "comp.text". Thank you very much for your trouble. Doron Zifrony E-mail: BITNET: zifrony@taurus.bitnet Msc. Student INTERNET: zifrony@Math.Tau.Ac.IL Dept. of CS ARPA: zifrony%taurus.bitnet@cunyvm.cuny.edu Tel Aviv Univ. UUCP: ...!uunet!mcvax!humus!taurus!zifrony Israel CSNET: zifrony%taurus.bitnet%cunyvm.cuny.edu@ csnet-relay Disclaimer: I DON'T represent Tel Aviv University. The opinions hereby expressed are solely my own. ------------------------------------------------------------------------------- Date: Fri, 05 May 89 16:43:41 EDT From: Jason D. Blue Subject: Landscape printing from TeX or LaTeX Keywords: TeX, LaTeX I am trying to print some VuGraphs in LaTeX, but I can't figure out the commands to tell LaTeX that the document should be printed in Landscape. I am using an IBM PS/2 model 50, on which TeX and LaTeX are installed, and I am printing to an Apple LaserWriter II. Can LaTeX or TeX print in landscape mode? If so, how would I go about doing it? Please mail all correspondence directly to the address below as I do not have access to TeXHAX. Thank you,================================================================== Jason D. Blue = User Services = User Support Center Specialist = Washington Center = Internet: jblue@mwunix.mitre.org = The MITRE Corporation = Bitnet: jblue%mwunix.mitre.org@cunyvm.BITNET = 703-883-7999 = ---------------------------------------------------------------------------- Date: THU 04 MAY 1989 17:17:00 EDT From: INHB000 Subject: Using \futurelet give optional parameters Keywords: \futurelet In a recent TeXhax, there was an interesting explanation of how \futurelet could be used to give optional parameters. Although correct, the code allows no way of recovery if the first non-blank character following the test word must, for some reason having nothing to do with parameters, be a brace. So the following would work much better: \def \test {\futurelet \next \usedefaultifnotleftbracket}% which will need the following additional definitions: \catcode `\@ = 11 % so we can use `@' as a letter ... \let \then = \relax % so we can use \if ... \then ... \else ... \fi \def \usedefaultifnotleftbracket {\ifx [\next \then \let \next = \t@st \else \def \next {\expandafter \t@st \d@fault}% \fi \next } \def \t@st [#1]{}% \def \d@fault {[]}% \catcode `\@ = 12 % restore normal \catcode of `@' As usual, LaTeX makes it all much easier. The code \makeatletter \def\test{\@ifnextchar [{\t@st}{\t@st[\d@fault]}} \def \t@st [#1]{}% \def \d@fault {}% \makeatother accomplishes the same thing without having to delve into the arcana of \futurelet and \expandafter. There is a minor difference between the two approaches. In the first, the brackets have to be built into the definition of \d@fault; in the second, they are put into the definition of \test. I have not understood enough of what is actually going on with \@ifnextchar to know why. But it all works and works as well if \test has other parameters (although they shouldn't be delimited with brackets, of course). Michael Barr ---------------------------------------------------------------------------- Date: Sat, 6 May 1989 03:17:42 EDT From: Peter Golde Subject: 10pt extension font in 12pt LaTeX Keywords: LaTeX, TeX, fonts I have been using TeX and LaTeX for occasional documents for about 4 months now (so I'm certainly no expert), and a noticed an odd thing today when looking at the print-out for a LaTeX document formatted with the 12pt document style -- the large integral and summation signs were smaller than they should have been. Careful examination indicated they were being formatted in the the 10pt size while the rest of every formula was in 12pt. I looked through LFONTS.TEX, and sure enough, the definition of xiipt and xipt indicate use of the 10pt extension font cmex10. Wishing to correct this defect, I added the lines \font\elvex = cmex10 \@halfmag \font\twlex = cmex10 \@magscale1 and changed the def of xipt to have \textfont\thr@@\elvex and xiipt and higher sizes to have \textfont\thr@@\twlex. After one test it seems as though this solves the problem and large operators are the correct size with respect to the rest of the formula. I'm curious as to why this wasn't in LaTeX to begin with. Have I discovered a bug, is my LFONTS.TEX out of date (mine is dated 11 Nov 86), or is there some reason what I have done is bad or undesirable? (I suppose some people might like the smaller characters, but to me they look out of sync with the rest of the formula). Peter Golde ------------------------------------------------------------------------------ Date: Fri, 05 May 89 10:44:27 BST From: Jon Warbrick Subject: Possible LaTeX Bug Keywords: LaTeX, bug The following LaTeX behavour may constitute a bug. On the other hand, since it is a bit obscure, it may just be something that should be documented. Or I may have missed something in the manual... Within an enumerate enviroment if the text for an `item' is in a center enviroment then the lable for the item is centered along with the text. The following demonstrates the problem: \begin{description} \item[This one works] and its text is printed OK. \item[But this doesn't] \begin{center} because the label and the text get centered! \end{center} \end{description} If the center forms the second or subsequent paragraph of the item everything works as expected, but you can't convince LaTeX that the center *IS* the second paragraph just by adding a blank line before it, because it seems to ignore \par's directly after an \item. You seem to get similar effects with itemize and enumerate (as you might expect), and also if you use flushright in place of center. Jon. Jon Warbrick, Computing Service, Polytechnic South West, Drake Circus, Plymouth PL4 8AA UK. JANET: J.Warbrick@UK.AC.POLY-SOUTH-WEST ----------------------------------------------------------------------------- Date: 05/05/89 at 17H From: UCIR001%FRORS31.BITNET@UWAVM.ACS.WASHINGTON.EDU Subject: Emacs and TeX-mode Keywords: TeX, emacs A question of a poor colleague that can't reach Washington. Please don't answer to me. Thanks, Bernard GAULLE His BITNET address is: From: TOKAY::BROUARD 18-APR-1989 14:30 To: EARN::"TeXhax@cs.washington.edu",BROUARD Subj: Emacs and TeX-mode GNU-emacs from R.Stallman has a very useful command within TeX-mode: it compiles and views a selected region of a larger TeX source file. Its mainly use is for big equations, large tables or LaTeX figures. Let us show briefly how the command works: Your current buffer must have two (comments) lines which will correspond to the header of a temporary file: %**start of header \documentstyle... \def\toto... \begin{document} %**end of header Then the command appends your selected region and a last line like "\end{document}" (which can be easily changed) to that temporary file. Once the temporary file is created, the command is a simple push command which can be either a compilation of the temporary file or, if you have a bitmap screen, a compilation and a viewing of the dvi file. On X/windows, it is nice to have the viewing of your selected region on another small non overlapping window. A simple keystroke Control_c Control_r does the all thing in the background. If you don't really trust in the display of your mathematical equations it is then very easy to have the screen proof. WYSIWYG arguments against TeX are then very poor in my opinion. This facility was not possible on MS/DOS until now because of the memory used by TeX. Even with a powerful emacs-editor like jove (public domain) or epsilon (distributed by Lugaru Software), which can push a DOS command from editor the free memory was too small. With the new version 4 of epsilon, the push command give the same amount of memory than before loading the editor (it needs place on hard disk or virtual disk to swap), it is then possible to push a make command (pcmake public domain from N. BEEBE et al.) with a TeX compilation and a fast previewing (cdvi 1.2 public domain from W. Sullivan) without leaving the editor and its environment. I have then written some codes (epsilon macros are written in a C language) to compile and views a selected region of LaTeX source from a big file without leaving the editor. People interested in receiving the "tex.e" file can ask me. This file includes also other commands: The most important command is "tex-nexterr" which looks at the log file output by a compilation by TeX or LaTeX and finds in a first pass all the errors (line beginning with "!"), and edits and points to the wrong line of the corresponding file (even if the error ocurred in another file than the current one). In a second pass it looks at LaTeX warnings (citation, cross reference, etc). In a third pass it looks at over/underfull boxes. For second and third passes the command works well only if the information on single lines or paragraph lines are available from Knuth's log file. This macro command has not been translated to Lisp for GNU emacs, if someone is interested in translation... I have also written a LaTeX mode for epsilon and GNU emacs which is widely used here at INED. It consists in simplifications for writing \begin{} \end{}, etc and some templates for initializations of latex (article, letter and slitex), for tables and figures, etc. Other templates and help concern bibtex. The C code for epsilon and Lisp code for GNU can be requested to: Nicolas BROUARD Institut National d'Etudes D\'emographiques 27, rue du Commandeur 75675 PARIS Cedex 14 Bitnet or Earn %%% Moderators' note: This message went through the gateway that routinely %%% changes { to $ and } to ^G. That fact is noted here in hopes that %%% the source of the translation can be identified, and a correction %%% made. ----------------------------------------------------------------------------- Date: Fri, 5 May 89 21:04:12 EDT From: Rick Zaccone Subject: BibTeX .bst cross reference generator Keywords: BibTeX The following awk script will generate a cross reference listing of all of the functions in a BibTeX style file (.bst file). I wrote it using new awk (nawk). It's real handy if you intend to do any BibTeX style hacking. Please send me any comments or bug fixes. Rick Zaccone zaccone@bknlvms.bitnet zaccone@rigel.bucknell.edu # This awk script will create a list of functions and the line numbers # on which they are used (for bibtex .bst files). # To run: awk -f create.xref file.bst > xref # Note that the first number for each entry is where the function is # defined. This script creates and destroys a temporary file called # "create.xref.temp". # This is version 3.0, 5/5/89 . Rick Zaccone # zaccone@sol.bucknell.edu # zaccone@bknlvms.bitnet BEGIN { # braces, spaces and tabs are field separators. FS = "[\{\} \t]+" } { if ($1 == "FUNCTION"){ idx[$2] = NR } else { for (i = 1; i <= NF; i++) if (index($i,"%")) break # ignore comments else if ($i in idx) idx[$i] = idx[$i] " " NR } } END { # Print results. Wrap lines longer than 80 bytes. for (name in idx) print name, idx[name] | "sort > create.xref.temp" close("sort > create.xref.temp") while (getline < "create.xref.temp" > 0){ if (length($0) < 80) print else{ temp = "" line = "" for (i = 1; i <= NF; i++){ temp = temp $i " " if (length(temp) >= 80){ print line temp = " " $i " " } line = temp } print line } } system("rm create.xref.temp") } ---------------------------------------------------------------------- %%% 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@xxx %%% where xxx is the nearest geographical site in the %%% tree shown below %%% SUBSCRIBE TEX-L % to subscribe %%% or UNSUBSCRIBE TEX-L %%% Here is the BITNET re-distribution tree as shown in a recent %%% REVIEW (The geography is guessed at from the subscription list) %%% %%% CLVM TAMVM1 FINHUTC %%% | | (Finland, UK, Scand, CERN) %%% | | | %%% TeXhax ----> UWAVM ----- MARIST ----- EB0UB011 ----- BNANDP11 %%% | (France,Italy,Spain) (Belgium) %%% | | %%% UBVM HEARN --- DEARN %%% (Netherlands) (Germany) %%% %%% Internet: 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 (2.98 coming) metafont 1.7 %%% plain.tex 2.94 plain.mf 1.7 %%% 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 %%% AmSTeX 1.1d %%%\bye %%% End of TeXhax Digest ************************** -------