[comp.text] TeXhax Digest V90 #14

TeXhax@cs.washington.edu (TeXhax Digest) (02/05/90)

TeXhax Digest    Friday,  February 4, 1990  Volume 90 : Issue 14

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:         

                   system upgrade side effect on lntex
                              IEEETR BST
                         Postscript for a Sun
                     TeX sources and CMS-Changes
                Web for Fortran 8X has been reported
                     hook_out macro in cmbase.mf
                       External tensor product
                  \vadjust and \aftergroup questions
                              TeX query
                 what journals accept TeX/LaTeX source?
                    Framed headers and text in LaTeX
                     Two letter codes for languages
                           LISTSERV at DHDURZ1
         *** Announcing TeX v2.993 for VAX/VMS (real version!) ***
                 RE: mathmode underbar (Vol. 90 Issue 7)

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

Date: Tue, 23 Jan 1990 8:53:53 PST
From: TSAI@USDCSV.ACUSD.EDU
Subject: system upgrade side effect on lntex
Keywords: lntex

Will anyone out there tell me what's wrong with following error messages 
whenever lntex activated after migrating from VAX/VMS 5.1 to 5.3.

%DCL-W-ACTIMAGE, error activating image LNTEX
-CLI-E-IMGNAME, image file DUA0:[SYS0.SYSCOMMON.][SYSEXE]LNTEX.EXE;2
-SYSTEM-W-SYSVERDIF, system version mismatch - please relink

Allen 
University of San Diego

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

Date:  Tue, 23 Jan 90 11:42:52 +0200
From: Malki Cymbalista <VUMALKI%WEIZMANN@UWAVM.ACS.WASHINGTON.EDU>
Subject: IEEETR BST
Keywords: BibTeX

Does anyone have an up-to-date copy of IEEETR BST (the IEEETR style
file for Bibtex).  The one we have is dated May 13, 1986 but it generates
errors when we run it with Bibtex .99c.
Thanks for any information.
Malki (VUMALKI@WEIZMANN.BITNET)

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

Date: Mon, 22 Jan 90 12:51:55 EST
From: karney%SS01.PPPL.GOV@CCC.NMFECC.GOV (Charles Karney)
Subject: Postscript for a Sun
Keywprds: dviware

Mike Hannon (V90#10) wants to know what postscript driver to use on a Sun
computer.

On our Sun Sparcstation, we use dvialw which is part of the DVI driver
collection of Nelson Beebe.  It's available via FTP from SCIENCE.UTAH.EDU.
It is easy to compile (make dvialw).  We had to make a minor change to
remove the terminating ^d from the output file.  But that may be something
to do with the way we're hooked up to the LaserWriter (via an
Ethernet/Appletalk bridge, Columbia Appletalk software, Appleshare
Laserspooler).

   Charles Karney
   Plasma Physics Laboratory	  E-mail:  Karney@ccc.nmfecc.gov
   Princeton University		  Phone:   +1 609 243 2607
   Princeton, NJ 08543-0451	  FAX:	   +1 609 243 2160

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

Date: Mon, 22 Jan 90 14:58:35 MET
From: BELTRAME%ICNUCEVM.CNUCE.CNR.IT@UWAVM.ACS.WASHINGTON.EDU
Subject: TeX sources and CMS-Changes
Keywords: TeX sources

Can anyone inform me where (node and userid) I could find sources of the
new release of TeX and CMS-CHANGES file? Possibly via bitnet. Thanks in
advance.
Reenzo Beltrame

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

Date: Wed 10 Jan 90 18:53:19-MST
From: "Nelson H.F. Beebe" <Beebe@science.utah.edu>
Subject: Web for Fortran 8X has been reported
Keywords: web, Fortran 8x

Your attention is drawn to the following article:

@string{SIGPLAN = "ACM SIGPLAN Notices"}

@Article{Avenarius:fortran-web,
  author = 	"Adrian Avenarius and Siegfried Oppermann",
  title = 	"{FWEB}:  A Literate Programming System for {Fortran 8X}",
  journal = 	SIGPLAN,
  year = 	"1990",
  volume = 	"25",
  number = 	"1",
  pages = 	"52--58",
  month = 	jan,
}

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

