[comp.text] TeXhax Digest V89 #94

TeXhax@cs.washington.edu (TeXhax Digest) (10/24/89)

TeXhax Digest    Monday,  October 23, 1989  Volume 89 : Issue 94

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:         

          ***Announcing the TUG January/February course schedule***
                  ***New version of DECUS Tex on ftp***
                       LaTeX, BibTeX, bibliography
             ***Lookbibtex available from hmcvax.claremont.edu***
            Further Info on Access to European TeXserver at Aston
                   LaTeX/TeX to Mass-11 converter wanted
                        Linotronic output from TeX
              Looking for dvi to Toshiba P321SL (am I dreaming?)
                         Apple Laserwriter Drivers
                     Re: TeXhax Digest V89 #92 (\label)
                          Re: labels and captions
                       Immediate write of a character
                        Doing documents in Russian
                   Different \hoffset on alternate pages

---------------------------------------------------------------------

Date: Fri 20 Oct 89 15:54:55-EDT
From: CVL@SEED.AMS.COM
Subject: ***Announcing the TUG January/February course schedule***
Keywords: Information, TeX Users Group, courses

The TeX Users Group is pleased to announce its January/February
Course Schedule!

Intensive Beginning/Intermediate TeX, University of Houston,
Clear Lake, January 8 - 12
Intensive Beginning/Intermediate TeX, University of Maryland,
January 8 - 12
Advanced TeX/Macro Writing, University of Maryland,
January 15 - 19
Intensive Beginning/Intermediate TeX, California State Univ.,
Northridge, January 15 - 19
Intensive Introduction to LaTeX, Florida State Supercomputer
Research Institute, January 15 - 19
Advanced TeX/Macro Writing, California State Univ.,
Northridge, January 22 - 26
Intensive Beginning/Intermediate TeX, Florida State Supercomputer
Research Institute, January 22 - 26
Intensive Introduction to LaTeX, University of Maryland, February 5 - 9
Schedules for Spring and Summer courses held throughout the US,
Canada and Europe will be announced in the near future. Enroll
early as courses are subject to cancellation if enrollment is
insufficient.  Phone Charlotte at the TUG office @ (410) 751-7760,
for course descriptions, registration and discount information.

-------------------------------------------------------------------------------

Date: Fri, 20 Oct 89 09:11 CDT
From: "K. SANKARA RAO" <SYSTEM@power.eee.ndsu.nodak.edu>
Subject: ***New version of DECUS Tex on ftp***
Keywords: DECUS TeX, ftp

           A new version of DECUS TEX (August 1989) is now available on ftp
from power.eee.ndsu.nodak.edu (134.129.123.1) by anonymous ftp. Any password
may be used.

                                              K. Sankara Rao
                                              North Dakota State University
                                              Fargo, ND, USA

----------------------------------------------------------------------------

Date: Wed, 18 Oct 89 15:00 +01
From: "ERIC CORNELIS, FNDP, DPT MATH, +32 81 229061 (EXT. 2760)"
Subject: LaTeX, BibTeX, bibliography
Keywords: LaTeX, BibTeX, bibliography

One of my colleague tries to do the following thing with LaTeX and/or BibTeX :
having a bibliography after each chapter (section) collecting all the citations
of this chapter (section, ...) and, at the end of the report (book, ...), a
complete bibliography for all the citations of the document.  Does somebody
know how to do that ?
                        Beforehands, thanks for your help


                        Sincerely and TeXly yours

                                                 Eric CORNELIS
                                                 FuNDP (University of Namur)
                                                 Dpt of Mathematics
                                                 Rempart de la Vierge 8
                                                 B-5000 NAMUR (Belgium)
                                        E-mail : ECORNELIS@BNANDP51.BITNET
                                                 ECORNELIS@CC.FUNDP.AC.BE

-----------------------------------------------------------------------------

Date: Thu, 19 Oct 89 20:13 PDT
From: Don Hosek <DHOSEK@HMCVAX.CLAREMONT.EDU>
Subject: ***Lookbibtex available from hmcvax.claremont.edu***
Keywords: BibTeX, LookBibTeX, ftp

Tom Conte's lookbibtex utility is available for anonymous FTP
from hmcvax.claremont.edu in the directory
TeX_ROOT:[UTILITIES.LOOKBIBTEX]

 dh

---------------------------------------------------------------------------

Date: Mon, 16 OCT 89 16:36:07 BST
From: TEX%rmcs.cranfield.ac.uk@NSFnet-Relay.AC.UK
Subject: Further Info on Access to European TeXserver at Aston
Keywords: European TeXserver, Aston, information

Clarkson have asked me for a shorter form of the info on accessing the 
European TeXserver at the University of Aston, so here goes:

