Subject: TeXhax Digest V90 #44 From: TeXhax Digest Errors-To: TeXhax-request@cs.washington.edu Maint-Path: TeXhax-request@cs.washington.edu To: TeXhax-Distribution-List:; Reply-To: TeXhax@cs.washington.edu TeXhax Digest Sunday, May 6, 1990 Volume 90 : Issue 44 Moderators: Tiina Modisett and Pierre MacKay %%% The TeXhax digest is brought to you as a service of the TeX Users Group %%% %%% in cooperation with the UnixTeX distribution service at the %%% %%% University of Washington %%% Today's Topics: TeX output routine course Grayscale images and Latex White-write fonts anyone TeX-XeT Bug fix for Oostrum's psfonts.sty tex previewer LaTeX caption TFM-Problems Problems with building tex DVI2PS Re: Free dvi2ps running on MS-DOS using internal printer fonts? Re: Halmos symbo ISO character sets PCTeX main memory problems ------------------------------------------------------------------------------- Date: Thu, 3 May 90 14:55:58 cdt From: mark@morgana.pubserv.com (inthe heat ofthe sun) Subject: TeX output routine course Keywords: TeX, TUG, output routine I'm curious. Has anyone out there ever taken the output routine course offered through TUG in conjunction with the annual meeting? If so, could you provide a brief synopsis of topics covered, and in what detail. The course is being offered this year on June 13-15, and I need to know if the material presented will be new and exciting, or alot of review. Postings here in TeX-hax are fine, although more lengthy, detailed accounts could also be sent to me personally. Thanks. Mark Moline mark@morgana.pubserv.com --------------------------------------------------------------------------- Date: Thu, 3 May 90 12:05:27 +0200 From: John Husoy-stip Subject: Grayscale images and Latex Keywords: LaTeX, grayscale Does anybody know of a good way to incorporate 8-bit graylevel images into a Latex document. My image files are in Sun raster format of in HIPS format. John H. Husoy The Norwegian Inst. of Technology Dept. of Electrical Eng. Trondheim Norway e-mail: jonh@tele.unit.no ------------------------------------------------------------------- Date: 2 May 90 09:19:00 EDT From: "LEE, CRAIG R" Subject: White-write fonts anyone Keywords: fonts, write-white Greetings, We are in the process of setting up TeX on our DECstation 3100s and have been successful. The problem we have is that we have a mix of black-write and white-write PostScript printers (Apple LaserWriters and DEC LN03 ScriptPrinters) in the department and I assume you all know what that means, output-wise. My question is, does someone out there have a set of white-write fonts we could download so that I don't have to muck with METAFONT to build another library? A pointer to an appropriate ftp site would also suffice. Or, am I completely messed up in my understanding of the problem? In case it's pertinent, we are using the TeXPS driver package. Thanks in advance for any advice. Craig Lee University of Florida crl@gnv.ifas.ufl.edu, crl@ifasgnv (BITNET), or craig@mako.stat.ufl.edu ------------------------------------------------------------------------------ Date: Tue, 1 May 90 15:35:33 -0400 From: gt2199a@prism.gatech.edu (Reza Ebrahimpour 32199) Subject: TeX-XeT Subject: TeX-XeT Keywords: TeX Does anyone know how I can get a copy of XeT-TeX. I appreciate any other information on writing right-to-left in TeX. -Reza Ebrahimpour gt2199a@hydra.gatech.edu -------------------------------------------------------------------------- Date: Tue, 1 May 90 16:49:06 BST From: Peter King Subject: Bug fix for Oostrum's psfonts.sty Keywords: LaTeX, psfonts.sty %%Moderator's note: We have not included the amended file due to its %%length. It is available on request from texhax-request@cs.washington.edu. I think I earlier reported a bug in Oostrum's psfonts.sty style for LaTeX which uses Postscript fonts. The bug had the effect of overwriting chapter numbers in the table of contents, so that instead of 1 Introduction ... one got Introduction ... with a bold 1 underneath the I! The problem is that psfonts.sty uses \@tempdima and so does \l@chapter I have fixed it by using a new \@tempdimd in psfonts.sty Since psfonts.sty also uses \@tempdimb which is used in latex.tex, I thought it safest to rename that as \@tempdime too. -------------------------------------------------------------------------- Date: Mon, 30 Apr 90 11:45:13 EDT From: Masoud Salehi Subject: tex previewer Keywords: tex previewer Question: How can I get a Tex previewer for a SUN 386 workstation? Also where can I get a program for printing TeX .dvi files on an HP Laserjet printer connected to a SUN 386 workstation ? Thanks Masoud Salehi --------------------------------------------------------------------------- Date: Mon, 30 Apr 90 11:54:41 BST From: Aidan Delaney Subject: LaTeX caption Keywords: LaTeX caption Hi all, Would anyone out there have a solution to his LaTeX problem? At present my LaTeX code produces the following figure caption: Figure 3.1: Structural trends in the Celtic Sea area. (after Gardiner & Sheridan, 1981) Now I don't want the above to happen. What I want is: Figure 3.1: Structural trends in the Celtic Sea area. (after Gardiner & Sheridan, 1981) What change(s) is/are necessary to the \caption command to obtain what I want??? many thanks, replys preferably to the address below as the majority of my TeXhax issuses arrive late. Aidan Delaney. adelaney%datlog.co.uk@ukc.ac.uk -------------------------------------------------------------------------- Date: Sun, 29 Apr 90 19:55:00 +0200 (Central European Summer Time) From: XCGNSTEX%DDATHD21.BITNET@UWAVM.ACS.WASHINGTON.EDU (M. GAERTNER) Subject: TFM-Problems Keywords: TFM Hi there, new stories from the TOPS10-site... Well, nobody answered about DVI-Drivers under TOPS10 (besides: I received a message in which I was told I could have one DEC-10 for free...) and I'm on to make some tricks. When using VAX/VMS on the same site (with TeX, of course) I probably could output the DVI-Files made on DEC10. Ok, first try, first luck! Now I realize that TeX (TeX2.991 to be exact) doesn't like the font cmr7! Here's the detail: When using the PLAIN-TeX-package this font is loaded as the fourth one with the checksum-bytes: 0xD9 0x93 0xA0 0x52 (I've checked this either in the .PL-file, in the .TFM-File AND while using some WRITE(TERM_OUT... in the TeX-Sourcecode). Well, now my text has as it's first command \font\cmsv=cmr7% Ok, when dumping the resulting DVI-File I find the checksum for the Font Number 4 (which is cmr7) to be: 0x44 0xD3 0xEd 0x74. This caused a lack of sleep to me and I tried several things and the only thing I changed was: Erasing the \font\sevenrm=cmr7 command in PLAIN.TEX creating the new Format and reincluding this code and creating new format. And surprise: it is running... Well, what problem did I run into??? With the old formats (created before this change) cmr7 still has corrupted checksum, the new format does well. Nevertheless, when looking into CMR7.PL the checksum is (octal) 33144720112, but computing the checksum out of the font-definition in the DVI-File we have 331223240122. Some difference, hm? What's this? Thanks for help... Appendix to my previous mail: When using the format preloaded (TOPS10 allows this as follows: starting bare TeX, loading format plain (&PLAIN) and when the single asteriks appears, strike CONTROL-C and type SAVE, the Image in Core, thus TeX with preloaded format will be saved to disk and is ready to be reloaded again) cmr7 get's corrupted again! In the TeX.PAS-code from tangle I saw some strange thing: In the DVI-Out-code, when swapping a font-definition out to the DVI-File, there will be a 0 added to each checksum-byte. Whatfore?? M. Gaertner Fachbereichsrechner Maschinenbau TH Darmstadt Petersenstrasse 30 D-6100 Darmstadt BITNET: XCGNSTEX@DDATHD21.BITNET (TeX) XCGNMGAE@DDATHD21.BITNET (Privat) ----------------------------------------------------------------------- Date: Sun, 29 Apr 90 17:06:23 EDT From: richard@EARFULL.MIT.EDU (Richard Kim) Subject: Problems with building tex Keywords: TeX, building To any TeXpert: I'm having difficulties building tex on my computer: o Tektronix 4319 workstation o MC68020 based o Running UTek, a 4.2BSD with some modifications. o X11 window support. I ftp'ed the directory /pub/tex/unix from labrea.stanford.edu and tried to follow the instructions on building tex. After all the compilations, when I try running initex, the program hangs after a few lines were output: > root@eardrum433 # initex plain '\dump' > This is TeX, C Version 2.95 (INITEX) > (/usr/local/lib/tex/inputs/plain.tex Preloading the plain format: codes, > registers, parameters, fonts, more fonts, macros, math definitions, > output routines, hyphenation (/usr/local/lib/tex/inputs/hyphen.tex Initex did not produce any further outputs nor finished. So I turned to web2c which I ftp'ed from /pub/tex/web2c. As the README file of web2c instructed, I went thru the following sequence: > # make traptrip > # make run-triptrap The latter hung the computer. So I stopped it then killed it. > make clean-triptrap > make > cd tex > initex plain '\dump' This time, initex went further than before, but the program hung nevertheless: > root@eardrum414 # initex > This is TeX, C Version 3.0 (INITEX) > **plain \dump > (/usr/local/lib/tex/inputs/plain.tex Preloading the plain format: codes, > registers, parameters, fonts, more fonts, macros, math definitions, > output routines, hyphenation (/usr/local/lib/tex/inputs/hyphen.tex)) > Beginning to dump on file plain.fmt > (format=plain 90.4.29) > 1958 strings of total length 27654 > 4815 memory locations dumped; current usage is 110&4702 > 919 multiletter control sequences > \font\nullfont=nullfont > \font\tenrm=cmr10 > \font\preloaded=cmr9 > \font\preloaded=cmr8 > \font\sevenrm=cmr7 > \font\preloaded=cmr6 > \font\fiverm=cmr5 > \font\teni=cmmi10 > \font\preloaded=cmmi9 > \font\preloaded=cmmi8 > \font\seveni=cmmi7 > \font\preloaded=cmmi6 > \font\fivei=cmmi5 > \font\tensy=cmsy10 > \font\preloaded=cmsy9 > \font\preloaded=cmsy8 > \font\sevensy=cmsy7 > \font\preloaded=cmsy6 > \font\fivesy=cmsy5 > \font\tenex=cmex10 > \font\preloaded=cmss10 > \font\preloaded=cmssq8 > \font\preloaded=cmssi10 > \font\preloaded=cmssqi8 > \font\tenbf=cmbx10 > \font\preloaded=cmbx9 > \font\preloaded=cmbx8 > \font\sevenbf=cmbx7 > \font\preloaded=cmbx6 > \font\fivebf=cmbx5 > \font\tentt=cmtt10 > \font\preloaded=cmtt9 > \font\preloaded=cmtt8 > \font\preloaded=cmsltt10 > \font\tensl=cmsl10 > \font\preloaded=cmsl9 > \font\preloaded=cmsl8 > \font\tenit=cmti10 > \font\preloaded=cmti9 > \font\preloaded=cmti8 > \font\preloaded=cmti7 > \font\preloaded=cmu10 > \font\preloaded=cmmib10 > \font\preloaded=cmbsy10 > \font\preloaded=cmcsc10 > \font\preloaded=cmssbx10 > \font\preloaded=cmdunh10 > \font\preloaded=cmr7 at 14.51799pt > \font\preloaded=cmtt10 at 14.4pt > \font\preloaded=cmssbx10 at 14.4pt > \font\preloaded=manfnt > 14707 words of font info for 50 preloaded fonts This is as fall as it went, and initex never finished. Help!!! I would appreciate very much if someone could help with this. Thanks. Richard Y. Kim MIT EECS Dept. MIT Room 20A-226 550 Memorial Dr., #16F Cambridge, MA 02139 Cambrige, MA 02139 (617) 253-8142 (Office) (617) 494-1172 (Home) richard@earfull.mit.edu Preferred email address. ryk@athena.mit.edu Alternate email address. mit-eddie!mit-athena!ryk UUCP address. -------------------------------------------------------------------------- Date: Tue, 1 May 90 14:02:39 -0400 From: aggarwal@nisc.jvnc.net (Vikas Aggarwal) Subject: DVI2PS Keywords: DVI2PS I was trying to get a version of DVI2PS which handles '.PK' format font files. I have been 'tangling' and 'weaving' in and out of the various versions that I found in various places (pdvi2ps, w_dvi2ps, ld_dvi2ps), I am confused as *&^%$# !! Could someone direct me a simple version of dvi2ps (I had the 'obsolete' mit version installed earlier which used the .gf files, and that used to work fine for me, but I guess that's obsolete...). -vikas JOHN VON NEUMANN NATIONAL SUPERCOMPUTER CENTER INTERNET: vikas@nisc.jvnc.net BITNET: aggarwal@jvncc UUCP: rutgers!jvnca!aggarwal -------------------------------------------------------------------------- Date: Mon, 30 Apr 90 16:07:16 bst From: Sebastian Rahtz Subject: Re: Free dvi2ps running on MS-DOS using internal printer fonts? Keywords: dvi2ps TeXhax Digest writes: > > Does anyone know of a (free) DVI2PS running on MSDOS which uses > *internal* printer fonts? Where can the executables be found? Every time I read this question, I reply that there are several excellent dvi to PS drivers that compile on a variety of machines, and are *not* tied to Unix, and use all the features of PS that one could desire. People still keep using old versions of dvi2ps, however. To reiterate what I see as the current status for Unix and MSDOS, choose from any of the following: - dvips (Rokicki) full set of features, including virtual fonts, but needs a few small changes to compile under MSDOS; once there, it works very well - dvitops (Clark) designed from the start for Unix and for MSDOS, and since ported to VMS, Primos and VM/CMS. In my view the best written, most easily installed and most reliable dvi to PS available - dvi3ps (Coombes) a combination of all the dvi2ps versions, which cleans up many problems. I have never tried to compile it under MSDOS - dvitps (von Bechtolsheim) is a behemoth among drivers, which needs a deep appreciation of Unix to set up and install, but has a lot of good facilities - dvialw (Beebe) part of a driver family; to get use of builtin fonts, you'll have to wait until version 3.0, but that promises to be good Does anyone think there are other systems worth considering for the average Unix or MSDOS user? Sebastian Rahtz ----------------------------------------------------------------------- Date: Mon, 30 Apr 90 20:13:22 EDT From: vojta@guinness.ias.edu. (Paul A Vojta) Subject: Re: Halmos symbol Keywords: qed, Halmos symbol Jim Hefferon asks for a qed macro which will put a little square box at the end of, say, a displayed equation. I use the following, which is intended to run with AmSTeX, but should work also with LaTeX, with minor modifications: \def\qedsymbol{{\mathsurround\z@$\square$}} % The following is adapted from the TeXbook, p. 106. \redefine\qed{\relaxnext@\ifmmode\let\next\@qed\else {\unskip\nobreak\hfil\penalty50\hskip2em\null\nobreak\hfil \qedsymbol\parfillskip\z@\finalhyphendemerits0\par}\fi\next} \def\@qed#1$${\belowdisplayskip\z@\belowdisplayshortskip\z@ \postdisplaypenalty\@M\relax#1 $$\par{\lineskip\z@\baselineskip\z@\vbox to\z@{\vss\noindent\qed}}} Note the reference to the page in the TeXbook. Also, if $$ \matrix ... \endmatrix \qed $$ doesn't work, one should try $$ \qed \matrix ... \endmatrix $$ The latter approach will always work, although it is more wasteful of processing time. --Paul Vojta, vojta@guinness.ias.edu via Janet with NIFTP id aa24197; 1 May 90 16:37 BST ----------------------------------------------------------------------------- Date: Tue, 1 May 90 14:17 From: Wujastyk (on GEC 4190 Rim-C at UCL) Subject: ISO character sets Keywords: ISO character sets In the context of the discussion about extending the CM fonts, here is a list of the languages written in the Latin character, treated by ISO 8859, and the ISO 8859 part numbers that are meant to be able to cope with them. I'm not quite sure what this tells us, except that there is no generalized way forward using this scheme. For what it's worth: the number of characters unique to each part are: 1: 22 2: 37 3: 22 4: 36 5: 22 And here's a gobbet: "The only languages provided for in all five parts are English and German." -- discuss. Language ISO 8859 Part nos. Afrikaans 3 Albanian 2 Catalan 3 Czech 2 Danish 1 4 5 Dutch 1 5 English 1 2 3 4 5 Esperanto 3 Estonian 4 Faeroese 1 Finnish 1 4 5 French 1 3 5 Galician 3 German 1 2 3 4 5 Greenlandic 4 Hungarian 2 Icelandic 1 Irish 1 5 Italian 1 3 5 Lappish 4 Latvian 4 Lithuanian 4 Maltese 3 Norwegian 1 4 5 Polish 2 Portuguese 1 5 Rumanian 2 Serbo-croat. 2 Slovak 2 Slovene 2 Spanish 1 5 Swedish 1 2 4 5 Turkish 3 5 Latin Alphabet no. 5 has been derived from Latin Alphabet no. 1 in which 6 Icelandic letters were replaced by letters requrited for the Turkish language. The characters are 13/0, 13/13, 13/14, 15/0, 15/13, 15/14. ---------------------------------------------------------------------------- Date: Wed, 02 May 90 11:34:47 From: Mike Piff Subject: PCTeX main memory problems Keywords: PCTeX, memory A colleague is having difficulties with PCTeX running out of main memory at a ridiculously early stage, with LOG's such as ! TeX capacity exceeded, sorry [main memory size=65535]. ***usual rude messages*** Here is how much of TeX's memory you used: 58 strings out of 2672 318 string characters out of 22967 22794 words of memory out of 65535 962 multiletter control sequences out of 3000 14794 words of font info for 50 fonts, out of 18492 for 127 14 hyphenation exceptions out of 307 11i,15n,13p,95b,65s stack positions out of 200i,40n,60p,1024b,600s whilst other versions of TeX appear not to crash. He is drawing simple diagrams, and compared with what LaTeX on the PC is capable of, the amount on a page is trivial. After a lot of work, I have isolated a short file which illustrates the way our version of PCTeX runs out of memory. The macro \br has been changed by me to its new form. My colleague's original version is commented out, but that crashes a lot sooner. I should be interested in the views of anyone with an intimate knowledge of either PCTeX or of the way main memory is/should be used. Also, why are none of the limits in the LOG file exceeded, yet PCTeX claims to be out of memory? Mike Piff %PLAIN TEX FILE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcount\brcount \def\br{{-}\mkern-3mu}% \def\br{-\!\!\!} %***is even more fragile*** \def\barlen#1{\brcount0 \loop\advance\brcount1 \br\ifnum\brcount<#1\repeat} \def\vvlra{\hbox{$\,\barlen{15}{\longrightarrow}\,$}} \def\llgpd{\mathrel{\lower1pt\rlap{$\vvlra$}\raise2pt\hbox{$\mkern5mu \vvlra$}}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %test program \newcount\ct \ct0 \loop \advance\ct1 % \message{\the\ct}% \rlap{$\llgpd$}% \ifnum\ct<1000 \repeat \bye ----------------------------------------------------------------------- %%% Further information about the TeXhax Digest, the TeX %%% Users Group, and the latest software versions is available %%% in every tenth issue of the TeXhax Digest. %%% %%% Concerning subscriptions, address changes, unsubscribing: %%% %%% BITNET: send a one-line mail message to LISTSERV@xxx %%% SUBSCRIBE TEX-L % to subscribe %%% or UNSUBSCRIBE TEX-L %%% %%% Internet: send a similar one line mail message to %%% TeXhax-request@cs.washington.edu %%% JANET users may choose to use %%% texhax-request@uk.ac.nsf %%% All submissions to: TeXhax@cs.washington.edu %%% %%% Back issues available for FTPing as: %%% machine: directory: filename: %%% JUNE.CS.WASHINGTON.EDU TeXhax/TeXhaxyy.nn %%% yy = last two digits of current year %%% nn = issue number %%% %%%\bye %%% End of TeXhax Digest ************************** -------