TeXhax Digest   Sunday, March 25, 1990  Volume 90 : Issue 33

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:         

                MacMetafont Author's Address (Victor Ostromoukhov)
                                     SLiTeX
                       Re: TeX DVI previewer on VAXstation
                             DVI previewer for NeWS
                                 JMB/NAR styles
                      Need help with insertions [repost]
                         TeX, mathematical operators
                            Extra spaces in LaTeX
                              LaTeX citations
                        help with two simple macros
                             Mailing envelopes
                      Re: tough multi-column question 
                       Problems with PubliC Metafont

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

Date: Mon, 12 Mar 90 18:09:35 EST
From: Peter Galko <PTRPB%UOTTAWA@UWAVM.ACS.WASHINGTON.EDU>
Subject: MacMetafont Author's Address (Victor Ostromoukhov)
Keywords: information

I wonder if anyone out there knows an E-mail and/or postal address for
Victor Ostromoukhov, the author of MacMetafont (one version of Metafont
running on the Macintosh).  Please reply directly to me at the E-mail
vaddress that appears on the signature. Thanks.


Prof. Peter Galko                         E-mail: PTRPB@UOTTAWA.BITNET
Department of Electrical Engineering
Room A-509, Colonel By Hall               Telephone: (613)-564-7097
770 King Edward Avenue                    FAX:       (613)-564-6882
University of Ottawa
OTTAWA, Ontario,   CANADA
K1N 6N5

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

Date: 12 Mar 90 11:07:00 EST
From: "V701::AUBUT" <aubut%v701.decnet%nusc.navy.mil@UWAVM.ACS.WASHINGTON.EDU>
Subject: SLiTeX
Keywords: SLiTeX

I am not a TeX user, however, our dept. works to support users on our VAX.
We have the TeX products on our system, including SLiTeX.  Recently, users have
been inquiring about SLiTeX.  I would appreciate any information you could
provide regarding the use of SLiTeX fo create slides.

Thank you for your time and help.

Kristine Aubut
Naval Underwater Systems Center, New London, CT
AUBUT@NUSC.NAVY.MIL

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

Date: Fri, 9 Mar 90 08:42 EST
From: "Kim A. Tan" <KATAN@CGRVAX.UWaterloo.CA>
Subject: Re: TeX DVI previewer on VAXstation
Keywords: previewer, VAXstation

<In TeXhax Vol 90 issue 27, boyce@sifvs3.SINet.SLB.COM (David Boyce)
wrote:> 

>I'm currently installing TeX on our system (VAX/VMS 4.7) and I'm looking
>for a previewer for UIS (or VWS) windows. If anyone knows of an
>archive-server or anonymous ftp that holds such a beastie, please send
>e-mail. I've had a look around ymir.claremont.edu, but there nothing
>there that seems immediately obvious. 

I have just installed a DVI previewer on our VAX/VWS 4.7. It is called 
DVIDIS, this can be found by anonymous ftp at power.eee.ndsu.nodak.edu 
(134.129.123.1) under the directory of [.tex.tex_source2.dvidis]. 
(BTW, I am not sure it is in tex_source1 or tex_source2 subdirectory!!).

DVIDIS uses either PK or PXL fonts format. It is for VAXstation only!!


Kim Tan
Centre for Groundwater Research  | InterNet: KATan@CGRvax.Waterloo.Edu
University of Waterloo           | Uucp    : ...!watmath!watmta!cgrvax!katan
Waterloo, Ontario                | BitNet  : KATan@CGRvax.UWaterloo.Ca
Canada  N2L 3G1                  | FidoNet : Kim Tan on 1:221/172.1004

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

Date: Wed, 21 Mar 90 09:05:12 PST
From: Alex Woo RAC <woo@pioneer.arc.nasa.gov>
Subject: DVI previewer for NeWS
Keywords: previewer, NEWs

Can someone point me to a DVI previewer for NeWS?  (The target machine
is an IRIS4D running 4sight.)

Thanks.

Alex Woo

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

Date: Wed, 7 Mar 90 12:06:20 EST
From: toms@ncifcrf.gov (Tom Schneider)
Subject: JMB/NAR styles
Keywords: style and bib files

Folks:  I have made the Journal of Molecular Biology (JMB) and Nucleic
Acids Research styles and bib (ie, .bst) files available by anonymous
ftp from ncifcrf.gov in the directory pub/delila.  The files are compressed.
The JMB style has the special feature I discribed in a previous posting:
if you \nocite{TitlesOn} then titles will appear in the references.
(You will need an article with a key TitlesOn.  In my previous posting
I said \cite{TitlesOn} --- which is not quite right because LaTeX will keep
objecting unless you use nocite.)

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

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