Send an e-mail message to --

    Janet:     TeXserver@uk.ac.aston.tex 
    Internet:  TeXserver%uk.ac.aston.tex@nsfnet-relay.ac.uk
    Bitnet:    TeXserver@tex.aston.ac.uk 
     (  OR:    TeXserver%uk.ac.aston.tex@ukacrl )
    Uucp:      ...!ukc!aston.tex!TeXserver

which contains the following (without the leading four spaces):

    any number of lines of rubbish (such as 
    mailer headers) you wish (or have) to insert
    --- a line starting with at least three hyphens, rest of line ignored
    yourname%yoursite@relay
    help

The word HELP (and everything may appear in upper- or lower-case, except of 
course any case-sensitive usernames) may optionally be followed by various 
language qualifiers: I cannot quote them all here, but I do know that it 
supports /ENGLISH, /FRANCAIS, /DEUTSCH, /NEDERLANDS, /NORSK, /DANSK, /ITALIANO,
/SWEDISH (don't ask me why this isn't in Swedish).  These qualifiers may 
be written instead as the English name for the language, as synonyms.  The 
subject, if included, is ignored by the TeXserver mailer.

Now the only problem is the `yourname%yoursite@relay' --- this should specify
YOUR mail address, as seen by a user at Aston, so for users directly connected
on Janet, this then reduces to yourname@yoursite, in normal NRS format. 

Determining your address relative to Aston
******************************************

As a temporary facility (pending rewriting of the mailer to obviate the need 
for users to quote their own addresses) I've provided an ``identification'' 
service at Aston.  Send e-mail to rmcs_tex@uk.ac.aston.kirk (I'm sure you can 
work out from the above how to do this), with the subject consisting of the 
word(s) ``Where Am I''.  The case doesn't matter, and you can have as much or 
as little white space between the words (including none), but there must not 
be any leading or trailing space, nor any question mark.  You should receive a 
reply telling you the address to `plug into' the request to be sent to 
TeXserver.

If all else fails
*****************

