[comp.text] TeXhax Digest V89 #39

TeXhax@cs.washington.edu (TeXhax Digest) (05/12/89)

TeXhax Digest    Monday, April 24, 1989  Volume 89 : Issue 39

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:         

                              French quotation marks
                Underlined font (was re: problem with \underline)
                               Re: info on TeX fonts
                                Tib under CMS sought
                        Re: LaTeX: Problem with \figure/\ref
                        \uppercase\ss problem (TeX and LaTeX)
                          How do you do sidelining in LaTeX?
                       Help on including MacDraw files in LaTeX
                                 Emacs and TeX-mode
                               Acm proceedings style
                       RUMDJET - A DVI Driver for the HP DeskJet
                              DVIEPS for the Atari ST

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

Date: Wed, 19 Apr 89 17:23:21 -0400
From: lang@PRC.Unisys.COM
Subject: French quotation marks
Keywords: TeX, fonts

Does anyone have a way of creating in TeX the
French quotation marks known as "guillemets"?
The best thing that I've been able to do is
to use $\ll$ and $\gg$, but that's not real good.
Any help greatly appreciated.

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

Date: Wed, 19 Apr 89 10:01:57 CDT
From: Don Hosek <U33297%UICVM.UIC.EDU@UWAVM.ACS.WASHINGTON.EDU>
Subject: Underlined font (was re: problem with \underline)
Keywords: fonts

Individuals interested in designing their own underlined font may
want to look at the "italic" font in the cmpica family (from collection
tex-fonts at Clarkson). At the end of cmpicati.mf is a bit of extra
code which adds an underline.

 dh

    Don Hosek           Internet: U33297@UICVM.UIC.EDU
    3916 Elmwood        Bitnet: U33297@UICVM.BITNET
    Stickney, IL 60402          DHOSEK@YMIR.BITNET
    Work: 312-996-2981  UUNet: dhosek@jarthur.claremont.edu
                        JANET: U33297%UICVM.UIC.EDU@UK.AC.EARN-RELAY

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

Date: Wed, 19 Apr 89 09:54:28 CDT
From: Don Hosek <U33297%UICVM.UIC.EDU@UWAVM.ACS.WASHINGTON.EDU>
Subject: Re: info on TeX fonts
Keywords: TeX, fonts

