TeXhax Digest Thursday, January 19, 1989 Volume 89 : Issue 7 Moderators: Tiina Modisett and Pierre MacKay %%% The TeXhax digest is brought to you as a service of the TeX Users Group %%% %%% in cooperation with the UnixTeX distribution service at the %%% %%% University of Washington %%% Today's Topics: Does it exist? WEB-like system for FORTRAN? How to get TeXware via E-mail? Re: New Tex Offerings CM-series fonts for the Linotronic-300 Electronic Proposal Submission LaTeX bug fix (Re: TeXhax Digest V89 #1) Re: TeXhax Digest V89 #3 (footnote #s starting from 1 on each page) Determining the document style in LaTeX What I learned about the LaTeX letter style Metafont problem Outline fonts Refer functionality for BibTeX Bibtex files on CS wanted LaTeX style subeqn --------------------------------------------------------------------- Date: Mon, 16 Jan 89 15:22 GMT From: Dave Love Subject: Does it exist? WEB-like system for FORTRAN? Keywords: FORTRAN, Literate Programming A year or so ago there was a query in TeXhax that went unanswered seeking information on any systems (being) developed for Literate Programming in FORTRAN, along the lines of WEB. Can I repeat the question -- anyone know of such a beast or like to offer thoughts on how difficult it would be to do? (This is not a request for WEB-to-FORTRAN!) Dr. D. Love, JANET: love@uk.ac.dl SERC Daresbury Laboratory, BITNET: love@dl.ac.uk, love%dl@ukacrl Warrington WA4 4AD, UUCP: ...!ukc!daresbury!love UK ARPA: love%uk.ac.dl@nss.cs.ucl.ac.uk Phone: (0)925 603479, Telex: (0)925 629609, FAX: (0)925 603100 ----------------------------------------------------------------------- Date: Sun, 15 Jan 89 17:19:37 PST From: igor!dsb@uunet.UU.NET (David S. Bakin) Subject: How to get TeXware via E-mail? Keywords: TeXware, E-mail, query Can someone tell me how to get Texware via E-mail? E.g., where are archive servers on Usenet or LISTSERV facilities on BITNET? THANKS! -- Dave Dave Bakin (408) 496-3600 c/o Rational; 3320 Scott Blvd.; Santa Clara, CA 95054-3197 Internet: dsb@rational.com Uucp: ...!uunet!igor!dsb ...!{elxsi|sun}!aeras!igor!dsb -------------------------------------------------------------------------- Date: 16 Jan 89 11:46 -0800 From: Kent Wada Reply-To: Kent Wada Subject: Re: New Tex Offerings Keywords: TeX, information >I am trying to obtain information about new Tex offerings that were >announced in the August TUG Meeting. > >1. Micro Publishing Systems is offering a new implementation of Tex in >CWEB. >2. K-Talk is offering MathEditor, which allows WYSIWYG input of math. > >Does anyone have information about how to contact these vendors? Micro Publishing Systems does not currently have e-mail access. However, you can contact David Kennedy at: Micro Publishing Systems Suite #300-1120 Hamilton Vancouver, British Columbia Canada V6B 2S2 (604) 687-0354 My brochure from K-Talk gives the following information: K-Talk Communications 50 McMillen Avenue, Suite 100 Columbus, Ohio 43201 (614) 294-3535 Kent kent_wada@mtsg.ubc.ca (Internet) |Computing Centre/The University of USERWADA@UBCMTSG (BITNET) |British Columbia/6356 Agricultural Telephone: (604) 228-6496 |Road/Vancouver, British Columbia/ Facsimile: (604) 228-5116 |Canada V6T 1W5 ------------------------------------------------------------------------ Date: 13-JAN-1989 17:24:41 GMT From: CHAA006%vaxa.rhbnc.ac.uk@NSS.Cs.Ucl.AC.UK Reply-To: Philip Taylor (RHBNC) Subject: CM-series fonts for the Linotronic-300 Keywords: CM-fonts, Linotronic-300 Ralph Youngman asked if anyone had build the CM-series fonts for the Linotronic. I have, at 1270 dpi, for all 75 canonical CM fonts and at all seven canonical \magsteps. They are lodged in the Aston archive as [public.gffiles.linotron]*.*gf, and may be extracted in the normal way. I would like to acknowledge the machine time donated by British Petroleum on their VAX-cluster which allowed these fonts to be built in one weekend, using 24 cpu hours. ** Phil. ------------------------------------------------------------------------- Date: Fri, 13 Jan 89 12:17:10 -0500 (EST) From: Jim Morris Subject: Electronic Proposal Submission Keywords: NSF, EXPRES, PostScript The National Science Foundation is accepting proposals in electronic form as part of an experimental program called EXPRES. This is being done to speed and simplify the proposal review process. Specifically, you are encouraged to send proposals as PostScript files. PostScript (a trademark of Adobe Systems, Inc.) is a standard language for driving laser printers. There are several advantages to preparing your proposal in PostScript: 1. It will be less expensive in duplication and mailing costs because you need send only one paper copy to the NSF. 2. Electronic transmission from you to the NSF and from the NSF to reviewers takes only minutes. 3. Proposals look better because they are printed freshly on laser printers rather than being duplicated on copiers multiple times. 4. The NSF can extract data from the electronically-prepared forms, making it easier to track your proposal. In order to create a PostScript proposal you must perform all the paper fiddling operations -- cutting, pasting, collating -- electronically. Assuming that you are already capable of doing that for the technical part of your proposal using your favorite document processor, we have created some software to help you with the rest of the job: creating the forms and combining the pieces. It can be run on UNIX, VMS, Macintosh, and PC systems. Proposal templates for some common document processors are available, too. There are different ways to obtain the software depending upon your computing circumstances. In any case, you will receive a file guide.ps which you should print on a PostScript printer, and read for further instructions. 1. Macintosh and PC users can request a disk by sending email to ps-expres@andrew.cmu.edu or regular mail to. PS-EXPRES Information Technology Center Carnegie Mellon University Pittsburgh, PA 15213 Be sure to specify Mac or PC and the disk size. 2. People with NSFNet/DARPANet connections can get the code in source and executable form via ftp. First, connect with a particular machine at CMU by typing the following commands. ftp 128.2.12.15 ftp>Name: anonymous ftp>Password: anythingyoulike ftp>prompt ftp>ascii ftp>cd common ftp>mget * ftp>cd .. (You will get a lot of back-talk from ftp besides the "ftp>" prompts shown.) This will retrieve some files everyone needs. If you simply want to run the software, copy everything from the appropriate machine-specific binary directory below. For example, to retrieve the pc executable programs type ftp>binary ftp>cd pc ftp>mget * ftp>cd .. ftp>ascii The machine-specific directories are: mac (apply BinHex 4.0 to Hqx files after retrieving) pc rt sun3 vax-unix We haven't figured out how to distribute VMS binaries yet, so VMS users will have to rebuild the software themselves. The following directories contain document processor templates for proposals: scribe tex latex troff For example, to retrieve the tex template, type ftp>cd tex ftp> mget * ftp> cd .. The src directory is of interest if you want to modify or rebuild the software. It contains SREADME: instructions for building executables C-Programs and Header files: *.c and *.h UNIX-specific files: Makefile VMS-specific files: compile.com, descrip.mms Macintosh-specific files: *.r, NSFForms.make, nsfmenus.c, window.c, nsfwndw.h PC-specific files: *.MAK To exit ftp type ftp>quit 3. If you are a UNIX user and cannot use the ftp connection, request the software by email. If you send a request to ps-expres@andrew.cmu.edu we will send you the non-binary software in the form of shar files. 4. If you don't need any of the software and are prepared to send a proposal electronically, instructions on how to transmit proposals my be obtained from Gerald B. Stuck National Science Foundation 1800 G Street NW Room 401 Washington, DC 20550 (202)357-9767 gstuck@photo.expres.nsf.gov --------------------------------------------------------------------- Date: Sat, 14 Jan 89 10:49:27 PST From: lamport@src.dec.com (Leslie Lamport) Subject: LaTeX bug fix (Re: TeXhax Digest V89 #1) Keywords: LaTeX, tabular environment, bug In TeXhax Digest V89 #1, Michael DeCorte reported a problem with the "p" option in a tabular environment. I have fixed this problem in the <14 Jan 89> release. LaTeX has reached the point where there is a good chance that any fix will make something else break, and I don't have the time to test changes thoroughly. The user community can provide an invaluable service by testing fixes on their existing files and reporting any problems. I would therefore appreciate it if LaTeX users would test this fix on any input files they may have that use the "p" option in the array or tabular environment. The fix can be installed by adding the following to the preamble of the input file. \makeatletter \def\@endpbox{\unskip\strut\par\egroup\hfil} \let\@@endpbox=\@endpbox \makeatother ------ On a related matter... I have failed to keep the "diff" file, latex.dif, current. It appears that I can't do it manually, and I don't have time to automate the process. I would appreciate it if someone would volunteer to write a Unix shell script that would allow me to maintain a file of "diff"s of all changed files, starting from some base version. There should be a corresponding script to allow users to update their current version. If you'd like to write such a script, please contact me and we can work out exactly what it should do. Thanks. Leslie Lamport lamport@src.dec.com --------------------------------------------------------------------- Date: Sat, 14 Jan 89 09:53:19 PST From: lamport@src.dec.com (Leslie Lamport) Subject: Re: TeXhax Digest V89 #3 (footnote #s starting from 1 on each page) Keywords: LaTeX, footnotes Mr Joni Makivirta writes I need footnote numbers starting from 1 on each page. This is a difficult problem because TeX must typeset the footnote number before it decides where to break the page. A correct solution requires two passes, with information written on the .aux file. Each footnote would generate a \label command and a \pageref of that label, and the macro to produce the footnote would reset the footnote counter when the \pageref obtained a new page. This solution requires considerable TeX hacking, and may not be worth it. An approximate solution is obtained by resetting the footnote counter every time a page is output. Since the page counter is incremented when this happens, all that one needs to do is to get the footnote counter to be reset when the page counter is incremented. LaTeX has commands for doing this. (They're needed, for example, to reset the subsection counter when the section counter is incremented.) Browsing through latex.tex reveals that the appropriate command is \@addtoreset{footnote}{page} (Of course, because of the "@", this goes into a .sty file or after a \makeatletter command.) The problem with this solution is that there will be page breaks that occur after the first footnote on the page has been typeset, so you can get something like. --------- 7. First footnote on page. 1. Second footnote on page. These will have to be corrected manually, by putting \setcounter{footnote}{0} before the first footnote and \setcounter{footnote}{1} before the second. If this kind of correction is needed often enough, it might be easiest just to put a \setcounter{footnote}{0} command before the first footnote of each page. Leslie Lamport --------------------------------------------------------------------------- Date: Mon, 16 Jan 89 13:20:06 GMT From: alien@VULCAN.ESE.ESSEX.AC.UK (Adrian F. Clark) Subject: Determining the document style in LaTeX Keywords: LaTeX, document style, style file Is there any way one can determine the document style (article, etc) from within a style file specified as an option to the \documentstyle command, as in \documentstyle[mymacros]$article and \documentstyle[mymacros]$letter For example, for the letter style, mymacros.sty could define the return address (etc), but for articles, it could make all table-of-contents entries generate leaders. (If it is possible, I stand some chance of getting the same style options on all my documents!) Adrian F. Clark JANET: alien@uk.ac.essex.ese ARPA: alien%uk.ac.essex.ese@nss.cs.ucl.ac.uk BITNET: alien%uk.ac.essex.ese@ac.uk Smail: Dept. of Electronic Systems Engineering, Essex University, Wivenhoe Park, Colchester, Essex C04 3SQ, U. K. Phone: (+44) 206-872432 (direct) ------------------------------------------------------------------------- Date: Fri, 13 Jan 89 09:13:02 EST From: quf@l.cc.purdue.edu (Steve Samuels) Subject: What I learned about the LaTeX letter style Keywords: LaTeX, headings, letter style For a long time I naively assumed that the LaTeX letter style could not provide headings for multiple page letters--- because the LaTeX manual doesn't say so. But one day last week I decided to insert the line \pagestyle{headings} Imagine my pleasure when a perfect heading came out, just like the one on page 406 of Knuth's The TeXbook! The next day I ftp'ed the merge.sty option for doing form letters. It worked fine, except that the headings didn't come out right. (Oh no, I thought, one step forward, one step back.) So I e-mailed my distress to Graeme McKinstry, author of `merge.sty', in New Zealand. It turned out he was well aware of the problem, and sent me a fix within 24 hours. I expect that he will be making it available very soon for general use. Steve Samuels Dept. of Statistics Purdue University W. Lafayette, IN 47907 ssamuels@l.cc.purdue.edu ------------------------------------------------------------------------- Date: Fri, 13 JAN 89 11:02:18 GMT From: DML%VMS.BRIGHTON.AC.UK@Forsythe.Stanford.EDU Subject: Metafont problem Keywords: Metafont, query I've been trying to create the BRIGHTON POLYTECHNIC logo with Metafont, but cannot get the individual characters to space properly. All I end up with is all the characters overlaying each other. Here's a section of the .MF file mode_setup; em#:=5pt#; cap#:=7pt#; thin#:=1/3pt#; thick#:=3/4pt#; theta:=angle(1,4); o#:=1/5pt#; define_pixels(em,cap); define_blacker_pixels(thin,thick); beginchar("B",em#,cap#,0); "The letter B"; penpos1(thick,theta); penpos2(thick,90); penpos3(thick,0); penpos4(thin,-90); penpos5(thick,90); penpos6(thick,0); penpos7(thick,-90); penpos8(thick,-180+theta); penpos9(thick,0); penpos10(thick,0); penpos11(thick,theta); y1r=y2r=h; x1l=w/4.5; x2=4w/4.5; x3l=4.7w/4.5; y3=4.4h/5.5; x4=x5=3.6w/4.5; y4r=y5=y11=.5h; x6r=5w/4.5; x7=2.5w/4.5; y8r=y7r=0; x8r=0; x9l=x11l=2w/4.5; x10l=.8w/4.5; y9=y1l; y10=y8l; y6=2h/5.5; penstroke z1e..z2e,right-..z3e,down-..z4e; penstroke z8e..z7e,right-..z6e,up-..z5e; penstroke z9e..z10e; penstroke z5e..z11e; penlabels(1,2,3,4,5,6,7,8,9,10,11); endchar; Has anyone come across this problem before and/or can anyone send me a short example. Thanks in advance, Dave Lewney, Senior Programmer, Brighton Polytechnic, Brighton, East Sussex, ENGLAND dml@uk.ac.brighton.vms --------------------------------------------------------------------------- Date: Thu, 12 Jan 89 21:44:57 EST From: "David F. Rogers" Subject: Outline fonts Keywords: PostScript, fonts G'day, Pierre MacKay (texhax89.2) has done a excellent job of summarizing the discussion on linear scaling of PostScript fonts. He has also provided good guidance on the direction for development of outline fonts. I have three further comments. 1. Let's stop calling them PostScript fonts. As described by Pierre they really would not be PostScript fonts. They would be better than PostScript fonts. Other people than those at Adobe have worked on the problem of `outline fonts'. Two appropriate names might be the generic name `outline fonts' or if generated from Metafont, Metafont outline fonts. 2. When and if someone does this job, let's be sure to do it `right' and use rational B-spline curves either uniform or non-uniform. Using rational B-spline curves provides great flexibility, e.g. by using non-uniform rational B-spline curves circles or arcs of circles, ellipses, corners and cusps, etc. can be imbedded directly into a single curve representing the outline. The resulting curve description is quite compact and easy to store. 3. Let's not totally discard the idea of investigating non-linear scaling algorithms. If done correctly, this would further reduce the number of fonts required. I believe that MacKay has adequately addressed the remark by Peter Vollenweider (texhax89.2) with respect to the acceptance of PostScript fonts by the printing industry (MacKay, texhax89.2 paragraph 3). However, let me reiterate: The printing industry has accepted linear scaling of PostScript outline fonts at all point sizes because of economics and practicality. It is cheaper, requires less storage space both on the disk and in the office and allows a printer to provide any size font without maintaining a large library of individual fonts. The does NOT make PostScript fonts aesthetically pleasing at ALL point sizes when linearly scaled. PostScript fonts are UGLY at CERTAIN sizes when LINEARLY scaled. As an author (assuming I was allowed a say by the publisher), I would NEVER accept LINEARLY scaled PostScript fonts. David F. Rogers ------------------------------------------------------------------------ Date: Mon, 16 Jan 89 12:58:42 EST From: nr@Princeton.EDU (Norman Ramsey) Subject: Refer functionality for BibTeX Keywords: BiBTeX, refer, troff UNIX has a bibliographic utility, refer, that works with troff. One notable feature is that documents can be cited by a series of key words. These key words are drawn from authors, title, and so on, so a citation of the form %[knuth searching sorting%] would retrieve volume 3 of the Art of Computer Programming, and so on. Has anyone implemented a similar utility for bibtex? I would like to be able to retrieve bibtex keys by specifying a list of key words. Norman Ramsey nr@princeton.edu ------------------------------------------------------------------------- Date: Mon, 16 Jan 89 19:29:01 EST From: "Robert S. French" Subject: Bibtex files on CS wanted Keywords: BibTeX, VLSI routing, systolic arrays, graph theory I would like to hear from anyone who has compiled Bibtex files citing computer science books or papers. I'm specifically interested in VLSI routing, systolic arrays, and graph theory. If you have any Bibtex collections, or know of repositories for them, please send me mail. I will combine the files and redistribute as appropriate to interested people. Thanks, Rob French rfrench@athena.mit.edu ...mit-eddie!athena.mit.edu!rfrench ------------------------------------------------------------------ Date: Mon, 16 Jan 89 13:41 N From: (Johannes) Subject: LaTeX style subeqn Keywords: LaTeX, subeqn.sty Hi, We found a bug in the LaTeX style fyle subeqn.sty. When used it generated extra space (which looked like \parindent but was just a little bit less) at the beginning of the first line after the \end{subequations} command. After an hour of wondering what happend we finally put a \global\@ignoretrue in the definition of \endsubequations. This remedied the bug. Below I include the revised version of subeqn.doc Happy TeXing, Johannes Braams PTT Research Neher Laboratorium, EARN/BITnet : BRAAMS@HLSDNL50 P.O. box 421, SURFnet : DNLTS::BRAAMS 2260 AK Leidschendam, UUCP : mcvax!dnlunx!johannes The Netherlands. INTERnet : BRAAMS%HLSDNL5@CUNVM.cuny.edu Phone : +31 70 435051 PSS (DATAnet1) : +204 1170358::BRAAMS % This LaTeX environment is for %printing subequations. To use this environment, include in the %\documentstyle header a command to load in the .sty file containing this %macro. For example: % \documentstyle[subeqn]{article} %if you have the macro in a file subeqn.sty. The environment seems pretty %well documented in the comments. % % Modified : 16 - january - 1989 by Johannes Braams ( BRAAMS@HLSDNL5) % Added \global\@ignoretrue in the definition of % \endsubequations in order to prevent a spurious space % at the beginning of the next text-line. Also added %'s % at the end of each command-line for the same reasons. % %%%---------------------------------------------------------------- %%% File: subeqn.sty %%% The subequations environment %%% % % Within the subequations environment, the only change is that % equations are labeled differently. The number stays the same, % and lower case letters are appended. For example, if after doing % three equations, numbered 1, 2, and 3, you start a subequations % environmment and do three more equations, they will be numbered % 4a, 4b, and 4c. After you end the subequations environment, the % next equation will be numbered 5. % % Both text and equations can be put inside the subequations environment. % % If you make any improvements, I'd like to hear about them. % % Stephen Gildea % MIT Earth Resources Lab % Cambridge, Mass. 02139 % mit-erl!gildea % gildea@erl.mit.edu % \newtoks\@stequation \def\subequations{\stepcounter{equation}% \edef\@savedequation{\the\c@equation}% \@stequation=\expandafter{\theequation}% %only want \theequation \edef\@savedtheequation{\the\@stequation}% %expanded once \edef\oldtheequation{\theequation}% \setcounter{equation}{0}% \def\theequation{\oldtheequation\alph{equation}}}% \def\endsubequations{% \setcounter{equation}{\@savedequation}% \@stequation=\expandafter{\@savedtheequation}% \edef\theequation{\the\@stequation}\global\@ignoretrue} %%%---------------------------- ------------------------------------------------------------------------------- %%% The TeXhax digest is brought to you as a service of the TeX Users Group %%% in cooperation with the UnixTeX distribution service at the %%% University of Washington %%% %%% Concerning subscriptions, address changes, unsubscribing: %%% BITNET: send a one-line mail message to LISTSERV@UWAVM.ACS.WASHINGTON.EDU %%% SUBSCRIBE TEXHAX % to subscribe %%% or UNSUBSCRIBE TEXHAX %%% %%% All others: send a similar one line mail message to %%% TeXhax-request@cs.washington.edu %%% Please be sure you send a valid internet address!! %%% in the form name@domain or name%routing@domain %%% and use the style of the Bitnet one-line message, so that %%% we can find your subscription request easily. %%% %%% All submissions to: TeXhax@cs.washington.edu %%% %%% Back issues available for FTPing as: %%% machine: directory: filename: %%% JUNE.CS.WASHINGTON.EDU TeXhax/TeXhaxyy.nn %%% yy = last two digits of current year %%% nn = issue number %%% %%% For further information about TeX Users Group services and publications %%% contact Karen at KLB@SEED.AMS.COM or write to TUG at %%% TeX Users Group %%% P.O. Box 9506 %%% Providence, R.I. 02940-9506 %%% Telephone (401) 751-7760 %%% %%% Current versions of the software now in general distribution: %%% TeX 2.95 metafont 1.7 %%% plain.tex 2.94 plain.mf 1.0 %%% LaTeX 2.09 ( 8/10/88) cmbase.mf see cm85.bug %%% SliTeX 2.09 gftodvi 1.7 %%% tangle 2.9 gftopk 1.4 %%% weave 2.9 gftype 2.2 %%% dvitype 2.9 pktype 2.2 %%% pltotf 2.3 pktogf 1.0 %%% tftopl 2.5 mft 0.3 %%% BibTeX 0.99c dvipage 3.0 %%% AmSTeX 1.1d %%%\bye %%% End of TeXhax Digest ************************** -------