TeXhax Digest Friday, March 11, 1988 Volume 88 : Issue 23 [SCORE.STANFORD.EDU]TEXHAX23.88 Editor: Malcolm Brown Today's Topics: Latex question Citation format TransFig - Portable Figures for TeX OH NO!!! ANOTHER tex-to-c!!! single and double spacing in figures Vanishing pixels downloading TeXtures fonts from a Mac II to a Laserwriter Plus. Write-white fonts query .tfm files for Hewlett-Packard Series II laser printer Implicit \global in TeX CAMERA-READY WARS \chapter Command & Availability of Baskerville or Garamond Fonts A challenge for TeX macro wizards Where and How to get New BibTeX TeX screen driver for Princeton Graphic Systems LM-300 with don knuth awarded the franklin medal TeX for VMS, Xerox drivers ---------------------------------------------------------------------- Date: Mon, 29 Feb 88 14:52:23 PST From: John Lee Subject: Latex question How would one go about limiting the textheight on a given page only? The Latex manual states \textheight can only be set in the preamble, making the textheight the same for the entire document. I suppose I am looking for a command something like \thistextheight=6in. It would be analogous to the existant command \thispagestyle which allows the temporary re-defining of a pagestyle for the current page only. ------------------------------ Date: Mon, 29 Feb 88 21:31:40 PST From: John Sotos Subject: Citation format I don't know anything about TeX, and wonder if the following problem has a LaTeX solution: The common form of LaTeX citations is: ... the study by Smith et al [5]. I would like: ... the study of Smith et al.5 with the '5' superscripted a la a footnote. Footnotes would, in turn, rely on * and **. Any suggestions? Note that it may be difficult to switch from one format to another, since in the first case \cite precedes the . and in the second case it would, I assume, follow the period. John ------------------------------ Date: Tue, 1 Mar 88 10:50:34 EST From: beck@svax.cs.cornell.edu (Micah Beck) Subject: TransFig - Portable Figures for TeX Announcing: release 1.1 of TransFig, a set of tools for including figures in TeX documents in a portable way. TransFig consists of: - fig2tex, fig2ps: a couple of translators from Fig code (the output of the Fig graphics editor) to graphics implementation languages (PiCTeX and Postscript). - transfig: a tool for using the translators to include figures in a documents in such a way that either PiCTeX or Postscript can be used without changing the TeX document. - pic2fig: a version of PIC which produces Fig code (hacked from tpic). The version of fig2ps included was developed by Igor Metz (metz@iam.unibe.ch). The intent of TransFig is to provide a way of describing figures which makes them usable in a broad variety of TeX environments. Hopefully, this will entice developers of graphics tools to produce figures in this format. Specifically, I would like to get such output from an X11 graphics editor. If this strategy works, I expect that people who use other graphics implementation languages (tpic \specials, TeXtyl, epic) would develop more fig2* translators, to gain access to these graphics tools. Transfig is available via anonymous FTP as pub/transfig.tar.Z from svax.cs.cornell.edu; if you don't have Arpanet FTP access, send me a note and I will send it to you in the mail. Any feedback on TransFig will be appreciated. Micah Beck beck@svax.cs.cornell.edu Dept of Computer Science Cornell University ------------------------------ Subject: OH NO!!! ANOTHER tex-to-c!!! Date: Tue,01 Mar 1988.15:04:52 From: mcvax!acorn!GToal@uunet.UU.NET Greetings fellow TeXies, we have had a lot of comments lately about tex-to-c et. al. Here is my tuppence-worth (or nickleswirth if you prefer...). It was not obvious from earlier mail whether tex-to-c was an alternative form of Tangle which took pascal-like web and generated C source directly, or a post-processor to normal Tangle which converted the generated pascal into C. Later postings have more-or-less stated that it is the latter. What I am interested in knowing is, was the Pascal to C translator specifically generated to handle only that small part of Pascal which Web generates, or is it a fully general translator. I ask because I have been using a similar scheme for some time, via a public domain Pascal-to-C translator written by Per Bergsten of Sweden. (Address below). Per's PTC is indeed a full pascal, and I have used it heavily on all styles of Pascal sources with great success. If Messrs Rokicki & Morgan's 'textoc' is not a full Pascal to C compiler perhaps they would like to get together with Mr Bergsten and pool resources? My feeling on the 'C vs. Pascal' TeX debate is that there should be no debate at all - at least for the automatically generated TeXs: I feel that you should treat the Pascal-to-C conversion simply as another pass of the Pascal compiler and never be aware of the fact that C is involved at all. I specifically don't agree with changing the banner to say 'TeX in C' !!! (which I think should be reserved for the one written entirely in C from scratch.) I enclose the folowing from the Pascal-to-C system which I am using: " Per Bergsten Holistic Technology AB Grona Gatan 59 414 54 Gothenburg Sweden This note describes the implementation of ptc, a Pascal to C translator. The program was developed by Per Bergsten of Holis- tic Technology AB, Gothenburg, Sweden. The paper is intended to provide a guide for those who need to transport ptc to a new environment, it describes how Pascal constructs are mapped onto C constructs. Graham Toal (a.k.a. Edinburgh Software) P.S. On my system (a 4Mb Acorn RISC processor) C code runs about twice as fast as Pascal code - BUT the native Pascal code with full checking turned on is extremely helpful with debugging, and made the TeX port simple. G.Toal@uk.ac.ed GToal%uucp.acorn@uk.ac.ukc 'reply' usually works... ------------------------------ Date: Tue, 1 Mar 88 12:43:41 EST From: toms@ncifcrf.gov Subject: single and double spacing in figures I am required by a publisher to double space my text. I have several figures that contain text strings, and I must leave these single spaced. So I used \renewcommand{\baselinestretch}{2} to get double spacing, but I discovered to my horror that I can't turn it on and off for my figures! That is, latex insists on doing double space figures after a \renewcommand{\baselinestretch}{1} command. How do I do this? Tom Schneider National Cancer Institute Frederick Cancer Research Facility Laboratory for Mathematical Biology Frederick, MD 21701 toms@ncifcrf.gov ------------------------------ Date: Tue, 1 Mar 88 16:21:03 EST From: David M. Baggett Subject: Vanishing pixels I have been using TeX on a Sun 3 (Sun OS/3.2) with a Texas Instruments OmniLaser 2115 and have been getting very poor print quality. The problem is that lines (strokes) which are only a pixel wide do not show up. I'm using the standard computer modern font so it's not a font problem. I spoke to someone at TI who informed me that, although the 2115 is supposed to emulate an Apple Laserwriter, it uses a different technique to produce the pages. I'm hoping that someone has hacked a different version of dvi2ps which works with the TI's and other laser printers which use the same printing technique. If anyone knows of such a program, or can suggest another fix to the problem (or can confidently say that it's just a crummy printer), please send me a message at dmb@tis.com (I'm not on the TeXhax mailing list so if you post a message here I won't get it...) Thanks in advance for any help you can provide. Dave Baggett ------------------------------ Date: Tue 1 Mar 88 13:54:03-PST From: Dave Kreps Subject: downloading TeXtures fonts from a Mac II to a Laserwriter Plus. Does anyone have any experience doing this. I cannot seem to get cmsy10 @10 or 12 downloaded, and the scaling up of cmsy10 @6 is not, to say the least, very satisfactory. ------------------------------ Date: Tue, 1 Mar 88 19:31:45 PST From: arie%venus1.gps.caltech.edu@forsythe.stanford.edu (Arie Grossman) Subject: Write-white fonts query We are using a TI 2125 write-white postscrpt printer for tex. Unfortunately we have the apple laserwriter CM fonts. Does anyone have specific information about how to generate write-white fonts for this printer? ------------------------------ Date: 2 Mar 88 17:20:03 +1100 (Wed) From: munnari!wcc.oz.au!alw@uunet.UU.NET (Alex Warman) Subject: .tfm files for Hewlett-Packard Series II laser printer I am using PCTEX and Arbortext's dvilaser/hp on a Compaq Portable III and printing on a Hewlett-Packard Series II laser. If I purchase extra fonts from HP, I need .tfm files. I have spoken to a technical person loacally at HP and he says that HP can make available the width (and possibly the heights) for the HP soft fonts, but HP do not supply TeX .tfm files or even a utility program to make the .tfm files from the HP font files. Does anyone know if this is this really true? Perhaps HP Australia is a bit remote from the US labs. If it is true, perhaps someone has a utility to make the .tfm files from HP's font files? Note that Arbortext's dvilaser/hp allows the use of fonts "native" to the laser printer by way of a parameter file. thanks Alex Warman (alw@wcc.oz) ------------------------------ Date: 2-MAR-1988 12:27:19 GMT From: CHAA006%vaxb.rhbnc.ac.uk@NSS.Cs.Ucl.AC.UK Subject: Implicit \global in TeX I recently tripped over the implicit \global nature of changes to \hyphenchar, which caused me to look more closely at all of TeX's implicit \global assignments. With a single exception, I think I understand the reason for them, but I am extremely confused by the implicit \global nature of . I carried out some tests, and the results were exactly as implied as by the TeXbook: \setbox\a = \setbox\b = { \ht\a = 0.5\ht\a \dp\a = 0.5\dp\a \wd\a = 0.5\wd\a \setbox\b = } \showbox\a \showbox\b The results clearly shew that after the conclusion of the inner range, the dimensions of \a have been changed, but not those of \b. I am sure that Knuth has a reason for this, but I am at a complete loss to understand it; is there anyone out there who can explain why are implicitly \global, whereas are not ? ** Phil. ------------------------------ Date: 2 March 88 14:36-MST From: ANDREW P. BERNAT Subject: CAMERA-READY WARS SPIE IS NOW accepting conference papers in 1:1 camera ready form if they are done in a sufficiently high quality format (which TeX plus a laser printer certainly is). It's one more victory for common sense. Andrew Bernat CS Dept UTexas@El Paso BITNET BJ00@UTEP ------------------------------ Date: 1 Mar 88 10:24:00 EST From: "UMBC::PETERS" Subject: \chapter Command & Availability of Baskerville or Garamond Fonts I would like to get help on two fronts: 1)The book style option in LaTex has a pre-set format when the \chapter command is invoked. It sets both right hand page and left hand page formats for the headers and any attempts to change it results in an error message. Being a novice who has found *LaTeX* difficult, and besides someone in the humanities who is not privty to the arcane programming language in LaTex or plain TeX, I've had to dispense with the \chapter command entirely (which takes away the possibility of instructing TeX to make a table of contents. Although I've designed the initial pages of each chapter myself by setting up commands which I retrieve at the beginning of each chapter, I would like to know if there is a set of commands I could use (I don't need to know how to interpret them) to be able to use the \markboth options and even to decide to use capitals in chapter headings if I want to. Can anyone help a pusillanimous pre-TeXer who finds even LaTeX a la Lamport sometimes too cryptic and at times (that is because I exclude the whole mathematics section and most of the boxes and picture environments of course) even bewildering? 2) I am also interested in the Baskerville and Garamond fonts for two writing projects I have in hand, using LaTeX. I would like to use the Baskerville font, which isused in many books from Cambridge University Press, for a book-length critical study. The Garamond will come in handy for a collection of poetry. Does anyone have the Garamond or fonts in Generic Font format? In addition, font families already set up for a Digital Ln03pinter and would generate me a tape of reports that many type faces have not been prepared for use with LaTeX?) Also, is there a list of fonts available outside the basic fonts which are embedded in TeX and how can one get access to them? Jonathan Peters ------------------------------ Date: Wed 2 Mar 88 23:11:02-MST From: "Nelson H.F. Beebe" Subject: A challenge for TeX macro wizards TeXniques #5 arrived today with the Proceedings of the 1987 TeX Users Group Conference. At the top of p. 122, David Ness writes ``Exactly which space in a macro causes a particular (unwanted) space to appear in some output can occupy hours of tracing down.'' Having had this experience myself, I raise the following challenge. Given an arbitrary TeX macro definition of the form \def\foo{some text} can you produce another macro \revealspace{\foo} which redefines the body and definition of \foo such that each {\em significant} space is turned into a unique printable object, such as a box with a number inside it, that number being incremented for each such significant space found. When \foo is used, such space will be readily available in the typeset output. To tie it to the definition of \foo, the log file from the execution of \revealspace should contain an expansion of \foo with the significant spaces marked. Alternative solutions which achieve the same end are welcome. ------------------------------ Date: Thu, 3 Mar 88 08:52:50 est From: munnari!csadfa.oz.au!gyp@uunet.UU.NET (Patrick Tang) Subject: Where and How to get New BibTeX >The new version of BibTeX (0.99c) is now available from the standard >distribution area, , on SCORE.STANFORD.EDU... and all >the associated styles, plain, abbrv, alpha, unsrt, acm, apalike, >ieetr, siam ... etc and btxdoc.tex. Could someone tell me where and how to get them NOT using ftp ? Thanks. Tang Guan Yaw/Patrick International:+61 62 68 8185 Local: (062)68 8185 Dept. Computer Science ACSNET/CSNET: gyp@csadfa.oz Telex:ADFADM AA62030 University College, ADFA, ARPA: gyp%csadfa.oz@uunet.uu.net Canberra. ACT. 2600, AUSTRALIA. UUCP: ...!uunet!munnari!csadfa.oz!gyp ------------------------------ Date: Thu, 03 Mar 88 13:49:31 CST From: Robert Coleman Subject: TeX screen driver for Princeton Graphic Systems LM-300 with In Byte v13n3 p.11(opposite), there is an add for a very nice monitor with high resolution that would permit a full page display. Unfortunately, TeX was not listed as one of the systems for which a driver is available. In combination with our AT clones, the monitor would be ideal for our secretaries. Does anyone know if a TeX driver is available for this monitor? Reply to TeXhax or coleman@uregina2.bitnet Thank you ------------------------------ Date: Thu 3 Mar 88 15:53:33-EST From: b beeton Subject: don knuth awarded the franklin medal i've just received a news release from the franklin institute, announcing that the franklin medal will be awarded to don knuth at the institute's medal day ceremonies on april 13, in recognition of his work in the fields of computer science and typesetting. the medal is named for benjamin franklin, and was first awarded in 1915 to thomas edison. it is "awarded to those involved in physical science and technology who have advanced a knowledge of physical science or its application." i'm informed that the award ceremonies take place at the foot of the statue of benjamin franklin, a most appropriate location for someone involved with typography. congratulations! this is greatly deserved! ------------------------------ Date: Thu, 3 Mar 88 16:42 PST From: Don Hosek Subject: TeX for VMS, Xerox drivers I was unable to send the following message directly (the mailer rejected the return address (!?) on the note) so I'm hoping it will reach Mr. Bui through TeXhax. Also, the information may be of general interest. Any ammendments to this information should be sent to me at DHOSEK@YMIR.BITNET so that I may update the TUG information. -dh ------Original Message follows----------------------------------------------- > I am Tan Bui, working at the Computer Centre of Concordia University, >Montreal, Canada. We are looking at the possibility of TEX on our VAXes >( running VMS 4.5 ). We hope to obtain from you some information about >TEX on VAX/VMS as well as device driver for our Xerox 8700 and/or Xerox >2700 and/or Xerox 4045 ( In your readers' survey, those Laser printers >were listed as output devices ). We would like to know the "where", "how", >"how much", etc... to obtain the packages. And also, maybe the kind of >terminals >we need to preview TEX output as well as any software enabling that. We >appreciate very much if you could help us with the information or let us know >to whom we can address the subject. Please write to TANTB@CONU1 ( on BITNET ). TeX for VMS may be obtained from two sources: The standard Stanford distribution is available from Maria Code Data Processing Services 1371 Sydney Drive Sunnyvale CA 94087 There is a charge for this service which I believe is approx. $100 (US) Kellerman & Smith also have a VMS version of TeX that includes many "extras" including support from them (just like a commercial package) and a slightly "nicer" interface to VMS. This distribution costs $200 last time I checked. The info on them follows: Kellerman & Smith Contact: Barry Smith Postal Address: Kellerman & Smith 534 SW Third Avenue Portland, OR 97204 Phone: (503) 222-4234 Telex: 910-240-4397 Usenet: tektronix!reed!barry I have no record of a VMS Xerox 2700 (or whichever compatible you have) driver although I seem to remember hearing something about John Gourlay's DVIX27 (written in WEB; uses fonts in a special Xerox 2700 format) running under VMS. You might want to check into this; other implementations of the program are available from: Xerox Contact: Margaret Nelligan Postal Address: Xerox Printing Systems Division 880 Apollo Street El Segundo, CA 90245 Phone: (213) 333-6058 As for the 8700 driver, I have the following listed: Arbortext, Inc. DVIXER (by Paul Grosso) Written in WEB. Source included. Uses fonts preloaded onto the printer. Allows duplex printing. Cost: $2500. Texas A&M [3] TeXrox (by Thomas J. Reid) Written in C Source included.Uses fonts preloaded onto the printer. Allows duplex printing and four basic page orientations plus special formats for booklets and reference cards. Multiple DVI files may be merged using the driver. Includes utilities for creating Xerox fonts from GF or PXL files and for creating TFM files for Xerox internal fonts. Price: $100 Commercial and foreign. Free for domestic government, educational, and non-profit institutions. Here is information on where to obtain the programs: Arbortext, Inc. Contact: Bruce Baker Postal Address: 535 W. William Street Suite 300 Ann Arbor, MI 48103 Phone: (313) 996-3566 Arpanet: bwb%arbortext@umic.cc.umich.EDU Texas A&M [3] Contact: Thomas Reid Postal Address: Computing Services Center Texas A&M University College Station, TX 77843 Phone: (409) 845-8459 Bitnet: X066TR@TAMVM1 I hope this information is useful, -dh P.S. If possible, please direct subsequent inquiries to DHOSEK@YMIR since I keep device driver information on that machine. -dh ------------------------------ %%% %%% subscriptions, address changes to: texhax-request@score.stanford.edu %%% please send a valid arpanet address!! %%% %%% BITNET distribution: subscribe by sending the following %%% line to LISTSERV@TAMVM1.BITNET: %%% SUBSCRIBE TEX-L %%% %%% submissions to: texhax@score.stanford.edu %%% %%%\bye %%% ------------------------------ End of TeXhax Digest ************************** -------