TeXhax Digest Monday, June 22, 1987 Volume 87 : Issue 50 [SCORE.STANFORD.EDU]TEXHAX50.87 Editor: Malcolm Brown Today's Topics: LN03, LN03+, LN03 ScriptWriter question Question GF/PK/PXL versions of iptex, dvipr available Contents of LaTeX style collection, 17th June 1987 Weave formatting problem LaTeX Notes (Re: TeXhax Digest V87 #47) tex macro for reference cards Font tapes for the IBM 4250 Tree Structure RE: Umlauted Initials in bibtex re: \special s LaTeX Notes (Re: TeXhax Digest V87 #48) Ligatures in names in BibTeX Increasing memory size of TeX ? ---------------------------------------------------------------------- 16-Jun-87 11:16:07-PDT,1915;000000000000 Date: Tue, 16 Jun 87 14:12 EST From: ("Kevin Cole; Gallaudet U.; Washington; D...) Subject: LN03, LN03+, LN03 ScriptWriter question To: texhax-request@score.stanford.edu Hi. We're a VAX/VMS site and this office wants to purchase it's own printer and set up a queue seperate from the computer center. We do a lot of publication work, and are just beginning to fool around with Scribe and TeX. The computer center here has a Xerox 4050. As things stand, neither TeX nor Scribe seem to work correctly with it. (TeX Version 1.3, DVIXER Version 2.1, and Scribe Version unknown.) It appears that if you want something done (weither done right or not), you've got to do it yourself. Thus, after numerous complaints about fixing the problems with the Xerox interfaces, we've given up and want to get our own setup. The question: Which printer? We're looking at the LN03's, and there seems to be a lot of TeX software for it. But which one? What are the differences between the LN03, the LN03+, and the LN03 ScriptWriter? Is there a better alternative for about the same price (or less)? This is cross-posted to LASER-LOVERS and INFO-VAX. Sorry about duplicates. Kevin Cole KJCOLE@GALLUA.BITNET Center for Assessment and Demographic Studies (CADS) CADS_COLE@GALLUA.BITNET Gallaudet Research Institute (GRI) Gallaudet University Washington, D.C. 20002 (202) 651-5575 ------------------------------ Date: 11 Jun 87 20:58 +0800 From: Jim Diamond To: texhax@SCORE.STANFORD.EDU Subject: Question I sent the following question months ago, and have not got any attempt at an answer yet. Is this question so trivial that no one bothered to reply (in this case, please do) or is it so difficult that no one really knows the answer? (Is DK listening? Presumably he wrote it.) Here's the background: in the TeXbook, the \pagecontents macro has an addition for \raggedbottom users: \if \r@ggedbottom \kern-\dimen@ \vfil\fi when \dimen@ = \dp255 Here's the question: why does one want that kern? Thanks. Jim Diamond ------------------------------ Date: Tue, 16 Jun 87 18:23:09 EDT From: Chris Torek To: texhax@score.stanford.edu, unix-tex@brillig.umd.edu Subject: GF/PK/PXL versions of iptex, dvipr available On the Unix TeX distribution tape is included something called `ctex'. This is not Pat Monardo's translation (and perhaps mine should be renamed to avoid confusion) but instead contains three major programs, a driver for the Imagen series of printers, a driver for the Versatec V80, and a dvi page selection program for use with any other DVI-to-device program. As distributed, the drivers deal only with PXL files. I fixed this some months ago but had been withholding distribution of the new software for lack of documentation. Said documentation remains to be written, but I have decided to make the software available anyway. The new code is available for anonymous FTP from host mimsy.umd.edu. Retrieve the file `tex/ctex.tar.Z' (be sure to use binary mode!) and use the uncompress program to create a Unix tar format archive, or retrieve tex/ctex.tar if you do not have uncompress. The older PXL-based software is still available as `tex/ctex.old.tar'. The font code is written as a library and provides a base for anyone writing new drivers. It runs on a number of Unix systems (4.1BSD, 4.2BSD, 4.3BSD, SunOS 3.0 and 3.2, and System V for 3Bs) and has been ported to VMS. It handles GF, PK, PXL, and (after a fashion) TFM files and can be used to provide SLiTeX invisible fonts in any size with no storage penalty. Included in the library are a number of routines to make scanning DVI files easier as well. Once again, there is virtually no documentation. What I have is included for completeness, but the only sure way to answer a question is to read the source. If you write some, please send it to me so that I may include it in the distribution. In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) Domain: chris@mimsy.umd.edu Path: seismo!mimsy!chris ------------------------------ To: texhax@score.stanford.edu Subject: Contents of LaTeX style collection, 17th June 1987 Date: Wed, 17 Jun 87 02:56:28 -0400 From: Ken Yap The LaTeX style collection now has the files listed below. More submissions are very welcome. 00directory dvidoc.shar1 siam10.doc 00index dvidoc.shar2 siam10.sty 00readme dvidoc.sty siam11.sty a4.sty epic.shar1 siam12.sty a4wide.sty epic.shar2 slem.doc aaai-instructions.tex format.sty slem.sty aaai-named.bst fullpage.doc spacecites.doc aaai.sty fullpage.sty spacecites.sty acm.bst geophysics.sty suthesis.doc agugrl.sty ieeetr.bst suthesis.sty agujgr.sty ist21.sty texindex.doc amssymbols.sty latex.bug texindex.pas biihead.sty layout.readme texindex.sty ctex.readme layout.tex texnames.doc ctex.shar1 lcustom.tex texnames.sty ctex.shar10 lfonts_ams.readme tgrind.sty ctex.shar2 lfonts_ams.tex threepart.sty ctex.shar3 lgraph.shar trademark.sty ctex.shar4 local.suppl uct10.doc ctex.shar5 natsci.bst uct11.doc ctex.shar6 newalpha.bst uct12.doc ctex.shar7 nopagenumbers.doc ucthesis.doc ctex.shar8 nopagenumbers.sty ucthesis.readme ctex.shar9 remark.sty vdm.doc cyrillic.sty sc21-wg1.sty vdm.sty dayofweek.tex sc21.sty vdm.tex deproc.sty sfwmac.sty ws87.p deprocldc.tex siam.bib wsltex.c docsty.c siam.bst wsltex.p docsty.readme siam.doc xxxcustom.tex doublespace.sty siam.sty xxxslides.sty drafthead.sty siam.tex 1. For Internet users - how to ftp: Here is an example session. Disclaimer: ftp syntax varies from host to host. Your syntax may be different. The syntax presented here is that of Unix ftp. Comments in parentheses. % ftp cayuga.cs.rochester.edu (a.k.a. rochester.arpa, a.k.a. 192.5.53.209) ... (general blurb) user: anonymous password: ftp> cd public/latex-style (where the files are) ftp> ls (to see what is there) ... (lots of output) ftp> get 00index ... (more blurb) ftp> quit 2. Non-Internet users - how to retrieve by mail: An archive server has been installed. Send a piece of mail to LaTeX-Style (@rochester.arpa, @cs.rochester.edu, via uucp or your favourite gateway) in the following format: Subject line should contain the phrase "@file request". Body of the mail should start with a line containing only an @ (at) sign. (Important!) The first line following should be a mail address FROM rochester TO you. Then follow by the names of the files you want, either one to each line, or many to each line, separated by spaces. End with a line containing only an @ sign. Case is not significant. For example, if you are user at site.bitnet, this is what you should send: To: latex-style@rochester.arpa Subject: @file request @ user%site.bitnet@wiscvm.wisc.edu 00readme 00index @ A word to the wise: it is best to fully qualify your mail address. Our mailer knows about some gateways but not all. Examples: user%site.bitnet@wiscvm.wisc.edu user%site.csnet@relay.cs.net Do not include any messages in the mail. It will not be seen by human eyes. Be patient as the server is actually a batch program run once a day. Files will be sent in batches, each not exceeding 100kbytes in size. 3. IBM PC and clone users - how to get a distribution: David Hopper of Toronto, Canada is offering copies of the style collection on diskettes. This is not a commercial enterprise. David is doing this in his own time as a favour to the TeX community. The entire set of style files, not including the C-TeX files, as of June 1st, fits on one 1.2 MB diskette or three 360KB diskettes. No subsetting, please. Send David 1. Formatted diskettes, 2. Indication of the format required, 3. A self-addressed mailer, and 4. A $5.00 donation per set of files, to cover postage and equipment wear & tear. (If you live outside North America, airmail delivery will probably require more postage. You should probably contact David for details.) David's address: David W. Hopper, 446 Main Street, Toronto, Ontario, Canada M4C 4Y2 Thanks, David. Ken LaTeX-Style@Rochester.Arpa LaTeX-Style@cs.Rochester.Edu ..!rochester!latex-style ------------------------------ Date: Wed, 17 Jun 1987 10:55:03 CDT From: Don Hosek Subject: Weave formatting problem To: TEXHAX@score.stanford.edu I have a section of WEB code that looks like this: @p function iwrasc ( const wbuff: rw_buffer; const lwbuff: integer; const ioptn: integer):integer; fortran; function irdasc ( const wbuff: rw_buffer; const lwbuff: integer; var rbuff: rw_buffer; const lrbuff: integer; var wread: integer; const ioptn: integer):integer; fortran; @p fun The problem is, no matter what I have tried, the second function declaration is indented to align with const instead of the first function declaration. Does anybody have any ideas about what I can do to get this routine formatted properly? -DH ------------------------------ Date: Wed, 17 Jun 87 10:42:29 PDT From: lamport@src.DEC.COM (Leslie Lamport) To: TeXhax@Score.Stanford.edu Subject: LaTeX Notes (Re: TeXhax Digest V87 #47) ANIL KHULLAR writes: There is a quick ref card at the end of the LaTeX book, I was wondering if Leslie wrote a macro for doing that ? No, I produced separate columns; the publisher pasted them together. Khullar also asks: I just completed writing a error-prone three column macro in TeX, to be used in making Quick Ref Cards at our Computer Center and I am not satisfied I would be glad if I do not have to re-invent the wheel and get a LaTeX macro for three column landscape mode ?? The changes to the LaTeX output routine needed to generate 3-column output are not extensive. Searching the file latex.tex for `@twocolumn' should provide the necessary information. Currently, LaTeX uses the @twocolumn switch to indicate if two-column output is being produced and, if so, uses the @firstcolumn switch to indicate whether the left or right column is being produced. The left column is stored in a box until the page is complete. The easiest way to produce a 3-column style would be to make @twocolumn = true denote two- or three- column output, and add another switch to distingish between these cases. A second addtional switch would be used to tell, if @firstcolumn = false, whether the 2nd or 3rd column is being generated. All three columns would then be combined to produce the final page. A more elegant approach is to add counters to indicate the number of output columns and the column now being generated. However, that is a trickier because one needs an array of boxes to store separate columns. Of course, these changes should be made as a document-style option. Leslie Lamport ------------------------------ Date: Wed, 17 Jun 87 14:59:51 EDT From: phr@PREP.AI.MIT.EDU (Paul Rubin) To: texhax@score.stanford.edu Subject: tex macro for reference cards The GNU Emacs reference card is typeset using some TeX macros designed specifically for setting reference cards. It is distributed as the file "etc/refcard.tex" with GNU Emacs, which you can ftp from the usual places. I tried to mail this info to "ank%cunyvms1.bitnet@wiscvm.edu", but the mail bounced. ------------------------------ Date: Wed, 17 Jun 87 23:11:55 PLT From: Dean Guenther Subject: Font tapes for the IBM 4250 To: TeXhax Digest If you have the standard VM/CMS distribution tape you can generate the 4250 font files from that. It does take quite a bit of time. If you do want the 4250 font files, Maria Code should have them by the time you read this so order it from her again. Dean Guenther TeX IBM VM/CMS Site Coordinator Washington State University Pullman, Wa. 99164-1220 phone: 509-335-0411 BITnet: GUENTHER@WSUVM1 ------------------------------ Date: Thu 18 Jun 87 17:59:39 From: Hideki Isozaki Subject: Tree Structure To: texhax%score.stanford.edu@SUMEX-AIM \author{Hideki ISOZAKI\\NTT Basic Research Labs} % E-mail Address: ISOZAKI%NTT-20@SUMEX-AIM \begin{document} Does anyone have a macro command or an environment to print out (pseudo-)tree structures that you may often see on object-oriented systems and/or frame-based systems? Items must be linked by lines that indicate some relations. Ex. \begin{tree} \item ROOT \begin{tree} \item usr \begin{tree} \item lib \end{tree} \item bin \begin{tree} \item date \item grep \end{tree} \item etc \end{tree} \end{tree} \end{document} ------------------------------ Date: Thu, 18 Jun 87 10:00:14 EDT From: mroth@afit-ab.arpa (Mark A. Roth) To: gil@svax.cs.cornell.edu Subject: RE: Umlauted Initials in bibtex I have successfully put accents in .bib files by enclosing the word being accented in an \mbox{}. I also may have used \protect before this. This is also necessary to preserve capatilization and to use super and subscripts in the bib entries. Mark Roth ------------------------------ Date: Thu, 18 Jun 87 09:26:46 CDT From: William LeFebvre Subject: re: \special s To: TeXhax@score.stanford.edu, > their suggestion is to begin a device dependant \special > with a three letter tag concluded with a colon to indicate that the > \special command is for that particular output device only. Why limit it to three? Why not say that any number of letters & numbers followed by a colon indicate a device-specific \special? I don't like the idea of painting ourselves in to a corner by placing an arbitrary upper limit on the number of characters we can use for device identification. Personally, I think that if an upper limit is necessary, three is not enough. If "XER:" is for the Xerox 9700, then what do you use for other Xerox devices? ImPress printers can come if different models---what if I wanted to have a \special for only a 2308? I can't just use "IMP:". Should I use "IM8:"? Three is certainly not enough, and I don't think there should be any limit. > It was pointed out in TUGboat v. 7, no. 3. that the random paging of a > DVI file implicitly prohibits \special's that are global in nature. A \special with global scope could be recorded in the same way that global font definitions are recorded: in the postamble. To keep with the philosophy that a DVI file can still be processed if read sequentially, the same special should also appear at the beginning of the first page (or before whatever point in the document where its meaning becomes important) just like font definitions. This might require changing some of the written laws about DVI files. I think it is specifically stated that only font definitions can appear in the postamble. Just a thought.... William LeFebvre Department of Computer Science Rice University ------------------------------ Date: Thu, 18 Jun 87 09:29:52 PDT From: lamport@src.DEC.COM (Leslie Lamport) To: TeXhax@Score.Stanford.edu Subject: LaTeX Notes (Re: TeXhax Digest V87 #48) Haim Levkowitz writes: is there a way to tell LaTeX to look for a .sty file in a different directory (other than the LaTeX or current ones)? thanks TeX and LaTeX use the facilities of the operating system to determine the directories to search for all input files, including .sty files. Levkowitz probablys wants to put his personal .sty files in one directory and wants TeX first to search the current directory, then his .sty file directory, and finally the default system directory. How this is achieved depends upon the operating system. Since he has a university address, he is probably using Unix. Assuming that Levkowitz keeps his style files in a directory named "mystyles" and that the TeX/LaTeX system directory is named "/usr/local/lib/tex" (which it probably isn't), the Unix C-shell command to set things up correctly is something like: setenv TEXINPUTS ":.:/udir/levkowitz/mystyles:/usr/local/lib/tex:" (The natural place to put this command should be in the login command file.) Analogous incantations exist for other operating systems. Leslie Lamport ------------------------------ Date: Thu, 18 Jun 87 07:51:34 PDT From: KARNEY%PPC.MFENET@nmfecc.arpa To: TeXhax@Score.Stanford.EDU Subject: Ligatures in names in BibTeX How can I treat ligatures in names in BibTeX bibliographies? For example The full name might be Yurii Nikolaevich Dnestrovskii When this is abbreviated to initials, it should appear as Yu. N. Dnestrovskii (since the "Yu" is a single Russian character). (I've also seen the same thing with the name "Charles" being abbreviated to "Ch.") Charles Karney PHONE: 609/683-2607 MFENET: Karney@PPC.MFENET ARPANET: Karney%PPC.MFENET@NMFECC.ARPA BITNET: Karney%PPC.MFENET@ANLVMS.BITNET ------------------------------ Date: Thu, 18 Jun 87 16:50:03 EDT From: larry@mitre.arpa (Larry Henry) To: texhax@score.stanford.edu Subject: Increasing memory size of TeX ? Hello, Can anyone point me to the "easy" method for upping the amount of memory that TeX has.. am getting the following error when trying to tex a document. !Tex capacity exceeded, sorry [main memory size=62701] Have tried modifying the initex.ch file and tex.web.. but the tangle program keeps complaining about numbers being too large. Suggestions welcome.. NB: please reply to me directly as I don't subscribe to this group. -Larry@mitre.arpa. ------------------------------ %%% subscriptions, address changes to: texhax-request@score.stanford.edu %%% submissions to: texhax@score.stanford.edu %%% BITNET redistribution: TEX-L@TAMVM1.BITNET (list server) %%%\bye ------------------------------ End of TeXhax Digest ************************** -------