Anybody having difficulty is welcome to contact me: just make your subject 
line incorporate the words `help wanted' (with one single intervening space)
and I'll try to work out your reverse path from whatever magic caballistic 
symbols the CBS mailer shows me.  But before you do that, check the format of 
your outgoing message: *did* you remember the three hyphens, and the return 
address on the NEXT line, with HELP on the one after that?

                               Brian {Hamilton Kelly}

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ JANET:     rmcs_tex@uk.ac.aston.kirk                                    +
+ BITNET:    rmcs_tex%uk.ac.aston.kirk@ac.uk                              +
+ INTERNET:  rmcs_tex%uk.ac.aston.kirk@nsfnet-relay.ac.uk                 +
+ Smail:     School of Electrical Engineering & Science, Royal Military   +
+            College of Science, Shrivenham, SWINDON SN6 8LA, U.K.        +
+ Phone:     Swindon (0793) 785252 (UK), +44-793-785252 (International)   +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-------------------------------------------------------------------------

Date: 16 Oct 89 16:16 -0600
From: Jim Walker <walkerj%wnre.aecl.cdn@relay.CDNnet.CA>
Subject: LaTeX/TeX to Mass-11 converter wanted
Keywords: LaTeX, TeX, Mass-11, converter

Does anybody out there in Texland have a converter to reformat
LaTeX files as mass-11 wordprocessor files.

ps. This conversion isn't my idea!!!!!!!

------------------------------------------------------------------------------

Date: Wed, 18 Oct 89 08:44:46 PDT
From: drf%osiris@ucsd.edu (Donald R. Fredkin)
Subject: Linotronic output from TeX
Keywords: TeX, Linotronic output, fonts

The University of California, San Diego (UCSD) owns a Linotronic laser
printer with resolution ~1200 dpi. For the first time, I want to use
this facility to generate high quality output from TeX (actually
LaTeX). When I called the keepers of the Linotronic yesterday they
expressed dismay that I was proposing to give them Postscript derived
from TeX, and said that the design of the Computer Modern fonts
prevented them from doing any better than 300 dpi. Does this sound
sensible? I thought that TeX, and Computer Modern fonts, were designed
for the production of "beautiful books. "

I am using Computer Modern fonts because I do not want to spend the
rest of the year figuring out how various parameters must be changed to
accomodate some other font family, and I don't even know which
collection of fonts will do a harmonious job of mathematics intensive
typesetting. Please do not tell me how superior some other font family
is to Computer Modern.

I normally run TeX (Textures) on a MacII, but I can equally well run it
on a Sun3. Does anyone have any advice to offer?

Thanks

Donald R. Fredkin
internet: dfredkin@ucsd.edu
bitnet:   dfredkin@ucsd

------------------------------------------------------------------------------

Date: Wed, 18 Oct 89 15:52:27 EDT
From: erewhon!art@maccs.dcss.mcmaster.ca (Art Mulder - SuperUser)
Subject: Looking for dvi to Toshiba P321SL (am I dreaming?)
Keywords: dviware, Toshiba P321SL

Hi,
  Leslie Lamports 'LaTeX Users guide & reference Manual' mentions the
availability of drivers for Toshiba Dot Matrix printers.
  Can someone enlighten me as to where to find these?  any Public Domain?
FTP'able?  Do they operate at a reasonable speed?
  thanx for any info

Art Mulder, Computer Services,  |  best:   art%erewhon@maccs.DCSS.mcmaster.ca
Redeemer College, Ancaster, Ont |  or:                 erewhon!art@maccs.uucp
Canada, L9G 3N6, (416) 648-2131 |  or: ...!uunet!utai!utgpu!maccs!erewhon!art

----------------------------------------------------------------------------

Date: Mon, 16 Oct 89 04:41:22 -0500
From: svb@cs.purdue.edu (Stephan Bechtolsheim)
Subject: Apple Laserwriter Drivers
Keywords: Apple Laserwriter, drivers

Laserprinter resolutions are never precisely 300 dots/inch.
It's 300 dots/inch +- \epsilon. What you see is the \epsilon.

Stephan Bechtolsheim

-----------------------------------------------------------------------

Date: Tue, 17 Oct 89 10:13:53 PDT
From: lamport@src.dec.com (Leslie Lamport)
Subject: Re: TeXhax Digest V89 #92 (\label)
Keywords: LaTeX, \label

JL_Braams%pttrnl.nl@UWAVM.ACS.WASHINGTON.EDU describes a problem with a
\label command inside a \caption command in a style that he is writing.
He then writes:

        I didn't expect to get any problems, as the LaTeX-book
        states on page 72:

                        ... with the \label command going either after
        the \caption command or in its argument.
                             ^^^^^^^^^^^^^^^^^^
        ...

        Is this a bug, an anomaly or a feature???

A bug caused by changes one makes to a style file is not a LaTeX bug;
it is a bug in the changes.  In this case, the bug in the new caption
command she be fixed by changing the appropriate part of the macro to

   \vtop{\hsize\@tempdima\@parboxrestore \leavevmode #2}

Leslie Lamport

-------------------------------------------------------------------------------

Date: Mon, 16 Oct 89 09:19:34 MET
From: Victor Eijkhout <U641000%HNYKUN11.BITNET@Forsythe.Stanford.EDU>
Subject: Re: labels and captions
Keywords: LaTeX, \caption

In a recent posting Johannes Braams tries to redefine the
\caption macro of LateX, such that his captions will come out

         Figure 1. This is the caption text of figure 1, and
                   this text is fairly long

He finds that in essence for figures
 \caption{TEXT} == \@makecaption{\thefigure}{TEXT}
so he tries to redefine (again, leaving details aside)
 \@makecaption#1#2 == \hbox{#1\vtop{#2}}
He then observes that
 \caption{\label{foo}bar}
leads to

          Figure 1.
                    bar

This is what happens:
  - a \label command translates to a \write of some information
 to the .aux file,
  - a write is not just an IO operation, it is placed in a 'whatsit'
 item on the current list. The actual write will take place when
 that list is shipped out; this is the only way to make \pageref
 possible,
  - TeX doesn't add a parskip glue at the beginning of a paragraph
 if it is in internal vertical mode, and the current list is
 empty. In Johannes' case TeX is in internal vertical mode when
 processing the caption text, but the list is not empty: there
 is a thingummajig, whatchammacallit, a whatsit. Therefore \parskip
 is added, and the vtop is aligned with the reference point
 of the glue box, any following text dangling underneath.

Some remedies: (1) place the label at the end of the caption
text, (2) put 'leavevmode' in the caption macro, the whatsit is
then placed on the horizontal list, but perhaps best: (3) use the
'hangfrom' macro of LaTeX, which is designed to have text behave
in exactly the intended way.


Victor Eijkhout                     Department of Mathematics
                                    University of Nijmegen
                                    Toernooiveld 5
  "Far out in the uncharted         6525 ED Nijmegen, the Netherlands
   backwaters of the unfash-
   ionable end of the               +31 80  61 3169
   western spiral arm               (switchboard: 61 1111)
   of the galaxy"
                                    u641000@HNYKUN11.BITNET

-------------------------------------------------------------------------

Date: Mon, 16 Oct 89 11:41:51 PST
From: Peter Scott <PJS@grouch.JPL.NASA.GOV>
Subject: Immediate write of a character
Keywords: TeX, \immediate write

I'm reposting this question since it appears to be quite a challenge
for TeXperts.  One responded to my original posting and could only come
up with a solution that involved a 128-way \case statement.

The problem:  given a number in, say, \cc, perform an \immediate\write
of \char\cc.

\newcount\cc
\cc=65
\immediate\write16{\char\cc}

doesn't work.  Neither do a whole constellation of attempts using \xdef's,
\expandafter's, \toks, etc, etc, etc.

Kudos to the winner.  Maybe if it's tough enough they could write it up
for TUGboat.

BTW, this problem was submitted by a user here with a legitimate need
for it, so this is not entirely an academic question.

Peter Scott (pjs@grouch.jpl.nasa.gov)

--------------------------------------------------------------------------

Date: Tue, 17 Oct 89 1:55:16 MDT
From: Jacob Gore <jacob@blackbox.gore.com>
Subject:  Doing documents in Russian
Keywords: LaTeX, Russian

Over the last few months, I find myself typesetting Russian text with LaTeX
more and more often.  I use the pre-generated 300dpi mcyr and mcyb fonts,
and the commonly available cyracc.def and cyrillic.sty.

There are several things that make it unnecessarily painful, and I wonder
if there are relatively simple (i.e., not too time-consuming) ways to fix
things up.

The first problem is the way the characters are assigned.  Now, the Russian
alphabet contains 33 letters, an American keyboard has 26, so some mapping
is, of course, needed.  But the one produced by the combination of the mcyr
font and cyracc.def, while it may be optimal for its stated purpose ("so
that input using the `new' (post-1982) Math. Reviews cyrillic
transliteration will be converted directly to cyrillic text"), is not a
good match for Russian text:

