UKTeX Digest Friday, 14 Jun 1991 Volume 91 : Issue 24 Today's Topics: {Q&A}: Tib and \input Optional arguments to environments Upright CM Greek glyphs: any offers? Graphics and LaTeX MSDOS executable for ghostscript held at Aston Times Roman, etc, fonts `Helvetica.afm' anyone? Re: `Helvetica.afm' anyone? Cannot make tfm and pk files. Re: midnight macros DVI-to-HPGL and TEXINFO Re: DVI-to-HPGL and TEXINFO {Announcements}: TUGboat 12 #2, table of contents Information on July TUG conference, etc in Boston (as in tea-party) the babel system Administrivia: Moderators: Peter Abbott (Aston University) and David Osborne (University of Nottingham) Contributions: UKTeX@uk.ac.tex Administration, subscription and unsubscription requests: UKTeX-request@uk.ac.tex ------------------------------------------------------------ Date: Fri, 07 Jun 91 15:59:52 +0000 From: Robert Davidge Subject: Tib and \input When Tib generates an output file from a latex document using \input it does not include these files. Has anyone got a solution to this problem other than 1. Not using \input or 2. Editing together reference lists? Robert Davidge ------------------------------ Date: Fri, 07 Jun 91 23:55:11 -0500 From: Jerry Leichter Subject: Optional arguments to environments In UKTeX V91 #23, Peter Knaggs asks how to create environments with optional arguments. He wants to do stuff like: \begin{myenv}[optional] ... \end{myenv} It's not clear if he wants to do this in LaTeX or within some other macro package. It's impossible to answer without knowing, since the determining factor is how \begin is implemented. So, I'll assume he wants information about LaTeX. The standard LaTeX \newenvironment command cannot be used to create a command with arguments, optional or otherwise. More generally, the LaTeX user-level interface does not provide any way to create commands with optional arguments. It's simple to do using lower-level calls, but you have to know how LaTeX's innards work. \begin{myenv} in LaTeX does some setup, then ultimately executes \myenv. It is careful to execute \myenv at the very end of the definition of \begin, so that \myenv can "peek ahead" if it desires. In particular, this means that the standard techniques used for optional arguments in LaTeX will work just fine. They are too complex for me to explain here; but here's some example code: \makeatletter \def\myenv{\@ifnextchar [{@myenv}{@myenv[DEFAULT]}} \def@myenv[#1]{Arg = #1 --- } \def\endmyenv{\relax} \makeatother \documentstyle{article} \begin{document} \begin{myenv} no optional argument \end{myenv} \begin{myenv}[argument] with optional argument of ``argument'' \end{myenv} \end{document} -- Jerry ------------------------------ Date: Mon, 10 Jun 91 17:32:07 +0000 From: Subject: Upright CM Greek glyphs: any offers? Has anyone already coaxed Metafont into producing aesthetically acceptable upright mathematical Greek (lower-case) characters? If not, is anyone interested in doing so? Chris Rowley ------------------------------ Date: Mon, 10 Jun 91 17:48:18 +0000 From: Mark J Hewitt Subject: Graphics and LaTeX Well, I know this has been addressed before, but I'd be interested in knowing what LaTeX users now use for the incorporation of diagrams into documents. The background is that we are mandating LaTeX for use in the production of design documents, user documents and all other out-bound written materials to our customers. Clearly, there is a need to provide a straightforward mechanism with which to create and integrate diagrams. At present, bitmaps cut from screens etc. are inserted as PostScript \specials, whereas diagrams (DFD's etc.) are either laboriously generated with LaTeX picture mode or by hand-crafted PostScript. We use dvi2ps - an old one! When I have time to convert company logo PostScript inserts, title pages, printer bin control, DRAFT overlays, Changebars and form drawing appropriately, we will probably go to dvips. Hardware - well, we don't really have X, but we have a few Macs (but we are trying to get away from those!), and more DOS machines. We run TeX on UNIX platforms, so our VMS and DOS users have to learn how to use it there. So - any modern advice? Mark J. Hewitt bangpath: ...!ukc!kernel!mjh JANET: mjh@uk.co.kernel voice: (+44) 532 444566 other: mjh@kernel.co.uk fax: (+44) 532 425456 old style: mjh%uk.co.kernel@uk.ac.ukc paper: Kernel Technology Ltd, Development Centre, 46 The Calls, Leeds, LS2 7EY, West Yorkshire, UK ------------------------------ Date: 11 Jun 91 14:06:58 +0000 From: Andrew Haylett (GEC-Marconi Research Centre) Subject: MSDOS executable for ghostscript held at Aston I recently fetched the ghostscript 2.2 distribution (gs22-zip.boo) from the Aston archives. In the file 00readme.doc, I found the statement: > The default MS-DOS configuration now includes VGA (default), EGA, Epson, > DeskJet, and LaserJet drivers. However, I find that the gs22.exe supplied with the distribution actually has drivers for VGA, EGA, BGI and Epson. No Deskjet. This is mildly vexing as I have a Deskjet, but no C compiler, so can't rebuild it to include the Deskjet driver. So - anyone know where I can find an MSDOS binary with VGA *and* Deskjet drivers? Thanks. - --------- Andrew Haylett | Tel: +44 245 73331 x.3215 GEC-Marconi Research Centre | Fax: +44 245 75244 Great Baddow, Chelmsford, | UUCP: ...!ukc!gec-mrc!ajh Essex, UK CM2 8HN | JANET: ajh@uk.co.gec-mrc ------------------------------ Date: Tue, 11 Jun 91 14:54:47 +0000 From: Subject: Times Roman, etc, fonts Personal TeX market a program called COtoPX which converts Bitstream outline fonts to pks and tfms. Bitstream, in turn, market lots of outline fonts: we have Times, Baskerville, Goudy Old Style and Palatino, but they have a range of 40-something in this (`Fontware', hinted) format. Jeremy *-----------------------------------------------------------------------* | Jeremy Gibbons (jg@prg.oxford.ac.uk) Funky Monkey Multimedia Corp | *-----------------------------------------------------------------------* ------------------------------ Date: Wed, 12 Jun 91 08:16:51 +0000 From: Sam Nelson Subject: `Helvetica.afm' anyone? Pressure has been building here to replace my site's old dvi-->PostScript driver with a better one, so having re-established contact with `uk.ac.tex' as a fileserver, I pulled v5.47 of Rokicki and successfully built it. I noticed in the archive lists a directory called `PSLATEX' and, pulling the contents of that, discovered that I can relatively trivially (it could be done before here, but with difficulty!) set documents in almost any built-in LW font I like at the flick of a \documentstyle. I say `almost' because the procedure seems to involve converting `.afm' to `.tfm' and `.vpl' via `afm2tfm' - ---no problem---and then creating `.vf' with `vptovf'---again no problem, but in the lists of `.afm' files available from `uk.ac.tex', `Helvetica.afm' is conspicuous by its absence. `Bold', `Oblique' and `Bold-Oblique' are there, but `Vanilla' is missing, as far as `grep' can tell me. I tried getting the relevant stuff from a local LW with the `getafm.ps' and `printafm.ps' files I also found on the archive, but there appear to be sizeable chunks missing (accented characters and kern pairs, as far as I can tell, but I know little about what's supposed to be there!)---can anyone tell me what I'm doing wrong? The new driver seems to run fine. I'm still a little bothered about what appears to be the use of non-CM metrics being used with CM italics in math mode, but that's another story... Sam. --------------- Sam Nelson, Computer Officer, Dept of Computing Science, | (paste | University of Stirling, Stirling FK9 4LA, Scotland. | complicated | E-mail: See From: line | logo | Tel: +44 786 67443, or +44 786 73171 X7443 | here) | G3 Fax: +44 786 64551 | | Telex: Abolished! | | --------------- $\Delta p\Delta {\bf r}\stackrel{\textstyle >}{\sim}\hbar$ ------------------------------ Date: Wed, 12 Jun 91 16:28:28 +0000 From: Sebastian Rahtz Subject: Re: `Helvetica.afm' anyone? Sam Nelson writes: > in the lists of `.afm' files available from `uk.ac.tex', `Helvetica.afm' is > conspicuous by its absence. `Bold', `Oblique' and `Bold-Oblique' strange. its being transferred from my site to Aston as I write Sebastian ------------------------------ Date: Wed, 12 Jun 91 15:20:32 +0000 From: Martin Tomes Subject: Cannot make tfm and pk files. I have just received the TeX 3 tape from the Aston Archivists. I am using Interactive UNIX 2.2 and gcc to compile. All compiles OK. When I run METAFONT from dvips this is what happens: (etherm)$ MakeTeXPK cminch 300 300 magstep\(1.0\) LWONE mf \mode:=LWONE; mag:=magstep(1.0); scrollmode; input cminch \ ( l.47 def dish_serif( suffix $,$$,@)(expr left_darkness,left_jut) ! Missing `=' has been inserted. ( l.58 def nodish_serif( suffix $,$$,@)(expr left_darkness,left_jut) ! Missing `=' has been inserted. . . . . I note that the cmbase.mf file has not changed so why do I get this error? I have followed the instructions in the README files. I had no problems at all when I installed TeX 2.99. Martin Tomes Janet: mtomes@uk.co.eurotherm | Eurotherm Limited, Faraday Close, Internet: mtomes@eurotherm.co.uk | Durrington, Worthing, W.Sussex, England. UUCP: {ukc,uunet}!etherm!mtomes | Phone: +44 903 68500 Fax: +44 903 65982 ------------------------------ Date: Wed, 12 Jun 91 17:05:56 +0000 From: Sebastian Rahtz Subject: Re: midnight macros Stephen Miller writes: > I've just tried to transfer these and found that there is only a single > file there : labels.doc and not the ten I expected. Or have I made a mistake ? fixed. sorry! ------------------------------ Date: 13 Jun 91 12:50:00 +0000 From: Subject: DVI-to-HPGL and TEXINFO I have two questions; 1) A friend is looking for the source code suitable to build a DVI-to-HPGL driver. Does such a beast exist and is it available from the archive ? 2) I have a `texinfo' file -- can I process it with LaTeX, and if so, how ? Thanks, ------------------------------ Date: Thu, 13 Jun 91 13:04:36 +0000 From: Adrian F Clark Subject: Re: DVI-to-HPGL and TEXINFO > 2) I have a `texinfo' file -- can I process it with LaTeX, and > if so, how ? TeXinfo is a documentation mark-up scheme used by the GNU project (the people who developed Emacs, gcc, g++, etc). A TeXinfo file may be processed into an `info' file, which can be read as on-line documentation via emacs, or into printed documentation via TeX. What you need to be able to perform the latter is the file `texinfo.tex', which defines the required mark-up macros. TeXinfo is derived from plain TeX, so you wouldn't process it with LaTeX. You can get texinfo.tex from the archive; I can mail a copy to you if you have trouble finding it. (As an aside, it's a good example of how to support a totally un-TeX-like mark-up scheme; it doesn't even use backslash as its "command character"!) On behalf of the archivists... Dr Adrian F. Clark JANET: alien@uk.ac.essex INTERNET: alien%uk.ac.essex@nsfnet-relay.ac.uk FAX: (+44) 206-872900 BITNET: alien%uk.ac.essex@ac.uk PHONE: (+44) 206-872432 (direct) Dept ESE, University of Essex, Wivenhoe Park, Colchester, Essex, C04 3SQ, UK. ------------------------------ Date: Sat, 08 Jun 91 21:27:51 +0000 From: LIST_SERVER@uk.ac.tex Subject: TUGboat 12 #2, table of contents This issue of TUGboat went to the printer on June 7. Contents, TUGboat 12, No. 2, June 1991 General Delivery Nelson H. F. Beebe President's introduction 205 Barbara Beeton Editorial comments 208 Walter Obermiller TeX in Germany 211 Philology Basil Malyshev, Alexander Samarin and Dimitri Vulis Russian TeX 212 Cvetana Krstev Serbo-Croatian hyphenation: a TeX point of view 215 Yannis Haralambous On TeX and Greek ... 224 Francois Jalbert JemTeX 2.00 available for Japanese 227 Fonts Alan Jeffrey Labelled diagrams in METAFONT 227 Graphics Reinhard Foessmeier X bitmaps in TeX 229 Output Devices Joachim Schrod Report on the DVI Driver Standard 232 Resources Karl Berry and Kathy Hargreaves Review of 3:16 Bible Texts Illuminated 233 Nico Poppelier Review of LaTeX for engineers and scientists 235 Questions Alan Hoenig Just plain Q & A 237 Tutorials David Salomon The \if, \ifx and \ifcat comparisons 238 Lincoln Durst Some tools for making indexes: Part I 248 Victor Eijkhout The structure of the TeX processor 253 Warnings Barbara Beeton Initiation rites 257 Frank Mittelbach Solution to the riddle from TUGboat 11, no. 4 259 Macros Victor Eijkhout The bag of tricks 260 Don De Smet TeX macros for producing multiple-choice tests 261 Jim Hefferon Getting \answers in TeX 270 Victor Eijkhout Oral TeX 272 Sonja Maus An expansion power lemma 277 George Russell Generating \n asterisks 278 Dimitri Vulis TeX and envelopes 279 LaTeX Jackie Damrau The LaTeX column 284 Nico Poppelier A comment on The LaTeX column 285 Glenn L. Swonk LaTeX tree drawer 286 Harold Thimbleby ``See also'' indexing with Makeindex 290 Johannes Braams Babel, a multilingual style-option system for use with LaTeX's standard document styles 291 Queries Jeff Lankford Public domain SGML tools wanted 302 Jiri Vesely Reporting TeX's hyphenations 302 Letters Paul Abrahams Response to Victor Eijkhout 302 Victor Eijkhout Response to Paul Abrahams 303 Al Cuoco TeX in schools: Why not? 303 Abstracts Cahiers GUTenberg #7 and #8 305 News & Announcements Calendar 307 TeX91/Congres GUTenberg'91, Paris, 23--26 September 1991 309 Desktop Publishing in astronomy and space sciences, Strasbourg, 1--3 October 1991 311 Call for papers: EP92: International conference on electronic publishing, document manipulation, and typography, Lausanne, Switzerland, 7--10 April 1992 311 Late-Breaking News Donald Knuth Fixed-point glue setting: Errata 313 Barbara Beeton Production notes 313 Coming next issue 315 TUG Business TUG financial statements 315 Institutional members 319 TUG Bylaws 321 Forms TUG membership application 331 Advertisements Index of advertisers 348 Supplements Computers & Typesetting: Errata and Changes, Supplement TUG Resource Directory - ------- ------------------------------ Date: Mon, 10 Jun 91 17:25:33 +0000 From: Subject: Information on July TUG conference, etc in Boston (as in tea-party) I now have a few copies of both The Prospectus and The Program Update for this prestigious event. If anyone in the UK needs a copy urgently, then e-mail me or telephone (071 794 0575). Chris Rowley (Hon Sec ukTeXug) ------------------------------ Date: Mon, 10 Jun 91 13:33:00 +0700 From: Johannes L. Braams"Johannes L. Braams" Subject: the babel system Hi, I have been getting input from CERN for quite a number of languages to add to the babel system. The language specific files will be made available from LISTSERV@HEARN in the near future. I would like to welcome the various national language groups to comment on the files, improve on the files etc. Available now: language provided by --------- ----------- Dutch (NTG WG13) Germanb (derived from german.tex, Hubert Partl cs.) Francais (from german.tex and french.sty v2.2) English (defaults from styles) Spanish (Julio Sanchez, (jsanchez@gmv.es)) Italian (Maurizio Codogno, (urcm@ur785.cselt.stet.it)) Available soon: Slovene (CERN) Czech (CERN) Russian (Werenfried Spit, (W.Spit@fys.ruu.nl)) Norsk (CERN) Portuges (CERN) Finnish (CERN) Magyar (CERN) Regards, Johannes Braams PTT Research Neher Laboratorium, P.O. box 421, 2260 AK Leidschendam, The Netherlands. Phone : +31 70 3325051 E-mail : JL_Braams@pttrnl.nl Fax : +31 70 3326477 ------------------------------ UK TeX ARCHIVE at ASTON UNIVERSITY *** JANET Interactive and NIFTP access *** Host: uk.ac.tex (JANET DTE 000020120091) Username: public Password: public [Sorry, no Internet ftp access is available yet] *** Mail server *** Send mail to TeXserver@uk.ac.tex (JANET) or TeXserver@tex.ac.uk (rest of the world) with message body containing the word HELP *** FILES OF INTEREST *** [tex-archive]00readme.txt [tex-archive]00directory.list [tex-archive]00directory.size [tex-archive]00directory_dates.list [tex-archive]00last30days.files This year's UKTeX back issues are stored in the archive in directory [tex-archive.digests.uktex.91] This year's TeXhax back issues are stored in the archive in directory [tex-archive.digests.texhax.91] Latest TeXhax: #25 TeXMaG back issues are stored in the archive in directory [tex-archive.digests.tex-mag] Latest TeXMaG: V5N3 *** MEDIA DISTRIBUTIONS *** Washington Unix TeX distribution tape (latest copy dated 28 March 1990) Contains: TeX 2.993(==3.0), LaTeX 2.09, Metafont 1.9 (2.0), plus many utilities suitable for Unix 4.2/4.3BSD & System V tar format, 1600bpi, blockfactor 20, 1 file (36Mb) Copies available on: One 2400ft tape sent with return labels AND return postage to Aston OR One Quarter-Inch Cartridge (DC600A or DC6150) sent with envelope AND return postage to Nottingham (addresses below). A VMS backup of the archive requires two 2400ft tapes at 6250bpi. A VMS backup of TeX 2.991 plus PSprint requires one 2400fttape. Exabyte 8mm tapes: same contents available as 1/2in tapes. Following tape types available: SONY Video 8 cassette P5 90MP, MAXELL Video 8 cassette P5-90, TDK Video 8 cassette P5-90MPB OzTeX (for Macintosh): Send 10 UNFORMATTED 800K disks with return postage. emTeX (for MS-DOS): Send 11 UNFORMATTED 1.44Mb or 18 (EIGHTEEN!) 720K 3.5" disks; or 12 UNFORMATTED 5.25" disks; with return postage. emTeX is now distributed with a copy of `Baskerville' and documentation. Please therefore send the disks in packing of A4 size or enclose an A4 envelope. *** POSTAGE RATES *** (all prices in Pounds Sterling) (For Aston orders, make cheques payable to Aston University) 0.5" tapes: UK: 2.50 (one tape), 5.00 (two tapes). Europe: 5.00 (one tape), 9.00 (two tapes). Outside Europe please enquire. 8mm tapes: UK: 1.00, Europe: 2.00. Quarter-inch cartridges: UK: 1.00, Europe: 2.00. Diskettes: Quantity/Size Europe World UK 1st UK 2nd 18/3.5" 3.10 5.10 1.40 1.10 11/3.5" 1.80 2.90 0.80 0.65 18/5.25" 1.20 2.00 0.60 0.50 11/5.25" 0.80 1.30 0.50 0.35 *** POSTAL ADDRESSES *** (Please include SELF-ADDRESSED ADHESIVE LABELS for return postage). Peter Abbott Computing Service, Aston University, Aston Triangle, Birmingham B4 7ET David Osborne Cripps Computing Centre, University of Nottingham, Nottingham NG7 2RD, UK (for Quarter-inch cartridges ONLY) (Please include stamps for return postage) *** UK TeX USERS GROUP *** For details, contact Malcolm Clark or Geeti Granger IRS John Wiley & Sons Polytechnic of Central London Baffins Lane 115 New Cavendish Street Chichester London W1M 8JS W Sussex PO19 1UD email: malcolmc@uk.ac.pcl.mole End of UKTeX Digest [Volume 91 Issue 24] ****************************************