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: Re: Request for information on DVI-to-PostScript converters Needed: information concerning the Adobe ps-file-server Information concerning structure of pk files Re: TeXhax Digest V89 #14 Version 2.95 of TeX vs. 2.93 TeX-XeT Help Needed Font suppliers? Re: TeXhax Digest V89 #14 Re: TeXhax Digest V89 #15 ({eqnarray} and re: margins) RE: Margins in LaTeX... Re: Line breaking within a citation Re: BiBTeX journal abbreviations Needed: macros to create endnotes Announcement concerning Tib (for bibliographies) Re: V89 #14: LaTeX footnotes--numbering on each page Re: Graphics in TeX Needed: 3812 mode information Re: Macro Delimited Parameters ----------------------------------------------------------------------------- Date: 13-MAR-1989 15:15:57 GMT From: CHAA006%vaxb.rhbnc.ac.uk@NSS.Cs.Ucl.AC.UK Subject: Re: Request for information on DVI-to-PostScript converters. Reply-To: Philip Taylor (RHBNC) Keywords: dvi2ps In response to a query in TeXhax V89 #13, the following extract is culled from a draft of longer article on TeX and the Linotronic-300. I have not bothered to include the macro definitions required for formatting, but the meaning should be clear. Philip Taylor Royal Holloway and Bedford New College. [Start of attached file: SYS$USERDISK1:[CHAA006.LINOTRON]DVIPS.TXT;1] \list \item DVILASER/PS: a commercial offering, from ArborText (TextSet, as was). Runs under (at least) VAX/VMS and MS/PC-DOS. Costs \pounds 250 for PC, \pounds 750 per machine for "large" VAXes. Supports both \PS and \CM fonts (uses PK representation for the latter). Supports \Special, allowing embedded \PS documents. Has been tested with the \Linotron, using IBM-PC implementation, using both \PS and \CM fonts at 300 and 1270 \dpi. \item PSDVI \& PSPRINT: Andrew Trevorrow's MODULA-2 implementation for VAX/VMS. Supports both \CM and \PS fonts, and redefines various \TeX control sequences to support the latter (for accents and the like). Supports the inclusion of \PS files via \Special. Available free of charge, including source. Has been tested with PrintServer-40, \Linotron and \LW at the \OU. \item DVI2PS: Tony Arnold's PASCAL implementation for VAX/VMS. Supports \CM fonts in GF format. Supports embedded \PS through the use of \Special. Costs \pounds 100, including majority of source, although some routines are supplied only as object modules. Current status unknown. \item DVIALW/PS: Nelson Beebe's generic C implementation. Available for (at least) VAX/VMS and Unix. Supports embedded \PS through \Special. Available free of charge, including source. One of a wide variety of \DVI interpreters written by Nelson, based on common code with device-specific modules. \item DVI2PS: Art Kline's `C' implementation (\cf see next item) Mark Senn wrote the early versions of this program for the BBN BitGraph. Stephan Bechtolsheim, Bob Brown, Richard Furuta, James Schaad and Robert Wells improved it. Norm Hutchinson ported the program to the Sun. Neal Holtz ported it to the Apollo, and from there to producing \PS output. Stephan Bechtolsheim carried out further improvements. \item DVI2PS: Piet van Oostrum's `C' implementation (\cf previous item) Mark Senn wrote the early versions of this program for the BBN BitGraph. Stephan Bechtolsheim, Bob Brown, Richard Furuta, James Schaad and Robert Wells improved it. Norm Hutchinson ported the program to the Sun. Neal Holtz ported it to the Apollo, and from there to producing \PS output. Scott Jones added intelligent font substitution. Piet van Oostrum added support for BSD4.1, the TEXFONTS environment variable, better positioning, resource (VM) limiting and PK files. Les Carr added the capacity for use of LaserWriter builtin fonts; Piet van Oostrum merged the last two changes and rewrote the code for reading \TFM files. \item DVItoPS: James Clarke's `C' implementation for MS-DOS and Unix systems. Supports PK fonts and allows inline \PS. The author states that it should be easily portable to any machine with a decent C compiler and a reasonable architecture (ASCII and 8-bit bytes are required). It was originally developed on a MS-DOS machine, and some care was to taken to achieve maximum efficiency on a 16-bit architecture, by avoiding the use of 32-bit operations wherever possible. It consequently runs up to 3 times faster than some other PostScript drivers on MS-DOS machines (the relative speed depends on whether you are using floppy, hard or RAM disk; it is relatively much faster on RAM disk). There is much less difference on 32-bit machines. \endlist Of these packages, I have used ArborText's DVILASER/PS, Andrew Trevorrow's PSDVI (albeit an early version), and Tony Arnold's DVI2PS. At the time of testing, only ArborText's provided the full range of facilities that I needed, and I have therefore standardised on that version. What follows is based on my experience of ArborText's DVILASER/PS, for which a University-wide site licence for VAX/VMS and MS/DOS implementations has been obtained. -------------------------------------------------------------------------- Date: Mon, 13 MAR 89 18:33 N From: FISICA%ASTRPD.INFN.IT%ICINECA2.BITNET@UWAVM.ACS.WASHINGTON.EDU Subject: Needed: information concerning the Adobe ps-file-server Keywords: information, Adobe file server Please, can anybody tell me what is the correct e-mail address of the adobe file server? I am trying adobe!ps-file-server@sun.com and I get all messages back. Thanks, Max Calvani Bitnet: fisic%astrpd.infn.it@icineca2 SPAN: 39003::fisica -------------------------------------------------------------------------- Date: Sun 12 Mar 89 11:23:18-EST From: b beeton Subject: Information concerning structure of pk files Keywords: pk files the description of the pk file structure was published in tugboat 6#3, pp. 115-120; it also appears in the web source of pktopx. the references for most tex-related file structures (dvi, gf, pk, pxl, and tfm) are listed in tugboat 7#1, p. 17; both tugboat references and web sources are cited. -- barbara beeton ---------------------------------------------------------------------------- Date: Mon, 13 Mar 89 11:19:50 +0100 From: mcvax!cgch!wtho@uunet.UU.NET (Tom Hofmann) Subject: Re: TeXhax Digest V89 #14 Keywords: WEB, C > > Sir: > > I am looking for an implementation of WEB for the > C language. I am primarily interested in the sources, since > I am exploring some of my research ideas and need to play with > the source. The alternative of entering the code by hand from > the tech. report by Knuth [1983] is tedious but possible. > > Please send any responses to > "sridhar%hpclove@hplabs.hp.com" > > Thanks. > > Sridhar We got a CWEB Version from Levy, Princeton University. His address is levy@princeton.UUCP Tom Hofmann wtho@cgch.UUCP %%% Moderators' note: %%% You should also look at Norman Ramsey's spiderweb, which (for the %%% C version) builds on CWEB, but extends the idea considerably. %%% It is available from Princeton.edu and from june.cs.washington.edu ------------------------------------------------------------------------ Date: Sat, 11 Mar 89 15:15:14 EST From: Kurt J. Lidl Subject: Version 2.95 of TeX vs. 2.93 Keywords: TeX 2.95 What is the difference between version 2.93 and 2.95 of C-Tex? We are running v2.93 currently and I am curious as to the benefits of upgrading the software... -Kurt Lidl smaug@bacchus.eng.umd.edu %%% Moderators' note: Almost all the recent changes to TeX have to %%% do with the behavior of the program when it is abruptly terminated %%% under extraordinary conditions. The changes don't affect the %%% general functionality vary much if at all. ------------------------------------------------------------------------ Date: Fri, 10 Mar 89 15:53-0800 From: Subject: TeX-XeT Help Needed Keywords: TeX-XeT I have converted the WAITS version of XeT (the version of TeX for right-to- left reading languages) to VMS except for one line: if notis_char_node(q) then This procedure, as were several others I removed, was probably specific to WAITS (where ever that is) and was not included in the change file nor the web file. The conversion I've done (which has taken me only a few wasted hours) was merging TEX.CH with XET.CH (both for TEX V2.0 not 2.93) offered with the public domain version of TeX from Maria Code / DECUS. Can someone direct me to WAITS and or the person who originally generated XET.CH so I can make a VMS specific module of NOTIS_CHAR_NODE and be happy? Advance Love and Kisses... The Great Zar ZAR @ CITCHEM ZAR @ XHMEIA.Caltech.Edu %%% Moderators' note: I remember, from a distant past, the same problem. %%% insert a space after not, and look for is_char_node() ----------------------------------------------------------------------------- Date: Fri, 10 Mar 89 18:01:56 EST From: "Karl Berry." Subject: Font suppliers? Keywords: fonts We are looking to buy typefaces for use with TeX. Ideally, we'd like them in three resolutions: 75dpi, 300, and 1370. We really only need one or two faces, and we only need the GF/PK/PXL and TFM files, not a program to generate anything anyone wants for any resolution. I suspect no one reading this actually has such fonts for sale, but perhaps people know of a place that sells them. I know about Bitstream. They may be able to provide us with what we need, but we'd like to find out any other sources that may be out there. (We've also talked with Chuck Bigelow about Lucida, and Neenie Billawala about Pandora.) Thanks, Karl karl@umb.edu ...!harvard!umb!karl ------------------------------------------------------------------------------ Date: Mon, 13 Mar 89 08:35:12 PST From: lamport@src.dec.com (Leslie Lamport) Subject: Re: TeXhax Digest V89 #14 Keywords: LaTeX, \underline Jin Ji writes, If you put the following on the same line, you can see how ugly it looks. \underline{This is a test.} \underline{This is a good test.} The problem here is that, since the argument of the second \underline has a descender (the "g") and the first doesn't, the second underline will be lower. You can make all the underlines act as if they had descenders by inserting a \strut command. The example above can be fixed by writing \underline{\strut This is a test.} \underline{\strut This is a good test.} Leslie Lamport ----------------------------------------------------------------------------- Date: Mon, 13 Mar 89 08:45:51 PST From: lamport@src.dec.com (Leslie Lamport) Subject: Re: TeXhax Digest V89 #15 ({eqnarray} and re: margins) Keywords: LaTeX, eqnarray, margins Amitabh Shah wants to type \begin{eqnarray} \left[ ... \\ ... \right] \end{eqnarray} Unfortunately, \left and \right must come in matching pairs within a single formula. An eqnarray environment consists of a sequence of equations, each of which consists of three separate formulas. To make delimiters that span multiple lines, one needs to use struts (to get TeX to make big delimiters) and \raisebox (to position them vertically and make TeX think that they aren't very big). Thomas G. Abernathy writes I have been trying to adjust the margins of documents. Below you will see a section of code that works for the BOOK document style, but not for the ARTICLE. Does anyone know why? I could see no reason why his commands should behave any differently in the two styles. But, without any hint of what "not working" means, it's impossible to answer his question. Leslie Lamport --------------------------------------------------------------------- Date: Sat, 11 Mar 89 23:34:56 CST From: Don Hosek Subject: RE: Margins in LaTeX... Keywords: LaTeX, margins rather than use \renewcommand to set your lengths, you should use \setlength (See the LaTeX manual for details). The surprising thing is not so much that your code didn't work in article as that your code worked at all. -dh ----------------------------------------------------------------------- Date: Sat, 11 Mar 89 23:38:16 CST From: Don Hosek Subject: Re: Line breaking within a citation Keywords: LaTeX, citation I'm not sure if this is good style or not, but it is possible to break lines in a citation. The following code was lifted from the file SETUP12.TEX in the TransFig distribution. % undo LaTeX's decision to make citation labels be \hbox'd. \makeatletter \def\@cite#1#2{[#1\if@tempswa , #2\fi]} \makeatother dh ---------------------------------------------------------------------------- Date: Sun, 12 Mar 89 11:17:20 CST From: William LeFebvre Subject: Re: BiBTeX journal abbreviations Keywords: BibTeX, journal abbreviations > Does anyone know anything about some kind of a standard set of journal > abbrevs. for use with BiBTeX ? It may be rumour, or ir may be real ... There is a sizable collection of computer-related journals predefined by the style files. Perhaps this is what you are thinking of. You can look in most any standard .bst file to find these---they are just a little bit past the halfway point: MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} MACRO {ibmjrd} {"IBM Journal of Research and Development"} MACRO {ibmsj} {"IBM Systems Journal"} MACRO {ieeese} {"IEEE Transactions on Software Engineering"} MACRO {ieeetc} {"IEEE Transactions on Computers"} MACRO {ieeetcad} {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} MACRO {ipl} {"Information Processing Letters"} MACRO {jacm} {"Journal of the ACM"} MACRO {jcss} {"Journal of Computer and System Sciences"} MACRO {scp} {"Science of Computer Programming"} MACRO {sicomp} {"SIAM Journal on Computing"} MACRO {tocs} {"ACM Transactions on Computer Systems"} MACRO {tods} {"ACM Transactions on Database Systems"} MACRO {tog} {"ACM Transactions on Graphics"} MACRO {toms} {"ACM Transactions on Mathematical Software"} MACRO {toois} {"ACM Transactions on Office Information Systems"} MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} MACRO {tcs} {"Theoretical Computer Science"} William LeFebvre Department of Computer Science Rice University -------------------------------------------------------------------------- Date: Mon, 13 Mar 89 11:50:59 -0500 From: lang@PRC.Unisys.COM Subject: Needed: macros to create endnotes Keywords: LaTeX, endnotes A conference I am sending a paper to requires endnotes, as opposed to footnotes. Does anyone have lying about LaTeX macros to do endnotes? I doubt this would so difficult as the recently-posted macros to number footnotes beginning at 1 on each page. Any macros for endnotes will be appreciated! Francois-Michel Lang Paoli Research Center, Unisys Corporation lang@prc.unisys.com (215) 648-7256 Dept of Comp & Info Science, U of PA lang@cis.upenn.edu (215) 898-9511 ----------------------------------------------------------------------------- Date: Sat, 11 Mar 89 19:45:32 EST From: "James C. Alexander" Subject: Announcement concerning Tib (for bibliographies) Keywords: Tib, bibliographies Tib is a TeX preprocessor to set up and format bibliographies. It has been mentioned in TeXhax previously, but since it is in a new archive and also since the readership of TeXhax changes, I will detail some of its features, some of which are relevant to some recent questions in TeXhax. I am changing machines, and Tib will not be available by ftp from me anymore. Pierre Mackay has kindly taken it under his wing and put it on the Washington archives under tib.shar.Z. I do not know if he made an announcement, since our machine was incomunicado for several weeks, and several issues of TeXhax were missed. Other archives are welcome to pick it up. There are copies all over the US and some in Europe and Australia. Written in C, it comes with sources, samples, demonstrations, documentation, and installation instructions (Pierre has written a script for unix installation). I am told it is routine to port it to VMS and there may be some PC versions of it out there. To a large extent, Tib is a TeX version of the unix program bib, written by T. Budd, which in turn was modelled on the refer program of troff. Tib has more features and is tailored to TeX. It works on a *TeX file which has special symbols to denote a citation. The citation is keyed by any set of keys that identify it (a special code need not be used, but can be). Tib turns this file into another TeX file, ready for TeXing, which contains the citations and the bibliography formatted as per instructions. The database format is an extension of the refer database format and, except for TeX accents and such, Tib works on refer databases. Tib is designed to be easy to use immediately, but straightforward to personalize. Tib has been in fairly general use for 2 or 3 years now and seems to give satisfaction to its users. Some of its features are: 1. Works with any TeX. 2. Handles large databases (the largest I know of has 20,000 items and is updated weekly --- it is a common database for an entire laboratory); multiple databases are no problem. 3. Fast (e.g., in the above case). 4. A preprocessor. If desired, changes can be made before the TeX run. Also sometimes size is a consideration; in one case LaTeX+BiBTeX+PiCTeX was too big, but LaTeX+Tib+PiCTeX was not. 5. Versatile. It comes with a variety of formatting options for citations and reference listings (including footnotes or endnotes) including ones for math, cs, physics, agu, ieee journals and it is not difficult (and is documented how) to create new ones (largely by cannibalizing existing ones). There are some others out there for life sciences and linguistics, but I haven't seen them. 6. Comes with tables of 1800+ official journal and publisher abbreviations which are automatically incorporated. There are some other such tables out there (I know of one for physics journals), but I haven't seen them. 7. Comes with some ancillary programs for interactively perusing databases and for printing them. Its main lacks: 1. It does not process through \input statements (there are workarounds, but it should have this capability). 2. It could use some programs to manage the databases. There is a program out there for merging refer databases; however it seems too primitive for Tib databases. There is also a program out there for sorting refer databases (sortbib) which seems to work fine. 3. From users' comments, the main thing it needs is a BiBTeX-->Tib (= BiBTeX-->refer) database converter. ------------------------------------------------------------------------ Date: Sun, 12 Mar 89 02:26:35 EST From: munnari!munginya.cs.mu.oz.au!djk@uunet.UU.NET (David James Keegel) Subject: Re: V89 #14: LaTeX footnotes--numbering on each page Keywords: LaTeX, footnotes In TeXhax Digest V89 #14, Brian T. Schellenberger wrote: ] ] I would be interested in other people's reactions to this (especially ] Leslie's), and also whether they might want to see some of my other ] LaTeX stuff; in particular, I have an emphasize command that ] automatically inserts an italic correction if needed, and an ] "newlogo" command that creates a command that puts in space if ] desired; these allow you to turn this: ] ] \LaTeX\ forces you to put in {\em italic\/} corrections. ] ^ ^^ ] into this: ] ] \latex forces you to put in \E{italic} corrections. I am interested in looking at these. Putting the italic correction in an \aftergroup is obvious, but have you done it intelligently so that `\E{H}.' will work (ie: \E{not} put any correction)? Here is my little attempt: \newcommand\Em{\aftergroup\/\em} % Auto. italic correction. My favourite is the \latex command: I presume you can say `I love \latex.'' Can you also put it as an argument to a macro (\bf{\latex})? I wrote macros to do the former but not the latter. Even that (\abbr) took a while. % This LaTeX code Copyright 1988 David Keegel (Why not?) % Suggestions/improvements to djk%munnari.oz@uunet.uu.net are most welcome. \let\savespace=\ % {% \obeyspaces% Just inside the group. \global\let =\savespace\relax% \gdef\keepspace{% \obeyspaces% \catcode`\ =10% neither space nor \relax can go here. }% Notice that if a digit follows, bad things may happen. } % end of obeyspaces group. \def\abbr#1#2{\def#1{#2\keepspace}} % define to keep spaces after. Here are some other `goodies': \newcommand\mathcmd[2]{\abbr{#1}{\mbox{\(#2\)}}} % Use in math or LR. % Would probably be better with \ifmmode up there to save \mbox'ing things... \hfuzz=1pt % Don't be so picky. % Allow underscores in text to be treated like \_ \let\underscore=_ % Save old definition. \catcode`_=\active % So we can define it. \newcommand_{\ifmmode\underscore\else\_\fi} % Keep old underscore in Math. % Tilde in math mode treated like \sim (but smaller spacing). \let\normaltilde=~ % Save old definition. \newcommand~{\ifmmode\ltilde\else\normaltilde\fi} % It's already \active. \newcommand\ltilde{\kern-.1em\mathop\sim\kern-.1em} % What to do in math mode. David Keegel (djk%munnari.oz@uunet.uu.net) Arthur: "What's so unpleasant about being drunk?" Ford: "You ask a glass of water." ------------------------------------------------------------------------- Date: Sat, 11 Mar 89 23:51:17 CST From: Don Hosek Subject: Re: Graphics in TeX To: TeXhax@Cs.Washington.Edu A few comments on suggestions to adding graphics to TeX through extensions of the DVI language: Something like this has the disadvantage of not only requiring a new TeX but a whole new set of DVI drivers as well (witness the reluctance to implement TeX-XeT drivers... I only know of three drivers supporting the feature) (better yet, witness the reluctance to implement PK-reading drivers despite the obvious advantages to using such a format). The dot method (as per PiCTeX) is painfully slow and a memory hog (not to mention rather large DVI files). LaTeX's graphics font technique is an improvement in speed and memory at the price of versatility. Using \special commands isn't too much of an improvement in space (empirical tests have shown that using the dot method, a diagonal line takes, on the average 44 words of memory, a \special technique uses 33 words of memory), but should be somewhat faster. Ideally, complicated graphics should be handled outside of TeX and included as whole images. Tom Reid, in his note in TeXhax89 15 has some interesting and useful comments on this. -dh ------------------------------------------------------------------- Date: Sun, 12 Mar 89 09:43:34 EST From: Brian Anderson Subject: Needed: 3812 mode information Keywords: 3812 mode setting, METAFONT We have a 3812 pageprinter which our group uses for TeX work. Unfortunately, we don't have the proper mode setting for generating fonts with METAFONT. I recently noticed an article in this newsgroup that mentioned that the mode setting were mentioned in backissues of TeXhax digest (#5, #21, #30, #37: 1988). When I tried obtaining these backissues from june.cs.washington.edu, I was disappointed to find that TeXhax only went back to #96, 1988. Does anyone know where I may find later backissues? Or better yet, where I may obtain the mode settings for the 3812? Brian G. Anderson | NYU Ultracomputer Research Project ||| 715 Broadway Rm. 1006 ||||| New York, NY 10003 ||||| (212) 998-3346 --- //\ --- arpa: andersnb@cmcl2 ----/ \---- uucp: {ihnp4,seismo}!cmcl2!andersnb ---- ---- ------------------------------------------------------------------------- Date: Mon, 13 Mar 89 13:37:09 EST From: smith%sandalphon@harvard.harvard.edu (Steve Smith) Subject: Re: Macro Delimited Parameters Keywords: macros, TeX Does anyone know how to coerce TeX into allowing me to define a macro with curly brackets `{' and `}' (\catcodes 1 and 2, respectively) as delimiters? I am looking for something along the lines of \def\steve#1{#2}#3{} I simple mindedly tried \def\steve#1\bgroup#2\egroup#3{} but this doesn't work; it wants to see `\bgroup' and `\egroup' in the macro call. I would greatly appreciate any suggestions or hints. Steven Smith smith%sandalphon@harvard.harvard.edu --------------------------------------------------------------------------- %%% 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 ************************** -------