[comp.text.tex] TeXhax Digest V90 #22

TeXhax@cs.washington.edu (TeXhax Digest) (03/01/90)

TeXhax Digest    Sunday,  February 25, 1990  Volume 90 : Issue 22

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:         

                           dvialw under VM/CMS
                   Journals accepting TeX/LaTeX source
                   DVIpage from june.cs.washington.edu
                                   BibTeX
                         Re: Center environment
                              TeX, \LARGE font
                           Times Roman in LaTeX?
                               Blackboard bold
       LandScape Mode; NAR and JMB/JTB BibTeX and Style files
                                single-pass.sty
                    landscaping (TeXhax Digest V90 #17)
               Re: TeX & UNIX tricks (TeXhax Digest V90 #13
                   Parallel two-column printing - how?
                              Odd MF behaviour
                    Wanted: mf files for Pandora fonts

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

Date:  Tue, 13 Feb 90 11:03:16 +0100
From: Christof Peltason <PELTASON%DB0TUI11@UWAVM.ACS.WASHINGTON.EDU>
Subject:  dvialw under VM/CMS
Keywords: VM/CMS, dvialw

Is there anyone out there working with TeX under IBM's VM/CMS ?

In particular, I am looking for BibTeX and DVIALW.  A reference to an
appropriate repository would be of great help.

Thanks in advance, Christof.

        Christof Peltason
            TU Berlin                 phone: +49.30.314-24944
             FR 5-12                  fax:   +49.30.314-23222
         Project KIT-BACK             e-mail:
      Franklinstrasse 28/29           peltason@db0tui11.BITNET
        D - 1000 Berlin 10            peltason@tubvm.cs.tu-berlin.de

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

Date: 13 Feb 90  8:34 -0330
From: Edgar Goodaire <edgar%munucs.mun.ca@UWAVM.ACS.WASHINGTON.EDU>
Subject: Journals accepting TeX/LaTeX source
Keywords: TeX/LaTeX, source, journals

Rich Jones recently asked what journals currently accept TeX/LaTeX
source code.  I too would be interested in knowing.  To get the ball
rolling, I can say that the American Mathematical Society encourages
submission of articles in AmSTeX, a TeX macro package written
especially for the AMS by Michael Spivak.   Spivak has recently
written something called LAmS-TeX, a hybrid of LaTeX and AmSTeX
which the AMS will presumably accept too.  In addition to the AMS
journals, the journals of the Canadian Mathematical Society now employ
TeX for their typesetting and encourage authors to submit that way.
So the list of journals begins
                Proceedings of the Amer. Math. Soc.,
                Transactions of the Amer. Math. Soc.
                Bulletin of the Amer. Math. Soc.
                Canadian Mathematical Bulletin
                Canadian Journal of Mathematics
Edgar Goodaire
edgar@munucs.ucs.mun.ca

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

Date: Mon, 12 Feb 90 15:08:44 EST
From: smith%zeus@harvard.harvard.edu (Steven Smith)
Subject: DVIpage from june.cs.washington.edu
Keywords: dviware

In a recent letter to TeXhax I asked if anyone knew of a DVI previewer for
Suntools that accepted PK fonts.  We found the program dvipage (v1.3 by
Neil Hunt et al.) at june.cs.washington.edu (./tex/dvipage) which satisfies
these criteria, however it is filled with bugs.  It skips letters, fails
(inconsistently) to right-justify text, and slashes the center from all
`e's, among other problems.  Nevertheless, the structure of the program is
good, and it is very fast after it has processed a page.

Does anyone know where to get a better version of this program or another
DVI previewer?

 Steven Smith
smith@sandalphon.harvard.edu

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

Date: Tue, 13 Feb 1990 11:54:57 MET
From: Roffe <rolfl@ifi.uio.no>
Subject: BibTeX
Keywords: BibTeX

I've received a large reference list, written in BibTeX. I don't seem to
understand how to process it. I'm a die-hard TeX-user, and at present I
haven't got time to learn LaTeX. If somebody could give me a cookbook-type
explanation of exactly what to do, I'd be most grateful.
Thank you.

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

Date: Mon, 12 Feb 90 10:30:44 EST
From: Denys Duchier <duchier-denys@YALE.ARPA>
Subject: Re: Center environment
Keywords: TeX, centering

Francois-Michel Lang <lang@PRC.Unisys.COM> writes:

>    \begin{center}
>    \LARGE \bf PROBLEMS WITH \\ KNOWLEDGE REPRESENTATION
>    \end{center}
>    
>    behaves fine, but if I enclose the centered text
>    in another (admittedly superfluous) set of braces,
>    like this
>    
>    \begin{center}
>    {\LARGE \bf PROBLEMS WITH \\ KNOWLEDGE REPRESENTATION}
>    \end{center}
>    
>    there is not enough space left between the two centered lines?

In the first case \LARGE remains in effect when the end of the
paragraph is reached; in the second case the group ends before the
paragraph, thus undoing the effects of \LARGE before TeX begins
typesetting the paragraph.  One of the side effects of \LARGE is to
redefine \baselineskip and \strutbox.

 --Denys

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

%%Moderator's note: Donald Arseneau also provided the following
%%information.

Date: Mon 12 Feb 90 07:11:20-EST
From: b beeton <BNB@SEED.AMS.COM>
Subject: TeX, \LARGE font
Keywords: TeX, \LARGE font

francois-michel lang asks why a 2-line title using the \LARGE font in
latex' {center} environment, when enclosed in braces, doesn't have the
expected amount of space between the two lines.  the answer is that
tex doesn't apply baselines to a paragraph until the paragraph ends.
since the {center} environment uses the paragraphing technique, the
braces prevent the paragraph from ending until after the closing brace.
then, the normal font is again in effect, with narrower baselines.
						-- bb

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

Date: Mon, 12 Feb 90 9:52:07 EST
From: robert@cs.clemson.edu
Subject: Times Roman in LaTeX?
Keywords: LaTeX, fonts, Times Roman

Help!  I have a sudden need to modify a LaTeX document so that it prints
in a rather specific two-column format, but worse, in Times Roman 9pt.
We do have PostScript printers, which I gather have this font, but we
don't have .tfm files for it nor do I know how I'd tell TeX not to
worry about downloading the font since the printer already has it.

Any help would be very much appreciated -- even flames telling me to
RTFM as long as you tell me what to R in which FM.  Any pointers on
two-column format would be welcome as well, though I figure I have a
chance of beating that into shape on my own.  

We're running TeX (and LaTeX) on Sun-3's under SunOS 4.something.
Our PostScript driver is dvi2ps.
Thanks for any help!!  I really wish people with specific publication
requirements would let you know more than 3 weeks in advance.

Robert Reynolds                 inet: robert@hubcap.clemson.edu
CS Dept, Clemson Univ.    	uucp: ... !gatech!hubcap!robert
phone: (803) 656-6783           

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

Date: Sun, 11 Feb 90 08:10:18 EST
From: barr@linc.cis.upenn.edu (Michael Barr)
Subject: Blackboard bold
Keywords: fonts

This is in response the question Victor Miller raised about blackboard
bold.  First off, in my experience the bbb font is about the ugliest I
have ever seen.  Second, there is certainly no reason to use it, since
we have some perfectly good bold fonts.  The one I like the best is the
bold sans serif font, which is on every TeX system, so far as I am
aware.  The bbb fonts are an acceptable substitute on a blackboard, but
why anyone would want to continue to use them in a medium created to
typeset beautiful books is beyond me.

Michael Barr

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

Date: Fri, 9 Feb 90 18:34:11 EST
From: toms@ncifcrf.gov (Tom Schneider)
Subject: LandScape Mode; NAR and JMB/JTB BibTeX and Style files
Keywords: LaTeX, landscape mode, BibTeX

Hi TeXers!

A friend of mine asks:
> How do I tell LaTeX to flip the page orientation to LANDSCAPE
> 11x8 instead of 8x11?
Wasn't this discussed here?  Could someone give me a pointer where to look?
Thanks!

While I'm at it, I have bibliography (BiBTeX) and style formats for
Nucleic Acids Research (NAR) and Journal of Molecular Biology (JMB).
The JMB format is technically interesting because I figured out how
to make a 'flip switch' in BiBTeX.  To use it, you include a reference
in the LaTeX file:
  \nocite{TitlesOn}
The jmb.bst program recognizes this and, instead of giving you a reference in
the .bbl file, a boolean is turned on that makes all references have titles!
This is the thing I was asking for more than a year ago.  It is sure wonderful
to get titles turned on (or off) at the flip of a switch!  One can now imagine
a whole set of such toggles, so that this enormous number of reference formats
can be reduced.  For example, the only difference between JMB and Journal of
Theoretical Biology (JTB) is that JTB wants titles.  (JMB and JTB require
references of the form (Smith et al, 1982) and (Smith & Jones, 1987), and this
is handled by the jmb.sty style file.)

Where do I send these to make them available by ftp?

  Tom Schneider
  National Cancer Institute
  Laboratory of Mathematical Biology
  Frederick, Maryland  21701-1013
  toms@ncifcrf.gov

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

Date: Fri, 09 Feb 90 18:44:59 -0500
From: Richard Beigel <beigel-richard@YALE.ARPA>
Subject: single-pass.sty
Keywords: LaTeX, label, style file

The enclosed style file makes latex resolve most labels on the first
pass.  Report bugs and send enhancements to beigel-richard@yale.arpa.

% single-pass.sty 2/3/90
% Bug reports to beigel-richard@yale.arpa
\typeout{Single-pass style.  Version 0.}

% If you use bibtex, include the command \bibfirstpass
% immediately after \begin{document}

% We try to resolve as many references as possible in a single pass.
% This includes the entire bibliography, all backward references,
% and most pagerefs.  Any references missed or incorrect after the first
% pass will be fixed on the second pass.  Latex will not warn you
% of the need for a second pass.

% Drawbacks:
% (1) Latex will not warn you of the need to re-run latex when labels change.
% (2) Where latex would mark a pageref ??, we will occasionally be off by
% one page.

% Major assumption: References labels are either given in the \jobname.bbl
% or else they are arabic numberals.
\def\bibfirstpass{{

% We could use this to figure out the label style, but let's not.
%   \def\extractlabel##1\list##2##3\@nil{##2}
%   \edef\biblabel{\expandafter\extractlabel\thebibliography\null\@nil}

   \def\thebibliography##1{\relax}
   \def\endbibliography{\relax}

   \setcounter{enumi}{0}

   \def\@lbibitem[##1]##2##3

{
      \bibcite{##2}{##1}
      \ignorespaces
   }

   \def\@bibitem##1##2

{
      \stepcounter{enumi}
      \def\theenumi{\arabic{enumi}}
      \edef\@tempa{\noexpand\bibcite{##1}{\theenumi}}
      \@tempa
      \ignorespaces
   }

   \@input{\jobname.bbl}

   \setcounter{enumi}{0}
}}

\def\label#1{\@bsphack\if@filesw {\let\thepage\relax
   \xdef\@gtempa{\write\@auxout{\string
      \newlabel{#1}{{\@currentlabel}{\thepage}}}}}\@gtempa
   \if@nobreak \ifvmode\nobreak\fi\fi\fi\@esphack
   \@ifundefined{r@#1}{
      \edef\@tempa{\noexpand\dolabel{#1}{{\@currentlabel}{\thepage}}}
   }{
      \edef\@tempa{\@nameuse{r@#1}}
      \edef\@tempa{\expandafter\@cdr\@tempa\@nil}
      \edef\@tempa{\noexpand\dolabel{#1}{{\@currentlabel}{\@tempa}}}
   }
   \@tempa
}

\def\dolabel#1#2{\global\@namedef{r@#1}{#2}}

\def\enddocument{\@checkend{document}\clearpage\begingroup  
\if@filesw \immediate\closeout\@mainaux 
\fi\endgroup\deadcycles\z@\@@end}

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

Date: Mon, 12 Feb 90 09:09:44 gmt
From: Sebastian P Q Rahtz <spqr%ecs.southampton.ac.uk@NSFnet-Relay.AC.UK>
Subject: landscaping (TeXhax Digest V90 #17)
Keywords: TeX

 > From: ANDRES BRITO GALINDO <abg@iac.es>
 > 
 > I've tried to get a landscape-formatted piece of TeX and I've
 > couldn't, maybe because I need something that I haven't got in my
 > computer environment, but that I'm sure I'm going to receive from
 > somebody of you. I've tried with \special\landscape and TeX seems not
 > to recognize this control sequences. Could anybody tell me why and
\special takes a single parameter, which is usually enclosed in { and
}, as in \special{hello}; saying \special\landscape asks TeX to look
up the token \landscape and us it as the parameter to the \special. so
unless you define \landscape, its meaningless.

but anyway, the parameter supplied to \special is not used by TeX at
all; it is passed straight  to the device driver, which has to 
understand your command. the commands are *not* standardized. If  I
tell you that the driver I am using, dvitops, would achieve the effect
you want if I wrote \special{dvitops: landscape}, it wouldn't help you
much. So you must look at your device driver documentation and see
a) whether it will do landscape printing and b) how it wants the
command expressed.

remember that TeX writes on a page of whatever size you want; if you
want a short fat page which you intend to be printed in landscape
mode, you have to change the page height and width accordingly.

sebastian rahtz

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

Date: Tue 13 Feb 90 12:54:11-MST
From: "Nelson H.F. Beebe" <Beebe@science.utah.edu>
Subject: Re: TeX & UNIX tricks (TeXhax Digest V90 #13
Keywords: TeX, UNIX

There are at least a few reasons why TeX doesn't use stdout
so you might think you could do

tex trick *.tex \\end | dvi2XXX | lp(r)

(1) TeX was written to be independent of operating system,
so such a system-specific practice would not be designed in.

(2) DVI files are compact binary files that contain a
directory at the end which needs to be accessed if efficient
page and font processing is to be accomplished; in my 3.0 DVI
drivers under UNIX, if the input is from stdin, and the
device is not seekable (e.g. is a pipe), then I make a copy
on disk first.

(3) On other systems, like MS DOS and some TOPS-20 systems,
where pipes exist, binary data cannot be sent through a pipe
without first jumping through hoops, because stdin, stdout,
and stderr normally involve end-of-line translation, mapping
UNIX newline, \n, into whatever the host requires (for MS DOS and
TOPS-20, carriage-return linefeed (\r\n)).

(4) If TeX could write its dvi files to stdout, an extra
switch would be needed to suppress its current action of
tacking extensions .dvi, .log, etc onto the end of the base
file name to get names for its output.

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

Date: 9  Feb 90  9:50 -0100
From: Reinhard Foessmeier <foessmeier@infovax.informatik.tu-muenchen.dbp.de>
Subject: Parallel two-column printing - how?
Keywords: TeX, parallel printing

In his TeXbook, appendix D, p. 387,     En sia libro TeXbook, p. 387, D.E.
D.E. Knuth gives an example of parallel Knuth donas ekzemplon de paralela
printing of bilingual texts in two      presado de dulingvaj tekstoj en du
columns (like this).  The example       kolumnoj (Kiel ^ci tio). La ekzemplo
chiefly deals with calculating the      ^cefe traktas la kalkuladon de lar^g-
widths of the boxes, and it doesn't     eco de skatoloj, kaj ^gi ^sajnas ne
seem to take care of the problem of     zorgi pri la problemo de pa^go-divido.
page breaking.

What I should like is an instruction    Kion mi ^satus havi, tio estas ordono
that would take two paragraphs to be    kiu prenus du paragrafojn presotajn
printed one beside the other, and break unu apud la alia, kaj dividus ilin se
them if they do not quite fit on the    ili ne tute trovas spacon sur la
remaining part of the page.  While this restanta parto de la pa^go.  Dum ke
was remarkably easy to do in troff, I   tio estis rimarkinde facila pri troff,
couldn't find an adequate solution for  mi ne povis trovi tawgan solvon por
TeX.  If I put the paragraphs each into TeX.  Se mi metas ^ciun paragrafon en
a \vbox and juxtapose them into an \hbox, \vbox-on kaj apudmetas ilin en \hbox-
the \vsplit instruction can't take the  on, la ordono \vsplit ne plu povas
lines apart any longer.  If I change    dividi ilin.  Se mi ^san^gas la funk-
the \output routine, I could just print cion \output, mi povus presi nur la
the left half and save the right hand   maldekstran duonon kaj stori la dekstran
side in some box -- but how do I print  en iu skatolo -- sed kiel mi presu ^gin
it when the left hand side is already   kiam la maldekstra estas jam plena?
full? 

I guess it could be done but this seems Mi supozas ke eblas fari ^gin sed
to complicated a solution to such an    tio ^sajnas tro komplika solvo por
elementary problem.                     tiom elementa problemo.

If somebody has a solution, I'd be very Se iu havas solvon, tio tre interesus
interested.  If it could co-operate     min.  Se ^gi kongruus kun LaTeX,
with LaTeX, it would even be better.    estus e^c pli bone.

Reinhard F\"ossmeier, Technische Univ. M\"unchen | "Sendmail can safely be made
foessmeier@infovax.informatik.tu-muenchen.dbp.de | setuid to root" (E. Allman:
   [ { relay.cs.net | unido.uucp } ]             | SM Install&Operation Guide)

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

Date: Fri, 9 Feb 90 20:25:10 GMT
From: Alan.Jeffrey%prg.oxford.ac.uk@NSFnet-Relay.AC.UK
Subject: Odd MF behaviour
Keywords: METAFONT

% Some rather odd behaviour from MF C Version 1.5...
%
% First of all, I declare two empty pictures fred and ethel, and do a rather 
% bizarre addto that adds unitsquare (any path would do) to ethel, then to
% fred.

picture fred, ethel;
fred:=nullpicture;
ethel:=nullpicture;

addto fred contour
   begingroup
      addto ethel contour unitsquare;
      unitsquare
   endgroup;

% This works fine.  Then I do exactly the same, only I add ethel to
% fred.

picture fred, ethel;
fred:=nullpicture;
ethel:=nullpicture;

addto fred also
   begingroup
      addto ethel contour unitsquare;
      ethel
   endgroup;

% And lo and behold I get an error message.  What appears on my terminal is
%
%    >> picture
%    ! Improper `addto'.
%    <to be read again>
%                        ;
%    l.28    endgroup;
%
% and the help information is
%
%    This expression should have been a known path.
%    So I'll not change anything just now.
%
% Oh.  From playing around with it, what seems to be going on is that
% you're allowed an addto...contour within an addto...contour,
% and you're allowed an addto...also inside an addto...also, but that
% you can't mix'n'match them.
%
% Help...?
%
% I'm not on the TeXhax distribution, so could you send any replies
% straight to me please.  Thanks.  I'll post any responses back to TeXhax.
%
% Alan Jeffrey.
% Programming Research Group
% Oxford.
% 
% Alan.Jeffrey@uk.ac.ox.prg (JANet)

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

Date: 12 Feb 90 10:59 -0600
From: Jim Walker <walkerj@wnre.aecl.ca>
Subject: Wanted: mf files for Pandora fonts
Keywords: METAFONT

I would like to set some type in Neenie Billawala's `Pandora' typeface, and 
hence would like to obtain the mf files.

I have FTP'd some of the files from /pub/tex/tugboat on Labrea.stanford.edu 
but some of the necessary files seem to be missing (rotext.mf etc.). Is 
this intentional? Can anybody help.

Jim Walker.

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

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