TeXhax Digest Tuesday, 7 Jul 1992 Volume 92 : Issue 013 Moderators: David Osborne and Peter Abbott % The TeXhax Digest is brought to you as a service of the TeX Users Group % % and UK TeX Users Group in cooperation with the UK TeX Archive group % Today's Topics: Re: BibTeX is driving me nuts Bibtex question RE: Latex or Tex in Japanese Re: Latex or Tex in Japanese (TeXhax Digest V92 #012) Re: Problems with PiCTeX in LaTeX Two-Column format Availability of MAC versions of TeX/LaTex, dvialw, dvips etc. Small suggestion -- not a submission Re: Small suggestion -- not a submission TeX Macro Index ------------------------------------------------------------ Date: Thu, 25 Jun 92 22:19:49 -0500 From: karney@gov.pppl.theory (Charles Karney) Subject: Re: BibTeX is driving me nuts Keywords: BibTeX, LaTeX, numbered references, ranges In TeXhax V92 #012, carlos@argon.berkeley.edu asks for BibTeX to collapse multiple citations into ranges to give [1-4] instead of [1,2,3,4]. This is, of course, nothing to do with BibTeX, which deals only with the stuff in the bibliography environment. However, the following definition of \@citex will do the job. I lifted this out of my style for Nuclear Fusion nf.sty (available via anonymous ftp from lyman.pppl.gov:pub/tex). Stick this definition into a file 'citecollapse.sty' and give 'citecollapse' as an optional argument to \documentstyle. % Collapse citation numbers to ranges. Non-numeric and undefined labels % are handled. No sorting is done. E.g., 1,3,2,3,4,5,foo,1,2,3,?,4,5 % gives 1,3,2-5,foo,1-3,?,4,5 \newcount\@tempcntc \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi \@tempcnta\z@\@tempcntb\m@ne\def\@citea{}\@cite{\@for\@citeb:=#2\do {\@ifundefined {b@\@citeb}% {\@citeo\@tempcntb\m@ne\@citea\def\@citea{,\penalty\@m\ }{\bf ?}% \@warning{Citation `\@citeb' on page \thepage \space undefined}}% {\setbox\z@\hbox{\global\@tempcntc0\csname b@\@citeb\endcsname\relax}% \ifnum\@tempcntc=\z@ \@citeo\@tempcntb\m@ne \@citea\def\@citea{,\penalty\@m\ }\hbox{\csname b@\@citeb\endcsname}% \else \advance\@tempcntb\@ne \ifnum\@tempcntb=\@tempcntc \else\advance\@tempcntb\m@ne\@citeo \@tempcnta\@tempcntc\@tempcntb\@tempcntc\fi\fi}}\@citeo}{#1}} \def\@citeo{\ifnum\@tempcnta>\@tempcntb\else\@citea\def\@citea{,\penalty\@m\ }% \ifnum\@tempcnta=\@tempcntb\the\@tempcnta\else {\advance\@tempcnta\@ne\ifnum\@tempcnta=\@tempcntb \else \def\@citea{--}\fi \advance\@tempcnta\m@ne\the\@tempcnta\@citea\the\@tempcntb}\fi\fi} Charles Karney Plasma Physics Laboratory E-mail: Karney@Princeton.EDU Princeton University Phone: +1 609 243 2607 Princeton, NJ 08543-0451 FAX: +1 609 243 2662 ------------------------------ Date: Fri, 26 Jun 92 02:46:15 -0500 From: mpp@edu.brown.cns (Michael P. Perrone) Subject: Bibtex question Keywords: BibTeX, style, sort i need a bibtex .bst file that will sort by the year field but not by the authors' names i looked in plain.bst and it seems like a simple fix but i couldn't get it to work (putting all the "To Be published"'s at the end would be nice too...) thanks! Micheal P. Perrone ------------------------------ Date: Fri, 26 Jun 92 07:50:00 +0000 From: malcolm Subject: RE: Latex or Tex in Japanese Keywords: TeX, LaTeX, Japanese, languages japanese tex there are at least two implementations of \lq japanese' TeX. you will find references to these in TUGboat, TeXline, and at the TUG conferences. at a pinch, you could contact the president of the japanese user group, proffesor Yoshio Ohno, Dept Elec Eng, Keio University, 3-14-1 Hiyoshi, Kohoku-ku, Yokohama, Japan. he shuold be able to put you in touch with someone in the 500 or so strong japanese group who can help. much easier to plough through old editions of TUGboat though (that's where i would start to look). what is TUGboat you ask. shame on you. malcolm clark president, TUG ------------------------------ Date: Fri, 26 Jun 92 09:56:00 +0200 From: takagi@jp.co.recruit.isr (Shigeyuki Takagi) Subject: Re: Latex or Tex in Japanese (TeXhax Digest V92 #012) Keywords: TeX, LaTeX, Japanese, languages >From: aotani@edu.berkeley.math (masayasu aotani) >Does anyone know how to typeset Japanese using Tex ? >Our local gurus cannot provide any help on this one. There are 2 implementations of Japanese TeX available in Japan. Both are UNIX-TeX based. PC based one called "jawatex" is also announced. About UNIX based versions, one is by NTT Musashino Lab., another is from ASCII. They are called NTT-JTeX and Ascii-JTeX. Their font formats differ and some JLaTeX style files also differ. You can get them via anonymous ftp from utsun.u-tokyo.ac.jp:~ftp/pub/JTeX or some other well known Japanese ftp sites. BUT, PLEASE NOT that you need to PAY for the fonts OR get one of Japanese version of PS printer such as Apple Laser-Writer NTX-J. Previewing is also possible with hacked version of xtex, xdvi, ghostscript... If you need more information write me an E-mail. (Japanese Kanji text mail is preferred ;-) S. Takagi One of Japanese TuG support members takagi@isr.recruit.co.jp ------------------------------ Date: Fri, 26 Jun 92 12:33:36 +0000 From: CHAA006@uk.ac.rhbnc.vax Subject: Re: Problems with PiCTeX in LaTeX Keywords: LaTeX, PiCTeX Sven --- >More precisely, there are two lines in that input filea in relation >to the which there is an error message: 1) the line starting "\setplotsymbol..." >and the line "\setshadesymbol...". The error message is: "!Undefined control se >quence" But, why?! But more precisely still, _what_ is the `undefined control sequence'? Unless you are more specific ... >I need a Wizard to help me out on this one. ... not even a sorcerer will be able to help you! [Try re-posting, this time including the log file] Philip Taylor, RHBNC ------------------------------ Date: Fri, 26 Jun 92 19:58:25 +0000 From: Ian.Collier@uk.ac.ox.prg Subject: Two-Column format Keywords: TeX, two columns Page 417 of the TeXbook lays out a simple two-column format for things such as indexes which have no insertions. Unfortunately I have found that this fails when the index text is just under a page but does not start at the top of the page. The reason is that the text just before the start of two-column format does not feature in the \pagetotal for the first two-column page, so \doublecolumnout is not called at all. At the end of the two-column format, \balancecolumns is called, which outputs two balanced columns too large to fit on the current page, so an underfull \vbox occurs and a large amount of space appears. I have tried altering \pagetotal and/or \pagegoal, but it apparently does not work unless a box has already been put on the current page. Is there a satisfactory solution to this problem? Ian Collier imc@prg.ox.ac.uk ------------------------------ Date: Tue, 30 Jun 92 16:33:00 -0500 From: "DR. JIM WALKER @CRL" Subject: Availability of MAC versions of TeX/LaTex, dvialw, dvips etc. Keywords: TeX, implementation, Macintosh I am about to move from a VAX/VMS environment to a MAC environment (not exactly my idea!), and would like to continue to use LaTeX/SliTex/dvialw/dvips/spell etc. Could some kind soul tell me where I can obtain TeXware for MACs (either anonymous FTP or commercially). Thanks, Jim Walker ------------------------------ Date: Thu, 18 Jun 92 09:29:58 -0500 From: abw@edu.bu.bucrsb Subject: Small suggestion -- not a submission Keywords: TeXhax Hullo, guys--- So nice to see TeXhax appearing regularly once again. Your work in much appreciated. I am wondering if you might consider ordering the articles with the longer ones towards the end? Especially the meeting notices. I want to at least look at every article (and snaffle things that I can use) and if the shorter ones were at the beginning it would be a bit easier. FYI, comp.risks, for example, puts meeting notices (which are usually pretty long) at the end of the issue. Those interested may read them; others may bail out at that point. ---Al Al B. Wesolowsky abw@bucrsb.bu.edu Chresmology Boston University arc9arn@buacca.bu.edu (cheap rates) ------------------------------ Date: Tue, 07 Jul 92 14:20:13 +0000 From: TeXhax-request@tex.ac.uk Subject: Re: Small suggestion -- not a submission Keywords: TeXhax Al, In your message of 18 Jun 92 9:29:58 EDT, you said: > I am wondering if you might consider ordering the articles with the > longer ones towards the end? Especially the meeting notices. I want to > at least look at every article (and snaffle things that I can use) and > if the shorter ones were at the beginning it would be a bit easier. Thanks for the suggestion. I'll try to do that. - --David Osborne (TeXhax Digest moderator) ------------------------------ Date: Wed, 01 Jul 92 18:51:09 -0500 From: dmjones@edu.mit.lcs.theory (David M. Jones) Subject: TeX Macro Index Keywords: TeX, LaTeX, macros, index I am happy to announce that the first edition of the TeX Macro Index is now available by anonymous ftp and/or mail server from the following sites: [1] archive.cs.ruu.nl [2] ftp.th-darmstadt.de [3] ftp.math.utah.edu [4] Niord.SHSU.edu [5] TeX.ac.uk [6] theory.lcs.mit.edu Full instructions for retrieving the Index from these machines are appended to the end of this message. All of the archives have identical copies of the Index. In order to minimize the burden on the net, please pick the archive closest to you. I am forwarding this announcement to all of the TeX-related mailing lists that I know of. If you belong to a list that does not receive a copy of the message, but which you think would be interested in the Index, please forward this announcement. If you do so, I would appreciate it if you would also tell me the name of the list. A brief description of the Index follows. David M. Jones =========================================================================== This is an index of TeX macros. Its scope includes all macros that are available via anonymous ftp or mail-server or some similar mechanism. Commercial packages will be included only if a full Index entry is supplied to me by the vendor. Since the Index is devoted to macros, fonts and special-purpose programs are mentioned only when they are necessary to explain the purpose of a set of macros. Each entry is divided into several fields with the following functions: Name: The name of the macro package. Description: A short (usually 1-3 line) description of the package. Keywords: A list of keywords to facilitate searching for special-purpose macros, as well as to help describe the macros. A glossary of keywords can be found at the end of the file. Archives: A list of archives where the package can be found. Whenever known, the primary distribution site is marked with an asterisk. Author: The name and address (preferably electronic) of the author of the package. Latest Version: The date and/or version number of the latest release of the package. Supported: Whether or not the package is supported, that is, whether the author wants to receive bug reports and/or comments on the package. See also: A list of other packages with similar features. Note: Any additional information that seems pertinent. In addition to the list of packages, the Index also contains a brief list of TeX Archives with descriptions of the services they offer. =========================================================================== HOW TO RETRIEVE THE TEX MACRO INDEX First, here are some general instructions on anonymous ftp for those who haven't used it before. After deciding which archive you want to use, read the instructions below to find out the following three things: 1) the full name of the machine containing the archive 2) the name of the directory where the TeX Index is located 3) the name of the file containing the Index In addition, you should check the name of the file to see if it ends in ".Z", ".zoo", or ".zip". If so, it is a binary file and you will have to perform an extra step below. Once you have all of this information, you should type the following command: ftp name_of_machine When you are asked for a user name, type "anonymous". When you are asked for a password, type in your email address. Next, type cd name_of_directory If the file you are retrieving is a binary file, then you must now type the command binary Finally, retrieve the file by typing the command get name_of_file Once the transfer is complete, type bye to end the ftp session. [1] archive.cs.ruu.nl (Netherlands) How to get TeX-index.Z from the archive at Dept. of Computer Science, Utrecht University: NOTE: In the following I have assumed your mail address is john@highbrow.edu. Of course you must substitute your own address for this. This should be a valid internet or uucp address. For bitnet users name@host.BITNET usually works. by FTP: (please restrict access to weekends or evening/night (i.e. between about 20.00 and 0900 UTC)). ftp archive.cs.ruu.nl [131.211.80.5] user name: anonymous or ftp password: your own email address (e.g. john@highbrow.edu) Don't forget to set binary mode if the file is a tar/arc/zoo archive, compressed or in any other way contains binary data. get TEX/DOC/TeX-index.Z by mail-server: send the following message to mail-server@cs.ruu.nl (or uunet!mcsun!hp4nl!ruuinf!mail-server): begin path john@highbrow.edu (PLEASE SUBSTITUTE *YOUR* ADDRESS) send TEX/DOC/TeX-index.Z end NOTE: *** PLEASE USE VALID INTERNET ADDRESSES IF POSSIBLE. DO NOT USE ADDRESSES WITH ! and @ MIXED !!!! BITNETTERS USE USER@HOST.BITNET *** The path command can be deleted if we receive a valid from address in your message. If this is the first time you use our mail server, we suggest you first issue the request: send HELP - ------------------------- [2] ftp.th-darmstadt.de (Germany) The TeX Macro Index is available via anonymous ftp from ftp.th-darmstadt.de [130.83.55.75] directory pub/tex/documentation file styles-and-macros.Index.Z - ------------------------- [3] ftp.math.utah.edu (USA) The TeX Macro Index is available via anonymous ftp from ftp.math.utah.edu [128.110.198.2] in the file pub/tex/tex-index. To retrieve it by e-mail server, send a message to tuglib@math.utah.edu with the subject or body "send tex-index from tex". - ------------------------- [4] Niord.SHSU.edu (USA) To retrieve the Index in 8 parts suitable for electronic mail handling, include the command: SENDME TEX-INDEX in the body of a mail message to FILESERV@SHSU.BITNET (FILESERV@SHSU.edu). To retrieve the latest set of FAQ-related documents (Bobby Bodenheimer's "TeX, LaTeX, etc.: Frequently Asked Questions with Answers", Guoying Chen's "Supplement to the Frequently Asked Questions" and Liam R. E. Quin's "Complete list of all metafont-format fonts in the world"), include the command: SENDME FAQ in your mail request to FILESERV. For anonymous ftp retrieval from Niord.SHSU.edu (192.92.115.8), the complete Index may be found in the file [FILESERV.TEX-INDEX]TEX.INDEX and all FAQ-related documents may be found in the directory [FILESERV.FAQ]. - ------------------------- [5] TeX.ac.uk (UK) The TeX Macro Index is available via anonymous ftp, JANET NIFTP and mail server from the UK TeX Archive, TeX.ac.uk [134.151.40.18] in the file [tex-archive.doc]TeX-index.txt. To retrieve it by mail server, send a message to TeXserver@tex.ac.uk containing the following lines FILES [tex-archive.doc]TeX-index.txt - ------------------------- [6] theory.lcs.mit.edu (USA) The TeX Macro Index is available via anonymous ftp and mail server from theory.lcs.mit.edu [18.52.0.92] in the file TeX-index in the directory pub/tex. To retrieve it by mail server, send a message to archive-server@theory.lcs.mit.edu containing the following line send tex TeX-index The Index is also available in compressed, zip'ed and zoo'ed format in the files TeX-index.Z, TeX-index.zip and TeX-index.zoo, respectively. Note that if you want to request one of the compressed files by mail server, you'll have to specify a method of ASCII encoding by including one of the following lines in your mail message: encoder btoa encoder uuencode encoder rscs ------------------------------ %%% 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@tex.ac.uk %%% JANET: send a similar one line mail message to %%% TeXhax-request@uk.ac.tex %%% All submissions to: TeXhax@tex.ac.uk %%% %%% Back issues available for anonymous ftp as: %%% machine directory filename %%% TEX.AC.UK [.tex.digests.texhax.YY]texhax.NN %%% YY = last two digits of current year %%% NN = issue number %%% %%%\bye %%% End of TeXhax Digest [Volume 92 Issue 13] *****************************************