[comp.text] TeXhax Digest V89 #83

TeXhax@cs.washington.edu (TeXhax Digest) (09/29/89)

TeXhax Digest    Friday,  September 15, 1989  Volume 89 : Issue 83

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

%% Moderator`s note: For some reason a lot of people didn`t receive
%% Issue 83, so we`re sending it again. We apologize for any 
%% inconvenience this may cause the lucky souls who got it the first
%% time around. A few confirmations of Issue 83`s arrival would be
%% appreciated.

Today's Topics:         

                           Invisible fonts for SliTeX
                                 Update of sbtex
                            MF/INIMF etc. for the PC
            Short citations on pages, full one in bibliography
                       Landscape version of testpage.tex
                            Landscape mode in LaTeX
                       Produces output in landscape mode
                                  Endnotes.style
                                   Almost verse
                  Dvi2ps output previewer-suitable postscript?
                            Latest version of DVIIMP
                             Dvi printing problems
                       Psfig and Mac postscript troubles

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

Date:  Wed, 6 Sep 89 11:16 B
From: <VENS%HGRRUG5.BITNET@UWAVM.ACS.WASHINGTON.EDU> (Erik-Jan Vens, ICCE, POBox 800, 9700 AV  Gr...)
Subject:  Invisible fonts for SliTeX
Keywords: Metafont, SliTeX, invisible fonts

Hi everybody in TeX- and Metafont land. I will send this question to
all lists I know, so I wrote it in English.

Can any of you help me out on the next question?
I want to generate SliTeX's invisible fonts. I have not found any
information on these so I decided to do it myself. I copied <cmss8.mf>
to <icmss8.mf> and changed the call for the romandriver to a call for an
`invisible' romandriver:
  generate iroman;
I copied <roman.mf> to <iroman.mf> and added one line just after the
<font_setup> command and just before the input of <romanu.mf>:
  input invisible; invisible;
I created a file <invisible.mf> which consisted of the next lines:
  def pattern=
    def endchar=
      clearit;
      scantokens extra_endchar;
      chardx:=w;
      shipit;
      if displaying>0: showit; fi
      endgroup;
    enddef;
  enddef;

I expected to create a font exactly like <cmss8> but only invisible. Now
some of the characters turn out to be invisible, most of them are not.
These are exactly like the original.

What did I do wrong? It seems quite stupid to completely edit all the
character files. What is the best approach? Could it be that I should
only have to copy the <.tfm> file and create an empty <.pk> file? But
then the fontname is wrong.

Anyone can help?

Erik-Jan Vens
ICCE, University of Groningen, the Netherlands

Email:
Earn/Bitnet: VENS@HGRRUG5
UUCP: {...!hp4nl!}guvaxin!guicce!erikjan

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

Date: Tue, 05 Sep 89 18:08:08 GMT
From: "Wayne G. Sullivan" <WSULIVAN%IRLEARN.BITNET@UWAVM.ACS.WASHINGTON.EDU>
Subject: Update of sbtex
Keywords: MSDOS, SBTeX

  SB26TEX.ARC is now available for anonymous FTP from VENUS.YCC.YALE.EDU
and from the ASTON archive. I hope it will soon be available from SIMTEL20.
It offers considerable inprovements in speed and capacity over the originally
distributed sb08. It is similar to sb24, which was released this summer for
the GUTenberg distribution, but TEX.EXE and INITEX.EXE are smaller in sb26.
Many thanks to James A. O'Brien at Yale and Niel Kempson (of the ASTON archive)
for making possible the distribution.
Included below is a comparison which I believe to be applicable to sb26 as well
as sb24.

                            Wayne Sullivan


>                                                      ...  , so I've been
>comparing the merits of sb24TeX, DOSTeX & pubTeX.
>  DOSTeX and pubTeX are fairly similar in performance, but sb24TeX processes
>"representative" documents (from 1 to 140 pages) **four and a half** times as
>quickly on my IBM PC-AT.  It looks as though your inline assembler code has
>made all the difference - I'm impressed!
>    Niel Kempson

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

Date: Tue, 05 Sep 89 13:46:48 MEZ
From: Ewald JENISCH <A4421DAD%AWIUNI11.BITNET@UWAVM.ACS.WASHINGTON.EDU>
Subject: MF/INIMF etc. for the PC
Keywords: METAFONT, PC

Hi TeXlanders,

I am looking for PC-implementations of

    o  METAFONT(MF) together with INIMF
    o  TFtoPL
    o  PLtoTF

Has anybody ever heard of such a beastie?? Anything, public
domain, shareware or commercial will do.

Thanx

Ewald JENISCH
Institute of Statistics & Computer Science
Univ. of Vienna, Austria
E-Mail: A4421DAD@AWIUNI11.BITNET

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

Date: Tue, 5 Sep 89 23:11:56 EDT
From: npreyer@caf.MIT.EDU (Norris Preyer)
Subject: Short citations on pages, full one in bibliography
Keywords: LaTeX, citations, bibliography

I've learned many things from TeXhax and thought I'd make a contribution
myself.  This is my first attempt to really try to modify Latex, so if you
can think of a more clever way to do things I'd like to know.  If this
is too trivial, sorry--it took me two or three evenings to get it right.

I want to have, like Turabian, short citations in footnotes at the bottom of
each page and an full citation in a bibliography.  To preserve my sanity I 
want all the reference material in one place, rather than scattered
throughout the text.  A major reason is that many of the citations are
to preprints that may be published before my thesis is finished, so I
want an easy way to update all the references at once.  I suppose if
I had BibTeX I could use it to do this, but I don't.

The scheme here is to use the optional argument of \bibitem to hold
the short reference, and the name argument will do double duty as the
label, that is, \bibitem[short-citation]{name/label}long-citation.

%% dblref.sty
%% from LATEX VERSION 2.09 <24 May 1989>

%% changed argument of \@biblabel from #1 to #2 to overload the name field
\def\@lbibitem[#1]#2{\item[\@biblabel{#2}]\if@filesw 
      { \def\protect##1{\string ##1\space}\immediate
        \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}

\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
  \def\@citea{}\@cite{\@for\@citeb:=#2\do
    {\@citea\def\@citea{;\penalty\@m\ }\@ifundefined
       {b@\@citeb}{{\bf ?}\@warning
       {Citation `\@citeb' on page \thepage \space undefined}}%