1. The letter 'Te' followed by the letter 'Es' is a very common occurance
in Russian, but "ts" is a ligature for the letter 'Tse'.  I don't think 'Tse'
is used nearly as often as "TeEs".  Having all those "t{\cydot}s"'s in the
input is a pain.  Is there a way to make "ts" generate separate letters,
"TeEs" instead of 'Tse'?

2.  The letter Myagkii Znak is also common.  "{\cprime}" is not very
convenient, and the alternative input, "p1" is not very mnemonic.  Is there
a way to assign that character to an apostrophe ("'")?  (And, while I'm at
it, assign the Tverdyi Znak character to grave accent ("`")?)

3.  Same problem with using "{\u i}" for I-kratkoye.  Can it be assigned to
"j"? 

The second problem is hyphenation.  It has three aspects:

1.  English hyphenation rules don't fit Russian (no surprise here).

2.  Hyphenation can (and often does) breaks up ligatures.  For example,
"shch" is a ligature for the letter Shcha.  The English hyphenation table
seems to like hyphenating sh-ch, so instead of one letter, Shcha, I get
two: Sh\-Ch.

3.  Words containing the letters Yo ("\"e"), I-kratkoye ("{\u i}"), Myagkii
Znak ("{\cprime}" or "p1") and Tverdyi Znak ("\cdprime" or "p2") cannot
be listed in the \hyphenation{...} command.  The only way I found to
prevent bad hyphenation in such words is by inserting "\-"'s in the text.

I don't suppose someone has a hyphenation table for Russian?  Any other
suggestions on how to ease these difficulties?

And, the last problem... can't use 300dpi fonts in the previewer I'm using.
Does anybody have these fonts at other resolutions?  Does anybody still
have their sources and the version of Metafont that they were written for?
I realize that the "proper" way to do this is to design a Russian font
family using the current version of Metafont (one whose appearance fits
better with CMR would be nice), but I have neither time, nor expertise (or
time to acquire it), nor artistic inclination to undertake such a task.

Thanks in advance for all responses.  I will summarize to TeXhax any direct
replies I get in e-mail (unless, of course, you ask me not to include your
reply in the summary).

Jacob

Jacob Gore		Jacob@Gore.Com			boulder!gore!jacob

------------------------------------------------------------------------->

Date: Tue, 17 Oct 89 16:49 GMT
From: Peter Flynn UCC <CBTS8001%IRUCCVAX.UCC.IE@UWAVM.ACS.WASHINGTON.EDU>
Subject: Different \hoffset on alternate pages
Keywords: TeX, \hoffset

What bodges to \output are needed to make odd pages have a greater
\hoffset than even pages. The intention being to provide for a binding
margin for double-sided work, and tne user does not want (justifiably)
to have to do hand-positioning of every alternate page when phtoocopying.
I know it is possible at the driver level on some printers, but I would like
a TeX solution.
 
Peter

-----------------------------------------------------------------------

%%% 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 <your name>    % 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
**************************
-------