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

TeXhax@cs.washington.edu (TeXhax Digest) (08/07/90)

TeXhax Digest    Monday,  August 6, 1990  Volume 90 : Issue 54

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:         

                          Hebrew in TeX (XeT)
                 Needed: Opinions on TeX for the Macintosh
                            LaTeX \vspace
                            Font sources
                    Hyphenation table for spanish
                       EDMAC discussion group
              New doublespace style option file--setspace.sty

-----------------------------------------------------------------------------
Date: Mon, 9 Jul 90 06:25:44 PDT
From: elizabet@gauss.stanford.edu (Elizabeth Harvey-723-0925)
Subject: Hebrew in TeX (XeT)
Keywords: TeX, Hebrew

Does anyone know about XeT, or a version of TeX that
goes from right to left and will handle Hebrew characters?
Elizabeth Harvey
elizabet@gauss.stanford.edu

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

Date: Mon, 2 Jul 90 09:33:41 -0400
From: abw@bucrsb.bu.edu (Al Wesolowsky)
Subject: Needed: Opinions on TeX for the Macintosh
Keywords: TeX, Macintosh

I have recently entered the Macintosh world and would like some
opinions on TeX packages for same. I am running a Mac SE with 5 meg
RAM and a 40 meg HD, so space should not be a problem. I have read the
comments on OzTeX, and the two major commercial releases of
Mac-flavored TeX, and would like to know what TeXhax readers have to
say.

Feel free to e-mail to me and, if there is enough interest, I will
submit a summary to the group.

Many thanks.
                                      ---Al

Replies to        abw%bucrsb@buacca.bu.edu
                            or
                  arc9arn@buacca

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

Date:  Thu, 28 Jun 90 14:57:19 MET
From: Victor Eijkhout <U641001%HNYKUN11@UWAVM.ACS.WASHINGTON.EDU>
Subject: LaTeX \vspace
Keywords: LaTeX, \vspace

The LaTeX macro \vspace is in effect

\def\vspace#1{\ifvmode %doesn't interest me at the moment
    \else \vadjust{\dimen0=\prevdepth
                   \vskip#1
                   \prevdepth=\dimen0}
    \fi}

First of all the \prevdepth is not influenced by vertical
glue in between boxes, so the juggling with \dimen0
seems unnecessary.

Secondly, the contents of a \vadjust item are processed in
internal vertical mode (proof: try
    \vadjust{\ifinner \message{hi de hi!}\fi}
) and as this is a separate vertical list the \prevdepth
is -1000pt (proof: try
    \vadjust{\vskip\prevdepth}
), so the whole construct seems wrong to me.

Now, am I missing something?

(thanx Marc and David van Leeuwen for putting
this as a riddle to me)


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 2986 (secretary)
   western spiral arm           fax: +31 80 55 3450
   of the galaxy"
                                u641001@HNYKUN11.BITNET
                                      ^
                                      note: changed

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

Date:     Mon, 25 Jun 90 8:27:39 PDT
From: JSLee <jslee@nrtc.northrop.com>
Subject:  Font sources
Keywords: font, souce

Does anyone know where I can get the Metafont sources for the AM and
CM fonts?
Date: Wed, 27 Jun 90 09:09:07 EDT
From: Gerald Edgar <edgar@function.mps.ohio-state.edu>
Subject: DVIM72-Mac

I tried out DVIM72-Mac.  It prints DVI files on an Imagewriter
from a Macintosh.  It works great.

Which of the file archives has the AMS fonts at 144dpi sizes?  I tried
Clarkson and Labrea without success.


  Gerald A. Edgar          
  Department of Mathematics             Bitnet:    EDGAR@OHSTPY
  The Ohio State University             Internet:  edgar@mps.ohio-state.edu
  Columbus, OH 43210   ...!{att,pyramid}!osu-cis!shape.mps.ohio-state.edu!edgar

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

Date: Fri, 22 Jun 90 20:57:49 MEX
From: Rafael Morales Gamboa <MORALES%UNAMVM1@UWAVM.ACS.WASHINGTON.EDU>
Subject: Hyphenation table for spanish
Keywords: Hyphenation, Spanish

The subject says all: Somebody would say me how can I obtain an
hyphenation table for spanish?  Please, send your answers
directly to me, because I am not yet subscribed to this mailing list.


Rafael Morales Gamboa
Centro de C'omputo
Facultad de Ciencias, UNAM
Circuito Exterior, Ciudad Universitaria
04570 M'exico, D. F.
MEXICO