\mbox{\csname b@\@citeb\endcsname}}}{#1}.}
%% ^ hbox --> mbox to allow text to break naturally in footnote.
%% semicolon separates entries, and a period is added at end.

Example:
\documentstyle[dblcite]{report}
\begin{document}
The ubiquity of the finagle factor\footnote{\cite{Snarb 87,Snarb 89,Foo 88}}
in modern engineering practice shows the importance of ``fuzzy thinking.''

\begin{thebibliography}{Snarb 99}
\bibitem[A. Snarb, J. Irr.\ Res.\ {\bf 29}, 25926(1987)]{Snarb 87}
Snarb, A., 1987, ``The Finagle Factor in the Workplace,'' 
J. Irr. Res. {\bf 29} 25926.

\bibitem[A. Snarb, J. Irr.\ Res.\ {\bf 31}, 31416(1989)]{Snarb 89}
Snarb, A., 1989, ``The Finagle Factor in Desktop
Publishing,'' J. Irr. Res. {\bf 31} 31416.

\bibitem[B. Foo, J. Irr.\ Res.\ {\bf 30}, 28183(1988)]{Foo 88}
Foo, B., 1988, ``The Finagle Factor in Journal Acceptance Rates,''
J. Irr. Res. {\bf 30} 28183.
\end{thebibliography}
\end{document}

prints, as footnote 1, 
  A. Snarb, J. Irr. Res. {\bf 29}, 25926(1987); A. Snarb, J. Irr. 
  Res. {\bf 31}, 31416(1989); B. Foo., J. Irr. Res. {\bf 30}, 28183(1988).''
with full honors in the bibliography.  

Almost perfect; but what I really need is something like
  A. Snarb, J. Irr. Res. {\bf 29}, 25926(1987); {\bf 31}, 31416; B. Foo. 
  {\sl ibid}. {\bf 30}, 28183(1988).

Anyone have any clever ideas for doing this??

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

Date: Fri 15 Sep 89 12:28:29-MDT
From: "Nelson H.F. Beebe" <Beebe@SCIENCE.UTAH.EDU>
Subject: Landscape version of testpage.tex
Keywords: LaTeX, landscape mode, testpage.tex

For testing landscape mode output in my DVI driver
development, I have prepared a landscape version of Leslie
Lamport's useful testpage.tex, called testland.tex; it is
given below.  It can also be retreived from aps:<tex.latex>
on science.utah.edu by anonymous ftp.

This was a straightforward, if tedious, exercise.  Perhaps
someone out there would care to parametrize both files to
work for arbitrary page sizes, instead of having fixed magic
numbers scattered throughout the code.

% -*-LaTeX-*-
% testland.tex - created 02 September 1989 from 20 July 1987 testpage.tex
% by Nelson H. F. Beebe
% Test landscape page positioning
% Copyright (C) 1987 by Leslie Lamport
%
% Test of how accurately printer reproduces dimensions specified
% by LaTeX output.
%
% Revised by Stephen Gildea to:
% make 10 tic marks instead of 9
% add a long rule through the tics to show the exact edge of the paper
% short tics on right-hand ruler positioned correctly
% some comments added

\documentstyle{article}
\pagestyle{empty}

\oddsidemargin  0pt
\evensidemargin 0pt
\marginparwidth 1in
\marginparsep 0pt

\topmargin 0pt
\headheight 0pt
\headsep 0pt
\topskip 0pt

\footheight 0pt
\footskip 0pt
\textheight 6.5in
\textwidth 9in
\setlength{\unitlength}{1in}
\newcounter{foo}
\begin{document}
\parindent 0pt
\begin{picture}(0,0)
\scriptsize
\put(0,-6.5){\framebox(9,6.5){}}
% left ruler
\put(0,-3.125){\line(-1,0){2.5}}
\multiput(-.1,-3.225)(-.1,0){10}{\line(0,1){.2}}
\multiput(-.05,-3.175)(-.1,0){10}{\line(0,1){.1}}
\setcounter{foo}{1}\multiput(-.1,-2.975)(-.1,0){9}{\makebox
                                 (0,0){\arabic{foo}}\addtocounter{foo}{1}}
% right ruler
\put(9,-3.125){\line(1,0){2.5}}
\multiput(9.1,-3.225)(.1,0){10}{\line(0,1){.2}}
\multiput(9.05,-3.175)(.1,0){10}{\line(0,1){.1}} %fixed mit-erl!gildea 13Feb86
\setcounter{foo}{1}\multiput(9.1,-2.975)(.1,0){9}{\makebox
                                 (0,0){\arabic{foo}}\addtocounter{foo}{1}}
% top ruler
\put(4.5,0){\line(0,1){2.5}}
\multiput(4.4,.1)(0,.1){10}{\line(1,0){.2}}
\multiput(4.45,.05)(0,.1){10}{\line(1,0){.1}}
\setcounter{foo}{1}\multiput(4.65,.1)(0,.1){9}{\makebox
                                 (0,0){\arabic{foo}}\addtocounter{foo}{1}}
% bottom ruler
\put(4.5,-6.5){\line(0,-1){2.5}}
\multiput(4.4,-6.6)(0,-.1){10}{\line(1,0){.2}}
\multiput(4.45,-6.55)(0,-.1){10}{\line(1,0){.1}}
\setcounter{foo}{1}\multiput(4.65,-6.6)(0,-.1){9}{\makebox
                                 (0,0){\arabic{foo}}\addtocounter{foo}{1}}
\end{picture}
\vfill
\mbox{}\hfill
\begin{minipage}{4in}
The frame on this page should be $9'' \times 6\frac{1}{2}''$.  When
printed on $8\frac{1}{2}'' \times 11''$ paper in landscape mode,
the frame should be one
inch from each edge of the paper.\\[10pt]
The rulers at the four edges will indicate how much of the page is
useable.  The large ticks are $.1''$ apart.
\end{minipage}
\hfill\mbox{}

\vfill
\mbox{}
\end{document}

X-Us-Mail: "Center for Scientific Computing, South Physics, University of Utah, Salt Lake City, UT 84112"
X-Telephone: (801) 581-5254

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

Date: Sat, 26 Aug 89 10:17 EST
From: <LEAHEY@FORDMURH>
Subject: Landscape mode in LaTeX
Keywords: LaTeX, landscape

To do landscape in latex, in first preamble line use: \special{\landscape()}.
After latexing and dvi-ing, change paper form to 11 x 8 1/2 before printing.

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

Date: Sun, 10 Sep 89 21:32:23 -0700
From: LARS::NEWSLETTER    8-JUN-1989 10:02
Subject: Produces output in landscape mode
Keywords: output, landscape mode

% Produces output in landscape mode.
% In other words, the output is read along the height of the page.
% \special{landscape()} format is declared BEFORE the \documentstyle.
% You may NOT produce a document with both landscape and portrait modes.

\special{landscape()}
\documentstyle[12pt]{article}
\topmargin -.5in
\hsize 8.5truein
\vsize 6.5truein
\pagestyle{empty}
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\renewcommand{\thempfootnote}{\fnsymbol{mpfootnote}}
\begin{document}

\input chart.TEX

\end{document}

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

Date: Sat, 26 Aug 89 11:34 EST
From: <LEAHEY@FORDMURH>
Subject: Endnotes.style
Keywords: endnotes

% Use \endnote{1}{text}. At the end of your document, type
% \producenotes to actually flush all end notes to be printed.
%
% macros for making endnotes instead of footnotes
% We make @ signs act like letters, temporarily, to avoid conflict
% between user names and internal control sequences of plain format.
\catcode`@=11
\newbox\endnotebox
\def\setendnotefont#1{\gdef\endnotefont{#1}}
\setendnotefont{\rm}
\def\endnote#1{\let\@sf\empty
  \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\/\fi
  #1\@sf\vendnote{{#1}}}
\def\vendnote#1{\global\setbox\endnotebox=
   \vbox{\parindent=0pt\endnotefont\unvbox\endnotebox\bgroup
   \indent\llap#1\ignorespaces\futurelet\next\aftergroup\no@te\relax}}
\def\no@te{\ifcat\bgroup\noexpand\next \let\next\n@@te
  \else\let\next\n@t\fi \next}
\def\n@@te{\bgroup\aftergroup\@endnote\let\next}
\def\n@t#1{#1\@endnote}
\def\@endnote{\strut\egroup}
%
\newcount\enotecounter
\def\resetenotecount{\global\enotecounter=0 } \resetenotecount
\def\setenotecount#1{\global\enotecounter=#1 }
%
\def\setendnoteflagfont#1{\gdef\endnoteflagfont{#1}}
\setendnoteflagfont{\sevenrm}
\def\enote{\unskip
  \global\advance \enotecounter by 1  % First bump the counter.
  % Now convert the current value of the counter into a superscripted numeral
  \endnote{{$^{\hbox{\endnoteflagfont\the\enotecounter}}$}}}
%
\def\producenotes{%
\ifvoid\endnotebox\else\medskip\unvbox\endnotebox\par\fi}
\catcode`@=12 % at signs are no longer letters

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

Date: Sat, 2 Sep 89 19:29 EST
From: Henning Schulzrinne <HGSCHULZ@cs.umass.EDU>
Subject: Almost verse
Keywords: TeX, environment, centering, paragraph

I would like to create the following environment:
o lines are terminated by \\
o input lines that are broken across lines should have the second and
  subsequent lines indented, say, 1.5 em
o no centering, no space at beginning
o no paragraph indentation

The second requirement corresponds to what the verse environment does to
long lines in a ``poem''. Unfortunately, it also centers the ``poem''
and adds extra space at the beginning. 

Example:
\begin{indented}                      first line
first line\\                          long line that
long line that wraps around\\  ==>>     wraps around
third line                            third line
\end{indented}

Any help, directly or through TeXhax, is greatly appreciated.

Henning Schulzrinne  (HGSCHULZ@CS.UMASS.EDU)
Department of Electrical and Computer Engineering
University of Massachusetts at Amherst
Amherst, MA 01003 - USA

phone: (413) 545-3179 (EST)       FAX:   (413) 545-0724

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

Date: Tue, 5 Sep 89 16:48:04 PDT
From: seth%miro.Berkeley.EDU@berkeley.edu (Seth Teller)
Subject: Dvi2ps output previewer-suitable postscript?
Keywords: dviware, previewer, PostScript

a friend at berkeley referred me to this mailing list as a possible
source of expert help with a latex/dvi/postscript question, namely:

the version of 'dvi2ps' in use here seems to insert a lot of
laserwriter-specific commands into its output.  the laserwriter
prints it perfectly, but if the output is instead fed to a 
postscript previewer ('psview', running on an sgi box), the 
previewer dies horribly, sometimes taking the window system
(and once the kernel) with it.

i agree that no previewer should do this.  unfortunately, i doubt
a better one is forthcoming from sgi.  i heard a rumor that a
dvi2ps exists which generates more amenable postscript.  is this
the case?  if so, where can i find it?

thanks for your time, hope this question hasn't been asked and
answered too much already.

seth teller

seth@miro.berkeley.edu
ucbvax!miro.berkeley.edu!seth

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

Date: Wed 6 Sep 89 00:40:47-CDT
From: Clive Dawson <AI.CLIVE@MCC.COM>
Subject: Latest version of DVIIMP
Keywords: DVIIMP, TOPS-20

Does anybody have a recent version of DVIIMP (for TOPS-20, preferably)
which understands the various "special" commands used in figures
generated by the FIG package?

Thanks,

Clive Dawson

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

Date: Wed,  6 Sep 89  13:17:34 EET
From: Takst%GRATHUN1.BITNET@UWAVM.ACS.WASHINGTON.EDU
Subject: Dvi printing problems
Keywords: dviware, printing, problems

   My name is Takis Stamatopoulos and I work at the University of
Athens.
   Some weeks ago I started to install TeX on a Sun 3/60 under
SUNOS 4.0. As far as this installation is concerned everything
seems to be okey. My problem is that the only printers that I have
available are a STAR NL-10, an APPLE Imagewriter LQ, and a
HP LaserJet Series II. Since I don't have any dvi-driver for the
previous printers, I cannot get hard copies of dvi-files.
   Do you have any suggestions?
   Thank you very much in advance.
        Takis Stamatopoulos
         takst@grathun1.bitnet
         stamatop&grathdem.bitnet

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

Date: Wed, 6 Sep 89 16:54 EST
From: Steve Bradtke <BRADTKE@cs.umass.EDU>
Subject: Psfig and Mac postscript troubles
Keywords: Psfig, Mac, PostScript

	I've installed the latest version of Trevor Darrell's psfig
package for including PostScript images in a LaTeX document.  All of
the examples Trevor gives seem to work just fine, including the
figures he generated from Macintosh pictures.  However, I am unable to
use any of my own Mac-generated PostScript images.  The specific error
I get is that the operator ``waittimeout'' is undefined.  But removing
all reference to ``waittimeout'' just results in a message informing
me that the operator ``and'' has been applied to the wrong type
argument!!

	The two printers that I've tried this on are DEC's LPS40 and
LN03R ScriptPrinter.

	I'm using dvi2ps-li as obtained via ftp from
linc.cis.upenn.edu.

	I've tried Mac-generated PostScript from MacDraw II, MacDraft
1.2a, Cricket Draw 1.1, Canvas 1.01, and Canvas 2.0.  I notice that
the examples Trevor gives of Mac-generated PostScript include the line

	%%IncludeProcSet: "(AppleDict md)" 68 0

while all of mine include the line

	%%IncludeProcSet: "(AppleDict md)" 65 0

It seems likely that we don't have the right system software on our
Macs.  Perhaps we've got an old system or laserprep file.  If so,
where do we get the current versions?

	Please let me know if you've had any (positive) experience in
porting psfig to work on a DEC printer, or if you have any
suggestions on how to configure our Macs so that they'll work with
psfig.

	Any information would be helpful!

Thanks,

Steve

Steven Bradtke
Computer and Information Science Department
Lederle Graduate Research Center
University of Massachusetts at Amherst
Amherst, MA 01003

bradtke@cs.umass.edu

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

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