UKTeX Digest Friday, 26 Jul 1991 Volume 91 : Issue 30 Today's Topics: {Q&A}: Implementations of TeX RE: Implementations of TeX Graphics in EmTeX LaTeX macro expansion Using BJ10e with EMTeX at 360x360 dpi Mac figures, dvips and System 7 BibTeX (again) TeX for DG Eclipse,AOS/VS ? RE: TeX for DG Eclipse,AOS/VS ? RE: TeX for DG Eclipse,AOS/VS ? Administrivia: Moderators: Peter Abbott (Aston University) and David Osborne (University of Nottingham) Contributions: UKTeX@uk.ac.tex Administration, subscription and unsubscription requests: UKTeX-request@uk.ac.tex ------------------------------------------------------------ Date: Sun, 21 Jul 91 16:38:08 +0000 From: Simon Buch Subject: Implementations of TeX Simon Buch, Telephone: +44-(0)494-45942 6 Insignia Solutions Ltd., Fax: +44-(0)494-45972 0 High Wycombe, Buckinghamshire, HP11 2EG, U.K. Please could you send me further details on all implementations of TeX to the above address. Thanks in advance Simon Buch. ------------------------------ Date: Thu, 25 Jul 91 08:19:00 +0000 From: malcolm Subject: RE: Implementations of TeX there are likely to be some 60 to 70 implementations of TeX. do you really want information on them all? what are you going to do with the information? most of it is in the new TeX Users Group Resource directory. join TUG and get one free. malcolm ------------------------------ Date: Tue, 23 Jul 91 17:32:13 +0000 From: Julian Smart Subject: Graphics in EmTeX Regarding Kevin Atkins' question about graphics in EmTeX using a LaserJet, the dvidrv.doc (or better, the new tex'ed manual) explains how to put a PCX or MSP file into a TeX file using a \special command. However, no scaling is done, so you really need to scale the picture by 200% before inclusion. You can combine this with dithering a screen dump (or some such) by using the Graphic Work Shop shareware package, available on various ftp sites and the Lancaster archive. It has an option for dithering a colour picture while at the same time enlarging the image. It requires a bit of extended/expanded memory for this. With a bit of fiddling to get the position right (optionally putting it within a \figure), it works a treat on a DeskJet (and presumably a LaserJet). Regards, Julian Smart jmcn@castle.ed.ac.uk ------------------------------ Date: Wed, 24 Jul 91 10:22:14 +0000 From: G Kelly Subject: LaTeX macro expansion Does anybody know why this doesn`t this work in laTex:? \documentstyle{article} \tracingcommands=2 \tracingmacros=2 \long\def\START#1FINISH{\immediate\openout15=demo\immediate% \write15{#1}\immediate\closeout15} \def\title{A short story.} \def\story{once upon a time ...} \def\endstory{ ...and they all lived happily ever after} \begin{document} \START \title \begin{story} hello \end{story} FINISH \end{document} It causes the laTeX error :- ..... \START #1FINISH->\immediate \openout 15=demo\immediate \write 15{#1}\immediate \closeout 15 #1<-\title \begin {story} hello \end {story} {\immediate} {\immediate} \write->\title \begin {story} hello \end {story} \title ->A short story \begin #1->\@ifundefined {#1}{\def \@tempa {\@latexerr {Environment #1 undefined}\@eha }}{\def \@tempa {\def \@currenvir {#1}\csname #1\endcsname }} \begingroup \@endpefalse \@tempa #1<-story \@ifundefined #1#2#3->\expandafter \ifx \csname #1\endcsname \relax #2\else #3 \fi #1<-story #2<-\def \@tempa {\@latexerr {Environment story undefined}\@eha } #3<-\def \@tempa {\def \@currenvir {story}\csname story\endcsname }{no mode: \expandafter} {\csname} {\ifx} {false} \@tempa ->\def \@currenvir {document}\csname document\endcsname <-- @tempa was set \@currenvir ->document | during document, and {\csname} | not redefined.Why? \document ->\@latexerr {Can be used only in preamble}\@eha |------------------- .... It is meant to write the ascii output 'A short story. once upon a time ...hello ... and they all lived happily ever after. I need to write expanded macros to an external (non-dvi) output file. I`ve tried replacing \begin{story} with \story, and \end{story} with \endstory, but I get similar errors to the above, whenever laTeX comes across @ifundefined. If anybody has bright ideas, could they e-mail them to me at : gk@seg.npl.co.uk ------------------------------ Date: Wed, 24 Jul 91 10:23:27 +0000 From: SYSMGR@uk.ac.kcl.ph.ipg Subject: Using BJ10e with EMTeX at 360x360 dpi Dear all, I remember a while ago having seen a request for a BJ10e driver, and not having seen a reply. At the time I had just purchased one of these beasties, and was driving it at 360x180 bpi by pretending it was a dot-matrix printer. Having invested in a programmer manual, I can now offer the following recipe for a full-resolution 360x360 dpi driver, for use with MAKEDOT and DVIDOT (emTeX). I have split the INIT1 and INIT2 lines in two to keep within 80 characters. To use, I think you'll have to re-join these into one rather long line, unless there is a continuation line mechanism that I didn't notice in the MAKEDOT doc. Also, you'll want your BJ10e in mode 2 (IBM emulation). The graphics sequences used are IBM ones, and presumably there is some IBM printer for which this recipe will also work. The font libraries you need are the P6H_*.FLI. I made mine myself using MFJOB; took a few days on a 386SX, and they occupy about 6Mb. Print quality is not up to laser printer standard, but I think better than a matrix printer. Print speed is about 90 seconds per page. The tails on CMR glyphs look a bit faint, I think that a one-pixel wide line made by this printer looks disproportionately faint compared with a 2-pixel one. I don't want to get into full-blown MetaFontery, but if there is an easy way to tell MF to thicken one-pixel lines I would be interested to experiment a little. Nigel Arnot. * * BJ10e high resolution driver (derived from ibm4208m.dot ) * COMMENT=360x360 driver for BJ10e ENV_NAME=BJ10E LOG_NAME=dvidot FONT_PATH=\emtex\pixel.p6h\$rdpi PAGE_WIDTH=8in PAGE_HEIGHT=11in FORM_LENGTH= RESOLUTION=360 360 COLUMNS=2880 ONE_LINE_FEED= BLANK_WIDTH=36 METHOD=6 1 MAX_WIDTH=2880 PINS=7 0 MAX_LF=255 FF_METHOD=FF S_OPTION=SLOW * * INIT 1 resets to user defaults, may include economy mode SW1-2 ON INIT1=CAN ESC '[ 'K 1 0 4 DC2 ESC 'F ESC 'H ESC 'I 0 ESC 'T ESC 'X 1 80 ESC "[@" 4 0 0 0 17 1 ESC '_ 0 ESC '- 0 ESC '[ '\ 4 0 0 0 0x68 0x01 ESC '3 48 C R * * whereas INIT 2 resets to factory, SW1-2 OFF. INIT2=CAN ESC '[ 'K 1 0 0 DC2 ESC 'F ESC 'H ESC 'I 0 ESC 'T ESC 'X 1 80 ESC "[@" 4 0 0 0 17 1 ESC '_ 0 ESC '- 0 ESC '[ '\ 4 0 0 0 0x68 0x01 ESC '3 48 C R * * and after we are done go back to user defaults. EXIT=ESC '[ 'K 1 0 0 * GRAPH_MODE=FS 'C 'B 4 4 LH+0 GRAPH_END= LINE_FEED=FS 'C 'J 4 L+0 FORM_FEED=FF POS_X= * * The end * ------------------------------ Date: Wed, 24 Jul 91 19:01:20 +0000 From: aro@uk.ac.aberystwyth.compsci Subject: Mac figures, dvips and System 7 I've been happily including Macintosh figures generated from MacDraw II in LaTeX documents for some time now. I am using Tom Rokicki's dvips 5.398 (being upgraded to 5.47) and the epsf.sty that comes with dvips. I've just upgraded the Macintosh to System 7 and I am now faced with a couple of problems: 1. I need a new LaserPrep file to use as a header file from dvips. I've taken the LaserPrep71.ps file which appeared in this newsgroup recently which was advertised as being one which worked for OzTeX. 2. The PostScript files which are generated when you select PostScript output from the Macintosh print dialog are now huge, thanks to TrueType fonts. I insert the bounding box information into the PostScript file, remove everything between %%Document ProcSets: "(AppleDict md)" 71.0 and %%EndProcSet and then attempt to print using the LaserPrep71.ps as the header file with dvips. After a long wait (thanks to the now hugely inflated size of the PostScript file), I get the message "Error: undefined; offendingCommand: Path:" back from the printer, an Apple LaserWriter IINT. It would be good to get this to work. Any suggestions? Why does the Mac now generate such huge PostScript files? My simple test file consists of some shapes and a line of text in Times 10pt. I don't understand why the Mac should need to download huge TrueType font descriptions (if indeed that is what it is doing) when Times is built into the printer. Any suggestions gratefully received. On a slightly different note: When using PostScript fonts with dvips5.398, \pounds produces an italic dollar. Is this fixed by the new font descriptions bundled with dvips5.47 ? Many thanks, Andrew Ormsby aro@uk.ac.aber.cs Department of Computer Science, University College of Wales, Aberystwyth, Dyfed SY23 3BZ, Wales. ------------------------------ Date: Thu, 25 Jul 91 14:02:21 +0000 From: ID_TRIMNELL@uk.ac.open.acs.vax Subject: BibTeX (again) Last month (June 1991) I sent a message asking about up-to-date versions of BibTeX - I had troubles TANGLEing the WEB and VMS-CHANGES. I received a message from BHK saying that the files on the server are fine and the problem probably lies with my version of TANGLE. Well, I have now checked that the TANGLE that I installed on our VAXcluster earlier this year was 4.1 and also checked that the files I had were the same a s those in the [TEX-ARCHIVE.BIBTEX] directory at Aston (double-checked today) and I am still getting errors. When I tangle bibtex.web and bibtex.vms-changes I get the following: - ----------------------------------------------------------------------------- - --- This is TANGLE, Vax/VMS Version 4.1 *1 ! Hmm... 6 of the preceding lines failed to match. (change file l.167) @y ! Hmm... 1 of the preceding lines failed to match. (change file l.216) @y *10*21*36*48*64*80*97*109*146*163*218*290*331*455*467*468 ! Change file entry did not match. (change file l.229) program BibTEX; {all files are opened dynamically} Writing the output file.....500.....1000.....1500.....2000.....2500.. Done. (Pardon me, but I think I spotted something wrong.) - ----------------------------------------------------------------------------- - --- Of course, if I try to PASCAL the resulting .pas file pascal gets a bit cross with me and refuses to produce a .OBJ file. Could someone be so kind as to check that what is happening to me is really happening, that is that tangle-ing the .web & .vms-changes files doesnot work. If the same thing happens, could someone then please tell me what I should do if I want to have an up-to-date version of BibTeX on our Cluster. Thanks in advance, Ian Trimnell Academic Computing Service The Open University ------------------------------ Date: Fri, 26 Jul 91 09:39:42 +0000 From: Peter Abbott (Aston University) Subject: TeX for DG Eclipse,AOS/VS ? Dear Sir, Please send the following: Details of any implementations of TeX running on Data General's ECLIPSE MV/ Family under AOS/VS. Mark Lang Reed Information Services Ltd Windsor Court East Grinstead House East Grinstead West Sussex RH19 1XA ------------------------------ Date: Fri, 26 Jul 91 09:58:00 +0000 From: malcolm Subject: RE: TeX for DG Eclipse,AOS/VS ? bart childs is the dg site coordinator. does anyone have his email/real address? it is in any handy tugboat: mine are at home. malcolm ------------------------------ Date: Fri, 26 Jul 91 14:19:57 +0000 From: Philip Taylor (RHBNC) Subject: RE: TeX for DG Eclipse,AOS/VS ? Childs, S. Bart TeX A&M University Department of Computer Sciene College Station Texas 77843-3112 (409) 845-5470 Bart@TamLsr.BitNet ------------------------------ UK TeX ARCHIVE at ASTON UNIVERSITY JANET Interactive and NIFTP access Host: uk.ac.tex (JANET DTE 000020120091) Username: public Password: public [Sorry, no Internet ftp access is available yet] *** Mail server *** Send mail to TeXserver@uk.ac.tex (JANET) or TeXserver@tex.ac.uk (rest of the world) with message body containing the word HELP \section FILES OF INTEREST [tex-archive]00readme.txt [tex-archive]00directory.list [tex-archive]00directory.size [tex-archive]00directory_dates.list [tex-archive]00last30days.files \section DIGESTS 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: #31 TeXMaG back issues are stored in the archive in directory [tex-archive.digests.tex-mag] Latest TeXMaG: V5N3 \section MEDIA DISTRIBUTIONS \subsection Washington Unix TeX distribution tape Latest copy of May/June 1991 contains: TeX 3.14, LaTeX 2.09, Metafont 2.7, plus many utilities suitable for Unix 4.2/4.3BSD & System V tar format, 1600bpi, blockfactor 20, 1 file (36Mb) Copies available on: One 2400ft 0.5" tape sent with return labels AND return postage to Aston OR One Quarter-Inch Cartridge (DC600A or DC6150) sent with envelope AND return postage to Nottingham (addresses below). \subsection VMS tapes VMS backup of the archive requires two 2400ft tapes at 6250bpi. VMS backup of TeX 2.991 plus PSprint requires one 2400ft tape. \subsection Exabyte 8mm tapes Same contents available as 0.5" tapes. Following tape types available: SONY Video 8 cassette P5 90MP, MAXELL Video 8 cassette P5-90, TDK Video 8 cassette P5-90MPB \section TeX IMPLEMENTATIONS FOR SMALL COMPUTERS \subsection OzTeX (for Macintosh) Send 10 UNFORMATTED 800K disks to Aston with return postage. \subsection emTeX (for MS-DOS) Distribution arrangements currently under negotiation. \subsection TeX for the Atari ST All enquiries for disks etc. should be directed to: The South West Software Library, P.O. Box 562, Wimborne, Dorset BH21 2YD (JANET e-mail address: mdryden@uk.co.compulink.cix) \section POSTAGE RATES All prices in Pounds Sterling. For Aston orders, 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. Quarter-inch 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 \section POSTAL ADDRESSES Please include SELF-ADDRESSED ADHESIVE LABELS for return postage. Peter Abbott Computing Service, Aston University, Aston Triangle, Birmingham B4 7ET David Osborne Cripps Computing Centre, University of Nottingham, Nottingham NG7 2RD, UK (for Quarter-inch cartridges ONLY -- include stamps for return postage) \section UK TeX USERS GROUP For details, contact: Malcolm Clark IRS, Polytechnic of Central London, 115 New Cavendish Street, London W1M 8JS e-mail: malcolmc@uk.ac.pcl.mol e or Geeti Granger, John Wiley & Sons, Baffins Lane, Chichester, W Sussex PO19 1UD \bye End of UKTeX Digest [Volume 91 Issue 30] ****************************************