BITNET: morales@unamvm1.bitnet

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

Date: Wed, 27 Jun 90 14:13:43 +0100
From: Dominik Wujastyk <ucgadkw@ucl.ac.uk>
Subject: EDMAC discussion group
Keywords: edmac, formatting, critical edition, text

Some readers may have heard a little about EDMAC.  This is a set of
Plain TeX macros that do much of what is required for the formatting
of a critical edition of a text.  The macros were written by John
Lavagnino, and some features were added later by Dominik Wujastyk,
who also took the opportunity to cast the macros in the format of
Mittlebach and Schoepf's DOC style.

The macros have been in use at a few sites for the last year or so,
and have -- by and large -- been doing OK.  But thanks to Mac Pigman III,
one of the users, John has been enabled to spend some concentrated time
on developing the macros further, and tidying them up. The rough agenda is
that the macros will be worked on during this summer, and we shall seek
publication (probably in TUGboat) at the end of the year.

I have established a network discussion group for the purpose of 
centralizing and coordinating this work, and to make it easy for
interested parties to participate with suggestions etc.  This   
discussion group is based at Newcastle in the UK, and is called
Mailbase.  It functions in a similar way to the more familiar LISTSERV
servers.   Anyone who is interested in listening in on the 
discussion as EDMAC develops is welcome to join, as is --of course--
anyone who would like to make suggestions.  Suggestions will be
of most use if they come from people who have already used EDMAC.
The macros already do quite a lot; and although we want them to 
be flexible and useful for critical editions, we don't want to 
fall foul of "creeping-featurism".

It is easy to join the EDMAC discussion list.  Send the mail 
message "subscribe edmac John Doe" to mailbase@newcastle.ac.uk,
substituting your names for "John Doe".  Thereafter, you will
recieve a user manual automatically, and be added to the group.
You will also be able to get copies of EDMAC and related files
from the mail server.

Here are some edited extracts from the users manual 
(NB  the email addresses quoted here are in the form appropriate to 
users on the UK Janet network; from elsewhere, reverse the string 
after the "@", so that the address is in "little-endian" format.
There may be more to it than this, depending on your mailer's 
intelligence):


Mailbase provides a facility to enhance group communication
via electronic mail. It does this by providing facilities
for people with access to electronic mail to join in
(subscribe to) discussions that take place via electronic
mail. The discussions are organised as electronic mail
distribution lists. These distribution lists have the
following major elements.

(1) An electronic mail address
     This uniquely identifies the discussion or mail
     distribution list.  This is the address to which
     contributions, in the form of electronic mail messages,
     are made to the discussion. For example, discussion
     about the EDMAC project takes place by sending
     contributions, via electronic mail to:
             edmac@uk.ac.newcastle
     This mail is then distributed to all of the members of
     the nisp distribution list.

(2) Members of the distribution list
     This is a list of electronic mail addresses each of
     which identifies a member of the distribution list.

(3) A list administrator or owner
     John Lavagnino and Dominik Wujastyk are responsible for
     carrying out the administrative functions associated
     with the EDMAC distribution list. As list owners they
     also act as a point of contact for problems or queries
     related to the list. The list owner is identified by an
     electronic mail address.
         edmac-request@uk.ac.newcastle

Using the Mailbase facilities
 ----- --- -------- ----------
Mailbase is a mail response program. This means that if you
send commands to it in the body of a mail message it will
execute them on your behalf. Information regarding the
success or otherwise of these commands is returned to the
user in the form of mail message. Commands that can be given
to Mailbase are described below. All commands should be sent
in the body of a mail message to the following
         Mailbase@uk.ac.newcastle
It is IMPORTANT that these commands be sent only to this
address and NOT to any of the mail distribution lists
managed by Mailbase. The commands are interpreted by a
computer program whereas mail to distribution lists is
meant, ultimately, for human consumption.

More than one command may appear in any one mail message to
Mailbase. The commands may appear in any order in UPPER,
lower, or MiXeD case. List owner commands must be preceded
by a "set" command as described below.

Problems or queries that require human intervention should
be addressed to:
       Mailbase-request@uk.ac.newcastle

Subscribing to Discussions
 ----------- -- -----------
The following command will add the user of it to a Mailbase
distribution list

Subscribe <listname> <firstname> <surname> [ HIDDEN | SEEN ]

A specific example of this general form is:

      Subscribe edmac Ron Chennells

