Subject: TeXhax Digest V90 #6 From: TeXhax Digest Errors-To: TeXhax-request@cs.washington.edu Maint-Path: TeXhax-request@cs.washington.edu To: TeXhax-Distribution-List:; Reply-To: TeXhax@cs.washington.edu TeXhax Digest Sunday, January 7, 1990 Volume 90 : Issue 6 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: optional argument to the \bibliography command? BibTeX & Makeindex for Macintosh DVI Pgm. for Postscript on MSDOS PC TeX -- Epson driver fonts ChiWriter and (La)TeX, summary How to do program text in LaTeX/man page style for LaTeX Adobe Fonts and TeXTures Wanted: Metafont code for Feynman graphs How do I change \vec into boldface? TeX 3 for Dec-20s C and C++ pretttyprinters Recursivity in TeX TeX v.3 D. Hoseks idea about file names Re: TeXhax114, TeX \count's in LaTeX ----------------------------------------------------------------------------- Date: Wed, 3 Jan 90 12:31:11 GMT From: "D.Ballance" Subject: optional argument to the \bibliography command? Keywords: BibTeX, optional arguments Recently I have been compiling a report and wished to have a list of publications relating to the project. I have all the references in a BibTeX database and have referenced them with \nocite{ }. The problem that when I use \bibliography{} and \bibliographystyle{} I get a heading `References' which I don't want. I have modified the \thebibliography definition in this particular instance and it works fine, but it would be nice to have an optional argument to the \bibliography command to be able to specify the heading for the references/bibliography/citation list/publications... Any comments? Anyone able to produce what I want? Thanks Donald | Donald Ballance, JANET: gnma76@uk.ac.gla.eng.sun1 | Control Group, BITNET: gnma76@sun1.eng.gla.ac.uk | Dept. Mechanical Engineering, gnma76%sun1.eng.gla.ac.uk@ukacrl.bitnet | Glasgow. INTERNET: gnma76%sun1.eng.gla.ac.uk@cunyvm.cuny.edu | G12 8QQ. gnma76%sun1.eng.gla.ac.uk@nsfnet-relay.ac.uk ------------------------------------------------------------------------------- Date: Tue, 02 Jan 90 19:13:47 N From nebel@fb14vax.cs.uni-sb.de Tue Jan 2 11:10:01 1990 Subject: BibTeX & Makeindex for Macintosh Keywords: BibTeX, MakeIndex, Macintosh Hi, I'm looking for BibTeX and Makindex running on a Macintosh. Is there anybody who knows where to get it? Bernhard Nebel ------------------------------------------------------------------------- Date: Tue, 02 Jan 90 12:46:39 EST From: jrv@sdimax2.mitre.org Subject: DVI Pgm. for Postscript on MSDOS Keywords: PostScript, MS-DOS > Jim: Do you know of an available dvi program by FTP anonymous transfer > for DVI file on MSDOS to Postscript for use with DosTex. > Thanks > Dave Nicol I am using a beta test version of a driver by Nelson Beebe at the University of Utah. Use anonymous ftp... host plot79.utah.edu (128.110.192.33) user anonymous passwd {your own address} directory ~ftp/pub/dvi files dvialw.arc betadocs.arc I've found no problems, but since it's a beta test version please {\it don't} upload it to other hosts. - Jim Van Zandt -------------------------------------------------------------------------- Date: Tue, 02 Jan 90 13:57:15 EST From: jrv@sdimax2.mitre.org Subject: PC TeX -- Epson driver fonts Keywords: dviware > I downloaded the DVI printer driver for my EPSON FX-80+ that I > have at home. Unfortunately, it doesn't work (obviously) without the > proper printer DVI font files. How do I get these? Is there an ftp site > from which I can dowload these files? Will any *.pk file do? I am really > new to this subject, so if you can help me, I would greatly appreciate > it. > > mani@ocf.berkeley.edu > Mani Varadarajan Try anonymous ftp... host science.utah.edu user anonymous passwd {your own address} directory file cmr10.250pk {for example} - Jim Van Zandt ---------------------------------------------------------------------------- Date: Tue, 2 Jan 90 10:17 MET From: "Johannes L. Braams" Subject: ChiWriter and (La)TeX, summary Keywords: LaTeX, ChiWriter Hi all, Prompted by a request for info, I was reminded that a couple of months ago I posted a request for information about a conversion tool from ChiWriter to LaTeX. As I didn't receive any replies like "Well yes, ask him or her at somplace, they have something ready" the text that needed conversion has been retyped, now with LaTeX tags. :-) Because of this I more or less forgot about the question. Most of the few replies I've got come from the Netherlands, so I had to translate them into english for you. One of the first replies I got was from Frans Sporrel, of the K.V.I. (RuG) in Groningen, The Netherlands (email : sporrel@kvi.nl) He wrote (my translation): > > At Horstmann Software Design Corporation, > P.O.Box 5093, San Jose, CA 95150 > tel (408) 298-0828 > fax (408) 298-6157 > people are working on it since last year (1988 JB) > (announcement in The ChiWriter Chronicles). Then Peter Flynn (CBTS8001@IRUCCVAX.UCC.IE) wrote: > Here at UCC we have a campus company, FreeText Technology, who are > developing a programmable wordprocessor converter. One of the output > options will be TeX (plain, I'm afraid, not LaTeX). We don't have ChiWrite > built in yet, but I would be interested to do so. Can you or your > colleague send me a ChiWrite file (ARC'd and UUencoded) and then fax me > a copy of what it should print out as (+353 21 277194) 'cos I don't > have a copy of ChiWrite yet. I will see if we can build it into the > alpha release. Would your site be interested in being an alpha pilot > site for this s/w? And again from Groningen Erik-Jan Vens (VENS@HGRRUG5.BITNET) reported (again I translated): > I have a tool available to convert from one format to another. > A friend of mine, Gerben Wierda, wrote program called TRANS. > This program has the following subtitle: > A Universal Byte Oriented Translation Program. > It can translate from to , with the use of a > configuration file. > > The problem is that we have cfg-files for Atari 1st word > to TeX or LaTeX, or from LateX to Lotus Manuscript (ca. 40K !!!), > but not from Chi-write to TeX. Translation to TeX is rather straightforward > most of the time, but to read from Chi-write, you have to have > very good knowledge of this program. > > If you are interested, we have versions for Un*x, DOS and Atari > available. > Johannes Braams PTT Research Neher Laboratorium, P.O. box 421, 2260 AK Leidschendam, The Netherlands. Phone : +31 70 435051 E-mail : JL_Braams@pttrnl.nl E-mail was : EARN/BITnet : BRAAMS@HLSDNL5 UUCP : hp4nl!dnlunx!johannes SURFnet : DNLTS::BRAAMS INTERnet : BRAAMS%HLSDNL5@CUNYVM.cuny.edu PSS (DATAnet1) : +204 1170358::BRAAMS ---------------------------------------------------------------------------- Date: Tue, 2 Jan 90 11:24:57 EST From: Peter Schroeder Subject: How to do program text in LaTeX/man page style for LaTeX Keywords: LaTeX, program text Hi, I am writing my thesis in LaTeX and need to include some examples of my code in it. I found out about tgrind. Here are the questions: 1) Once you have a tgrind'ed document, how do you include it in a LaTeX document? I found tgrindmac.tex which apparently is for TeX and I found tgrind.sty. I tried the latter but immediately received an error from LaTeX about some macro not defined. So, does anybody have an example of including a tgrind'ed page in a LaTeX document? Maybe I have an out of date tgind.sty. 2) Assuming that I know how to include a tgrind'ed page, how do I hack the tgrind program to grind C++ correctly. I.e. how do I add keywords? Apparently tfondedpr is the program that does this. We don't seem to have sources for it (where can I find those, in case I have to hack the code to allow for other keywords). Also I need to be able to specify how many spaces a tab stop is. It assumes 8 spaces, but I need 3 spaces, `cause that's how my program will look pretty. Does someone have macros to include pages in a LaTeX document that look like Unix man pages? I need to document some commands, and the Unix man page has the right sort of format, but I need to do this in a LaTeX document. Any and all help is much appreciated! Peter `in thesis hell' Schr\"oder peter@media-lab.media.mit.edu ----------------------------------------------------------------------------- Date: Sun, 31 Dec 89 14:30:00 EST From: may@zariski.harvard.edu (Michael May) Subject: Adobe Fonts and TeXTures Keywords: TeXTures, Adobe fonts I have been using the TeXTures implementation of TeX on a Mac. However the laserprinter I have access to does not have a hard disk so the output is not of high enough quality when I use the CM fonts. Is there a stylesheet out there to make the adobe fonts default, even in math mode? Mike May may@zariski.harvard.edu ------------------------------------------------------------------------ Date: Thu, 28 Dec 89 13:26:46 IST From: "Jacques J. Goldberg" Subject: Wanted: Metafont code for Feynman graphs Keywords: METAFONT, Feynman graphs Does anyone in TeXhax world know anything about the availability of Metafont code to generate Feynman graphs? Jacques ------------------------------------------------------------------------ Date: Thu, 28 Dec 89 13:24:04 MET From: Bo Thide Subject: How do I change \vec into boldface? Keywords: LaTeX, \vec, boldface Some (in fact, most) physics journals represent vectors as boldface characters instead of a rightarrow over a normal (math) character. For the lack of anything better I have used the following in LaTeX: \renewcommand{\vec}[1]{{\bf #1}} %This only works porperly in \normalsize Has anybody come up with a clever solution to this? My solution does not work in exponents, subscripts etc. Also, I would need a \tensor that produces sans serif boldface in math mode. ^ Bo Thide'-------------------------------------------------------------- | | Swedish Institute of Space Physics, S-755 91 Uppsala, Sweden |I| [In Swedish: Institutet f|r RymdFysik, Uppsalaavdelningen (IRFU)] |R| Phone: (+46) 18-403000. Telex: 76036 (IRFUPP S). Fax: (+46) 18-403100 /|F|\ INTERNET: bt@irfu.se UUCP: ...!mcvax!sunic!irfu!bt ~~U~~ -----------------------------------------------------------------sm5dfw ------------------------------------------------------------------------- Date: Sun 24 Dec 89 15:05:17-PST From: Len Bosack Subject: TeX 3 for Dec-20s Keywords: TeX 3.0, DEC-20 Some of us still run these fine old soldiers; is anyone doing a port of the 2.99+ versions? Len Bosack ---------------------------------------------------------------------- Date: Sun, 31 Dec 89 20:52:53 MST From: carlos@boulder.Colorado.EDU (Carlos A. Felippa) Subject: C and C++ pretttyprinters Keywords: WEB, WEAVE, TANGLE I would be interested to know if there is a stand-alone (that is, TANGLE-less) WEAVE that can prettyprint "raw" ANSI C and C++/2.0 code using TeX. The underlying reason for this query is that I have my own language preprocessors that support programming in the large (programs with over 100,000 lines). I have briefly experimented with CWEB (generously made available by Silvio Levy) but I found two deficiencies. First, TANGLE is "all or nothing" making quite difficult to extract code selectively to update object libraries. Second, it does not support several languages in the same source; I work with a mixture of C, C++, C* (CM-2 extended C), Fortran 77, and some assembler. But I like WEAVE listings, so I thought of writing an optional filter to selectively extract C and C++ code (Fortran and assembler being out of the question), inserting WEB formatting tokens automatically and passing it to WEAVE. But the task would be easier if out there was a version of WEAVE (SUSHI_WEAVE?) that can "eat" raw C code. ----------------------------------------------------------------------------- Date: Wed, 3 Jan 90 10:12:50 +0100 From: Christophe Cerin Subject: Recursivity in TeX Keywords: TeX Is there anybody for pointing up a general discuss about recursivity in TeX ? (some articles, books, revues ...) More precisely : 1- How do you specify a syntaxic procedure declaration ? 2- How TeX schedules the parameter's stack ? 3- Is it possible to write a recursive procedure with N parameters (N > 1) ? R.Seroul in "cahiers GUTenberg n 3 page 57" gives an example of a recursive procedure with 1 parameter. Here it is : \def\toto#1{\def\head{(}\def\trailer{)}% \def\TOTO##1{% \ifx##1]% \def\next{\head\trailer}% \else% \ifx##1,% \edef\head{\head(}% \edef\trailer{\trailer)}% \else% \edef\head{\head##1}% \fi% \let\next=\TOTO% \fi% \next} \TOTO} Ex : \TOTO[1] --> (1) \TOTO[1,2,3] --> (1(2(3))) For us, we would like to write the procedure TOTO with 2 parameters : declaration ----------------\def\TOTO##1##2{% recursive call ?----------------\TOTO?????? with parameter ##2 advanced by 1 at each call, for example. Thanks a lot. Christophe C\'erin Universit\'e de Paris Sud L.R.I bat 490 91405 Orsay--France mailing address : cerin@lri.lri.fr or CERIN@FRLRI61.BITNET ------------------------------------------------------------------------------ Date: Tue, 2 Jan 90 21:12:14 -0500 From: Ryan Monaghan Subject: TeX v.3 Keywords: TeX Hi there, Could someone give me a clue as to the nature of TeX 3. It seems it might be multi-lingual. What other features/ changes will have in comparison to TeX 2.x? Also, how outdated will the T&C manuals A and C become (not to mention B and D)? Will new versions of the books be forthcoming? And finally, are there any ballpark estimates as to the arrival of TeX 3? Any answers I'd appreciate being sent to the following: Thank you much! --------------------------------------------------------------------- Date: Mon, 01 Jan 90 21:16:08 MEZ From: Konrad Neuwirth Subject: D. Hoseks idea about file names Keywords: TeX I like the proposed standard very much, although there is at least one thing I would do. I think the order of the whole system has to be changed so that HYPH (or at least HY) appears at the beginning. We here have a VERY, VERY large TeXinputs directory and I think it would be a nice idea to have all hyphenation files together in a directory listing. Now if each file from the same group starts with a different letter, this is not easily possible in a alphabetical directory listing. (did I hear you talk about subdirectories? Hey, we're talking CMS here!). Or another idea would be to have the file EXTENSION a standard like HYP. But then something comes into my mind immediately. We german (or austrian) speaking people have two different GERMAN hyphenation files, one GHYPHEN.MIN and the other GHYPHEN.MAX. If such a situation comes up again, again comes a problem. Or is the last letter supposed to be used for such distinctions? But then, we would have to have a standardized list again for all of that, as the file naming conventions do not really allow speaking names, do they! So I would say lets just have HYllsver.HYP (ll=language,s=special characters 0/1, ver=version). but as we read in Mr. Breitenlohners suggestion, not only these files are required so we should have LSM files as well (Language Specific Macros). I propose this as the second new file extension. Maybe these should have a simmilar naming scheme, but with some other fields: LSllmave.LSM (ll=language,ma=macro packet (LA,AM,PH), ve=version). What about that? ///konrad ------------------------------------------------------------------------- Date: Tue, 2 Jan 90 11:28 MET From: "Johannes L. Braams" Subject: Re: TeXhax114, TeX \count's in LaTeX Keywords: TeX, LaTeX, \count Hi, Mik Bickis complains about a counter being reset to zero by LaTeX when he ends his enumerate environment. This is perfectly documented behaviour of TeX (not LaTeX), because he made a local assignment to his counter \jaut. Local assignments are reset when a group ends and an environment is (amongst others) a group. So if he makes his assignment global, I think he will have the desired effect. Happy newyear, Johannes Braams PTT Research Neher Laboratorium, P.O. box 421, 2260 AK Leidschendam, The Netherlands. Phone : +31 70 435051 E-mail : JL_Braams@pttrnl.nl E-mail was : EARN/BITnet : BRAAMS@HLSDNL5 UUCP : hp4nl!dnlunx!johannes SURFnet : DNLTS::BRAAMS INTERnet : BRAAMS%HLSDNL5@CUNYVM.cuny.edu PSS (DATAnet1) : +204 1170358::BRAAMS ----------------------------------------------------------------------- %%% Further information about the TeXhax Digest, the TeX %%% Users Group, and the latest software versions is available %%% in every tenth issue of the TeXhax Digest. %%% %%% Concerning subscriptions, address changes, unsubscribing: %%% %%% BITNET: send a one-line mail message to LISTSERV@xxx %%% SUBSCRIBE TEX-L % to subscribe %%% or UNSUBSCRIBE TEX-L %%% %%% Internet: send a similar one line mail message to %%% TeXhax-request@cs.washington.edu %%% JANET users may choose to use %%% texhax-request@uk.ac.nsf %%% 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 %%% %%%\bye %%% End of TeXhax Digest ************************** -------