Date: Tue, 13 Mar 90 11:17:38 -0500
From: Larry Denenberg <larry@BBN.COM>
Subject: Need help with insertions [repost]
Keywords: TeX, LaTeX, insertions

I am trying to solve a formatting problem with TeX and have had incomplete
success.  I'm using plain TeX, but I'd also be interested to see solutions
using LaTeX.

Here's the query: I need to format displayed algorithms in a book I'm writing.
Algorithms appear only at the top of the page but may float like \topinserts,
and any number of algorithms may appear on a page.  The tricky part is that
algorithms are to be separated by a horizontal rule from the top of the page,
from each other, and from the subsequent text on the page.  For example, here
are layouts for pages with one and two algorithms:

        headline			        headline
        horizontal rule				horizontal rule
        algorithm text			        algorithm #1 text
        horizontal rule			        horizontal rule
        after-algorithm skip			algorithm #2 text
        rest of the page			horizontal rule
					        after-algorithm skip
						rest of the page

I can't see how to use \topinsert to do this, because the number of rules on a
page with $n$ algorithms should be $n+1$ and it seems that the number of rules
yielded by \topinsert will always be a multiple of $n$.  So the next step is
to make a new insertion class, say \algins, and to let each algorithm be an
\insert\algins that contains a rule followed by the algorithm text.  The
output routine then typesets the contents of \box\algins, followed by the
final rule and the after-algorithm skip.  It is also important to set
\skip\algins to ((height of rule) + (size of after-algorithm skip)); this
reserves the right amount of room for the stuff set by the output routine.

Now, the real problem: Since I want algorithms to float like \topinserts, I
make each individual algorithm insertion unbreakable but allow it to split for
free at the top (just like \topinsert).  Unfortunately, when such a split
happens, the page builder has already reserved \skip\algskip space on the
current page (cf. p. 123 of The TeXbook).  That is, when the first insertion
of class $n$ on a page is encountered, the goal height for the page is reduced
by \skip$n$ even when the insertion then splits at the top, so that there is
nothing at all above the break.  In my case, the page *before* the page on
which an algorithm is displayed often becomes underfull, since the page
builder reserves space for the rule and the after-algorithm skip but the
output routine doesn't typeset anything (it sees that \box\algins has height
zero and ignores it).  Clearly, this wouldn't be troublesome if the after-
algorithm skip were small, but unfortunately it's rather large (18pt).  By the
way, the insertion classes defined in plain TeX don't have this problem since
\skip\topins is zero anyway and a \footins always splits in such a way that
some text appears above the break.

I'd rather say nothing about my current imperfect (and kludgy) solution, since
(a) I'll be too embarrassed if there's a trivial answer, and (b) I don't want
to influence your thinking, if not.  I will point out that I have to deal with
footnotes and other normal \topinserts as well, since that fact complicates my
life slightly.  Any help would be welcome.

/Larry Denenberg
larry@bbn.com
larry@harvard.edu

(I can't resist adding one diatribe.  If TeX were still under development, I
would argue that the insertion handler needs another feature:  when \vsplit
produces an empty vbox---that is, the break happens right at the top---it
should make the result a *void* box, for symmetry with its action when the
break happens at the bottom.  In this case, the insertion handler should as
usual record the fact of a split insertion on the page, but should *restore
the old goal height* since the actual inserted material is null.  Ah, well.)

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

Date: Mon, 12 Mar 90 16:41:00 CST
From: "Erica Harris" <GA.EMH@ISUMVS.IASTATE.EDU>
Subject: TeX, mathematical operators
Keywords: TeX, mathematics

I have a user who wishes to be able to produce a couple of integrals very
similar to \oint but with a dash (-) or a double dash (=) through the integral
rather than a circle. I would like to be able to provide operators that are as
elegant and simple to use as \int and \oint however my expertise with TeX falls
short of constructing mathematical operators.

I would be grateful therefore if someone would be able to point me in the right
direction or provide me with code if they have already solved this problem
before.

Thanks in advance.

Erica Harris              Bitnet:   ga.emh@isumvs.bitnet
                          Internet: ga.emh@isumvs.iastate.edu

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

Date: 7 March 90, 15:17:55 CST
From: Adam-Floro-618-453-6238-CA1225@SIUCVMB-Dept.of-Computing-Affairs-Southern-Illinois-University-Carbondale,
        IL-62901%UWAVM.ACS.WASHINGTON.EDU:LISTSERV@UWAVM.BITNET
Subject: Extra spaces in LaTeX
Keywords: LaTeX, spaces

I'm a new subscriber...glad to be onboard|