This will add the mail address, taken from the message
header of the sender, to the edmac distribution list. The
names details given will also be recorded giving a possibly
more meaningful association between the members of a list
than electronic mail addresses alone. The optional words
"SEEN" or "HIDDEN" may be used to determine if a members
details are given in a subsequent "Review edmac" command. A
default of "SEEN" is implied if neither is given.

Leaving Discussions
 ------- -----------
To leave the discussion send the following command:
          Unsubscribe edmac


 Note new addresses:
 Dominik Wujastyk,         | Janet:                       D.Wujastyk@uk.ac.ucl 
 Wellcome Institute for    | Bitnet/Earn/Ean/Uucp:        D.Wujastyk@ucl.ac.uk
  the History of Medicine, | Internet/Arpa/Csnet:        dow@wjh12.harvard.edu
 183 Euston Road,          |           or:   D.Wujastyk%ucl@nsfnet-relay.ac.uk
 London NW1 2BN, England.  | Phone no.:                 +44 71 383-4252 ext.24  
-----------------------------------------------------------------------

Date: Thu, 28 Jun 90 09:43:42 CDT
From: "Erica Harris" <GA.EMH@ISUMVS.IASTATE.EDU>
Subject: New doublespace style option file--setspace.sty
Keywords: LaTeX, doublespace style option file

I would like to submit the following style option file as an alternative to the
doublespace file currently available from the Clarkson repository. It provides
three corrections (as well as additional commands/environments):

      1. In \@xfloat, \small\normalsize is replaced by \@normalsize.
      2. \let\doublespace=\endspacing is replaced by
         \let\enddoublespace=\endspacing
      3. The \vskip\parskip and \vskip-\parskip statements in the singlespace
         environment have been removed.  They are redundant in this context
         since \baselinestretch=1 will not cause \parskip to change when
         \@setsize is executed.

Erica Harris,                       Bitnet:   ga.emh@isumvs.bitnet
Iowa State University               Internet: ga.emh@isumvs.iastate.edu

%% FILE:   setspace.sty in SYS2.TEX.PUB.ISULATEX.STYLES
%% AUTHOR: Erica M. S. Harris
%% DATE:   April 1990
%% DESCR:  LaTeX Document style option "setspace"
%%         Usage:  \documentstyle[...,setspace,...]{...}
%%         Based on the doublespace option created by Stephen Page.
%%
%%         This style option provides commands and environments for doing
%%         double and  one-and-a-half spacing based on pt size.
%%
%%         Single spacing is the default.
%%
%%         Three commands, doublespacing, \onehalfspacing, and
%%         \singlespacing, are for use in the preamble to set the overall
%%         spacing for the document.  If a different spacing is required then
%%         the \setstretch{baselinestretch} command can be used in the
%%         preamble to set the baselinestretch appropriately.  The default
%%         spacing with this style option is single spacing.
%%
%%         Three environments, singlespace, onehalfspace, and doublespace,
%%         allow the spacing to be changed within the document.  Both the
%%         onehalfspace and doublespace environments are intended to increase
%%         the spacing, so the onehalfspace environment should not be used in
%%         a double spaced document.  If an increased spacing different from
%%         one-and-a-half or double spacing is required then the spacing
%%         environment can be used.  The spacing environment takes one
%%         argument which is the larger baselinestretch to use,
%%         e.g., \begin{spacing}{2.5}.
%%
%%         \footins is adjusted the same as \parskip - appears to work. Lose
%%         stretch parts but don't consider that to be crucial
%%
%%         Removed code for altering spacing before and after displayed
%%         equations - just looked too much.
%%
%% MODS:
%%
%% PLEASE REPORT ANY BUGS
%%
%%   Old Documentation follows:
%%         1. A new environment "singlespace" is provided, within which single
%%            spacing will apply.
%%            JFL - changed so that it works in regular text and so that
%%            vertical space before and after is correctly computed
%%         2. Double spacing is turned off within footnotes and floats (figures
%%            and tables).
%%         3. Proper double spacing happens below tabular environments and in
%%            other places where LaTeX uses a strut.
%%         4. Slightly more space is inserted before footnotes.
%%         5. JFL - fixes spacing before and after displayed math
%%
%%
%%    mods:   Jean-Francois Lamy
%%            lamy@ai.toronto.edu
%%            lamy@utai.uucp
%%
%% POSSIBLE BUGS:
%%    . Increasing struts may possibly cause some other obscure part of
%%      formatting to fall over.
%%    . \begin{singlespace}\begin{quote} produces the wrong spacing before
%%      the quote (extra glue is inserted).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%---Set up double spacing

