TeXhax Digest Sunday, July 26, 1987 Volume 87 : Issue 60 [SOCER.STANFORD.EDU]TEXHAX60.87 Editor: Malcolm Brown Today's Topics: Volume 86 issues to go offline TeX and the Compugraphics printer Recipe for building CM fonts with pcMetafont CM Font Descriptions Re: LATEX style collection in Tuebingen (Europe) Re: Looks like a LaTeX bug to me TeX on a Toshiba 3100 undump dvi4--- dvi-to-PS for VMS LaTeX Notes (Re: TeXhax Digest V87 #56) Music Typesetting Re: LaTeX \verb (TeXhax Digest V87 #56) footnote numbering ---------------------------------------------------------------------- 26-Jul-87 08:32:52-PDT,1060;000000000000 Date: Sun, 26 Jul 87 From: Malcolm Subject: Volume 86 issues to go offline %% As disk space is starting to get cramped, I'm going to have to %% take the 15 issues of the 1986 TeXhax digest off SCORE. I don't %% think this will be too great an inconvienence for anyone. %% %% As long as the demand isn't too great, you can make arrangements %% with me to get the 1986 issues on a 3.5 inch diskette, either %% in DOS format (720K) or Mac format (800K). Send a note to %% texhax-request and I'll get in touch. %% %% I'll probably take the issues off around mid August. If you want %% them, please FTP them before that time. %% thanks malcolm ------------------------------ Date: Fri, 17 Jul 87 10:56:41 EDT From: mroth@afit-ab.arpa (Mark A. Roth) To: texhax@score.stanford.edu Subject: TeX and the Compugraphics printer Is there a TeX device driver and fonts available for the Compugraphics CG400-PS laser printer? The CG400-PS printer is a PostScript printer using an Atlas RIP. It uses a 400DPI solid-state LED array as the writing element. The RIP has 13 typefaces on-board, and 60 others are provided on the 20MB hard disk. Since this is a PostScript machine will the currently available dvi2ps, dvips, etc. drivers work? Will they access the fonts in the CG400-PS? Will the 300dpi fonts work and look all right on a 400dpi machine? Are there 400dpi versions of the cmr fonts available? Thanks in advance for your info. Mark Roth mroth@afit-ab.arpa ------------------------------ Date: Fri 17 Jul 87 13:10:06-PDT From: Ted Shapin Subject: Recipe for building CM fonts with pcMetafont To: texhax@SCORE.STANFORD.EDU A Recipe For Using pcMF To Make CM Font Pixel Files Ted Shapin, July 16, 1987 Here are some methods to automate the use of pcMetafont to create the hundreds of packed pixel files in the standard distribution. There are so many operations, that to do it all manually leaves too much opportunity for error. First create a file, MFFILES, that has one line for each of the .MF files that we are going to use. A good way to do this is to go into the \pcmf\mfinput subdirectory and type: for %a in (cm*.*) do echo %a >>c:mffiles Now edit this file to remove CMBASE.MF. Now use a BASIC program like the following to create a batch file to run pcMF. (This example is for the Epson printer and is written in QUICKBASIC.) print "What magstep (e.g. magstep 0.5)"; input step$ q$ = chr$(34) open "mffiles" for input as #1 open "domf.bat" for output as #2 while (not eof(1)) input #1,gname$ dotpos% = instr(gname$,".") gfile$ = mid$(gname$,1,dotpos%-1) print #2,"mf &cm \mode=epson; mag=" + step$ + "; input " + gfile$; print #2," /a=2/t" wend close 1,2 Now move the DOMF batch file to the PCMF directory and run it. This will create a number of CM*.240 (for magstep 0) and CM*.TFM files. The font metric files can be saved and moved to the TFMS directory. The .240 files need to be converted to packed pixel files. To do this we run the GFTOPK program. This program does not take parameters on the command line; it asks for the input and output files. In order to supply these automatically, we can use a program such as KEY-FAKE which was published in PC Magazine, vol.4, no. 26. We will use a BASIC program to generate a batch file to do this. [You can download KEY-FAKE.COM from the PC Magazine BBS, (212) 696-0360. You could do a similar thing with EBL, the shareware extended batch language.] First, make a list of all of the .GF files like this: for %a in (cm*.240) do echo %a >>c:gffiles Now run this BASIC program: q$ = chr$(34) open "gffiles" for input as #1 open "dopk.bat" for output as #2 while (not eof(1)) input #1,gname$ dotpos% = instr(gname$,".") gfile$ = mid$(gname$,1,dotpos%) print #2,"key-fake "+q$ +"a:" + gname$;q$+ " 13 "+ q$ + gfile$ +"pk"+q$+" 13" print #2,"gftopk" wend close 1,2 Now run the batch file DOPK to create the .PK files. Move these into the appropriate directory, e.g. DPI240 for the Epson magstep 0 files, DPI288 for the magstep 1 files, etc. The whole thing has to be repeated for each magnification. You can edit MFFILES at the higher magnifications to leave out little used fonts. (Refer to the list in the CM-F appendix of the PCTeX manual.) You can expect to spend about eight hours creating a full set of 74 CM fonts at one magnification on an 8 mhz AT. = end = ------------------------------ Date: Fri 17 Jul 87 13:10:53-PDT From: Ted Shapin Subject: CM Font Descriptions To: texhax@SCORE.STANFORD.EDU CM Fonts in Metafont Distribution With Description CMB10.MF Computer Modern Bold Roman 10 point CMBSY10.MF Computer Modern Bold Math Symbols 10 point CMBX10.MF Computer Modern Bold Extended Roman 10 point CMBX12.MF Computer Modern Bold Extended Roman 12 point CMBX5.MF Computer Modern Bold Extended Roman 5 point CMBX6.MF Computer Modern Bold Extended Roman 6 point CMBX7.MF Computer Modern Bold Extended Roman 7 point CMBX8.MF Computer Modern Bold Extended Roman 8 point CMBX9.MF Computer Modern Bold Extended Roman 9 point CMBXSL10.MF Computer Modern Bold Extended Slanted Roman 10 point CMBXTI10.MF Computer Modern Bold Extended Text Italic 10 point CMCSC10.MF Computer Modern Roman Caps and Small Caps 10 point CMDUNH10.MF Computer Modern Dunhill Roman 10 point CMEX10.MF Computer Modern Math Extension 10 point CMFF10.MF Computer Modern Funny Roman 10 point CMFI10.MF Computer Modern Funny Italic 10 point CMFIB8.MF Computer Modern Roman Fibonacci Font CMINCH.MF Computer Modern Inch-High Sans Serif Bold Extended Caps and Digits CMITT10.MF Computer Modern Italic Typewriter Text for use with 10 point CMMI10.MF Computer Modern Math Italic 10 point CMMI12.MF Computer Modern Math Italic 12 point CMMI5.MF Computer Modern Math Italic 5 point CMMI6.MF Computer Modern Math Italic 6 point CMMI7.MF Computer Modern Math Italic 7 point CMMI8.MF Computer Modern Math Italic 8 point CMMI9.MF Computer Modern Math Italic 9 point CMMIB10.MF Computer Modern Math Italic Bold 10 point CMR10.MF Computer Modern Roman 10 point CMR12.MF Computer Modern Roman 12 point CMR17.MF Computer Modern Roman 17 point (more or less) CMR5.MF Computer Modern Roman 5 point CMR6.MF Computer Modern Roman 6 point CMR7.MF Computer Modern Roman 7 point CMR8.MF Computer Modern Roman 8 point CMR9.MF Computer Modern Roman 9 point CMSL10.MF Computer Modern Slanted Roman 10 point CMSL12.MF Computer Modern Slanted Roman 12 point CMSL8.MF Computer Modern Slanted Roman 8 point CMSL9.MF Computer Modern Slanted Roman 9 point CMSLTT10.MF Computer Modern Slanted Typewriter Text for use with 10 point CMSS10.MF Computer Modern Sans Serif 10 pt CMSS12.MF Computer Modern Sans Serif 12 pt CMSS17.MF Computer Modern Sans Serif 17 pt (more or less) CMSS8.MF Computer Modern Sans Serif 8 pt CMSS9.MF Computer Modern Sans Serif 9 pt CMSSBX10.MF Computer Modern Sans Serif Bold Extended 10 pt CMSSDC10.MF Computer Modern Sans Serif Demibold Condensed 10 pt CMSSI10.MF Computer Modern Slanted Sans Serif 10 pt CMSSI12.MF Computer Modern Slanted Sans Serif 12 pt CMSSI17.MF Computer Modern Slanted Sans Serif 17 pt (more or less) CMSSI8.MF Computer Modern Slanted Sans Serif 8 pt CMSSI9.MF Computer Modern Slanted Sans Serif 9 pt CMSSQ8.MF Computer Modern Sans Serif Quotation Style 8 point CMSSQI8.MF Computer Modern Sans Serif Quotation Style Slanted 8 point CMSY10.MF Computer Modern Math Symbols 10 point CMSY5.MF Computer Modern Math Symbols 5 point CMSY6.MF Computer Modern Math Symbols 6 point CMSY7.MF Computer Modern Math Symbols 7 point CMSY8.MF Computer Modern Math Symbols 8 point CMSY9.MF Computer Modern Math Symbols 9 point CMTCSC10.MF Computer Modern Typewriter Caps and Small Caps 10 point CMTEX10.MF Computer Modern TeX extended ASCII characters for use with 10 point CMTEX8.MF Computer Modern TeX extended ASCII characters for use with 8 point CMTEX9.MF Computer Modern TeX extended ASCII characters for use with 9 point CMTI10.MF Computer Modern Text Italic 10 point CMTI12.MF Computer Modern Text Italic 12 point CMTI7.MF Computer Modern Text Italic 7 point CMTI8.MF Computer Modern Text Italic 8 point CMTI9.MF Computer Modern Text Italic 9 point CMTT10.MF Computer Modern Typewriter Text for use with 10 point CMTT12.MF Computer Modern Typewriter Text for use with 12 point CMTT8.MF Computer Modern Typewriter Text for use with 8 point CMTT9.MF Computer Modern Typewriter Text for use with 9 point CMU10.MF Computer Modern Unslanted Italic 10 point CMVTT10.MF Computer Modern Variable-Width Typewriter Text for use with 10 point ------------------------------ Date: Fri, 17 Jul 87 11:15:35 MEZ From: Z3000PA%AWITUW01.BITNET@forsythe.stanford.edu Subject: Re: LATEX style collection in Tuebingen (Europe) To: texhax@score.stanford.edu Christoph Glatzka has built up a duplicate of the Rochester Latex Styles Collection on BITNET for European users (TEXHAX 56.87). This is a VERY GOOD idea, but it seems to work for IBM and VAX users only. I am a CDC user and experienced the following: His driver did not understand me, because I can only send Mail and Files and cannot talk interactively via BITNET, but this is what it expects. Mr.Glatzka was so kind to send me all the files manually, but this messed up my queues so badly that all my mail of a whole day got lost. So be careful to use this directory the right way only, or you might get troubles like me... ------------------------------ Date: Sat, 18 Jul 87 10:34:36 CDT From: Mike Jipping To: texhax@SCORE.STANFORD.EDU Subject: Re: Looks like a LaTeX bug to me William LeFebvre writes about a LaTeX bug --> > > Consider the following LaTeX input file: > > \documentstyle{article} > > \begin{document} > An equation using \verb|MIN_INT} is $x < \mbox{\verb|MIN_INT|}$. > \end{document} > My understanding of "\verb" is that everything that is between the first character following the command and a matching character is in verbatim mode. in your example, that means that "MIN_INT} is $x < \mbox{\verb" is in verbatim mode -- because you terminated the first "MIN_INT" with a "}" and not a "|". Thus, it gets to the second "MIN_INT", which is not in verbatim mode, and burps at the "_". Appropriate behaviour, I think. -- Mike Jipping jipping@cs.uiowa.edu ------------------------------ Date: Sun, 19 Jul 87 15:48:20 CDT From: Len Evens To: TeXhax@SCORE.STANFORD.EDU Subject: TeX on a Toshiba 3100 I have set up a Toshiba 3100 using PcTeX and the Maxview previewer for a colleague. It works fine. It is quite fast, and as far as I can see essentially identical to using the same package on any AT or AT clone. Arbortxt is in the process of modifying their Preview program so that it works on the Toshiba, but they hadn't gotten it to work the last time I checked. They may have by now. The Toshiba has a 640 by 400 resolution screen. The Maxview previewer uses whatever fonts you have available, and we are using the fonts for the Epson LQ800 printer which are dpi180 resolution. It produces quite acceptable results for previewing and is reasonably fast. The Toshiba, by the way, is a little jewel of a machine. Its only problem is that the disk we have (10 MB) is a trifle small for use with TeX. ------------------------------ Date: Sun, 19 Jul 87 15:54:00 CDT From: Len Evens To: TeXhax@SCORE.STANFORD.EDU Subject: undump I have the source for undump from the latest Unix TeX tape. If no one else has sent it to you yet, please write to me about it. ------------------------------ Date: Mon, 20 Jul 87 08:36:27 EDT From: "Michael R. DeCorte" To: TEXHAX@score.stanford.edu Subject: dvi4--- Does anyone know of a dvi4010, dvi4105 or anything of that sort for a tektronix terminal (actualy a micro emulating a tektronix)? thank you, Michael DeCorte mrd@clutx.clarkson.edu ------------------------------ Date: Mon, 20 Jul 87 14:13:03 EST From: Charlie Martin To: TeXHax@score.stanford.edu Subject: dvi-to-PS for VMS Could someone point me to a dvi-to-PS for VMS, or one that might be easily ported? (In C or (gasp) FORTRAN please.) Thanks, Charlie Martin (crm@cs.duke.edu,mcnc!duke!crm) ------------------------------ Date: Mon, 20 Jul 87 14:27:28 PDT From: lamport@src.DEC.COM (Leslie Lamport) To: TeXhax@Score.Stanford.edu Subject: LaTeX Notes (Re: TeXhax Digest V87 #56) In-Reply-To: Your message of Thu 9 Jul 87 08:01:07 PDT. William LeFebvre writes Consider the following LaTeX input file: \documentstyle{article} \begin{document} An equation using \verb|MIN_INT| is $x < \mbox{\verb|MIN_INT|}$. \end{document} If you try to process this, the first \verb works fine (as one would expect), but the one inside the \mbox in the math equation produces the following error... Page 66 of the LaTeX manual states: * A verbatim environment or \verb command may not appear within an argument of any other command. Leslie Lamport ------------------------------ Date: Tue, 21 Jul 87 11:24 N From: Subject: Music Typesetting To: TEXHAX@score.stanford.edu X-Original-To: TEXHAX@SCORE.STANFORD.EDU, CBTS8001 We are interested in using the SCORE music publishing system on PCs here. The blurb from Passport Designs, Inc (Half Moon Bay) says it was developed by Prof Leland Smith at Stanford. Does anyone know anything more about it, like what other machines it runs on (VAXen? DEC20s?), whether it is public domain or not (the PC version sold by Passport is obviously not!). But most of all, does it integrate with Tex? Like can it produce a .dvi file or can its output be merged with TeX's at all? We have some people here producing a music text book for schools who will be using TeX for the TeXt and Score for the music. Peter Flynn Office: +353 21 276871 x2215..(9am--5pm European) Academic Advisory Manager Home: +353 21 546305..........(7pm--> European) Computer Bureau Fax: +353 21 277194 (G3).............(anytime) University College Telex: 75583 uncc ei........(if all else fails!) Cork, Ireland BITNET: CBTS8001 @ IRUCCVAX ....(preferred route) (=arpa cbts8001%iruccvax.bitnet@wiscvm.wisc.edu) "Beam me up, Scotty!" HEANET: cbts8001@irl.hea.ucc.vax1 (Irish network) "Up where, Pete?" BIX: pflynn@bytecosy....(checked every 2 days) Kom: "Peter Flynn UCC" @ UCD.KOM .....EuroKom) ------------------------------ Date: Tue, 21 Jul 87 09:04:00 CDT From: William LeFebvre Subject: Re: LaTeX \verb (TeXhax Digest V87 #56) To: lamport@src.dec.com (Leslie Lamport) In-Reply-To: <8707202127.AA22267@jumbo.dec.com> Leslie Lamport writes: Page 66 of the LaTeX manual states: * A verbatim environment or \verb command may not appear within an argument of any other command. Response: And I suppose that a math mode string is considered an argument? Or does the book also specifically state that \verb cannot be used within math mode? Because $x < \verb|MIN_INT|$ doesn't work either. (begin sarcasm) Oh by the way, thanks for suggesting a work-around, Mr. Lamport! (end sarcasm) Don't bother......I've already worked around the problem. But I do consider this a mis-feature. William LeFebvre Department of Computer Science Rice University ------------------------------ Date: Tue, 21 Jul 87 11:33:17 PDT From: mbb@portia.stanford.edu (Malcolm Brown) To: texhax@score.stanford.edu Subject: footnote numbering What is the best way to get TeX to number footnotes, when the footnotes must be renumbered each page? Someone here wants to have his footnotes numbered for each page, but wants each page to begin again at 1. Replies of any type (including macros) would be most welcome. I'll summarize the responses to the list. thanks Malcolm ------------------------------ %%% %%% subscriptions, address changes to: texhax-request@score.stanford.edu %%% %%% submissions to: texhax@score.stanford.edu %%% %%% BITNET redistribution: TEX-L@TAMVM1.BITNET (list server) %%% %%%\bye %%% ------------------------------ End of TeXhax Digest ************************** -------