We run the public domain TeX system on our VM/XA SP 2 operating
system on an IBM 3081-GX.  I've been the systems administrator
for our TeX system for a couple of years now, and find it
quite interesting.

The main reason I have joined TEXHAX is to resolve a problem
we are encountering with LaTeX.  Does anybody know how to put
extra space at the end of sentences in a LaTeX document
without using the \hspace command at the end of each sentence?
We would like to set something in our STY file or in the
preamble that would insert some extra space at the end
of sentences automatically.

Any information would be greatly appreciated.

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

Date: Fri, 9 Mar 90 11:37:50 EST
From: guy@phy.duke.edu (Guy Metcalfe)
Subject: LaTeX citations
Keywords: LaTeX, citations

The style file aip.sty uses superscripts for citations.  It's an
article substyle for the american institute of physics.  It, along
with many other styles, are available by anonymous ftp from
sun.soe.clarkson.edu (128.153.12.2).

	Guy Metcalfe				
	Duke University Dept. of Physics	guy@phy.duke.edu
	& Center for Nonlinear Studies		guy@physics.phy.duke.edu
	Durham, N.C.      27706			guy%phy.duke.edu@cs.duke.edu

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

Date: Fri, 9 Mar 90 11:03:20 CST
From: dale@tarski.cogsci.uiuc.edu (Dale Gerdemann)
Subject: help with two simple macros
Keywords: macros, linguistics

Hello, 
   I'm trying to write a couple of simple macros to produce feature
structures as used in linguistics

1. First using the following macro:

\def\fs#1{$\left[\begin{tabular}{ll}#1\end{tabular}\right]$}

\fs{alpha & beta\\ gamma & delta}
produces
 __              __
 | alpha    beta  |
 | gamma    delta |
 --              --

But what I'd like to produce is the following with colons

 __               __
 | alpha:    beta  |
 | gamma:    delta |
 --               --

2. Using the next macro:

\def\path#1{$\langle#1\rangle$}

\path{a b c}

produces
<abc>

What I'd like to get is:

<a b c>

In general, how do I write a macro that takes a list or arguments and
then prints out that list with some sort of punctuation between each
element of the list?

Dale Gerdemann
University of Illinois, Dept of Linguistics
Cognitive Science Group, Beckman Institute
dale@tarski.cogsci.uiuc.edu
d-gerdemann@uiuc.edu

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

Date: Fri, 09 Mar 90 12:23:50 PST
From: "Rex Shudde" <0024P@CC.NPS.NAVY.MIL>
Subject: Mailing envelopes
Keywords: envelope, mailing envelope

In Appendix E, pages 403 to 408, of The TeXbook LETTERFORMAT macros are given.
At the bottom of the listing on page 408 a \makelabel macro is defined. When
this macro executes, a mailing label is generated as the last page of output.
Instead of printing a mailing label, is it possible either to dump this infor-
mation to another file for later printing in landscape mode onan HP Laser-
Jet Series II or to send the appropriate commands to put the LaserJet in land-
scape mode and prompt for an envelope before the label information is sent to
the printer? I would prefer the former (dumping to a file) since I invariably
print two or three letters before I get one I'm happy with, and I don't need
an envelope for each attempt.

Thank you.
Rex Shudde
Bitnet: 0024P@NAVPGS
Internet: 0024P@CC.NPS.NAVY.MIL

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

Date: Mon, 12 Mar 90 13:15:59 PST
From: emma@csli.stanford.edu
Subject: Re: tough multi-column question 
Keywords: LaTeX, multi-column

>To: zvs@melba.bby.oz.AU
>Subject: Re: tough multi-column question 
>In-reply-to: Your message of Mon, 12 Mar 90 10:15:00 EST.
             <9003121723.AA02477@sumex-aim.stanford.edu> 



> message from zvs@bby.oz.au
> Consider the following file:
> 
> \documentstyle{article}
> \textwidth 180mm\textheight  250mm
> \topmargin  -15mm\oddsidemargin  -19mm
> \tabcolsep  1.5mm
> \begin{document}
> \begin{tabular*}{180mm}{@{\extracolsep{\fill}}|l*{3}{|*{2}{r}}|}
> \hline 
> %\multicolumn{7}{|c|}{'Twas brillig, and the slithy toves did gyre and
> %gimble in the wabe; all mimsy were the borogoves, and the mome} \\
>  Values & 82.77 & 95.69 & 11.86 & 10.34 & 37.72 & 43.79 \\
> \hline\end{tabular*}\end{document}
> 
> The spacing between the columns is perfectly even, as you would
> expect.  Now uncomment the multicolumn.  This multicolumn spans the
> entire table, so it should have no effect on intercolumn spacing.  But
> in fact, the longer the text in the multicolumn, the more the space
> between the last two columns stretches, and the space between the
> other column shrinks!  With the text as above, there is over 10 cm
> between 37.72 and 43.79, and practically nothing between the other
> columns!  Why is this so?  It really is annoying.
> 
> ***
> 
> I posted this to comp.tex.tex, and got the following response 
> from dhosek@hmcvax.claremont.edu:
>    What you have described is an implementation "feature". Whenever
>    the text of a multicolumn is wider than the columns it spans,
>    the difference gets made up on the right side of the multicolumn.
>    I don't think that it is possible to prevent this from happening
>    without a fair amount of difficulty--remember, multicolumn needs
>    to be very generalized, which is not easy.
> 
>    -dh
> 

 I did a close look through the latex manual and found nothing