\def\doublespacing{\ifcase \@ptsize \relax % 10pt
    \def\baselinestretch{1.667}
  \or % 11pt
    \def\baselinestretch{1.618}
  \or % 12pt
    \def\baselinestretch{1.655}
  \fi}
\doublespacing % the default

\def\onehalfspacing{\ifcase \@ptsize \relax % 10pt
    \def\baselinestretch{1.25}
  \or % 11pt
    \def\baselinestretch{1.213}
  \or % 12pt
    \def\baselinestretch{1.241}
  \fi}

\def\singlespacing{\def\baselinestretch{1}}

\def\setstretch#1{\renewcommand{\baselinestretch}{#1}}

%---Stretch the baseline BEFORE calculating the strut size. This improves
%   spacing below tabular environments etc., probably...
%   Comments are welcomed.

\def\@setsize#1#2#3#4{\@nomath#1 \let\@currsize#1 %
   \baselineskip #2 %
   \baselineskip\baselinestretch\baselineskip
   \parskip\baselinestretch\parskip
   \setbox\strutbox\hbox{\vrule height.7\baselineskip
      depth.3\baselineskip width\z@}%
   \skip\footins \baselinestretch\skip\footins
   \normalbaselineskip\baselineskip#3#4}

%---Increase the space between last line of text and footnote rule.
%\skip\footins 20pt plus4pt minus4pt

%---Reset baselinestretch within footnotes and floats.

\def\@xfloat#1[#2]{\ifhmode \@bsphack\@floatpenalty -\@Mii\else
   \@floatpenalty-\@Miii\fi\def\@captype{#1}\ifinner
      \@parmoderr\@floatpenalty\z@
    \else\@next\@currbox\@freelist{\@tempcnta\csname ftype@#1\endcsname
       \multiply\@tempcnta\@xxxii\advance\@tempcnta\sixt@@n
       \@tfor \@tempa :=#2\do
                        {\if\@tempa h\advance\@tempcnta \@ne\fi
                         \if\@tempa t\advance\@tempcnta \tw@\fi
                         \if\@tempa b\advance\@tempcnta 4\relax\fi
                         \if\@tempa p\advance\@tempcnta 8\relax\fi
         }\global\count\@currbox\@tempcnta}\@fltovf\fi
    \global\setbox\@currbox\vbox\bgroup
    \def\baselinestretch{1}\@normalsize
    \boxmaxdepth\z@
    \hsize\columnwidth \@parboxrestore}

\long\def\@footnotetext#1{\insert\footins{\def\baselinestretch{1}\footnotesize
    \interlinepenalty\interfootnotelinepenalty
    \splittopskip\footnotesep
    \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
    \hsize\columnwidth \@parboxrestore
   \edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
    {\rule{\z@}{\footnotesep}\ignorespaces
      #1\strut}}}

% A single spaced quote (say) is done by surrounding singlespace with quote.
%
\def\singlespace{%
\vskip\parskip%
\vskip\baselineskip%
\def\baselinestretch{1}%
\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
\vskip-\parskip%
\vskip-\baselineskip}

\def\endsinglespace{\par}

%  spacing, doublespace and onehalfspace all are meant to INCREASE the
%  spacing (i.e. calling onehalfspace from within doublespace will not
%  produce a graceful transition between spacings)
%
\def\spacing#1{\par%
 \def\baselinestretch{#1}%
 \ifx\@currsize\normalsize\@normalsize\else\@currsize\fi}

\def\endspacing{\par%
 \vskip \parskip%
 \vskip \baselineskip%
 \endgroup%
 \vskip -\parskip%
 \vskip -\baselineskip%
 \begingroup}

% one and a half spacing is 1.5 x pt size
\def\onehalfspace{\ifcase \@ptsize \relax  % 10pt
     \spacing{1.25}
   \or % 11pt
     \spacing{1.213}
   \or % 12pt
     \spacing{1.241}
   \fi}
\let\endonehalfspace=\endspacing

% double spacing is 2 x pt size
\def\doublespace{\ifcase \@ptsize \relax % 10pt
    \spacing{1.667}
  \or % 11pt
    \spacing{1.618}
  \or % 12pt
    \spacing{1.655}
  \fi}
\let\doublespace=\endspacing

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

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