UKTeX Digest Friday, 15 Nov 1991 Volume 91 : Issue 43 Today's Topics: {Q&A}: Re: Literate programming in C Re: Asian Languages Re: Asian Languages fancyheadings.sty Bracket sizes and NFLS. Document identification in LaTeX Multiple-language docs. RE: Multiple-language docs. Re: Multiple-language docs. Japanese. VMS 5.4-2 version of LATMASTER RE: VMS 5.4-2 version of LATMASTER TeX-PS integration again Laser-printer drivers for VMS {Announcements}: Fonts for commutative diagrams in LamS-TeX NTG's Fun with TeX meeting at Eindhoven Drop Caps 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: Fri, 08 Nov 91 18:33:35 +0000 From: Dave Love Subject: Re: Literate programming in C >>>>> On Tue, 29 Oct 91 17:16:09 +0100, EPSI!HMS%uucp.epsbln@uk.ac.uknet-relay said: > I.e. either you put your source through a C-compiler to obtain a program, > or you feed the source into TeX, which will convert your C-program into a > nicely formatted document -- formatting your C program fragments and all > comment, which have to be written in a certain style. It sounds as though you are after c-no-web from the Aston archive: [TEX-ARCHIVE.WEB.CNOWEB]. If you're interested in something more elaborate, see CWEB and SPIDERWEB (in the same place, but probably old versions) or `noweb' (ftp-able from princeton.edu). These three require pre-processing the source. Cweb and spiderweb will pretty-print the code for you; noweb won't (unless you write a pretty-printer) but is a simple, flexible system although dependent on un*x-isms. ------------------------------ Date: Fri, 08 Nov 91 20:58:00 +0100 From: KNAPPEN%de.uni-mainz.kph.vkpmzd@uk.ac.nsfnet-relay Subject: Re: Asian Languages Keywords: Asian scripts There is an ipa font by Janene Winter, caled WSUIPA. It's available << from all good servers >>, typically under [.mf.wsuipa]. The devanagari font by Frank Velthuis is now in the public domain, and available from (at least) ymir.claremont.edu. F. Velthuis has also written a preprocessor in C, to convert ASCII'ed indic into TeX/LaTeX source code. There is also a Tamil font by the University of Washington, which is on the YMIR. Yours, J"org Knappen. ------------------------------ Date: Mon, 11 Nov 91 15:05:59 -0500 From: Peter Schmitt Subject: Re: Asian Languages There already exists a Phontic Font plus style file, available from Heidelberg and ymir.claremont.edu (I think) and there may be Hindi, and others too. Peter Schmitt ------------------------------ Date: Sat, 09 Nov 91 00:02:11 -0500 From: Erich Neuwirth Subject: fancyheadings.sty There has been a question and many answers regarding multipart headers and footers. The answer invariably has been to use fancyheadings.sty. There is another solution: jeep.sty It is available from all good archives (I assume Astin is a good one, but we Central Europeans dont have many chances to find out) It does multipart headers and some more very practical things, like making it possible to easily change the sizes of section, chapter.. subsection headers. It has been described in the latest (and first) TUG newsletter. ERICH NEUWIRTH BITNET (EARN): A4422DAB@AWIUNI11 INTERNET: a4422DAB@vm.univie.ac.at = 131.130.1.2 Institute for Statistics and Computer Science UNIVERSITY OF VIENNA, UNIVERSITAETSSTR. 5/9, A-1010 VIENNA, AUSTRIA TEL.: +43-1-40407-160 FAX: +43-1-40407-88 ------------------------------ Date: Mon, 11 Nov 91 09:46:02 From: Mike Piff Subject: Bracket sizes and NFLS. Am I supposed to type \define@mathgroup\mv@normal3{cmex}{m}{n} after \input ing latex.tex with the new font loading scheme? Mike Piff From Dr M. J. Piff, Department of Pure Mathematics, PO Box 597, Hicks Building, Hounsfield Road, SHEFFIELD S10 2UN, England. Tel. SHEFFIELD (0742) 768555 Extension 4431. JANET MPiff@UK.AC.SHEF.PA or MPiff@UK.AC.SHEF.IBM ------------------------------ Date: Mon, 11 Nov 91 09:56:00 +0000 From: Peter Flynn Subject: Document identification in LaTeX I need to put the college seal and name at the top of the title page of some LaTeX documents, above the document title, in 12pt type (for an 10pt text doc). I have the seal in a font file, so that's not a problem, but has someone a pointer to some additional code to do this: I can of course simply stuff in a couple of \centerline{}'s but that doesn't look like a very PC way of doing it. The other requirement is for version numbering (manually typed) to go below the author, in text-size type. Any suggestions? ///Peter, still feeling constricted by LaTeX ------------------------------ Date: Mon, 11 Nov 91 10:19:43 +0000 From: R.A.Reese@uk.ac.hull Subject: Multiple-language docs. I've downloaded hyphenation tables for French and Italian from Aston and looked in the TeXbook and TeX for the Impatient for what to do with them. The documentation is (putting it kindly) scrappy: one para on page 455 of the TeXbook! I gather that what I need to do is to make an extension to plain.tex and read the additional hyphenation patterns into INITEX with \language set to successive integers. But what else? What about \lefthyphenmin and \righthyphenmin? What about new ligatures? So, has anyone written the macros to define each of the languages in the archive, e.g., \def\french{\language1\input frhyphen\lefthyphenmin ... etc.} so that I can run INITEX and document the available \language values? More generally, is there an agreed method for installing and providing multiple languages? ------------------------------ Date: Mon, 11 Nov 91 13:30:07 +0000 From: Philip Taylor (RHBNC) Subject: RE: Multiple-language docs. >>> I've downloaded hyphenation tables for French and Italian from Aston >>> and looked in the TeXbook and TeX for the Impatient for what to do with >>> them. The documentation is (putting it kindly) scrappy: one para on page >>> 455 of the TeXbook! >>> I gather that what I need to do is to make an extension to plain.tex and >>> read the additional hyphenation patterns into INITEX with \language set >>> to successive integers. But what else? What about \lefthyphenmin and >>> \righthyphenmin? What about new ligatures? 1) Don't explicitly increment \language; the \newlanguage of Plain TeX is there for just such purposes, and will ensure that your format is both portable and general. >>> So, has anyone written the macros to define each of the languages in the >>> archive, e.g., >>> \def\french{\language1\input frhyphen\lefthyphenmin ... etc.} 2) Right idea, wrong implementation; the treatment of languages has to be carried out in two steps: a) INITEX: (but after PLAIN, so that \newlanguage is defined) \newlanguage \french \newlanguage \german \newlanguage \!kung % (Joke) \language \french \input frhyphen \language \german \input grhyphen \def \French {\language \french \lefthyphenmin = <$n$> \righthyphenmin = <$m$> } >>> so that I can run INITEX and document the available \language values? Ligatures are left to the percipient readder ! >>> More generally, is there an agreed method for installing and providing >>> multiple languages? Well, \newlanguage is the primary `agreed' method, but there is still considerable discussion (and disagreement) on such topics as i) Should \language 0 => US English in all formats ? ii) Should characters > 127 be active or passive ? iii) P.S. Don't forget to use \setlanguage when you need it ! Philip Taylor ``The University of London at Windsor'' ------------------------------ Date: Mon, 11 Nov 91 12:38:35 +0000 From: Malcolm Clark Subject: Re: Multiple-language docs. \lefthyphenmin and \righthyphenmin are not language specific (just one of DeK's little mistakes). hyphenation patterns can only be read in by vir/ini-tex, not by production tex (although some production tex's are initex i think). but yes, the documentation is, as ever, inadequate. i think you are supoosed to read the program. m ------------------------------ Date: Mon, 11 Nov 91 10:26:56 +0000 From: R.A.Reese@uk.ac.hull Subject: Japanese. I probably made a mistake adding this as a postscript to a previous question, since I got no replies. I've a user who wants to set Japanese. Could someone please tell me what I need to obtain to add to existing emTeX for this. There's a reference in a TUGboat to JemTeX, but as the author says, he assumes you already have a Japanese editor. The files in the JTeX section of the archive are similarly incomplete. I presume I need a massive new set of Kanji fonts from somewhere. If I still get no replies from the UK, the TUG directory does list Email addresses for users in Japan. ------------------------------ Date: Tue, 12 Nov 91 17:04:00 +0000 From: Diane Skinner x5828 <"CCF::DES"@uk.mod.hermes> Subject: VMS 5.4-2 version of LATMASTER We have a problem and wonder if anyone can help: We recently installed the VMS 5.4-2 version of LATMASTER, together with a patch from DEC. One of our users prints LaTeX files from the VAX onto an HP Laserjet Series III printer. Up until the upgrade, he had no problems. However, the printer is now printing out garbled text and overprinting; only the first page seems to get printed out. The user has transferred the DVI-JEP file onto his PC using Kermit. With the same printer attached to his PC, he can successfully print the file using the PC version of LaTeX. We have tested the port with another printer, tried changing the port, checked the port settings etc. and the problem still continues. Has anyone out there had similar problems with this version of LATMASTER? Please reply to: DES%HERMES.MOD.UK@RELAY.MOD.UK ------------------------------ Date: Tue, 12 Nov 91 17:38:00 +0000 From: "Brian {Hamilton Kelly} " Subject: RE: VMS 5.4-2 version of LATMASTER In a message (to UKTeX) of Tue, 12 Nov 91 17:04 GMT, Diane Skinner x5828 <"CCF::DES"@uk.mod.hermes> wrote: > We have a problem and wonder if anyone can help: > > We recently installed the VMS 5.4-2 version of LATMASTER, > together with a patch from DEC. > > One of our users prints LaTeX files from the VAX onto an HP > Laserjet Series III printer. Up until the upgrade, he had no > problems. However, the printer is now printing out garbled text > and overprinting; only the first page seems to get printed out. You don't say how he formerly used to send the .jep file from the VAX to the LJ3. Was the printer under the control of a PRINT queue, or just addressed as a terminal line? I suspect that now that it's under the control of LATMASTER (with which I'm not familiar), the software is applying some form of (unwanted) formatting to the file in transit. Are there any options that permit you to set up the printer so that the .jep file can be sent to it with the equivalent of PRINT/PASSALL? If so, I suggest that you try it under that regime. On the other hand, it may be some problem with the maximum packet length that can be transferred under the LAT protocol; I know that this can cause problems if one tries to use Kermit with SET PORT DECNET; the LAT protocol collapses in a very unfriendly fashion if the Kermit tries to send packets longer than about 256 characters (which is a great shame, when one could envisage using nice big packets to get fast transfers). > The user has transferred the DVI-JEP file onto his PC using > Kermit. With the same printer attached to his PC, he can > successfully print the file using the PC version of LaTeX. Presumably he then uses the MS-DOS command COPY with the /B switch to ensure that the whole file passes through verbatim. > We have tested the port with another printer, tried changing the > port, checked the port settings etc. and the problem still > continues. Can you print ordinary (ASCII) text files on the printer using LATMASTER? If not, forget all that I've already said, and fix that first. But I guess that you probably can. Have you asked DEC if there are any restrictions on the format of data that can be transferred using the LAT protocol? Anyway, there's a few thoughts to muddy the waters! Brian {Hamilton Kelly} +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + JANET: tex@uk.ac.cranfield.rmcs + + BITNET: tex%uk.ac.cranfield.rmcs@ac.uk + + INTERNET: tex%uk.ac.cranfield.rmcs@nsfnet-relay.ac.uk + + UUCP: {mcsun,ukc,uunet}!rmcs.cranfield.ac.uk!tex + + Smail: School of Electrical Engineering & Science, Royal Military + + College of Science, Shrivenham, SWINDON SN6 8LA, U.K. + + Phone: Swindon (0793) 785252 (UK), +44-793-785252 (International) + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ------------------------------ Date: Thu, 14 Nov 91 04:47:26 +0100 From: Laurent Siebenmann Subject: TeX-PS integration again TeX-Postscript integration. Jonathan Taylor <"HOOKE::ICARUS::TAYLOR"@isams.atm.ox.ac.uk> writes: > I am trying to use LATEX with a postscript printer and include > encapsulated postscript graph files. The following files should provide TeX-PostScript integration with any TeX format and (almost) any ".dvi"-to-PostScript printer driver. Tell me if you encounter problems. BoxedEPSF.tex BoxedEPSF.doc LabelFig.tex Anonymous ftp postings: rusinfo.rus.uni-stuttgart.de labrea.stanford.edu Also, they were sent to UKTeX archive. Insist on versions >= Oct 1991. Laurent Siebenmann < lcs@matups.matups.fr> ------------------------------ Date: Thu, 14 Nov 91 08:17:00 +0000 From: David Harper Subject: Laser-printer drivers for VMS Do you have the VAX/VMS object file for the Canon laser-printer driver DVICAN.EXE in the archive ? I've searched the [.drivers] and [.binary.vms] directories of the archive but I can't find an object file for DVICAN. I'm asking on behalf of a colleague who is trying to build a TeX setup from scratch on a VMS system which isn't connected to JANET. I copied our entire TeX directory structure onto tape for him, with EXE files but not OBJ files. When he tried to run the EXE files, they wouldn't work due to a mismatch in the Pascal run-time libraries, hence he needs the OBJ files to re-link to produce EXE files based on the Pascal RTLs on his machine. Unfortunately, our TeXpert didn't keep the OBJ files when he installed TeX on qmw.star. I'd be grateful for any advice you might have, especially as regards installing TeX from scratch under VMS. Many thanks, David Harper QMW Astronomy Unit ------------------------------ Date: Thu, 07 Nov 91 14:12:00 +0200 From: Michael Maschler Subject: Fonts for commutative diagrams in LamS-TeX There were questions concerining the availability of .pk fonts of LamS-TeX. (These are needed for drawing commutative diagrams.) Dr. Michael Spivak answers as follows: .PK FILES FOR LAMSTEX FONTS Apparently many ftp sites for LamS-TeX have only MetaFont sources for the LamS-TeX fonts, not .pk files, which is useless or quite inconvenient for many. I can supply a diskette with the following: __________________________________________________ (a) Directories (b) Each directory has subdirectories \300 (for 300dpi) \0 (for unmagnified fonts) \240 (for 240dpi) \H (for fonts at \magstephalf) \180 (for 180dpi) \1 (for fonts at \magstep1) \118 (for 118dpi) \2 (for fonts at \magstep2) (c) Each of these subdirectories then has lams1.pk, ... , lams5.pk. __________________________________________________ The kinds of diskettes I can supply are: (A) A 5 1/2 inch, double sided, double density, IBM diskette (B) A 3 1/2 inch, high density, IBM diskette (C) A 3 1/2 inch, double sided, double density, diskette for Macintosh, for use with OzTeX (D) A 3 1/2 inch, double sided, double density, diskette for Macintosh containing font suitcases for TeXtures __________________________________________________ The charge for this service is $7.00, which includes the diskette and air postage. __________________________________________________ Please understand that I am not selling these, I am providing them as a service---I don't enjoy sitting around initializing and copying diskettes! Please, no purchase orders, no receipts. Send a check, ON A U.S. BANK AND MICRO-ENCODED, or a Visa or Mastercard number, together with expiration date. Please BE CERTAIN to specify whether you want (A), (B), (C), or (D). Michael Spivak c/o TeXplorators 3701 W. Alabama, Suite 450-273 Houston, TX 77027 U.S.A. e-mail: spivak@rice.edu ------------------------------ Date: Fri, 08 Nov 91 16:47:00 +0700 From: CGL@nl.RUG.RUGR86 Subject: NTG's Fun with TeX meeting at Eindhoven ======================================================================= Nederlandstalige TeX Gebruikersgroep (Dutch-language TeX Usersgroup) ======================================================================= Address : P.O. box 394 1740 AJ Schagen The Netherlands November 8th, 1991 The 8-th Dutch TeX Usergroup meeting will be taken place on >>>> thursday november 21th, 1991 <<<< at the Computer Centre of the Technical University Eindhoven (Den Dolech 2 Eindhoven). The city Eindhoven is situated in the south-west part of the Netherlands, about 30 minutes by train from the German border and even not far from the TeX community in the northern part of France. The meeting is free (except the lunch: f. 12,50) for members of the Local TeX User groups (DANTE, GUTenberg, UKTUG etc). The agenda of the meeting: In the morning local stuff (language will be Dutch) 10:00 Welcome 10:05 MAPS 91.2 (Minutes and APpendices) discussion 10:30 Announcements, Board topics, etc 11:00 Reports from the NTG working groups 11:45 Questions from the participants 12:00 Lunch In the afternoon `TeX & FuN' presentations (>>language will be English<<) 13:30 Towers of Hanoi with TeX Kees van der Laan 13:45 Dating with TeX Theo Jurriens 14:00 Chess with TeX and LaTeX Piet Tutelaers 14:30 Bridge with TeX and LaTeX Kees van der Laan 15:00 Tea break 15:30 GO with TeX Hanna Lolodziejska 16:00 Music with TeX Daniel Taupin TeX documentation/magazines are available for those participants interested in what's happening outside their local office. Also some (TeX) books will be sold at 10% discount. Interested in the NTG meeting? Registration is necessary! Please send full name + address + Local TeX Usergroup membership number to: vannes@ecn.nl before November 15th. Let me also know if you arrive before lunch. Gerard van Nes secretary NTG vannes@ecn.nl ======================================================================= ------------------------------ Date: Wed, 13 Nov 91 15:01:52 +0000 From: chris@uucp.perisl Subject: Drop Caps I wonder whether any of your readers are interested in a TeX macro to perform dropped capitals -- Try running the following plain TeX program. - ------------------------------Cut Here--------------------------------------- \catcode`\@=11 \newbox\l@box % % The 2754 is calculated as % \newfont\gfont=cmr17 % \newbox\Rbox\setbox\Rbox=\hbox{\gfont A}%\showbox\Rbox % (\ht\strutbox (=8.5pt) + 2\baselineskip (=24pt)) / \ht\Rbox(=11.8pt) *1000 % This makes the character top be at the top of a strut. I.e. somewhat higher % than normal. But this probably doesn't matter since there is likely to be % a large gap before this paragraph anyway! % \font\lfont=cmr17 scaled 2754 \def\dropcap#1{\par\setbox\l@box=\hbox{\vtop{\hrule height 0pt\hbox{\lfont #1}} }% \hangindent=\wd\l@box\hangafter=-3\relax% \dp\l@box=0pt\noindent% \llap{\raise\ht\strutbox\box\l@box}} \catcode`\@=12 \dropcap This is a piece of text and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more and some more. \bye - ------------------------------Cut Here--------------------------------------- Chris Selwyn Perihelion Software ------------------------------ UK TeX ARCHIVE at ASTON UNIVERSITY >>> UK.AC.TEX <<< 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: #50 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, QIC-120 or QIC-150 format (DC600A or DC6150) sent with envelope AND stamps for 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) The complete package (3.5" High density disk format ONLY) is available from Aston at a cost of 15 pounds, including disks, post and packing. All other enquiries and disk formats should be directed to: Eigen PD Software, P.O. Box 722, Swindon SN2 6YB (tel: 0793-611270) (JANET e-mail address: kellett@uk.ac.cran.rmcs) \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 Information Systems, 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 43] ****************************************