TeXMaG V2N2 has an article which summarizes the different TeX font
formats and their relationships. There is also an article in TeXMaG
V3N2 which describes graphic and font formats with a somewhat broader
scope (covering things like X-windows etc.). Both back issues may
be obtained from the Clarkson archive (via FTP in pub/texmag on
sun.soe.clarkson.edu or via e-mail send a message with the lines
path (an e-mail path from Clarkson to you)
help
to archive-server@sun.soe.clarkson.edu for information.

 dh

    Don Hosek           Internet: U33297@UICVM.UIC.EDU
    3916 Elmwood        Bitnet: U33297@UICVM.BITNET
    Stickney, IL 60402          DHOSEK@YMIR.BITNET
    Work: 312-996-2981  UUNet: dhosek@jarthur.claremont.edu
                        JANET: U33297%UICVM.UIC.EDU@UK.AC.EARN-RELAY

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

Date: Tue 18 Apr 89 19:56:38-PDT
From: Andras Kornai <KORNAI@CSLI.Stanford.EDU>
Subject: Tib under CMS sought
Keywords: Tib, CMS

Does anyone have a version of Tib that would run under CMS? Please 
reply directly to me (kornai@csli.stanford.edu, KORNAI@SUWATSON.bitnet) --
I will summarize the results (if any) later.

Thank you,

Andras Kornai

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

Date: Fri, 21 Apr 89 11:30:18 CDT
From: Don Hosek <U33297%UICVM.UIC.EDU@UWAVM.ACS.WASHINGTON.EDU>
Subject: Re: LaTeX: Problem with \figure/\ref
Keywords: LaTeX, \figure/\ref

The problem is that you are using \label BEFORE \caption. (If you look
it up in the LaTeX manual, you'll see that the \label command should
either be in the argument to \caption or immediately follow it).

The reason you are getting the results that you are is that comands like
\section, \chapter, and \caption each set a value that is used by
\label for later use by \ref. The most recent label-setting command determines
what will be later output using \ref.

 dh

    Don Hosek           Internet: U33297@UICVM.UIC.EDU
    3916 Elmwood        Bitnet: U33297@UICVM.BITNET
    Stickney, IL 60402          DHOSEK@YMIR.BITNET
    Work: 312-996-2981  UUNet: dhosek@jarthur.claremont.edu
                        JANET: U33297%UICVM.UIC.EDU@UK.AC.EARN-RELAY

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

Date: 20 APR 89 12:46:27
From: Z3000PA%AWITUW01.BITNET@UWAVM.ACS.WASHINGTON.EDU
Subject: \uppercase\ss problem (TeX and LaTeX)
Keywords: TeX, LaTeX

I have encountered a servere problem with \uppercase
(which is used, e.g., in LaTeX's `headings' page style):
In words like

         Stra\ss e

the \ss remains in its lower case form:

         STRA\ss E

which is definitely wrong.
The uppercase version of `\ss' should be `SS' (two capital S charcters):

         STRASSE

How can this be accomplished???

                      Hubert Partl, TU Wien

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

Date: Thu, 20 APR 89 11:40:46 BST
From: AJSCU%VAXA.STIRLING.AC.UK@UWAVM.ACS.WASHINGTON.EDU
Subject: How do you do sidelining in LaTeX?
Keywords: LaTeX, sidelining

How do you do "sidelining" in LaTeX ? That is, place a vertical bar in
the left margin opposite text which has (for example) changed since
the last draft of the document.

Alistair Scolley,        ( AJSCU@VAXA.STIR.AC.UK )
Computer Unit,
University of Stirling,
Stirling,
Scotland FK9 4LA

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

Date: Tue, 18 Apr 89 19:59:23 CDT
From: yatin@cs.utexas.edu (Yatin Mundkur)
Subject: Help on including MacDraw files in LaTeX
Keywords: MacDraw, LaTeX

How does one include a macdraw file in latex, using psfig ? The way I was 
advised is

\input{psfig}
\begin{figure}
\centerline{\psfig{figure=fig.ps,prolog=mac.pro}}
\end{figure}

This does not seem to work, as macdraw puts out an encapsulated format of ps
and expects the file to be printed out by itself and does not allow inclusion
in any other file. Is this right? Do you have any solutions around it? Any
help will be appreciated.

  Yatin.

ps: Above method works for ps-files produced thru other means.

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

Date: 18-APR-1989 14:16:14.10
From: BROUARD@FRINED51
Subj: Emacs and TeX-mode
Keywords: TeX, Emacs

GNU-emacs from R.Stallman has a very useful command within TeX-mode:
it compiles and views a selected region of a larger TeX
source file. Its mainly use is for big equations, large tables or LaTeX
figures. Let us show briefly how the command works:
Your current buffer must have two (comments) lines which will
correspond to the header of a temporary file:
       %**start of header
         \documentstyle...
         \def\toto...
         \begin$document
       %**end of header
 Then the command appends your selected region and a last line like
"\end$document" (which can be easily changed) to that temporary
file. Once the temporary file is created, the command is a simple
push command which can be either a compilation of the temporary file
or, if you have a bitmap screen, a compilation and a viewing of the
dvi file.

        On X/windows, it is nice to have the viewing of your
selected region on another small non overlapping window. A simple
keystroke Control_c Control_r does the all thing in the background.
If you don't really trust in the display of your mathematical equations
it is then very easy to have the screen proof. WYSIWYG arguments
against TeX are then very poor in my opinion.

This facility was not possible on MS/DOS until now because of the
memory used by TeX. Even with a powerful emacs-editor like jove (public
domain) or epsilon (distributed by Lugaru Software), which can push a
DOS command from editor the free memory was too small. With the new
version 4 of epsilon, the push command give the same amount of memory
than before loading the editor (it needs place on hard disk or
virtual disk to swap), it is then possible to push a make command
(pcmake public domain from N. BEEBE et al.) with a TeX compilation
and a fast previewing (cdvi 1.2 public domain from W. Sullivan)
without leaving the editor and its environment.

I have then written some codes (epsilon macros are written in a C
language) to compile and views a selected region of LaTeX source from a
big file without leaving the editor.
People interested in receiving the "tex.e" file can ask me. This file
includes also other commands:
The most important command is "tex-nexterr" which looks at the log
file output by a compilation by TeX or LaTeX and finds in a first pass all
the errors (line beginning with "!"), and edits and points to the
wrong line of the corresponding file (even if the error ocurred in
another file than the current one). In a second pass it looks at LaTeX
warnings (citation, cross reference, etc). In a third pass it looks at
over/underfull boxes. For second and third passes the command works
well only if the information on single lines or paragraph lines are
available from  Knuth's log file.

This macro command has not been translated to Lisp for GNU emacs, if
someone is interested in translation...

I have also written a LaTeX mode for epsilon and GNU emacs which
is widely used here at INED. It consists in simplifications for
writing \begin$ \end$, etc and some templates for initializations
of latex (article, letter and slitex), for tables and figures, etc. Other
templates and help concern bibtex.

The C code for epsilon and Lisp code for GNU can be requested to:

        Nicolas BROUARD
        Institut National d'Etudes D\'emographiques
        27, rue du Commandeur
        75675 PARIS Cedex 14

Bitnet or Earn  <Brouard@frined51>

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

Date: Tue, 18 Apr 89 17:08:36 BST
From: Sebastian Rahtz <spqr%electronics-and-computer-science.southampton.ac.uk@NSS.Cs.Ucl.AC.UK>
Subject: Acm proceedings style
Keywords: LaTeX, acm

% as i recall it, this is a hack of the LaTeX `proc' option for use
% in preparing things for ACM
% 
% it may amuse people
%
%LaTeX style
% acm.sty, sebastian rahtz, march 1989, based on
% proc.sty 24-Sep-85
%
\typeout{Document Style Option 'acm' -- based on 'proc' 9/3/89}
%
%
 \oddsidemargin -13pt \evensidemargin -13pt
 \topmargin -47pt \headheight 12pt \headsep 25pt \footheight 12pt \footskip
75pt 
%
\textheight 9in \textwidth 6.99in \columnsep .33in \columnseprule 0pt 


\def\@oddhead{}\def\@evenhead{}
\def\@oddfoot{\rm\rightmark \hfil Page \thepage}
\def\@evenfoot{\@oddfoot}


\def\maketitle{\par
 \begingroup
 \def\thefootnote{\fnsymbol{footnote}}
 \def\@makefnmark{\hbox 
 to 0pt{$^{\@thefnmark}$\hss}} 
 \twocolumn[\@maketitle] 
 \@thanks
 \endgroup
 \setcounter{footnote}{0}
 \let\maketitle\relax
 \let\@maketitle\relax
 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
\def\@maketitle{\vbox to 2.25in{\hsize\textwidth 
 \linewidth\hsize \vfil \centering
 {\LARGE \@title \par} \vskip 2em {\large \begin{tabular}[t]{c}\@author
\end{tabular}\par} 
 \vfil}}

\def\copyrightspace{\footnotetext[0]{\mbox{}\vrule height .80in width 0pt}}

\def\abstract{\section*{Abstract}}
\def\endabstract{\par}

\twocolumn 
\sloppy
\parindent 1em
\leftmargini 2em
\leftmargin\leftmargini 
\leftmarginv .5em
\leftmarginvi .5em
\flushbottom

%LaTeX style

% bk9.sty oct 19 1987 spqr
\lineskip 1pt \normallineskip 1pt
\def\baselinestretch{1}

\def\@normalsize{\@setsize\normalsize{9pt}\ixpt\@ixpt
\abovedisplayskip 10pt plus2pt minus5pt\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6pt plus3pt minus3pt}
\def\small{\@setsize\small{10pt}\viiipt\@viiipt
\abovedisplayskip 8.5pt plus 3pt minus 4pt\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus2pt\belowdisplayshortskip 4pt plus2pt minus 2pt
\def\@listi{\topsep 4pt plus 2pt minus 2pt\parsep 2pt plus 1pt minus 1pt
\itemsep \parsep}}
\def\footnotesize{\@setsize\footnotesize{8.5pt}\viipt\@viipt
\abovedisplayskip 6pt plus 2pt minus 4pt\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus 1pt\belowdisplayshortskip 3pt plus 1pt minus
2pt
\def\@listi{\topsep 3pt plus 1pt minus 1pt\parsep 2pt plus 1pt minus 1pt
\itemsep \parsep}}
\def\scriptsize{\@setsize\scriptsize{7pt}\vipt\@vipt}
\def\tiny{\@setsize\tiny{6pt}\vpt\@vpt}
\def\large{\@setsize\large{13pt}\xipt\@xipt}
\def\Large{\@setsize\Large{15pt}\xivpt\@xivpt}
\def\LARGE{\@setsize\LARGE{18pt}\xviipt\@xviipt} % should be xvi
\def\huge{\@setsize\huge{22pt}\xxpt\@xxpt} % should be xviii
\def\Huge{\@setsize\Huge{25pt}\xxvpt\@xxvpt} % should be xxii
\normalsize 

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

Date: Wed, 19 Apr 89 15:52:07 EDT
From: Brian Holmes <BHOLMES%WAYNEST1.BITNET@UWAVM.ACS.WASHINGTON.EDU>
Subject: DVIEPS for the Atari ST
Keywords: dviware, Atari ST

After looking through the list of DVI drivers, I noticed that
a version exists for the Atari ST.  When I looked through the
files on SCIENCE.UTAH.EDU I was really confused.  I couldn't
find a README file explaining what files I needed to FTP to get
DVIEPS up and running.  Are there executables there?  What files
do I need to GET to compile it for an Atari ST?
                                          Brian!

*******************************************************************
*    Brian Holmes                  \    /                ___      *
*    Wayne State University         \/\/su              |   |     *
*    Detroit Michigan                               ____|   |____ *
*                                                   |   |   |   | *
*  BITNET   : BHOLMES@WAYNEST1                      |   |   |   | *
*  INTERNET : Brian_Holmes@UM.CC.UMICH.EDU          |   |   |   | *
*  UUCP     : {UMIX|ITIVAX}!WAYNE-MTS!BRIAN_HOLMES  ============= *
*******************************************************************

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

Date: Tue, 18 Apr 89 10:06:22 MES
From: Wolfgang Kaspar <URZ86%DMSWWU1A.BITNET@UWAVM.ACS.WASHINGTON.EDU>
Subject: RUMDJET - A DVI Driver for the HP DeskJet
Keywords: dviware, HP DeskJet

RUMDJET -- A DVI Driver for the HP DeskJet
============================================

W. Kaspar / H.-W. Kisker
Westf\"alische Wilhelms Universit\"at M\"unster
Universit\"atsrechenzentrum
April 1989

RUMDJET (RUM = Rechenzentrum der Universit\"at M\"unster) is a DVI
driver for the HP DeskJet printer. It is part of an extensive \TeX
toolkit which one of us (H.-W. Kisker) has developed during the last
year for the IBM PC.

The driver is a dedicated version for IBM PC compatible computers
running MS-DOS. Although it is derived from Beebe's DVI driver family,
no efforts have been made to achieve portability to other hardware or
other operating systems.

The state of the software is preliminary. The runtime behaviour is
rather stable indeed, but the program is still under development. Above
all the source code at the time is not up to our normal standard and
will not be distributed by default. For those who are courageous enough
to deal with more or less `writeonly' code, the sources are available on
special request. The final version of the driver including the sources
will be available together with the above mentioned \TeX\ toolkit in a
few month.


Notes on Concepts and Facilties
-------------------------------

The HP DeskJet is a pleasingly silent printer which offers an excellent
300 dpi print quality at a very attractive price. We consider it as a
low cost laser printer alternative for everybody's everyday use. The
greatest disadvantage is that by default the printer comes without a
single byte of RAM for downloading fonts. Even upgrading it with the
maximum of two RAM cartridges will supply no more than 256 KB of font
storage. For many documents this amount is far away from being
sufficient. Therefore most of the print job has to be done in grafic
mode. Unfortunately this brings two unpleasent aspects into account.
First the driver has to manage a rather great bitmap (over 1 MB for a
default DIN A4 page) and second printing in high resolution grafic mode
is a very dull affair.

Both problems can be solved by reducing the resolution to 150 or even
100 dpi. RUMDJET offers this possibility as an option. For high quality
output, however, the 300 dpi resolution is indispensable. This demands a
careful handling of storage. The usual approach of swapping the bitmap
to disk led to an unacceptable increase of processing time. Better
results we obtained by deviding the page from top to bottom into several
pieces which were processed and printed independently. The multiple
reading of the dvi file can be almost neglected.

Some other points concerning the driver software should be mentioned:

 o  RUMDJET does not need any swap space on disk. For us this point is
    rather important. All of the university PCs are connected to a
    campus network. Via the network, software including \TeX\ can be
    loaded, but there is no disk capacity to store private data. So all
    the micro computers which are equiped just with a floppy disk drive
    can run \TeX\ and RUMDJET, but cannot store a great bitmap.

 o  The output can be directed to a printer immediately. This helps to
    avoid the creation of big printer output files. RUMDJET is able to
    compute the next output part while the DeskJet is processing its
    internal print buffer. So the printer is busy without any
    interruption.

 o  An arbitrary number of arbitrary large fonts can be used in a
    document. If the RAM-storage is not sufficient to hold a character
    image, the image is ored line by line into the current bitmap
    immediately. The above mentioned toolkit contains a set of programs
    to insert pictures created by normal PC software into a \TeX\
    document. This is achieved by making a special font with possibly
    very large characters of every picture. RUMDJET can handle those
    fonts independent of their sizes.

 o  The output can be sent to a HP LaserJet of an arbitrary version as
    well.

 o  For a quick look at the printed document the resolution can be
    reduced to 150 or 100 dpi. This leads to a noticeable decrease of
    printing time and printfile size.


Implementation Efficiency
-------------------------

According to Beebe we measured the runtime for processing this document
on a ACER 1100. The ACER 1100 is a 386 based micro computer running at
16 MHz. Here are the results:

              Operation            time         size
          (using PK fonts)         (sec)      (kbytes)
         ----------------------------------------------
          RUMDJET (300 dpi)        100          942
          RUMDJET (150 dpi)         67          271
          RUMDJET (100 dpi)         50          134
          DVIJEP (300 dpi)          62           60
          DVITOS (180 dpi)         176          827
         ----------------------------------------------

The values for DVIJEP and DVITOS have been added for comparison.


Outlook
-------

The \TeX\ toolkit for the PC which we mentioned above will be ready for
distribution in the second part of 1989.

It will consist of:

 o  the DVI driver RUMDJET for the HP DeskJet (300, 150 and 100 dpi),

 o  the DVI driver RUMNEC for the NEC P5/P6/P7 printer family (360 and
    180 dpi),

 o  the DVI driver RUMVIEW for a wide range of video cards including
    those with 1024x768 pixel resolution,

 o  the Program  ADI2PXL which converts Autodesk's ADI pixel file
    format into \TeX\ fonts,

 o  a set of conversion programs which converts the grafic output of
    nearly every PC Program to ADI file format and

 o  a set of utility programs to manipulate ADI files and \TeX\ fonts
    including a font editor.

The RUMDJET driver itself will be extended by several additional
features for example the possibility to specify a list of pathnames for
searching pixel or TFM files.

Although we consider the released preliminary version of RUMDJET
to be rather stable, we are of course highly interested in bugs or
malefunctions which will show up during everyday use. Please don't
hesitate to write us if you run into an error.


Obtaining the Programm
----------------------

   o  Get it from the file server {\tt listserv@dhdurz1.bitnet}.

   o  Send one of the following formatted disks to the authors:

         3 1/2"    720 KB
         3 1/2"    1.44 MB
         5 1/4"    360 KB
         5 1/4"    1.2 MB


Addresses of the authors
------------------------

Postal mail:
       Wolfgang Kaspar                      H.-W. Kisker
       University of M\"unster              University of M\"unster
       University Computing Center          University Computing Center
       Einsteinstra\ss e 60                 Einsteinstra\ss e 60
       D-4400 M\"unster                     D-4400 M\"unster
       Federal Republic of Germany          Federal Republic of Germany
E-mail:
       urz86@dmswwu1a.bitnet                urz10@dmswwu1a.bitnet
phone:
       49 251 832473                        49 251 832467

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

%%% 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
%%%
%%% Concerning subscriptions, address changes, unsubscribing:
%%%  BITNET: send a one-line mail message to LISTSERV@xxx
%%%          where xxx is the nearest geographical site in the
%%%          tree shown below
%%%         SUBSCRIBE TEX-L <your name>    % to subscribe
%%%      or UNSUBSCRIBE TEX-L <your name>
%%% Here is the BITNET re-distribution tree as shown in a recent
%%% REVIEW (The geography is guessed at from the subscription list)
%%%
%%%                        CLVM    TAMVM1      FINHUTC
%%%                           |    |     (Finland, UK, Scand, CERN)
%%%                           |    |           |
%%%  TeXhax ----> UWAVM ----- MARIST ----- EB0UB011 ----- BNANDP11
%%%                           |     (France,Italy,Spain)  (Belgium)
%%%                           |                |
%%%                        UBVM      HEARN --- DEARN
%%%                              (Netherlands) (Germany)
%%%
%%% Internet: send a similar one line mail message to
%%%           TeXhax-request@cs.washington.edu
%%%     Please be sure you send a valid internet address!!
%%%        in the form name@domain or name%routing@domain
%%%     and use the style of the Bitnet one-line message, so that
%%%     we can find your subscription request easily.
%%%
%%% 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
%%%
%%% For further information about TeX Users Group services and publications
%%%  contact Karen at KLB@SEED.AMS.COM or write to TUG at
%%%   TeX Users Group
%%%   P.O. Box 9506
%%%   Providence, R.I. 02940-9506
%%%   Telephone      (401) 751-7760
%%%
%%% Current versions of the software now in general distribution:
%%%    TeX       2.95 (2.98 coming)    metafont  1.7
%%%    plain.tex 2.94                  plain.mf  1.7
%%%    LaTeX     2.09 ( 8/10/88)       cmbase.mf see cm85.bug
%%%    SliTeX    2.09                  gftodvi   1.7
%%%    tangle    2.9                   gftopk    1.4 
%%%    weave     2.9                   gftype    2.2
%%%    dvitype   2.9                   pktype    2.2 
%%%    pltotf    2.3                   pktogf    1.0
%%%    tftopl    2.5                   mft       0.3
%%%    BibTeX    0.99c                 
%%%    AmSTeX    1.1d
%%%\bye
%%%

End of TeXhax Digest
**************************
-------