mentioning what long entries in multicolumn do to tabular* or tabular
environments.  I also checked addendum.tex, latex.bugs, and latex.tex
and nothing was mentioned there either.  The problem is briefly
referred to in the TeXbook (bottom of page 247).

Three possible workarounds depending on what you want to do.

If you had a fixed width between the columns (instead of the flexible
width that you do have), the best solution is to add another column to
grab the space. e.g.,

\begin{tabular*}{180mm}{@{\extracolsep{\fill}}|l*{3}{|*{2}{r}}l|}
\hline 
\multicolumn{8}{|c|}{'Twas brillig, and the slithy toves did gyre and
gimble in the wabe; all mimsy were the borogoves, and the mome} \\
 Values & 82.77 & 95.69 & 11.86 & 10.34 & 37.72 & 43.79& \\
\hline\end{tabular*}

notice the extra l in the template, that the multicolumn command now
crosses 8 columns instead of 7, and that an extra & was added to the
second line.

vThe output would look something like this

'Twas brillig, and the slithy toves did gyre and gimble in the wabe;...
Values  82.77  95.69  11.86  10.34  37.72  43.79

But you want the output to look more like this

'Twas brillig, and the slithy toves did gyre and gimble in the wabe;...
Values      82.77  	95.69  	   11.86      10.34     37.72      43.79


This can be done by tricking latex into thinking that the text in the
multicolumn command isn't as big as it is.

\begin{tabular*}{180mm}{@{\extracolsep{\fill}}|l*{3}{|*{2}{r}}|}
\hline 
\multicolumn{7}{|c|}{\makebox[0pt]{'Twas brillig, and the slithy toves did gyre and
gimble in the wabe; all mimsy were the borogoves, and the mome}} \\
 Values & 82.77 & 95.69 & 11.86 & 10.34 & 37.72 & 43.79 \\
\hline\end{tabular*}

\makebox[0pt]{the text} makes the tabular* environment treat the text
in the multicolumn command as though it had no width. 

or one can try the following

% the following two lines need only be defined once 
\newskip\nfill
\nfill=5em minus 1.0fill  % may want to adjust this

\begin{tabular*}{180mm}{@{\extracolsep{\nfill}}|l*{3}{|*{2}{r}}|}
\hline 
\multicolumn{7}{|c|}{'Twas brillig, and the slithy toves did gyre and
gimble in the wabe; all mimsy were the borogoves, and the mome} \\
 Values & 82.77 & 95.69 & 11.86 & 10.34 & 37.72 & 43.79 \\
\hline\end{tabular*}

\nfill starts with a given columnsep and decreases it when necessary,
unlike \fill which starts with a given columnsep and increases it when
necessary.  


Emma Pease
CSLI

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

Date:  Mon, 12 Mar 90 20:11 MST
From: "Norman E. Powroz" <Powroz@SYSTEM-M.PHX.BULL.COM>
Subject:  Problems with PubliC Metafont
Keywords: METAFONT, PubliC

Hi all:
I   am   in   the  process  of  trying  to  build  the  PubliC  Metafont
implementation,  as  developed  by  Klaus  Thull.  Unfortunately, I keep
running   into  a  syntax  error  in  the  Tangle'd  module  "MFII.PAS".
Specifically, Turbo Pascal gives the following error:


Turbo Pascal Version 5.5  Copyright (c) 1983,89 Borland International
MFII.PAS(666): Error 3: Unknown identifier.
if abs(memp(r+6)^.int)=65536 then begin aa:=134217728;dd:=2*delta[k];
            ^


Turbo halts on this error, and won't go on to compile the other modules,
so I don't know if any other problems exist.  The Tangle run reported no
errors.   I  just picked up the files from DHDURZ1, so I assume they are
the latest version.

Any  help would be greatly appreciated.  I am neither a WEB nor a Pascal
expert, so feel free to talk down.  ;-)

Thanks
Norm

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

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