Date: Mon, 22 Jan 90 13:01:22 GMT
From: Julian Bradfield <jcb%lfcs.edinburgh.ac.uk@NSFnet-Relay.AC.UK>
Subject: hook_out macro in cmbase.mf
Keywords: TeX, macro

I'm having a little difficulty with this. In particular,
the statement:
 x$$$ := hround(x$$$ + .5hair - eps) - .5hair ;
Every time hook_out is used, x$$$ is an integer (it's always  w).
So the effect of this statement is to leave x$$$ unchanged if
hair is even, and reduce it by 0.5 if hair is odd, so ensuring
that the pen edges fall on integers (almost, of course).
So far, so good.
Question: why did Knuth decide to round down instead of up?
There are circumstances in which rounding down produces dismal
results: particularly for lower-case italic L in cmti12 with the
standard "imagen" Laser-writer mode at mag 0.84 (i.e., magstep 1 for
two-up printing!), and rounding up looks better; are there
circumstances where rounding up gives even more horrible results?
L is very narrow (only 2u between the stem and the hook end), so
rounding down squashes it badly at low resolutions; perhaps rounding
up spreads the other hook_out letters too much, but wouldn't it have
been better to round up for narrow letters, and perhaps down for the
rest, rather than always rounding down?

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

Date: Mon, 22 Jan 90 13:15:42 EST
From: Allan Adler <ara@lom1.math.yale.edu>
Subject: External tensor product
Keywords: TeX, tensor product

I want to use something like \otimes but which is inside a square instead
inside of a circle. This is common notation for external tensor product.
I am using Plain TeX and have come up with the following control sequence
for it. 
\def\timesquare#1{{#1}\times{#1}}
\def\boxtimes{\overline{\underline{\timesquare|}}}
Unfortunately, it looks terrible. Can someone tell me how to achieve the effect
that I want within the limitations of Plain TeX ? I noticed that Knuth has
lots of things in boxes in the TeX Book, such as other boxes, so it ought
to be possible. 

Allan Adler
ara@lom1.math.yale.edu

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

Date: Sun, 21 Jan 90 15:29:33 EST
From: Jim Walker <N410109%UNIVSCVM@UWAVM.ACS.WASHINGTON.EDU>
Subject: \vadjust and \aftergroup questions
Keywords: \vadjust, \aftergroup

While trying to write a marginal note macro that could migrate out to
outer vertical mode from anywhere, I ran into a couple of problems with
\vadjust and \aftergroup.

First question:  When something gets \vadjust-ed out of an \hbox,
why does it end up in inner vertical mode when there is no \vbox in sight?
For instance, the following example produces an infinite loop that keeps
switching back and forth between inner vertical and inner horizontal.

%%%%%%%%%%%%%%%%%%%%
\def\showmode{%
        \message{[}                     \ifinner \message{inner}\fi
        \ifvmode \message{vertical}\fi  \ifhmode \message{horizontal}\fi
        \ifmmode \message{math}\fi      \message{mode ]}%
}

\def\propagate{%
        \def\nexti{\showmode\aftergroup\propagate}% inner vertical
        \def\nextii{\showmode\vadjust{\propagate}}% inner horizontal
        \ifinner
                \ifvmode  \let\next=\nexti
                \else     \let\next=\nextii
                \fi
        \else
                \let\next=\showmode
        \fi
        \next
}%

\hbox{\propagate}
%%%%%%%%%%%%%%%%%%%%

Second question:  Why does the following example produce a "missing \cr"
error message?

%%%%%%%%%%%%%%%%%%%%
\def\propagate{%
        \def\nexti{\showmode\aftergroup\propagate}%
        \ifinner
                \let\next=\nexti
        \else
                \let\next=\showmode
        \fi
        \next
}

\halign{#\cr\propagate\cr}

 --- James W. Walker,  Department of Mathematics,
     University of South Carolina, Columbia SC 29208
     BITnet: N410109@univscvm
     CIS: 76367.2271@compuserve.com

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

Date: Wed, 10 Jan 90 12:11 PST
From: Kayvan Sylvan <ames!mrspoc.Transact.COM!kayvan@beaver>
Subject: TeX query
Keywords: TeX, Xenix 386

Hello there,

I'm trying to bring up TeX on a Xenix 386 box. My basic question is
exactly what do I need to do this?

Is CommonTex the way to go with this? What about drivers for the HP
LaserJet? (Where do I find them?)

If you could start pointing me in the right direction with a few words
(or point me towards books or information) I would most appreciate it.

Thanks!

			---Kayvan

Kayvan Sylvan @ Transact Software, Inc. -*-  Los Altos, CA (415) 961-6112
Internet: kayvan@Transact.COM -*- UUCP: ...!{apple,pyramid,mips}!mrspoc!kayvan
<======================== Think Globally, Act Locally ========================>

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

Date: Wed, 10 Jan 90 09:11:00 -0500
From: Rich Jones <rich@ria.ccs.uwo.ca>
Subject: what journals accept TeX/LaTeX source?
Keywords: TeX, LaTeX, journals

I realize that this has been asked before, but I haven't seen any good
responses appear yet.  Does anyone have a list (even an incomplete
one) of journals which accept TeX/LaTeX source for a paper's final
submission?  A colleague here is attempting to convince the editors of
a journal for which he works to start accepting this type of
submission; they want proof that others are doing this.  Any help is
appreciated.  Thanks.......rich

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

Date: Wed, 10 Jan 90 16:55:58 CET
From: RFRANCIS%ESTEC.BITNET@CUNYVM.CUNY.EDU
Subject:  Framed headers and text in LaTeX
Keywords: LaTeX, headers, text

 +-------------------------------------------------------------------------+
 : Company, Agency  :  +---  +-\   /-\     /:  : Doc.No: ER-TN-ESA-RA-0001 :
 :  or Institute    :  :--   :-/   \_  ---  :  : Issue: 1    Date: 10-1-90 :
 :     Logo         :  +---  : \   \_/      :  : Sheet: 4.2-1              :
 +------------------+--------------------------+---------------------------+
 : In the (enormous) project in which I work, the standard document layout :
 : is in the form shown here, with a preprinted frame leaving a few blanks :
 : for standardised document details (headers), leaving the rest of the    :
 : page as a box in which the text is inserted. The dimensions of this box :
 : are about 27 x 19 cm (it's not critical) on A4 paper, with the header   :
 : frame occupying the top 2 cm of this.                                   :
 :                                                                         :
 : Figure, table and page (sheet) numbering within these documents follows :
 : the style given above: <section number>-n, except that figures and      :
 : tables sometimes extend this to subsection or subsubsection level.      :
 :                                                                         :
 : Now for the question: does anybody know how to achieve this using       :
 : LaTeX ?  (apart from the obvious `cut-and-stick').                      :
 :                                                                         :
 : All help gratefully received |                                          :
 :                                                                         :
 : Richard Francis                                                         :
 : RFRANCIS@ESTEC                        <-- EARN/BITNET                   :
 : ESTCS1::RFRANCIS or ESTERS::FRANCIS   <-- SPAN                          :
 :     else                                                                :
 : EOM/ORM                                                                 :
 : ESTEC (European Space Research and Technology Centre)                   :
 : Keplerlaan 1                                                            :
 : 2200AG NOORDWIJK                                                        :
 : The Netherlands                                                         :
 : +.31.1719.84460                       <-- phone                         :
 : +.31.1719.19502                       <-- fax                           :
 +-------------------------------------------------------------------------+

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

Date: Tue, 9 Jan 90 12:25 PST
From: DHOSEK@HMCVAX.CLAREMONT.EDU
Subject: Two letter codes for languages
Keywords: TeX, hyphenation

It has been pointed out to me by Anders Thulin that there exist
ISO codes for _languages_ in addition to the country codes. These
codes include at least a few of everybody's favorite dead
languages (e.g., Latin, Sanskrit, ...) not to mention a few
lesser used languages like English, Russian, German, ... If
someone who has access to ISO 639 that lists these codes, a
listing would be useful to have in the TeX community.

Also, just to make things clear, I am in favor of having
hyphenation patterns referred to by control sequence names (gee,
does that mean we should standardize names for _that_ as well?
eek). If anybody has gotten around to writing \newhyphenation, it
would be nice to see it.

 dh

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

Date: Tue, 09 Jan 90 23:16:43 CET
From: Joachim Lammarsch <RZ92%DHDURZ1@UWAVM.ACS.WASHINGTON.EDU>
Subject: LISTSERV at DHDURZ1
Keywords: TeX, file server, information

To make it easier to get TeX software in Europe GUTenberg and DANTE e.V.
have decided to archive all the files specific to their languages in only
one server: LISTSERV at DHDURZ1.

There is a new filelist named TEX. Within these filelist all other file-
lists are created. The french filelist is named FRENCH and the german
filelist has the name GERMAN. (Other groups are invited to store their
files containing language specific software at this place, if the file-
name is not longer than 8 characters :-). Please drop me an note.)

To get more information about listserver and filelist start with the
command INFO directed to the server (not to me).

You can send a interactive command or a mail with an RFC822 header. Please
do not send files.

Bernard Gaulle (President of GUTenberg)
Joachim Lammarsch (Chairman DANTE e.V.)

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

Date: Wed, 10 JAN 90 19:01:54 GMT
From: TEX%rmcs.cranfield.ac.uk@NSFnet-Relay.AC.UK
Sender: "JANET TEX@UK.AC.CRANFIELD.RMCS" <TEX%rmcs.cranfield.ac.uk@NSFnet-Relay.AC.UK>
Subject: *** Announcing TeX v2.993 for VAX/VMS (real version!) ***
Keywords: TeX, VAX/VMS

In UKTeX v89 #44, I announced that I had incorporated the mods that Knuth had 
reported in TeXhax into my port of TeX v2.992 to VMS.

Yesterday, I noticed that a new version of tex.web had appeared at Labrea, 
time-stamped at 0627 on 8th January (1527GMT).  It turns out that this is the 
definitive v2.993, incorporating the corrections Knuth announced in TeXhax and 
a few others too.

This morning I completed the transfer of the files to my VAX, and am pleased
to announce that the VMS version passed the TRIP test with flying colours at
1513GMT today, 10th January, which is about 58 hours after Don Knuth's version
underwent the same torture! 

I have placed the Knuthian sources into the appropriate directories within the 
Aston TeX archive, and the change files for each are in the corresponding 
[.VMS] subdirectories.  There were also revised versions of dvitype, tftopl 
and pltotf: these too, with their VMS change files, are in the Archive.

One new pair of programs that has appeared comprise vftovp.web and vptovf.web.
These are for converting between virtual font files and virtual property lists:
I haven't yet written VMS change files for these, but the WEB sources are in 
the archive.

Since I see that MF has also changed, along with some other utilities, my next 
job will have to be tackling that little collection: look forward to news of 
this by Friday or next Monday.

Herewith details of the files placed into the archive:

[TEX-ARCHIVE.DOC]TRIPMAN.TEX
[TEX-ARCHIVE.TEX.NEW]TEX.WEB;
[TEX-ARCHIVE.TEX.NEW.TRIP]TRIP.FOT
[TEX-ARCHIVE.TEX.NEW.TRIP]TRIP.LOG
[TEX-ARCHIVE.TEX.NEW.TRIP]TRIP.TEX
[TEX-ARCHIVE.TEX.NEW.TRIP]TRIP.TYP
[TEX-ARCHIVE.TEX.NEW.TRIP]TRIPIN.LOG
[TEX-ARCHIVE.TEX.NEW.VMS]BIG-TRIP.CH
[TEX-ARCHIVE.TEX.NEW.VMS]TEX-BIGTEX.CH
[TEX-ARCHIVE.TEX.NEW.VMS]TEX-TRIP.CH
[TEX-ARCHIVE.TEX.NEW.VMS]TEX.CH
[TEX-ARCHIVE.TOOLS.DVIWARE.NEW]DVITYPE.WEB
[TEX-ARCHIVE.TOOLS.DVIWARE.NEW.VMS]DVITYPE.CH
[TEX-ARCHIVE.TOOLS.FONTWARE.NEW]PLTOTF.WEB
[TEX-ARCHIVE.TOOLS.FONTWARE.NEW]TFTOPL.WEB
[TEX-ARCHIVE.TOOLS.FONTWARE.NEW]VFTOVP.WEB
[TEX-ARCHIVE.TOOLS.FONTWARE.NEW]VPTOVF.WEB
[TEX-ARCHIVE.TOOLS.FONTWARE.NEW.VMS]PLTOTF.CH
[TEX-ARCHIVE.TOOLS.FONTWARE.NEW.VMS]TFTOPL.CH

                               Brian {Hamilton Kelly}

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ JANET:     tex@uk.ac.cranfield.rmcs                                     +
+ BITNET:    tex%uk.ac.cranfield.rmcs@ac.uk                               +
+ INTERNET:  tex%uk.ac.cranfield.rmcs@nsfnet-relay.ac.uk                  +
+ UUCP:      ...!mcvax!rmcs.cranfield.ac.uk!tex                           +
+         OR ...!ukc!rmcs.cranfield.ac.uk!tex                             +
+ Smail:     School of Electrical Engineering & Science, Royal Military   +
+            College of Science, Shrivenham, SWINDON SN6 8LA, U.K.        +
+ Phone:     Swindon (0793) 785252 (UK), +44-793-785252 (International)   +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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

Date:  Tue, 23 Jan 90 12:34 CST
From: <SAF8613%TAMSTAR.BITNET@UWAVM.ACS.WASHINGTON.EDU>
Subject:  RE: mathmode underbar (Vol. 90 Issue 7)
Keywords: TeX, mathmode

In Vol. 90 Issue 7, Donald Ballance asks about an underbar accent
in math mode.  I propose an answer to his question and raise one of
my own.  A short .tex file is added at the end to illustrate the
points made.

(1) The most obvious solution is the \underline command.  However,
the underline is too long, and is unacceptable when two underscored
symbols are adjacent.

(2) Better is to use the \b accent from text mode and put its
argument in $ ... $ to force it back to math mode:

 \def\mb#1{{\b{$#1$}}}

(In case of difficulty, put the whole thing in an \hbox. See the
TeXbook, p. 163, for implications.)

(3) The foregoing does not work properly inside \eqalignno.  The
underscored symbols appear mysteriously in subscript position.

(4) A similar problem appears when \eqalignno is combined with
\underbrace.

(5) \mb and \underbrace work together perfectly, so the problem
appears to be in \eqalignno.  I'll be grateful to anybody who can
show that I'm doing something wrong in (3) and (4).

                                Steve Fulling
                                Mathematics Dept.
                                Texas A&M Univ.


%---------------- begin TeX input -------------------------


 \def\mb#1{{\b{$#1$}}}

 $$\underline{A} \underline{B} \eqno(1)$$  % a bad way to underscore

 $$\mb{A}\mb{B} \eqno(2)$$                 % a better way


 $$\eqalignno{ \mb{A}\mb{B} +& \mb{C}\mb{D}+\cdots+\mb{C}\mb{D}
 &(3)\cr}$$                                % something wrong here


 $$\eqalignno{ {A}{B} +& \underbrace{{C}{D}+\cdots+{C}{D}}
 _{n{\rm\ times}} &(4)\cr}$$               % and here


 $$\mb{A}\mb{B} + \underbrace{\mb{C}\mb{D}+\cdots+\mb{C}\mb{D}}
 _{n{\rm\ times}} \eqno(5)$$               % this is OK

 \bye


%--------------- end TeX input --------------------------

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

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