TeXhax Digest Wednesday, October 21, 1987 Volume 87 : Issue 84 [SCORE.STANFORD.EDU]TEXHAX84.87 Editor: Malcolm Brown Today's Topics: Effects of METAFONT change #536 Re: More questions about TeX fonts H. Thimbleby's Cweb Large screen displays for Mac still need help increasing tex's font capacity Bitnet users of LaTeX style collection note bug in Crudetype LaserJet II driver Returned mail: User unknown TeX/LaTeX on Apollo fonts not loading and Xerox 2700 II fonts conversion from Script/GML to TeX LaTeX Notes (Re: TeXhax Digest V87 #82) Inverted Fonts will TeXtures work with big screens? Lowercase Letters --- the e.e. cummings syndrome. MWEB ( WEB for Modula-2 ) TeXhax Digest V87 #82 "Help" from Michael Russell ---------------------------------------------------------------------- Date: Mon, 12 Oct 87 00:37:53 BST From: CET1%phoenix.cambridge.ac.uk@NSS.Cs.Ucl.AC.UK To: TeXhax <@NSS.Cs.Ucl.AC.UK:TeXhax@score.stanford.edu> Subject: Effects of METAFONT change #536 I have been bringing my GF files for the Computer Modern fonts up to date with the changes from the Errata Listing distributed with the June 1987 TUGboat. I was planning (out of pure altruism, of course) to publish a list of which character/font/mode/magnification combinations were affected. What I have discovered, however, can be summed up quite simply: change #536 to the MF program affects so much that you had better plan to recompile everything (if you want to keep your GF files in step with your MF program). In particular, for every font and each MF mode that we use (lowres from plain.mf, and imagen from waits.mf) there is some magnification at which some characters change. For most of the fonts, this is true of most of the magnifications, and for 10% or more of the characters. (For fonts like cmr10, the characters most often affected seem to be `#', `%' and `/', where oblique strokes are drawn with rule.nib. For similar reasons, many more characters are affected in slanted and italic fonts.) All this would not be true for a mode with fillin=0, as change #536 then has no effect. The changes aren't large, in any case: a pixel here and a pixel there. I would be interested to know if anyone has been using GF files produced from a post-#536 MF long enough to judge whether the characters actually look better. It occurs to me that choosing the `right' value of fillin for an output device while the bug fixed by #536 was still present might have lead to erroneous results. Chris Thompson Cambridge University Computing Service Janet: cet1@uk.ac.cam.phx ARPA: cet1%phx.cam.ac.uk@nss.cs.ucl.ac.uk ------------------------------ Date: Mon, 12 Oct 87 12:16:31 CDT From: William LeFebvre Subject: Re: More questions about TeX fonts To: TeXhax@score.stanford.edu > (a) For my LaserWriter, is it advisable to (assuming these are 300 dpi > fonts) run METAFONT on all the existing mf fonts with \magstep 0.5, 1, > 2, 3, 4, & 5 ? I'd like to make it idiot-proof so that I'll never get > `dvipr' (really dvi2ps) to barf because it couldn't find a font... I didn't generate ALL the magsteps for ALL the fonts---that takes up quite a bit of room. It is advisable, however, to generate all the fonts you will be using. In other words, don't use any of the pre-generated gf files that come on the tape. That way you KNOW what you working with. > (b) I am using the modified `texview' version of the `dvisun' Sun > previewer; unfortunately there are little existing 118 dpi pxl files in > the distribution....Should I add another > mode for 118 dpi to the waits.mf file, and remake METAFONT with this > preloaded, then choose "\mode=preview" on the command line to mf? I > can't seem to get XXXgf output files where the XXX is not a 300 dpi > size ... Here's what I did for Rice. I created a separate file, called "rice.mf", included in that file all the mode_def definitions that we need (imagen, sun, and truesun), set a few site-dependent things (such as "localfont:=imagen" and assignments for "screen_rows" and "screen_cols"), and added "/Rice" to the base_version string. I placed the file in /usr/lib/mf/bases (which is our version of the local metafont library---I think the Makefile originally wanted it to be "/usr/lib/mf84/..."). Then I told "inimf input the "rice.mf" file before dumping so that the definitions were part of "plain.base". With that version of "mf", saying "\mode=sun" on the METAFONT invocation line will use that mode, and any "mag" you specify will be magnified from the 118 setting specified in the mode. Also note that the sun screens are really 82 ppi. Most Sun DVI previewers automatically show the documents with a magnification of magstep 1. And whadayaknow? 82 at magstep 1 is 118! By the way, our "mode_def truesun" is identical to "sun" except that pixels_per_inch is 82. > (c) There is a shell script (makecm.sh) in ./cmfonts... > i.e., nothing about Pascalish `:=' assignments, nor semicolons. Is this > implementation dependant, or a Pascal notational necessity, or what? In METAFONT, the "=" operation defines a mathematical relation but the ":=" operation specifies an assignment (i.e.: the left-hand-side is brand new and is not related in any way to any previous uses of the variable named on the lhs). For the purposes of preassigning "mode" and "mag" before making a METAFONT run, the two are interchangeable. Use either one you like. William LeFebvre Department of Computer Science Rice University ------------------------------ Date: Mon, 12 Oct 87 17:05 PDT From: DON HOSEK Subject: H. Thimbleby's Cweb To: TEXHAX@score.stanford.edu X-Vms-To: IN%"TEXHAX@SCORE.STANFORD.EDU" Can anybody supply me with any information on The Troff/C web system by H. Thimbleby described in Knuth's article on Literate Programming (submitted to The Computer Journal 1983)? -dh ------------------------------ Date: Tue, 13 Oct 87 10:14:02 PDT From: pjs%grouch.span@VLSI.JPL.NASA.GOV Subject: Large screen displays for Mac To: texhax@score.stanford.edu Does anyone know which large screen displays (Radius, MegaScreen, etc) DO and DO NOT work with (1) TeXtures, and (2) MacTeX? Peter Scott PJS@NAIF.JPL.NASA.GOV.ARPA ------------------------------ Date: Mon, 12 Oct 87 14:39:09 PDT From: rusty%velveeta.Berkeley.EDU@Berkeley.EDU (rusty wright) To: texhax@score.stanford.edu Subject: still need help increasing tex's font capacity I got *NO* responses to my request for help about increasing TeX's font capacity. There must be somebody out there that knows how to do this. I tried just increasing font_max and font_mem_size but the resulting initex immediately bombs with an error message saying something like "ouch, my internal variables have been clobbered--case 15". Somebody please help me! ------------------------------ To: texhax@score.stanford.edu Subject: Bitnet users of LaTeX style collection note Date: Wed, 14 Oct 87 03:44:52 -0400 From: Ken Yap Apparently our mail configuration has a hack where Bitnet addresses of the form user@site.bitnet are correctly routed via our campus IBM mainframe vm.cc.rochester.edu to Bitnet. This means you can use this route in your return address, thus: @ user@site.bitnet 00readme @ Usual disclaimer about reliability, speed, etc. You might want to try this out before the Wiscvm gateway goes down beginning of December. Getting the mail from your Bitnet machine to our Internet machine is still your problem though. Ken ------------------------------ Date: Wed, 14 Oct 87 10:14:23 BST From: Dr R M Damerell (RHBNC) To: texhax@score.stanford.edu Subject: bug in Crudetype In writing Crudetype, I assumed that the header array of TFM files would have the form given in "TeX font metric files" by David Fuchs, TUGboat vol.2 no. 1, pages 12--16. This says that the header currently has 18 words, and I failed to notice that TEX82 (part 30: Font Metric Data) says that only the first 2 words are required and the rest are optional. The effect is that Crudetype runs off the end of the header and crashes with an un-intelligible error message "skip_bytes called with negative value" I hope to produce a fix, but I regret that it will probably be messy. mark ------------------------------ Date: Wed, 14 Oct 87 16:55:14 PDT From: WU%RAL@ames-io.ARPA Subject: LaserJet II driver To: texhax-request@score.stanford.edu Can someone point me to a DVI to HP LaserJet II driver? Thanks. Alex wu@ames-aero.arpa ------------------------------ Date: Thu, 15 Oct 87 13:11:32 PDT Subject: Returned mail: User unknown From: Tomas Rokicki To: texhax@score I think you should know . . . that letter in TeXhax about PCTeX and VAX TeX having different problems . . . all of the tilde's should have been up-arrows; bitnet character bogosity. Which explains everything. PCTeX has a bug. Then, $^'$ expands to $^^\prime$ or some such, which doesn't work for lack of an open brace, as it should. (You need to use $^{^\prime}$. Because, ' expands to ^\prime (or some such) in math mode. The VAX implementation of TeX is working correctly. I'm just afraid lots of people will write in and say $~'$ works fine on my system . . . which of course it will. -tom ------------------------------ From: Dr. A. J. B. Heath To: TEXHAX-REQUEST@score.stanford.edu Date: Fri, 16 Oct 87 10:18:56 BST Subject: TeX/LaTeX on Apollo Do you have a version of Tex that will run on an Apollo DN3000 workstation? If so could you please send me details. Dr A J B Heath - IPSA support group UMIST Fri, 16 Oct 87 10:18:56 BST ------------------------------ Date: 14 Oct 87 01:57:00 GMT+109:13 From: "DARREN STALDER" Subject: fonts not loading and Xerox 2700 II fonts To: "texhax" Reply-To: "DARREN STALDER" At GMU, we have an LN01 and an LN03 off of a Vax 8800 running VMS. I have been setting up fonts for the LN03 using TeX 2.0, MetaFont 1.0, GFtoPXL 2.1. Then I convert it from 512 fixed block to Stream_LF so that dvi2ln3 7 could read it properly. The fonts all work fine with dvi2ln3 fine at their design size. The problem come with some of the magnification. At 109% and 173% magnifications, dvi2ln3 complains that it couldn't find a good font file and it is using blanks. Now, NewFFC 4 read the file and it says it is fine. I have used the same procedure on about 75 other fonts and magnifications and it works fine. Can anyone suggest any remedies to this situation?? Next point, does anyone have a program that will convert GF, PXL, or PK files to XEROX 2700 II font file format?? That is what the LN01 uses. When we got TeX, we were given some fonts for the LN01 but we have other fonts and sizes that we would like to use. The program that produces the LN01 document is Topp 1.8. Thank you for your time, Torin/Wolf/Darren Stalder Internet: DSTALDER@GMUVAX.GMU.EDU UUCP: (dolqci | uunet!pyrdc)!gmu90x!dstalder SNAIL: 15713 Edgewood Dr./Dumfries, VA 22026 ------------------------------ From: SCHUSTER%DKAUNI13.BITNET@forsythe.stanford.edu Date: Thu, 15 Oct 87 14:37:14 MEZ To: texhax@score.stanford.edu Subject: conversion from Script/GML to TeX Im not sure if this is the correct list for my question. Maybe you can help me. My apologies if I'm at the wrong address. One of my colleagues converted from IBM-world to SunUNIX-world. Now, his problem is the change of text processing systems. He wants to transfer all his texts from IBM to UNIX. On IBM he used SCRIPT and GML. Now, he wants to use TeX. My question is: Does anyone know of a tool which supports the conversion from SCRIPT/GML to TeX? Every hint is welcome. Thanks in advance Michael Schuster -- EMAIL: schuster@dkauni13.bitnet schuster@germany.csnet ------------------------------ Date: Thu, 15 Oct 87 12:03:59 pdt From: lamport@src.DEC.COM (Leslie Lamport) To: TeXhax@Score.Stanford.edu Subject: LaTeX Notes (Re: TeXhax Digest V87 #82) Paul Karger wishes to include long page numbers in his table of contents and lists of figures and tables. The format used in the standard document styles require a fixed maximum width of a page number to be specified in advance. I presume it is fairly easy to define a style option that makes this length a parameter that can be set with a \setlength command. However, a better approach might be to design a new format in which the length of the page number doesn't matter. Consult a designer or look at a lot of books to find such a format. He also writes In a related problem, is there a way to get pagestyle{myheadings} to take effect on the first pages of the table of contents, list of figures/tables, and bibliography. The first page of chapters requires a \thispagestyle, but there does not seem to be an easy way to get a \thispagestyle into the tableofcontents or bibliography. In particular, \addtocontents will not allow a \thispagestyle to be inserted. (It blows up in a horrible fashion.) The command \addtocontents{toc}{\protect\thispagestyle{myheadings}} works fine for me. Perhaps he forgot the "\protect". Or, perhaps there's bug in the ancient .sty file he is using. Patrick Tang writes: Is there a way of magnifying figures drawn using \picture environment without phsically changing the coordinates of the \picture environment commands. Try \setlength{\unitlength}{...}. Bruce G. Greenblatt writes: I would like to have a generic list of figures type macro in LaTeX, so that I can produce a list of anything I want at the beginning of my document. This would be similar to the \newtheorem command. I would like to say: \newfigure{algorithm}[chapter] \begin{algorithm} ... Algorithm goes here! ... \caption{Some Wonderful Algorithm} \end{algorithm} This is possible, but requires advanced TeX hacking. The relevant ideas can probably be obtained by looking in LATEX.TEX for the definitions of \newtheorem and \figure. Leslie Lamport ------------------------------ Date: Thu 15 Oct 87 14:16:33-CDT From: Anthony Aristar Subject: Inverted Fonts To: texhax@SCORE.STANFORD.EDU Despite an hour or two with the TeX book, I can't seem to find any way to get a single letter printed upside down---i.e. inverted---in amongst non-inverted text. This may sound like a strange thing to want, but I use TeX for linguistic papers, and the symbol for one of the most common sounds is an upside-down ``e''. Since I don't have access to a full IPA font, it'd be nice to be able to fake it a little... Is inversion of a single letter possible in TeX? ------------------------------ Mail-From: BEETON created at 15-Oct-87 14:24:27 Date: Thu 15 Oct 87 14:24:27-PDT From: Barbara Beeton Subject: will TeXtures work with big screens? To: texhax@Score.Stanford.EDU From: tektronix!reed!barry@uunet.UU.NET (Barry Smith) far as I know, Textures works with all large screens; I've seen it work with Radius, Big Picture, MegaScreen, LaserView, and Macintosh II. ------------------------------ Date: Thu, 15 Oct 1987 16:27:43.43 CST From: (John L. Huxtable) Subject: Lowercase Letters --- the e.e. cummings syndrome. To: Does barbara beeton ever type in mixed case? John Huxtable huxtable@ukanvax.bitnet ------------------------------ Date: Fri, 16 Oct 87 02:25:23 CDT From: aslam@p.cs.uiuc.edu (Sohail Aslam) To: texhax@score.stanford.edu Subject: MWEB ( WEB for Modula-2 ) Have the MWEB files appeared on Score.Stanford.EDU for ftp'ing? If so, could you point out the directory path? Thanks Sohail Aslam Department of Computer Science University of Illinois arpa aslam@a.cs.uiuc.edu csnet aslam@uiuc.csnet usenet {ihnp4,seismo}!uiucdcs!aslam ------------------------------ Date: Fri, 16 Oct 87 14:53:28 PDT From: mackay@june.cs.washington.edu (Pierre MacKay) To: TeXhax@Score.Stanford.edu Subject: TeXhax Digest V87 #82 "Help" from Michael Russell We got a distribution of TeX from the University of Washington (I believe), and we have a faculty member here who is using it and is having a lot of trouble with missing fonts. We installed all the fonts that came with the distribution, but that apparently is not enough. I don't know the first thing about TeX, but it sure seems to me that the faculty member should be able to control the fonts he is using, but that's not important really. I have been instructed to do whatever is necessary to get the extra fonts. If the UW fonts are insufficient, where do I go to get more fonts? Part of the genius of the TeX and METAFONT system is that it frees each site to supply whatever fonts are appropriate to that site. The UW UnixTeX distribution includes a full installation guide for METAFONT, and the scripts supplied by Sauter in ./tex82/TeXcontrib are an excellent guid to the use of METAFONT for special font sizes, resolutions and print-engine targets. METAFONT is almost easier to install than TeX because Richards of Illinois provided an interactive config file to make it even simpler to make the necessary choices. The README file in ./mf84 is not super good, but it is based on an actual installation, and should help also. What we try to do in the UnixTeX distribution is to surround TeX with a full set of supporting utilities, and to leave room on the tape for additions like the U of Chicago PiCTeX, which is soon to go on. We cannot do that and still provide for the full variety of fonts as they appear necessary to a wide range of sites with different tastes. The intention is to provide enough in the CM line to allow the production of basic documents in TeX, AMSTeX and LaTeX, to test the system out. We then leave it to the rreceiving site to decide what custom additions to include. We provide a much fuller set of the old AMS fonts because they cannot be produced in new METAFONT, and we provide a fairly large set of Euler fonts, but not in mf, because the American Mathematical Society wishes to keep control of the sources of this set (They sponsored it for something like six years.) The majority of CM fonts are left for the receiving site to decide on. We can't do any more and still keep the distribution on a single tape. We will not be adding any more precompiled fonts to the distribution. We may some day in the distant future have to reduce the number even of precompiled fonts in gf format. On the other hand, we expect to be adding mf source for IPA (now being worked on), various accented languages, special symbols, etc. Anything we can get our hands on. We think the trade-off is well worth it. Pierre A. MacKay TUG Site Coordinator for Unix-flavored TeX ------------------------------ %%% %%% subscriptions, address changes to: texhax-request@score.stanford.edu %%% %%% submissions to: texhax@score.stanford.edu %%% please send a valid arpanet address!! %%% %%% BITNET redistribution: TEX-L@TAMVM1.BITNET (list server) %%% %%%\bye %%% ------------------------------ End of TeXhax Digest ************************** -------