TeXhax Digest Thursday, December 3, 1987 Volume 87 : Issue 97 [SCORE.STANFORD.EDU]TEXHAX97.87 Editor: Malcolm Brown Today's Topics: End-of-theorem Symbol TeX previewer announcement 78 dpi fonts help with dvitovdu.mod Previewer for HP 9000/320? Xerox 2700 MVS driver... Copyright question (TeXbook source code) Are there CM fonts for the DEC LN01 LaTeX Notes (Re: TeXhax Digest V87 #95) Sequent Balance undump Printing the pound sign Dvi2ln3 patch for uniform line width problem with METAFONT, gftodvi and Simpson's QUIC driver METAFONT on SUN3/50-60 Is the UNIX-TeX newsletter accessable to bitnet users? Re: International Phonetic Alphabet in METAFONT Possible Bug in Count Register Updating Re: Anybody got an INDEX formatting package/macro for TeX/LaTeX Index generator for LaTeX ---------------------------------------------------------------------- Date: Fri, 20 Nov 87 23:12:54 EDT From: Dimitri Vulis Subject: End-of-theorem Symbol % I think that this symbol looks better at the end of a theorem than % just a square (black or white) that some people put there. % Caveat: becomes illegible below 118dpi. mode_setup; font_identifier "Dingbat"; font_size 10pt#; u#:=2pt#; pn#:=1/4u#; sl#:=2/3u#; define_pixels(u,pn,sl); % maybe ought to use blacker_pixels for pn beginchar(oct "000", 5u#, 5u#, 0); % square z2=(w-.5pn,.5pn); z13=(.5pn,h-.5pn); x3=x13; y3=y2+sl; x12=x2; y12=y13-sl; x1=x10=x13+u; y1=y2; x5=x14=x2-u; y14=y13; y4=y5=y2+u; y11=y10=y13-u; x4=x6=x8=x1+u-.5pn; x7=x9=x11=x14-u+.5pn; y8=y9=y11-sl; y6=y7=y4+sl; pickup pensquare scaled 1pn; draw z1--z2--z12; draw z14--z13--z3; draw z1--z10--z11--z7--z6; draw z14--z5--z4--z8--z9; pickup pencircle scaled .5pn; %for diagonals draw z12--z14; draw z3--z1; draw z5--z7; draw z10--z8; endchar; end; ------------------------------ Date: Sat, 21 Nov 87 01:00:25 CST From: grunwald%guitar.cs.uiuc.edu@a.cs.uiuc.edu (Dirk Grunwald) Subject: TeX previewer announcement Previously, I had announced the availability of a DVI previewer for use with the X-11 window system. I've used the same driver code to implement a previewer for the SunView window system. Previously, the X-11 previewer was called 'xdvi'. It has been renamed to 'texx' (pronounced the way you're not supposed to pronounced 'tex'), and the SunView previewer is called 'texsun' (i.e. someone one from TeXaS). The package also includes a re-distribution of the dvi -> impress program written by Chris Torek at the Univ. of Maryland. The entire package is available via anonymous FTP from a.cs.uiuc.edu (192.5.69.1) in the file pub/iptex.tar.Z. I have also made arrangements to have this code distributed via the USENET newgroup 'comp.sources.unix' There is an installation guide, a users guide and the programs. Currently, the man pages refer you to the users guide. I welcome improvements & fixes, particularly to the man pages. Dirk Grunwald Univ. of Illinois grunwald@m.cs.uiuc.edu ------------------------------ Date: Sun, 22 Nov 87 22:05 PST From: Don Hosek Subject: 78 dpi fonts Does anybody have mode_def settings for a 78dpi previewer? The settings that I have tried: mode_def vs = % VS mode: for the VAXstation previewer proofing:=0; % no, we're not making proofs fontmaking:=1; % yes, we are making a font tracingtitles:=0; % no, don't show titles in the log pixels_per_inch:=78; % really lowres blacker:=0; % don't make the pens any blacker fillin:=0; % and don't compensate for fillin o_correction:=.2; % but suppress most overshoots turningcheck:=0; % Supress checks for unhappy fonts. enddef; Lose the diagonals on the cmr and cmbx V, v, Y, and y. Any help out there? -dh ------------------------------ Date: Mon, 23 Nov 87 16:28 N From: Subject: help with dvitovdu.mod I am having some trouble with modifying Andrew Trevorrow's DVItoVDU.MOD. He is using a fontspecification different from the structure on our system. For example his file [tex.pixels.1800]cmr10.pxl is called [tex.pixels]cmr10.1800pxl on our system. So I simply added a small tail on procedure buildfontspec to 'correct' this. Unfortunately to find out that the program was a lot more complicated than I thought and the bravely modified routine wasn't even called. Also because the program is written in Modula-2 (a language I've never seen before) I decided to give up my attempts and first try my luck with you fellow TeXhackers. Is there anyone who can help me with this problem or can give some useful hints ? All help will be greatly appreciated. Ton Akveld Dept. of Public Health and Social Medicine Erasmus University Rotterdam The Netherlands also known as ACA @ HROEUR51 . BITNET ------------------------------ Date: Mon, 23 Nov 87 08:50 PST From: Subject: Previewer for HP 9000/320? I'm looking for a previewer (preferably public domain) that runs on the HP 9000/320 engineering workstation. We run our 320's under HP-UX (Hewlett-Packard Unix 5.3). Can anyone steer me in the right direction? Thanks. David J. Buerger Santa Clara University dbuerger@scu.bitnet ------------------------------ From: CFTE%MCGILLA.BITNET@forsythe.stanford.edu Date: WED NOV 25, 1987 11.37.24 Subject: Xerox 2700 MVS driver... From: Shawn Farrell Campus Coordinator, TeX McGill University (514) 398-3676 Does anybody know if there exists a driver for a Xerox 2700 printer using an (shudder!) MVS system? Yes, I know that there exists drivers for Unix, DEC-20, and CDC Cyber, (and they may be modifiable), but, alas, this would surely be beyond the scope of my abilities. Thanks, Shawn Farrell CFTE@MCGILLA.BITNET ------------------------------ From: Oliver Schoett Reply-To: schoett%lan.informatik.tu-muenchen.dbp.de@RELAY.CS.NET Subject: Copyright question (TeXbook source code) Date: Wed, 25 Nov 87 15:19:49 -0100 I am teaching a TeX course, and I would like to give the students a list of TeX's math symbols as in the TeXbook, p. 434--439. The easiest way to do so would be to compile the list by copying the code from the TeXbook source. However, I am a bit worried that this might violate the TeXbook copyright. On the other hand, the TeXbook source says that it is 'not for use in the preparation of books like The TeXbook', and my little list does not seem to fall under this injunction. Can anyone help me? Oliver Schoett schoett@lan.informatik.tu-muenchen.dbp.de (X.400) / relay.cs.net (arpa/csnet) schoett%lan.informatik.tu-muenchen.dbp.de@ - unido.uucp (uucp) \ ddoinf6.bitnet (bitnet) ------------------------------ Date: Wed, 25 Nov 87 16:00 EDT From: Ted Nieland - SRL <@WPAFB-AAMRL.ARPA:NIELAND@FALCON> Subject: Are there CM fonts for the DEC LN01 Are there any CM* fonts available for LN01. I have the old AM fonts for my LN01, but they just do that good a job on this printer. I haven't been able to get the files for the LN03 to work with the LN01. Am I doing something wrong? Can anyone out there tell me something that will help? | M. Edward (Ted) Nieland - Systems Analyst | | US Snail: | Arpa Internet: | | Systems Research Laboratories, Inc. | TNIELAND@WPAFB-AAMRL.ARPA | | 2800 Indian Ripple Road WP 196 | NIELAND%FALCON@WPAFB-AAMRL.ARPA | | Dayton, OH 45440 | | | A T & T: (513) 255-5156 | ------------------------------ Date: Wed, 25 Nov 87 13:06:43 pst From: lamport@src.DEC.COM (Leslie Lamport) Subject: LaTeX Notes (Re: TeXhax Digest V87 #95) David J. Buerger writes: I've been baffled by a LaTeX error and hope someone might point out what's happening. I've written a book of about 75 pages which contains very complex LaTeX code---lots of math equations, symbols, minipages---virtually every feature offered by LaTeX. There's a main input file that calls eleven chapters with the \input{ } command. Each chapter LaTeX's individually without problems. In fact, so do ten of the eleven chapters. Yet when LaTeX finishes with the eleventh chapter and starts writing to the .aux file, it always blows up stating that there's an error on line n--- that the text line contains an invalid character. There are no obvious errors on this line---it contains no special command other than text. I've examined the line in hex code and it's clean (no bad codes inserted by my editor). When I move text around, the error still occurs on the same line. The fact that changing text doesn't change the line number of the error indicates that he's not changing anything in the file that TeX is reading when it found the error. I suspect that the error is occurring when reading an .aux file. See page 118 of the manual to find out how to find out in which file the error lies. Assuming that the error is in an .aux file, you should next examine the indicated line number of that file to try to figure out what's wrong. An error in a command that puts something into the aux file could be responsible. However, if the problem really is an invalid character--something like a control character that doesn't belong in any TeX input file--then this suggests a bug in the TeX implementation. The fact that the error occurs only when LaTeXing the whole document reinforces this suspicion. Each \include'd file has its own .aux file, which means that there are a lot of .aux files for your document. When you're LaTeX'ing the whole document, all of those files get written. My guess is that there's a bug in your implementation that causes errors when trying to write on too many different files in one execution. However, that's just a guess. John writes: RUNOFF produces a beautiful index ( and EASILY! ). I'd like to be able to do the same in LaTeX or TeX. LaTeX has a nice \tableofcontents facility. I don't understand why \indexniceformat was overlooked. Perhaps someone has already done it? I'm looking for something which will emulates RUNOFF's indexing capabilities i.e. something similar to the format of Indexes in the various TeX/LaTeX books. First of all, if he wanted a beautiful index, there are many book he could photocopy it from. (:-)) What he really wants one that will be useful to his readers. Such an index is never easy to produce--any approach that makes it easy (such as automatically indexing every word in some list) produces a bad index. "\indexniceformat" was not overlooked. It is simply impossible to produce an index just using TeX, since it is infeasible to sort in TeX. Therefore, indexing requires an additional program, the same as bibliography-ing. However, I was unable to find anyone willing to write an indexing program in Web. This didn't seem like too serious an omission, since an indexing program is not very hard to write. More recently, stimulated by an awk program written by Pee-Hong Chen, I designed an indexing "standard" (what you should put into an \index command to generate the desired entry). Chen then implemented this in a C program called "makeindex", which I believe is available on the Unix distribution tape. A description of both the standard and the makeindex program is contained in the file makeindex.tex in the standard LaTeX distribution. Leslie Lamport ------------------------------ Date: Thu, 26 Nov 87 16:44:04 JST From: Takagi Shigeyuki Subject: Sequent Balance undump Dear TeXhackers: The following is a shell archive of Sequent Balance undump. It is not polished yet and some error checkings are omitted. BUT, it works !! We use this undump for UNIX TeX 2.1 on Balance 21000 DYNIX 2.1.1. This undump is modified from 4.2undump.c which comes with UNIX TeX 2.1. Modification is done by T. Chikayama, ICOT. I hope this will help some people in the TeX world. S. Takagi, Japanese TeXhax distribution takagi%icot.jp@relay.cs.net ========= CUT HERE and feed to sh ======================================= %% Takagi Shigeyuki's code is too long for digest distribution. As %% usual, it has been saved at Score for FTP access. It is stored %% under the name %% machine: TOPS20 dir: filename: %% [SCORE.STANFORD.EDU]TAKAGI.TXH %% A copy has been forwarded to the TEX-L server for BITNET %% distribution. Malcolm ------------------------------ Date: 26-NOV-1987 09:06:20 GMT From: ABBOTTP%aston.ac.uk@NSS.Cs.Ucl.AC.UK Subject: Printing the pound sign The file lfonts.tex.10 at Stanford contains the code listed below for printing a pound sterling. Since the character comes from an italic font it is necessary to include the italic space \/ to prevent the pound sterling touching the first digit in some point sizes and with some fonts (I am using the Apple Laserwriter Helvetica font). Please can the italic space be incorporated as standard in the definition of \pounds. Peter % File LFONTS - Version of 11 November 1986. % % This version of LFONTS.TEX is for the CMR fonts. It was converted % from the AMR version by David Fuchs on 18 December 1985. % And corrected on 11 Nov 1986 by Leslie Lamport. % Definition of \$ to work in italic font (since it produces a pound sterling % sign in the cmit font. \def\${\protect\pdollar} \def\pdollar{{\ifdim \fontdimen\@ne\font >\z@ \sl \fi\char`\$}} % Definition of pound sterling sign. \def\pounds{{\it \char'44}} ------------------------------ Date: Thu, 26 Nov 87 10:36:11 -0100 From: mcvax!philtis!hd@uunet.UU.NET (Henk D. Davids @ MSD) Subject: Dvi2ln3 patch for uniform line width When using Flavio Roses dvi2ln3 (version 9, last update: 4/16/86) I always had some troubles with the thickness of rules: underlines and rules used in tabular environments did not always have a uniform thickness on the LN03; sometimes 2 pixels were used, sometimes 3 although the same \arrayrulewidth was specified. I found a small update to dvi2ln3 takes care of these inconsistencies. At line 1273 of dvi2ln3.c: Old: do_rule(pixel_round(h), pixel_round(v-p),pixel_round(h+lcx.l), pixel_round(v)); New: do_rule(pixel_round(h), pixel_round(v) - pixel_round(p), pixel_round(h) + pixel_round(lcx.l), pixel_round(v)); Henk D. Davids @ PHILIPS Medical Systems B.V., Dept. SWE-CF Building QA-II PO Box 10000 5680 DA Best The Netherlands UUCP: uunet!mcvax!philtis!hd Voice: +31 40 762255 ------------------------------ Date: Thu, 26 Nov 87 13:43:28 CST From: Robert Coleman Subject: problem with METAFONT, gftodvi and Simpson's QUIC driver We are using the Washington distribution tape for UNIX flavoured TeX. Our system configuration is as follows: 1. A vax 750 running Berkley UNIX4.3 2. A QMS800 lasergrafix printer with the QUIC page language. 3. TeX2.0, LaTeX2.09, METAFONT1.2 4. We are using Scott Simpson's QUIC driver supplied with the Washington distribution. Both TeX and LaTeX work smoothly. METAFONT has been compiled, the GRAY font has been generated using the appropriate cannon engine definition for localfont and METAFONT produces the appropriate ..gf file; however, we get the following curious results. 1. gftopxl will correctly produce a font which can be used in a TeX or LaTeX document when the characters are suitably defined. 2. gftodvi produces a dvi file which does not print when Scott Simpson's QUIC driver is used, but the same dvi file does print when the MIT QUIC driver (also supplied with the distribution) is used. If dvi files are all the same, why does Scott Simpson's QUIC driver accept the dvi files produced by TeX and LaTeX but not the dvi files produced by gftodvi?? Also, why is it that the MIT QUIC driver has no difficulty with the dvi files produced by the gftodvi program. Has there been some change to the dvi format? Is there another version of gftodvi that we could use? We cannot just switch to the MIT QUIC driver because this driver does not maintain a resident font table as Scott Simpson's QUIC driver does. It is this feature that makes it possible to process both troff and TeX jobs on the same laser printer. Although new users employ TeX/LaTeX, some older users continue with troff. In addition, Scott Simpson's driver can load fonts on demand so that if a document uses a large number of fonts the printer may take longer but will eventually print the document. On the other hand, a driver that loads all the fonts required for a given document at the beginning of a run may encounter the problem of having its memory capacity exceeded. Please send any response either to texhax or directly to coleman@uregina2.bitnet Thank you, Robert Coleman Mathematics Department University of Regina Sask. Canada S4S 0A2 (306)584-4347 ------------------------------ Date: Thu, 26 Nov 87 13:45:09 CST From: Robert Coleman Subject: METAFONT on SUN3/50-60 Our system analyst has informed me that with the version 3.0 of the SUN OS that we now have, METAFONT (supplied with the Washington distribution) will not compile because of some problem with the Pascal compiler. Has this problem been corrected in more recent versions of the SUN OS? Please send any response either to texhax or directly to coleman@uregina2.bitnet Thank you, Robert Coleman ------------------------------ Date: Thu, 26 Nov 87 13:48:58 CST From: Robert Coleman Subject: Is the UNIX-TeX newsletter accessable to bitnet users? I would very much like to have my name added to the UNIX-TeX newsletter mailing list. I have sent numerous messages to UNIX-TeX-request@washington.arpa without any success. Is this newsletter available to bitnet users? If so how can I get my name added to the list? coleman@uregina2.bitnet ------------------------------ Date: Fri, 27 Nov 87 13:16 N From: (Helmut Feldweg) Subject: Re: International Phonetic Alphabet in METAFONT There were several requests for an International Phonetic Alphabet in METAFONT in TexHax this year. As I'm interested in such a font too, I contacted all the people asking for it: It seems that no such animal exists currently. The Metafoundry (6565 Frantz Road, Dublin, Ohio 43017) once offered one in the (now obsolete) Metafont78 format, but they dropped that font. If anybody has any pointer to such a font, please give me note! -_-_-_-_-_- Helmut Feldweg Max-Planck-Institut f\"ur Psycholinguistik Nijmegen, The Netherlands e-mail: helmut@hnympi51.bitnet phone: (31) (80) 521-218 ------------------------------ Date: Fri, 27 Nov 87 13:34 EST From: Subject: Possible Bug in Count Register Updating - PROBLEM ------------------------------------------------------------ There seems to be a bug in the timing of TeX 2.0's update of its count registers. In the following example, both \testa and \testb should produce the message "...=not0". The only difference between the two is that \testb has a blank after "\advance\dummy by 1"; an end-of-line, or some other command such as "\dummy=\dummy" has the same effect as the blank i.e. it works right. These tests have been run under VMS 4.5 using the TeX distribution from Kellerman and Smith. I'd been interested in hearing about either a confirmation of this bug, or about the dumb mistake I've made! - EXAMPLE ------------------------------------------------------------ \newcount\dummy \def\testa{\dummy=0 \advance\dummy by 1\ifnum\dummy=0\message{[TESTA=0]} \else\message{[TESTA=not0]}\fi} \def\testb{\dummy=0 \advance\dummy by 1 \ifnum\dummy=0\message{[TESTB=0]} \else\message{[TESTB=not0]}\fi} \testa \testb \bye - OUTPUT FROM EXAMPLE ------------------------------------------------ This is TeX, VAX/VMS Version 2.0.0 (preloaded format=plain 86.5.17) 27 NOV 1987 13:24 **COUNT_BUG.TEX;4 (DISK2:[KEE.NET]COUNT_BUG.TEX;4 \dummy=\count25 [TESTA=0] [TESTB=not0] No pages of output. Kent Eschenberg Applied Research Laboratory, Penn State University, State College, PA BITNET Address KEE@PSUARLC ------------------------------ Subject: Re: Anybody got an INDEX formatting package/macro for TeX/LaTeX Date: Fri, 27 Nov 87 18:51:08 +0100 From: Sylvain Langlois I use the "index" stuff from Scott Simpson (simpson@trwrb.UUCP). It comes along with some libraries and a customization facility (i.e a .rc file). It's using lex and yacc and runs on Vaxen, Suns and Pyramids with no modifications at all... I do have version marked as being "2.1 (TRW) 3/8/86". Sylvain Sylvain Langlois, live from where you can't hear the talking of the D.J. INTERNET: sylvain@chorus.fr,or sylvain%chorus.fr@uunet.uu.net, UUCP: {...,uunet}!mcvax!inria!chorus!sylvain POSTAL-MAIL: Chorus Systemes, 6 av. G. Eiffel, F78180 Montigny-Le-Bretonneux ------------------------------ Date: Fri, 27 Nov 87 14:37:44 CST From: Tom Ekberg Subject: Index generator for LaTeX >>From: MACALLSTR%vax1.physics.oxford.ac.uk@NSS.Cs.Ucl.AC.UK >>Subject: Anybody got an INDEX formatting package/macro for TeX/LaTeX ? >> >>RUNOFF produces a beautiful index ( and EASILY! ). I'd like to be able to do >> the same in LaTeX or TeX. LaTeX has a nice \tableofcontents facility. I >> don't understand why \indexniceformat was overlooked. Perhaps someone has >> already done it? I'm looking for something which will emulates RUNOFF's >> indexing capabilities i.e. something similar to the format of Indexes in the >> various TeX/LaTeX books. >>Thanks in advance, >> John The program IdxTeX was written up in a recent issue of TUGboat and contains some very nice indexing features. It was originally written to run on VAX/VMS. That version can be obtained from TUGboat and from DECUS. I modified that version of IdxTeX to run under Unix for use here at Texas Instruments, and have sent a tape to the original author. Sometime in the near future, I intend to submit it to DECUS to let them distribute it. -- tom (aisle C-4L), EKBERG%TI-CSL@CSNET-RELAY, TI-CSL!EKBERG@IM4U.UUCP ------------------------------ %%% %%% subscriptions, address changes to: texhax-request@score.stanford.edu %%% please send a valid arpanet address!! %%% %%% submissions to: texhax@score.stanford.edu %%% %%% BITNET redistribution: TEX-L@TAMVM1.BITNET (list server) %%% %%%\bye %%% ------------------------------ End of TeXhax Digest ************************** -------