UKTeX Digest Friday, 8 Mar 1991 Volume 91 : Issue 10 Today's Topics: {Q&A}: Tools to generate LaTeX pictures... Re: Query on LaTeX and Tools M. Joswig and Atari TeX OzTeX (LaTeX) changing header and footer when page is all figures Spell Checkers LaTeX Bug?? RE: LaTeX Bug?? xdvi with sunos/xview xdvi with sunos/xview Re: EPS inclusion in TeX. Re: EPS inclusion in TeX. array.doc - index error RE: array.doc - index error Output on the Linotronic Re: Euler fonts and MFJOB {Announcements}: PicTeX manuals lcircle* and circle* in emTeX font libraries {Archive News}: Eijkhout's TeX ruler in UK TeX Archive Administrivia: Moderator: Peter Abbott (Aston University) Editor: David Osborne (University of Nottingham) Contributions: UKTeX@uk.ac.tex Administration, subscription and unsubscription requests: UKTeX-request@uk.ac.tex ------------------------------------------------------------ Date: Sun, 24 Feb 91 12:16:27 -0500 From: Paul Mahoney Subject: Tools to generate LaTeX pictures... Peter, I have been slowly getting to grips with LaTeX. I use X11 and have xdvi to preview output prior to printing. I am curious to find out if there are any tools to help with producing LaTeX pictures and tables. For example, do you know of and X11 drawing package that can output simple graphics in LaTeX picture format? Regards, Paul Mahoney X-Act Solutions Ltd Tel: (+44) 4243 6386 uknet: ptm@xact.uucp ------------------------------ Date: Thu, 07 Mar 91 17:38:36 +0000 From: S.P.Q.RAHTZ@UK.AC.SOUTHAMPTON.ECS Subject: Re: Query on LaTeX and Tools > I am curious to find out if there are any tools to help with producing > LaTeX pictures and tables. > > For example, do you know of and X11 drawing package that can output > simple graphics in LaTeX picture format? xfig is what you want. its output can be translated to LaTeX picture format or to PostScript. good tool. gnuplot produces graphs, and can generate LaTeX picture stuff sebastian ------------------------------ Date: Sat, 02 Mar 91 08:27:27 -0500 From: AJHJJ%EARN.CUNYVM@UK.AC.EARN-RELAY Subject: M. Joswig and Atari TeX Michael Joswig in V91, N08 kindly offered to make available details on public domain version of TeX for the Atari. I would like such information. Unfortun- ately, I cannot email him directly from here in the US. (The Sun d{%ae}mon re- gards him as an ``unknown user.'') Michael, if you read this, could you pleas e make those details public in UKTeX, or else contact me directly. (My bitnet address is ajhjj@cunyvm.) Many, many thanks in advance. :-) Alan ------------------------------ Date: Sun, 03 Mar 91 02:13:58 -0500 From: tarui@edu.rochester.cs Subject: OzTeX Dear Dr. Abbott: I'd like to ask a few questions about the current version of OzTeX. I am not so familiar with Mac, so please forgive me if some questions seem absurdly elementary. 1. Does the current version include a driver for new Apple Personla LaserWriter NT? I.e., Can I use it to print .dvi files to that printer? 2. Suppose that I have a 4M-RAM/20M-HD Mac Plus and a dvi file that contains reasonably simple math text of about 4 printed pages. With this set-up, very roughly speaking how long would it take to print this on Personal LaserWriter NT? (Less than 5 min? Could take as long as 20 min?) 3. Could you please send me via e-mail, the Latex source of OzTex user's manual, the guide of installing OzTeX and other information about installation, compilation, etc. of OzTeX on Mac that exists in LaTeX or TeX? I would really appreciate your help. Thank you veru much in advance. Jun Tarui Dept. of Comp Sci Univ. of Rochester Rocheter, NY 14627 ------------------------------ Date: Sun, 03 Mar 91 15:25:19 +0000 From: S.P.Q.RAHTZ@UK.AC.SOUTHAMPTON.ECS Subject: (LaTeX) changing header and footer when page is all figures My publisher tells me that his designer expects me to have blank headers and footers when a page is entirely occupied by floats. Any suggestions from gurus on how should be most easily achieved? sebastian rahtz ------------------------------ Date: Mon, 04 Mar 91 09:37:13 +0000 From: P.ABBOTT@UK.AC.ASTON Subject: Spell Checkers The following from the german list is of general interest. Peter Date: Fri, 1 Mar 91 18:28:27 MEZ Reply-To: German TeX Users Communication List Sender: German TeX Users Communication List From: "Michael L. Dowling" To: Peter Abbott Subject: Woerterbuch fuer TeX Excuse the English, but my German is far from perfect. Franz Nelihsen asked about spelling checkers for TeX; here is a rather long answer. There are several possibilities for checking the spelling of a TeX file. The best I have seen for English language texts is Microspell, which can be obtained fro TUG at a very moderate price (however, I forget exactly what that price is.) Microspell checks for double words ( e.g. "the the cat sat on the mat"). It is also possible to get it to replace such typing errors as "hte" by "the" automatically, although the user is informed of the change and can stop it happening. Moreover, Microspell knows when it is reading a TeX file, and so does bawk at every TeX command. Finally, if a word is found that is not recognized, the user is presented with a list of possibilities; if the correct word is among these candidates, the change will take place automatically; otherwise the user has the option of either editing his or her program, or expanding his or her dictionary. A second possibility is to use a word processor such as WORD or WORD PERFECT. These programs usually have the ability to read ASCII files, check their syntax, and write corrected ASCII files back onto your disk. The disadvantages are two-fold. Firstly, these word processors are not public domain, and so cost a lot of money, and, secondly, they do not understand TeX, and so think that every TeX command is a spelling mistake. This makes checking for errors a tedious business. The situation can be aleviated somewhat by first using the UNIX utility uniq, which creates a file in which each word of your TeX file appears exactly once. Most of the TeX commands (e.g., all those that begin with a backslash) will now appear together, and can be deleted as a block before you start checking for errors. This has the disadvantage of having to note each correction, and then having to enter the corrections by hand in the original TeX file. The Third possibility has already been suggested, namely unretex. This program theoretically removes the TeX commands from the TeX file. You are then supposed to use a word processor or other external spelling checker to correct the unTeXed file. Finally, UNRETEX is supposed to know how to put the TeX commands back again so than you end up with a corrected TeX file. The disadvantagees of UNRETEX are, firstly, that you are still supposed to have an external spelling checker, and secondly, that UNRETEX does not work, or at least it did not work about a year ago when I tentatively tried it out before flushing it. My experience was that UNRETEX could not re-TeX an un-TeXed file, even if the un-TeXed file had never been altered in the interum. For English, I find Microspell the clear winner. For German, we are fortunate enough to have Word Perfect in the department, and, although tedious, it is definitely the second best method. Neverthess, it is obviously not a very satisfactory state of affairs for a TeX user to have to buy Word Perfect in order to use his or her superior and free TeX. Mike Dowling ------------------------------ Date: Mon, 04 Mar 91 14:11:19 +0000 From: PJBK@UK.AC.HERIOT-WATT.CS Subject: LaTeX Bug?? Have I discovered a bug in LaTeX?? It seems unlikely, but the following doesn't do as I would expect, in that the _ characters are NOT protected by the \verb, but the usual complaints about missing $ are produced. I have tried \protect on the \verb with no effect, and am now at a loss. Why is a \verb not a valid argument for \makebox ?? Peter - ---Cut-Here----------- \documentstyle[]{article} \begin{document} \begin{figure} \setlength{\unitlength}{0.05in} \begin{picture}(110,100)(0,0) \put(15,10){\makebox(0,0){\verb+INFO_XFER_DCE_ERR+}} \end{picture} \caption{Finite State Machine}\label{fig.fsm.st} \end{figure} \end{document} ------------------------------ Date: Mon, 04 Mar 91 16:16:55 +0000 From: TEX@UK.AC.CRANFIELD.RMCS Subject: RE: LaTeX Bug?? In a message to UKTeX of Mon, 4 Mar 91 14:11:19 GMT, Peter King wrote: > Have I discovered a bug in LaTeX?? Afraid not! This is _definitely_ a feature. > It seems unlikely, but the following doesn't do as I would expect, > in that the _ characters are NOT protected by the \verb, but the usual > complaints about missing $ are produced. I have tried \protect on the > \verb with no effect, and am now at a loss. Why is a \verb not a valid > argument for \makebox ?? See the note at the head of p.169 of Lamport ``A \verb or \verb* command may not appear in the argument of _any_ other command'' (my emphasis). Using \protect cannot help here. The way \verb works is by reassigning the \catcodes of all the characters which are ordinarily of special significance to LaTeX so that they are treated like any other character. It makes all the requisite changes _before_ reading the characters which follow the first delimiter, and reads them in the context of a macro parameter string delimited at the end by the same character. But when you use it in the argument of any other macro, the catcodes have already been assigned, because all the characters of the argument (including the \verb itself) have already been read whilst assembling the argument, and given their customary catcodes. So I'm afraid that here you'll have to say something like: > \put(15,10){\makebox(0,0){\tt INFO\_XFER\_DCE\_ERR}} (And if, like me, you dislike the manner in which the simulated underscore doesn't really look right with \tt font, you might like to say: > \put(15,10){\makebox(0,0){\TT INFO\_XFER\_DCE\_ERR}} where you've earlier defined: \newcommand{\TT}{\tt\def\_{\char`\_}} There are also other approaches, which would permit you to leave the underscores unadorned, but the above is probably the quickest solution for you.) Brian {Hamilton Kelly} ------------------------------ Date: Mon, 04 Mar 91 14:49:27 +0000 From: D.LOVE@UK.AC.DARESBURY Subject: xdvi with sunos/xview anyone know the recipe is for making xdvi with sunos 4.0 and xview? i did it once but have lost the makefile & apparently can't remember the trick :-(. the symptom is `undefined symbol: __XtInherit' from ld trying to run it, despite efforts to link statically. ------------------------------ Date: Tue, 05 Mar 91 09:44:17 +0100 From: SCHOEPF%DE.ZIB-BERLIN.SC@UK.AC.NSFNET-RELAY Subject: xdvi with sunos/xview anyone know the recipe is for making xdvi with sunos 4.0 and xview? i did it once but have lost the makefile & apparently can't remember the trick :-(. the symptom is `undefined symbol: __XtInherit' from ld trying to run it, despite efforts to link statically. I ran into the same last week when I tried to compile Metafont 2.7 with X11 toolkit support. It has to do with shared libraries on the SUN. One way around is to force static linking of the X toolkit libraries, i.e. writing - -Bstatic -lXt -Bdynamic -lXmu .... BUT: I've been told that this is actually a "non-solution" (whatever this means). I'm not familiar enough with the X intrinsics to understand what is the real solution (it seems that if you're not doing something wrong when calling the X11 interface, you have to rebuild the libraries in the correct way). Rainer Sch\"opf ------------------------------ Date: Mon, 04 Mar 91 17:12:47 +0000 From: R.A.REESE@UK.AC.HULL Subject: Re: EPS inclusion in TeX. I have a client using DVIALW (the Beebe driver) obtained through TurboTeX to include EPS files obtained from ChemWindows. These are mainly chemical structure diagrams. The TeX instruction is \special{include filename} but you need to put a tiny hrule before the inclusion and make a vskip to allow for it. I believe he has a macro now which reads the boundingbox and makes these adjustments and also centres the picture. One problem is that the driver description says that it copies verbatim everything in the EPS file between %begin(plot) ... %end(plot) but these do not seem to be a part of EPS standard and are not generated in the files. He therefore has to edit them in. Does anyone have further knowledge of this EPSism? The other problem is that where the picture includes something like (SO4)2, the round brackets foul up the output. The EPS file at that point contains ... ... moveto (() show ... ... moveto (S) show etc and the EPS manual says that to make ( non-active (in TeX parlance), you precede it with \, so the EPS should read ... ... moveto (\() show etc This is a straightforward bug in ChemWindows and has been reported. Meanwhile they can hand-edit any EPS file containing (() Apart from these minor problems the results are very encouraging. Allan Reese. ------------------------------ Date: Tue, 05 Mar 91 08:55:26 +0000 From: cczdao@uk.ac.nottingham.clan Subject: Re: EPS inclusion in TeX. In your message of Mon, 04 Mar 91 17:12:47 +0000, you said: > %begin(plot) > ... > %end(plot) > > but these do not seem to be a part of EPS standard and are not generated > in the files. He therefore has to edit them in. Does anyone have further > knowledge of this EPSism? It's not EPS. Adobe's document defining EPSF 2.0 is in the archive, in [tex-archive.doc]epsf2-doc.ps, and it doesn't describe the comments you mention. - --dave David Osborne (pp Aston TeX Archive group) ------------------------------ Date: Thu, 07 Mar 91 12:16:51 +0000 From: CS1CWM@UK.AC.SHEFFIELD.PRIMEA Subject: array.doc - index error Peter: I have been trying to print the documentation on Frank Mittelbach's and Rainer Sch"opf's array.doc and I have had an error while processing the index. I am using emTeX, I ran array.tex through latex and then processed array.idx with the MakeIndex which comes with the emTeX distribution. The failure is at the start of array.ind, the log file excerpt is - ---------------------------------------------------------- [5] [6] [7] [8] [9] [10] [11] [12] [13] (array.ind [14] Runaway argument? \subitem *+\array+, \main{173} ! Paragraph ended before \@tempa was complete. \par l.5 - ---------------------------------------------------------- and the start of array.ind is - ---------------------------------------------------------- \begin{theindex} \item array=\verb \subitem *+\array+, \main{173} - ---------------------------------------------------------- It seems that \verb is improperly formed. Here is the entry from array.idx - ---------------------------------------------------------- \indexentry{array=\verb!*+\array+|main}{173} - ---------------------------------------------------------- There are also a lot of error messages in array.ilg about "Illegal null field". I'm only a minor warlock, not a Mainzer one: can anybody help? Chris Martin cs1cwm@uk.ac.shef.pa ------------------------------ Date: Thu, 07 Mar 91 14:46:50 +0000 From: LIST_SERVER@tex.ac.uk, TEX@UK.AC.CRANFIELD.RMCS Subject: RE: array.doc - index error In a message to UKTeX of Thu, 07 Mar 91 12:16:51, C.Martin , wrote: > I have been trying to print the documentation on Frank Mittelbach's and > Rainer Sch"opf's array.doc and I have had an error while processing the > index. > > I am using emTeX, I ran array.tex through latex and then processed array.idx > with the MakeIndex which comes with the emTeX distribution. Frank Mittelbach's doc style-option assumes a particular format for the \inedxentry commands, and so MakeIndex must be invoked with an appropriate index style file to support this. Somewhere amongst the M&S contributions, get hold of a file called GIND.IST; when you invoke MakeIndex, do so specifying this style with the -s option. I think you'll then have an .ind file in the expected format. Brian {Hamilton Kelly} ------------------------------ Date: Thu, 07 Mar 91 14:27:54 +0000 From: P.ABBOTT@UK.AC.ASTON Subject: Output on the Linotronic I am using OzTeX on a Mac to output to the Linotronic 300. When using bromide there are no problems When using film I need to output a mirror image. Using Mac software such as Pagemaker is simple in that the output dialogue boxes have a suitable box to check for bromide/film. It is possible to create a file global.ps which is output for evry page. Is it possible in postscript to make a mirror image of each page? Peter ------------------------------ Date: Thu, 07 Mar 91 15:51:23 +0100 From: MATTES%DE.UNI-STUTTGART.INFORMATIK.AZU@UK.AC.NSFNET-RELAY Subject: Re: Euler fonts and MFJOB jr> Some time ago I wrote asking about compiling the Euler fonts using jr> emtex. I did receive some replies, but they were not all that useful. jr> Has anyone actually successfully comiled these fonts using MFJOB, or the jr> emtex MF. If so, how did they do it? mfjob euler m=lj (If you don't have \emtex\mfjob\euler.mfj, get a newer emTeX.) - -em ------------------------------ Date: Mon, 04 Mar 91 12:26:06 +0000 From: P.ABBOTT@UK.AC.ASTON Subject: PicTeX manuals I have just received a delivery of PicTeX manuals from TUG. They cost 35 dollars (or 17.50 pounds UK) and cheques should be made payable to UKTuG and sent to me Peter Abbott Information Systems Aston University Aston Triangle Birmingham B4 7ET (payment in US dollars or UK pounds only please). Peter ------------------------------ Date: Thu, 07 Mar 91 15:26:23 +0000 From: CS1CWM@UK.AC.SHEFFIELD.PRIMEA Subject: lcircle* and circle* in emTeX font libraries Peter: I had a moan to Sebastian yesterday about DVIPS not working with the LJ_? emTeX fonts in the archive -- the archive fonts have circle10.pk and circlew10.pk rather then lcircle10.pk and lcirclew10.pk. As it is diffic ult to get the newer versions of the fonts from rusmv1.rus.uni-stuttgart.de I have written (and tested) an MSDOS batch file to extract the circle* fonts, rename them to lcircle* and then put them back in with the circle*. Chris Martin =============================== circles.bat =============================== rem Note LJ_5a & LJ_5b do not contain the circle* fonts fontlib /v /b300 /d lj_0 =%%rdpi :0 #circ*.pk fontlib /v /b300 /d lj_h =%%rdpi :h #circ*.pk fontlib /v /b300 /d lj_1 =%%rdpi :1 #circ*.pk fontlib /v /b300 /d lj_2 =%%rdpi :2 #circ*.pk fontlib /v /b300 /d lj_3 =%%rdpi :3 #circ*.pk fontlib /v /b300 /d lj_4 =%%rdpi :4 #circ*.pk for %%d in (300DPI 329DPI 360DPI 432DPI 518DPI 622DPI) do ren %%d\circle10.pk l circle1.* for %%d in (300DPI 329DPI 360DPI 432DPI 518DPI 622DPI) do ren %%d\circlew1.pk l circlew.* echo lcircle10 >>circfont.lst echo lcirclew10 >>circfont.lst fontlib /v /b300 /fcircfont.lst lj_0 =%%rdpi :0 +*.pk fontlib /v /b300 /fcircfont.lst lj_h =%%rdpi :h +*.pk fontlib /v /b300 /fcircfont.lst lj_1 =%%rdpi :1 +*.pk fontlib /v /b300 /fcircfont.lst lj_2 =%%rdpi :2 +*.pk fontlib /v /b300 /fcircfont.lst lj_3 =%%rdpi :3 +*.pk fontlib /v /b300 /fcircfont.lst lj_4 =%%rdpi :4 +*.pk del circfont.lst echo yes >$$$.yes for %%d in (300DPI 329DPI 360DPI 432DPI 518DPI 622DPI) do del %%d<$$$.yes for %%d in (300DPI 329DPI 360DPI 432DPI 518DPI 622DPI) do rd %%d<$$$.yes del $$$.yes ============================ end of circles.bat =========================== ------------------------------ Date: Tue, 05 Mar 91 13:48:32 +0000 From: S.P.Q.RAHTZ@UK.AC.SOUTHAMPTON.ECS Subject: Eijkhout's TeX ruler in UK TeX Archive Victor Eijkhout's fascinating `TeX ruler' has been put in the UK TeX archive. It consists of two dvi files, one using CMR and the other using PostScript fonts. See message below. In line with archive policy, these versions are ASCII encoded: [tex-archive.utils.rulers]cmrule.boo BOO encoded dvi file [tex-archive.utils.rulers]cmrule.uue uuencoded compressed dvi file [tex-archive.utils.rulers]psrule.boo BOO encoded dvi file [tex-archive.utils.rulers]psrule.uue uuencoded compressed dvi file sebastian rahtz - - --------------- Victor says: I'm posting in the next two messages a little ditty that took me way too long to program a year and half back, and that I originally wanted to make commercial, but I decided what the heck, and so here it is. The TeX ruler is a measuring device for TeX. I'm posting a version using Postscript Times and Helvetica (and all I can say is that it works using the dvips translator of Rockiki), and a version using Computer Modern for people without access to a Postscript printer. It does look better, however, using Postscript fonts. Both versions are a dvi file, compressed and uuencoded. Please don't ask me to post versions using other fonts or other encoding methods. These files are shareware, you can give them away to whoever you like, but you can't charge money for it. I retain copyright and the source file. If you like what I've done, please show your appreciation. Remember that alltogether this one page document has taken something like two whole weeks of programming (mainly in the late-late hours...) Share and enjoy! Victor. ------------------------------ UK TeX ARCHIVE at ASTON UNIVERSITY *** JANET Interactive and NIFTP access *** Host: uk.ac.tex (JANET DTE 000020120091) Username: public Password: public *** 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: #09 TeXMaG back issues are stored in the archive, in directory [tex-archive.digests.tex-mag] Latest TeXMaG: V5 N1 *** Media distributions *** Washington Unix tape (28 March 1990) TeX 2.993(==3.0), LaTeX 2.09, Metafont 1.9 (2.0) Unix 4.2/3BSD & System V. Tar 1600bpi, blockfactor 20, 1 file. Send one 2400' tape with return labels AND return postage. VMS backup of the archive requires two 2400' tapes at 6250bpi. VMS backup of TeX 2.991 plus PSprint requires one tape. Exabyte 8mm tapes: same formats available as 1/2in tapes. The following tapes are 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 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 *** (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. DC600A 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 address *** Peter Abbott, Computing Service, Aston University, Aston Triangle, Birmingham B4 7ET (Please include SELF-ADDRESSED ADHESIVE LABELS 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 *******************