TeXhax Digest Wednesday, December 23, 1987 Volume 87 : Issue 105 [SCORE.STANFORD.EDU]TEXHAX105.87 Editor: Malcolm Brown Today's Topics: square brackets TeX Fonts, etc. LaTeX Notes, Part I (Re: TeXhax Digest V87 #103) QMS Drivers TeX distribution and updates : what's the recommended procedure(s)? Single Spaced Bibliography (Again) plain.tex TeX sources on SCORE (TeXhax Digest V87 #103) Demotic and other fonts, METAFONT programs for ... LaTeX Notes, Part II (Re: TeXhax Digest V87 #101) problem with list macros. Re: TeX in Foreign Languages mode-def for LN03 ArborText drivers and fonts with more than 128 characters am* vs cm* fonts Previewer for VAXstation ---------------------------------------------------------------------- Date: Fri, 18 Dec 87 14:03 CST From: KEN HANLY Subject: square brackets I use latex to print up symbolic logic questions and proofs. It is conventional to use the brackets (),[],{}, for grouping of progressively larger scope. There is no problem with () which can be used just as is nor with {} which can be printed with a backslash before each bracket. However, with [] the situation seems a bit tricky. If I have text between a command and the square brackets everything goes fine, but if the brackets come first they get interpreted as some kind of options No error message occurs but things are printed all screwy. For example I use the enumerate environment to write out steps in proofs. As long as I do not put a square bracket after \item everything goes fine but if I do nothing in that line prints in the right place.I have attempted to solve the problem by using \[ and \] but this does not seem to work. Of course I can simply use different brackets and avoid the problem but it would be nice if I could keep to the conventions! Any solutions. K. Hanly BRANDON UNIVERSITY ------------------------------ Date: 18 Dec 87 20:40:18 AST From: "Steven Osborne - Computer Science UNB" Subject: TeX Fonts, etc. Does anyone out there have foreign language fonts or fonts for special areas such as Physics, Linguistics, Chemistry, etc. I have the Cryllic and Euler (Fraktur?) fonts from AMS. I would like to have METAFONT source code but am willing to take any format. I am especially interested in fonts for the following: Arabic, Hebrew, Music symbols, APL, Phonetic, Old English. I am willing to distribute any fonts I can collect if it does not violate any copyright laws. I am willing to pay for fonts as well. I am just about to subscribe to TUGboat so please do not refer me to past issues since I do not have them. I am also interested in a French version of TeX since this is a bilingual institution. Anyone got one? Sincerely Yours Steven Osborne Hardware Systems Specialist School of Computer Science University of New Brunswick P.O. Box 4400 Fredericton, NB Canada E3B 5A3 ------------------------------ Date: Fri, 18 Dec 87 18:58:46 pst From: lamport@src.dec.com (Leslie Lamport) Subject: LaTeX Notes, Part I (Re: TeXhax Digest V87 #103) Erich Neuwirth writes: I have a problem with LaTeX: I want to print paragraphs with negative indentation. Something like: This is the first line and later it goes on like this and this and this. The problem arises with the first paragraph in a section... The problem will probably go away if the document style is changed so it doesn't suppress the paragraph indentation at the beginning of a section. Browse through the definitions of the sectioning commands in the style files to see how that is changed. However, he is basically getting into trouble by doing TeX hacking that mucks with parameters that are set by LaTeX commands. The way to avoid these problems is to stick to LaTeX commands. The list environment provides sufficient flexibility to produce the kind of paragraphs he wants, and it should interact properly with sectioning commands. (Of course, the sectioning commands should not appear inside the list environment.) Charles R. LaBrec writes: Looking at latex.tex, it appears that \footnotemark's are made using \thefootnote, but that \footnotetext uses \thempfn, which is either \thefootnote or \thempfootnote, depending on whether you are in a minipage or not. The result is to have the marks in the text and the marks in the footnote possibly be in different formats (since minipages use \alph style for \thempfootnote by default). Is this the intended behavior? Yes. The \footnotemark command is used inside a minipage to mark a footnote whose text appears at the bottom of the text page--a footnote whose text is produced with a \footnotetext command that appears outside the minipage. A \footnotetext command inside the minipage produces a footnote whose text appears at the bottom of the minipage box. Actually, this definition of \footnotetext was done simply for convenience, so \footnote could simply call \footnotetext. There is little reason to use a \footnotetext command in a minipage, since a \footnote command can appear anywhere inside the minipage. I hope that the problem with Nico Poppelier's solution for single-spaced bibliographies was evident--namely, that it wouldn't affect the spacing between the lines of a single bibliography entry, which I presume is what the fuss was all about. Since I haven't flamed on the topic recently, I will remind you that I am not be a party to the "thesis" document styles because they produce bad typography. The thesis standards are excellent for a typed thesis and are ludicrous when applied for a typeset one. I think it's time that universities entered the 1970's and changed their stupid regulations. I will be happy to write a letter in support of anyone lobbying for such a change. Until that happens, my advice to LaTeX users is to produce one copy of the thesis that conforms to the standard--preferably using \tt fonts--for university bureaucrats, and to use the standard styles to produce copies for intelligent humans to read. Leslie Lamport ------------------------------ Date: Fri 18 Dec 87 22:40:20-PST From: Tomas G. Rokicki Subject: QMS Drivers Gee, in the summer of 1985 I had a QMS 800/1200/2400 driver in WEB that read PK files, only downloaded the glyphs that were necessary in a document, didn't need to know the state of the printer, had some rather nice graphic inclusion specials, used a minimum of virtual memory, never crashed the printer (in several years of use at Texas A&M), etc. It's currently at Texas A&M; call Norman Naugle at (409) 845-3104 for details. It also supported resident fonts (predownload a set everytime you reset the printer) so if your queueing software supports an initialization file, everything goes much faster. -tom ------------------------------ Date: 19-DEC-1987 12:54:06 GMT +00:00 From: MACALLSTR%vax1.physics.oxford.ac.uk@NSS.Cs.Ucl.AC.UK Subject: TeX distribution and updates : what's the recommended procedure(s)? What are the recommended sources ( tape by post / transfer over network ) for obtaining new versions of TeX and updates i.e. TeX and all its TANGLE/WEAVE/ WEB/METAFONT/complete sets of fonts/device drivers/macros/etc ? I know various bits and pieces can be obtained here and there. Is there a an 'official' source(s)? John ------------------------------ Date: Sat, 19 Dec 1987 08:39:07.56 CST From: (George D. Greenwade) Subject: Single Spaced Bibliography (Again) I can't really understand why everyone is attempting to make something very hard out of something very simple with Rick Zaccone's question of single spacing a bibliography. As I forwarded to him: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Why is you dissertator friend using the \baselinestretch command to get doublespacing in the dissertation?? There is presently a [doublespace] style option available for LaTeX. Your friend has yet to realize some other problems using the \baselinestretch (such as strange minipage results). The doublespace option allows for doublespacing as we generally know it and a \begin{singlespace} ... \end{singlespace} environment can be utilized within the ranges of the document. What I have used to get the required singlespaced bibliography is to apply the command \begin{singlespace} immediately prior to the \begin{thebibliography} command. Both the internal list environment of LaTeX honors this, as well as BIBTeX generated files. To use doublespace as an option, all that is required is: \documentstyle[doublespace]{style_of_document} Note that other style options, such as 11pt and 12pt, are not adversely affected, so their application is still available. The doublespace option is in the public domain and written, as most LaTeX files, in WEB. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% If the style exists, why re-invent it? George D. Greenwade, Director Bitnet: BED_GDG@SHSU Center for Business and Economic Research THEnet: SHSU::BED_GDG Sam Houston State University Internet: BED_GDG@SHSU.BITNET ------------------------------ Date: Sat, 19 Dec 87 08:02:12 PST From: KARNEY%PPC.MFENET@NMFECC.ARPA Subject: plain.tex Plain.tex lives in at su-score.stanford.edu. If you do a directory listing on , you will see the names of its subdirectories. Charles Karney ------------------------------ Date: Sat, 19 Dec 87 11:14:58 PST From: mackay@june.cs.washington.edu (Pierre MacKay) Subject: TeX sources on SCORE (TeXhax Digest V87 #103) plain.tex and other similar macro files are on For the contents of all the archives see TUGboat 6 No. 3 p 132. %% By the way, some folks reported that the subdirectories of %% at Score where not being listed when they gave the DIR command. %% That is now fixed; when you logon to Score as "anonymous" and %% request a directory of , you should get a listing of files %% and subdirectories. Malcolm ------------------------------ Date: Mon, 21 Dec 87 11:12 N From: (Nico Poppelier) Subject: Demotic and other fonts, METAFONT programs for ... Two questions about fonts: 1. papyrologists from the University of Leiden would like to know if there are Demotic, Hieratic, or even Hieroglyphic fonts available - in METAFONT of course! 2. TeXhax still contains lots of questions by people looking for fonts. Steven Osborne (University of New Brunswick, Canada) offered to distribute any fonts he can collect. Is his offer the first of its kind or is there some central font collection already? Maybe there should be two collections: a. METAFONT programs for the various types used in latin writing: Helvetica, Bodoni, Optima, Park Avenue, ... b. METAFONT programs for other 'alphabets' than Latin: Hindi, Japanese, Demotic, Tamil, Pali, Cyrillic, ... Nico Poppelier Theoretical Nuclear Physics University of Utrecht The Netherlands ------------------------------ Date: Mon, 21 Dec 87 09:35:05 pst From: lamport@src.dec.com (Leslie Lamport) Subject: LaTeX Notes, Part II (Re: TeXhax Digest V87 #101) In response to my response to his question, Marc Auslander writes: What I am trying to do is to head all pages of a draft article, including the first page, with the words DRAFT. My attempt, following page 162, is: \documentstyle[11pt]{article} % Specifies the document style. \pagestyle{myheadings}\markright{{\bf DRAFT} } % The preamble begins here. \title{Test Document} \author{Marc Auslander} % Declares the author's name. \begin{document} % End of preamble and beginning of text. \begin{titlepage} Blanks don't work \end{titlepage} \maketitle % Produces the title. ... Scanning through the LaTeX manual, I was surprised to discover an important omission. Somewhere, I should have said that, in the standard styles, the \part, \chapter, and \theindex commands issue a \thispagestyle{plain} command, and the titlepage environment issues a \thispagestyle{empty} command. The \maketitle command issues a \thispagestyle command to specify either the empty or plain style, depending upon whether or not it generates a separate title page. These declarations can be overriden by including a subsequent \thispagestyle command. In any event, what Auslander wants is best done by creating a `draft' document-style option. This option could modify the `plain' style so it produces the desired page heading and foot. Since this doesn't involve marks, there would then be no problem with the first page. Browsing through latex.tex reveals that the appropriate command to change is \ps@plain. The definition there is \def\ps@plain{\let\@mkboth\@gobbletwo \def\@oddhead{}\def\@oddfoot{\rm\hfil\thepage \hfil}\def\@evenhead{}\let\@evenfoot\@oddfoot} I trust that any moderately experienced Plain TeXer would find the obvious modification to be \def\ps@plain{\let\@mkboth\@gobbletwo \def\@oddhead{{\bf DRAFT}\hfill \thepage}\def\@oddfoot{}\let\@evenhead\@oddhead\let\@evenfoot\@oddfoot} Leslie Lamport ------------------------------ Date: 21 Dec 87 12:18:00 EST From: "DARREN STALDER" Subject: problem with list macros. I am getting some errors that I don't understand while using latex. It seems that I need to have someone tell me a little bit more about delimiting macro arguments. When I try to use the following macro set on this data: \entry[Piloting] {} \subentry[Atmospheric] Dex+Int+Mec \subentry[Marine] Dex+Int+Mec \end{dotlist} with other entries above it, LaTeX chokes. It gobbles up the \end{dotlist}. It uses it as part of the text for #2. Then it complains that parameter text for \subentry was ended by EOF. Put an extra line in or a \relax in doesn't help, they get gobbled too. Question: Why don't the other entries gobble up the next information? The obeylines should stop the expansion of #2 at the end of the line. It does that for the entry and 1st subentry but it mysteriously fails when finishing off. It worked when I tried it on about 1.5 pages, now with 7 pages, it croaks. \def\@entry[#1] #2{\cksub=0\ifx#2\empty\cksub=1\fi \ifcase\cksub#1\dotfill#2\or#1\fi} \def\@subentry[#1] #2{\quad#1\dotfill#2} \def\dotlist{\newcount\cksub\obeylines \let\entry=\@entry\let\subentry=\@subentry \list{}{\rightmargin\z@\leftmargin\z@\item[]}} \def\enddotlist{\endlist\par\vspace{\topsep}} I couldn't figure out what to but I thought I would try physical delimiting the expansion text with ^^M. I tried the following but it told me that the parameters had to be numbered consective. \def\@entry[#1] #2^^M{\cksub=0\ifx#2\empty\cksub=1\fi \ifcase\cksub#1\dotfill#2\par\or#1\par\fi} \def\@subentry[#1] #2^^M{\quad#1\dotfill#2} \def\dotlist{\newcount\cksub \let\entry=\@entry\let\subentry=\@subentry \list{}{\rightmargin\z@\leftmargin\z@\item[]}} \def\enddotlist{\endlist\par\vspace{\topsep}} Could someone please help me? I will send you any of the files that you ask for. Thank you, Torin/Wolf/Darren Stalder Internet: DSTALDER@GMUVAX.GMU.EDU Bitnet: DSTALDER@GMUVAX ATTNet: 1-703-323-3569 UUCP: (dolqci | uunet!pyrdc)!gmu90x!dstalder SNAIL: PO Box 405/Fairfax, VA 22030/USA ------------------------------ From: Z3000PA%AWITUW01.BITNET@forsythe.stanford.edu Subject: Re: TeX in Foreign Languages Date: 21 DEC 87 15:49:38 Danny Padwa from Harvard asked about a central "clearinghouse" for all projects that work on the adaption of TeX for various languages. May I suggest - that TUG (the TeX Users' Group) should take care of this job, i.e. to coordinate efforts and to share experience of all such language-specific activities, - and that both TUGboat and TEXHAX should be used as the forum to distribute all important information about these subjects. Hubert Partl, TU Vienna (z3000pa@awituw01.bitnet) ------------------------------ Date: Mon, 21 Dec 87 18:10 N From: (Johannes Braams) Subject: mode-def for LN03 Hi, Could anyone please supply me with the correct METAFONT mode_def for the DEC LN03 laserprinter? I want to generate the CM-family fonts (we have them only in MF-format) so we can switch from AM-fonts to CM-fonts. Trying myself takes a littlebit too much time and I'm sure someone out there already has done it. So if you would be so kind to send/mail it to me or tell me where I can get it I would be very much obliged. By the way, we don't have FTP. Regards, Johannes Braams PTT Dr Neher Laboratories, Phone: +31 70 435172 P.o. box 421, BITNET/EARN: BRAAMS@HLSDNL50.BITNET 2260 AK Leidschendam, PSImail(X.25):PSI%2041170358::BRAAMS The Netherlands. ------------------------------ Date: Mon, 21 Dec 87 15:00:00 GMT From: mcvax!lexis.is!jorgen@uunet.UU.NET (Jorgen Pind) Subject: ArborText drivers and fonts with more than 128 characters I have been working on an Icelandic version of TeX for some time with reasonable success since I have now a working version. I am, however, having problems in bringing out a "definitive" version. Icelandic needs more characters than in standard TeX, namely a few accented characters, eth, and thorn and also an fj ligature in symmetry with the fi ligature. I would like to follow Knuth's suggestion and put these characters below ASCII 32 and move, say, the Greek Uppercase letters above ASCII 128. Unfortunately, my printer driver won't accept this. I get no complaints from TeX with my fonts generated with PC-Metafont but ArborTexts dvilaser for the HP Plus politely tells me that "character 130 is invalid in font imr10" etc. As far as I can tell from tftopl and gfread, and from the behvaior of TeX, the font imr10 is OK. My driver is version 4.3.2 from ArborText, and I am using PK files. So my question is: is it not possible to use more than 128 characters per font with this driver? Has somebody tried this. Any suggestions would be appreciated. Thank you Jorgen Pind Institute of Lexicography University of Iceland Reykjavik 101 Iceland. jorgen@lexis.is (INERNET format) or (uucp): ...!uunet!mcvax!hafro!krafla!lexis!jorgen ------------------------------ From: F3WL%MCGILLC.BITNET@forsythe.stanford.edu Date: TUE DEC 22, 1987 02.59.24 Subject: am* vs cm* fonts This may be a dumb question: Can any one tell me what is the difference between am* and cm* fonts? I cannot see the difference reading them! (It seems to me that am* fonts were from older version of METAFONT?) Wai Hung Leung Bitnet: F3WL@MCGILLC.BITNET ------------------------------ Date: Tue, 22 Dec 87 09:09 N From: Subject: Previewer for VAXstation In reply to other requests and as normal update of the DECnet TeX depository, we have added the GPX driver to our previewer. The program is written in Fortran and uses the UIS library for previewing. Fonts at 1500 are used and ORED to produce the device output. The source code and all related ware is stored at the DECnet Depository. ---- m.l.luvisetto BITNET: luvisetto@iboinfn DECNET: 39937::luvisetto ------------------------------ %%% %%% subscriptions, address changes to: texhax-request@score.stanford.edu %%% please send a valid arpanet address!! %%% %%% submissions to: texhax@score.stanford.edu %%% %%% BITNET redistribution: TEX-L@MARIST.BITNET (list server) %%% %%%\bye %%% ------------------------------ End of TeXhax Digest ************************** -------