[comp.text] TeXhax Digest V90 #3

TeXhax@cs.washington.edu (TeXhax Digest) (01/10/90)

TeXhax Digest    Friday,  January 5, 1989  Volume 90 : Issue #

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:         

                             Chinese MetaFont?
           Connecting HP Laser Jets to Unix machines (Re: 89.111)
            LaTeX bug/misfeature: \,\label{foo} in an equation
                     Re: Mixing TeX, LaTeX, and AmSTeX
                                 Re: REVTEX
                                   TeXbook
                           Re: Commutative diagrams
                              Some clarifications
         *GUTenberg's news/questions (GUT89#66) *Last CALL FOR PAPERS*
                             Verbatim listing macro

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

Date: Tue, 19 Dec 89 14:56:06 EST
From: Scott Horne <horne-scott@YALE.ARPA>
Subject: Chinese MetaFont?
Keywords: METAFONT, Chinese

>From: thomson@cs.utah.edu
>Subject: Chinese MetaFont?

>I read in the TeXBook that a version of the MetaFont program was created
>for Chinese character fonts.  Is this version of MetaFont available?

That `chinese.tar.Z' that you `ftp'd is for METAFONT-79.  In fact, I think
you have to have the SAIL environment to do anything with it.

Therefore, it's useless to you.

I, however, am working (slowly, for lack of free time) on developing a Chinese
MetaFont, to which I will eventually add Japanese _kana_ and Korean _hangu<l_.
I intend to distribute the font free of charge as soon as I have something
worth distributing.

Anyone wishing to work with me on this project may contact me.

					--Scott


Scott Horne                               ...!{harvard,cmcl2,decvax}!yale!horne
horne@cs.Yale.edu      SnailMail:  Box 7196 Yale Station, New Haven, CT   06520
203 436-1739                    Residence:  Rm 1739 Silliman College, Yale Univ
Dare I speak for the amorphous gallimaufry of intellectual thought called Yale?

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

Date: Mon, 18 Dec 89 13:36 CDT
From: U2591AA@VMS.UCC.OKSTATE.EDU
Subject: Connecting HP Laser Jets to Unix machines (Re: 89.111)
Keywords printers, HP Laser Jets, UNIX machines

In Issue 89.111 there was a request from Malki Cymbalista for a "driver
for a HP Laser Jet II connected to a SUN 3".  If by "driver" is meant
"dvi interpreter", I recommend the interpreter dvijep in the Utah dvi
translator family.  These are available from the various servers (see
the recent issue of texhax in which servers and the software available
through them was summarized).

By "driver" however, one may mean the line printer interface between the
computer and the printer.  This is a definite problem to be overcome when
connecting Laser Jet II's to unix boxes.  We faced this problem connecting
our HPLJ II to our MicroVAX II running Ultrix 1.2 ( = 4.2 bsd -- and yes,
we are way out of date!). HP was somewhat unresponsive to our problem,
so we did it ourselves.  Attached is a  C program which can be compiled
and used as an "of" or "if" option in the /etc/printcap entry for your
HPLJ II.

This is of direct relevance to Malki only if the SUN 3 uses the
Berkeley line printer daemon.  The code might be of help in writing
device interfaces for other unix systems.  I won't go into details about
printcap entries, but specifying the name of the executable in the "if" field
allows you to issue the lpr command with the "-l" option.  This option instructs
lpd to pass the "-c" option to the filter in the "if" field, and this
option is used to i) pass 8-bit data to the printer and ii) accumulate
and record accounting information.  (Of course, the rest of the printcap
entry and the physical connections must be correct before any TeX document
will print.)

This works on our system.  I do not guarantee that it will work anywhere
else, but I think it will work without modification on VAXen running Ultrix
or 4.X bsd and probably on any other computer running 4.X bsd,
and other people trying to hook up HPLJ II's to other flavors of unix
might find it helpful.

%%Moderators note: The code referred to is too long to include in
%%TeXhax. It will be available shortly from june.cs.washington.edu.

Scott McCullough
Dept. of Physics		u2591aa@vms.ucc.okstate.edu (internet)
Oklahoma State University	u2591aa@uccvms (bitnet)
Stillwater, OK  74078-0444
405-744-5801

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

Date: Mon, 18 Dec 89 15:28:33 EST
From: karney%SS01.PPPL.GOV@CCC.NMFECC.GOV (Charles Karney)
Subject: LaTeX bug/misfeature: \,\label{foo} in an equation
Keywords: LaTeX bug/misfeature: \,\label{foo} in an equation

In LaTeX 2.09 (24 May 1989)
    \begin{equation}
         a\,\label{foo}
    \end{equation}
gives "Incompatible glue units."  After the \, \lastskip is set to mu glue.
This confuses \label.  \label should be made more bullet proof.

   Charles Karney	      Phone:	+1 609 243 2607
   Plasma Physics Laboratory  FAX:	+1 609 243 2160
   Princeton University	      MFEnet:	Karney@SS01.PPPL.GOV
   PO Box 451		      Internet: Karney%SS01.PPPL.GOV@CCC.NMFECC.GOV
   Princeton, NJ 08543-0451   Bitnet:	Karney%SS01.PPPL.GOV%CCC.NMFECC.GOV@LBL

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

Date: Mon, 18 Dec 1:24 CST
From: larry bennett (MA01@SDSUMUS.BITNET
Subject: Re: Mixing TeX, LaTeX, and AmSTeX
Keywords: TeX, LaTeX, AmSTeX

It is true tha LaTeX more or less cripples TeX, but the same is not true
of AmSTeX. Also, it is well known that AmSTeX and LaTeX are incompa-
tible. However, Michael Spivak, the creator of AmSTeX, has come out with
a new macro package called LAMS-TEX. LAMS-TEX has been put together by
taking AmSTeX and adding LaTeX like features to it while keeping most,
if not all, of the capabilities of TeX intact. The package sells for
$95 plus $8 for shipping/handling and is availabe on MS-DOS 5 1/4 "
diskettes or MAC. Other configurations may be available. For further
information write

The TEXplorators Corporation
3701 W. Alabama, Suite 450-273
Houston, TX 77027

In addition, The American Mathematical Society will release a macro
package in around January which will be obtained by taking LaTeX and
adding AmSTeX like features to it. However, you will have no more
control over TeX than you do when using LaTeX. I'm not sure of the name
that the AMS is going to give to this product. However for further
information write

TEX Library, American Mathematical Society
P.O. Box 6248
Providence, RI 02940

larry bennett
MA01@SDSUMUS.BITNET

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

Date:  Mon, 18 Dec 89 10:42:01 -0600
From: myers@emx.utexas.edu (Eric Myers)
Subject: Re: REVTEX
Keywords: REVTEX

Someone recently asked about REVTEX.

REVTEX is a LaTeX format for physics papers to be submitted to Journals
published by the American Physical Society (Physical Review and Physical
Review Letters).  I have not used it (and probably won't) but you can
get a copy by sending an inquiry to TEX@APSEDOFF.BITNET.

Eric Myers			"It's not pro-Union to be anti-Harvard!"

Center for Relativity, Department of Physics, University of Texas at Austin
myers@emx.utexas.edu  |   myers@UTAPHY.BITNET   |         (512)471-5426

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

Date: Mon, 18 Dec 89 11:25 EST
From: "Thomas G. Abernathy" <TOM%MSRCVAX.BITNET@UWAVM.ACS.WASHINGTON.EDU>
Subject: TeXbook
Keywords: TeX

Brian writes in TeXhax89.111
  for `TeXbook' substitute `documentation'
To this I reply:
I would LOVE to, but where can I get this documentation?

Tom Abernathy                       tom@msrcvax  (BITNET)
Mount Sinai School of Medicine

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

Date: Mon, 18 Dec 89 14:22:42 -0100
From: Piet van Oostrum <piet@praxis.cs.ruu.nl>
Subject: Re: Commutative diagrams
Keywords: commutative diagrams

Francis Borceux from Louvain-la-Neuve (Belgium) has written a diagram macro
package with a lot of possibilities.

We have it available for FTP and mail access:

FTP praxis.cs.ruu.nl [131.211.80.6], files TEX/diagram.tex, TEX/diagramdoc.tex

mail: send the following message to mail-server@cs.ruu.nl:

send diagram.tex
send diagramdoc.tex
end

You might need to precede this with a line:
path domain.ized.adress

I don't know if it is available in the USA.

Piet* van Oostrum, Dept of Computer Science, Utrecht University,
Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands.
Telephone: +31-30-531806   Uucp:   uunet!mcsun!hp4nl!ruuinf!piet
Telefax:   +31-30-513791   Internet:  piet@cs.ruu.nl   (*`Pete')

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

Date: Mon, 18 Dec 89 17:39:32 EST
From: INHB000 <INHB%MUSICB.MCGILL.CA@UWAVM.ACS.WASHINGTON.EDU>
Subject: Some clarifications
Keywords: TeX, LaTeX, plain TeX

I would like to make a couple of comments on TeXhax \#111.  First off,
the command " that Wilhelm Mueller refers to is not a LaTeX command,
although it has been incorporated into the German style.  I also have "
an active character defined to alternate between `` and ''.

Second, a comment from Allan Adler is perpetuating a misconception that
appears to be widespread, that LaTeX is not TeX.  Just for the record
LaTeX is TeX and what Mr. Adler is talking about is plainTeX, a macro
package just like LaTeX and AMSTeX (although much less inclusive).  In
fact, the dangerous bend paragraph on p. 342 of the TeXbook leaves the
distinct impression that plain was never intended to be a standard,
merely a minimal set of macros required to make TeXusable.

As for his question itself, another misconception is that LaTeX is
inconsistent with plain.  It is to some extent, but in fact most plain
macros work just fine in LaTeX.  I know; I use them extensively.  I
can't tell you the number of times people have complained to me that
they won't use LaTeX, despite its obvious advantages, because it can't
do X, when if fact it can do X.  One of them is to put in an equation
number doing \eqno.  You can even use the latest equation number and do
\eqno{\rm(\theequation')}, say to generate equation number (57')
following equation (57).

Michael Barr

P.S. Mr Adler also wants macros to make commutative diagrams.  It happens
that I have a set of LaTeX macros for that purpose that I have sent him
and would also like to contribute to the Clarkson archives if someone will
tell me how.

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

Date: 14 decembre 1989 a 15H
From: UCIR001%FRORS31@UWAVM.ACS.WASHINGTON.EDU
Reply-To: GUT%FRULM11@UWAVM.ACS.WASHINGTON.EDU
Subject: *GUTenberg's news/questions (GUT89#66) *Last CALL FOR PAPERS*
Keywords: general

               ------------             ------------
 Nouvelles de  G U T enberg  NEWS from  G U T enberg   14/12/89  15H
               ------------             ------------
        (electronic news from list GUT at LISTSERV@FRULM11)


%%PLEASE CIRCULATE/POST                      FAIRE CIRCULER/AFFICHER
%%
%% Last `CALL FOR PAPERS'
%%

                GUTenberg'90

               15--17 may 1990

           University Paul Sabatier
                 TOULOUSE
                  FRANCE


The French-speaking \TeX{} Users Group
named GUTenberg, is organizing its yearly congress comprising,
as last year, tutorials and conferences, as well as
a small exhibition.

This year, the congress will be entitled ``\TeX{} and
professional publishing''
because \TeX{} has become a full set of software considered
by printers, editors, composers... as an indispensable
production tool. GUTenberg'90 will provide a unique opportunity
to familiarize yourself with the
products and to collect information about
the latest experiments and developments.

The program committee will organize a series of high level presentations
delivered by \TeX{} users or professionals of publishing.

Main topics
%===========

After giving priority to topics focused on
\TeX{} and the publishing field, the program committee will select
papers in one or the other of the following two areas:

\TeX{} domain
%-------------
 --    Developments around \TeX{}, \LaTeX{}, ...
 --    Creation/usage of fonts designed with
      or without \MF{}
 --    Fonts and
      page description languages
 --    X-windows aspects
 --    Rasterization and output
 --    Screen editors, spellers and pre/post
      interactive processors
 --    Aspects of French and European languages
 --    Network usage
 --    Public domain software access

Professional publishing
%-----------------------
 --    Page modeling techniques
 --    Graphics and special effects
 --    New fonts usage
 --    Automated production from editor to printer
 --    Hardware experiences
 --    EP/CAP effects
 --    Markup standards

%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Organisation Committee  %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%

P. Legrand      (C.I.C.T),  president
                EARN:LEGRAND@FRCICT81
Y. Soulet       (U.P.S)
J.C. Joly       (Cepadues \'editions)
H. Le Tallec    (Cepadues \'editions)
M, Mme Collin   (TR\'EMA)
M.H. Gellis
P. Lesgourgues  (Cepadues \'editions)

%%%%%%%%%%%%%%%%%%%%%%%%%%%
%    Program Committee    %
%%%%%%%%%%%%%%%%%%%%%%%%%%%

Bernard Gaulle  (CNRS-CIRC\'E), Chairman
                 EARN:UCIR001@FRORS31 Fax: (33) 1 69 28 52 73
Maurice Laugier (imprim. Louis-Jean), co-chairman
Jacques Andr\'e (IRISA-INRIA)
Nelson Beebe    (Univ. Utah, USA)
                Internet:Beebe@SCIENCE.UTAH.EDU Fax: (1) 801 581-4801
Alain Cousquer  (Univ. LILLE I)
Nicolas Brouard (INED)
Fran\c cois Chahuneau (Berger-Levrault)
Michael Ferguson (INRS Tele., Canada)
Laurent Heilmann (Gauthier-Villard)
Christophe de Moncuit (CNRS-LIMSI)

%%%%%%%%%%%%%%%%%%%%%%
%  Call for papers   %       (Last CALL)
%%%%%%%%%%%%%%%%%%%%%%

A one page abstract must be sent to any committee member
before January 15, 1990
(please, indicate if the paper will be produced with \LaTeX{}).

Note the following deadlines:

January 15th: abstract due
February 1st: notification to authors
February 28ht: full paper due
May 15--17th: GUTenberg'90

The official language is French but presentations in English
are welcome.

%%%%%%%%%%%%%%%%%
%  Sightseeing  %
%%%%%%%%%%%%%%%%%

The city of Toulouse, the congress site, is such an historical site
that you should not leave this beautiful
*pink city* without visiting it.

Other places within a hundred miles of Toulouse are
very interesting, for example the fortress of Carcassonne, and
the landscapes and villages of the Pyr\'en\'ees. Enjoy your stay in the
Midi-Pyr\'en\'ees and Languedoc-Roussillon districts.

%%%%%%%%%%%%%%%%%%%%%%%%
% Serveur de messagerie  administre par C. Metairie : MATAIRIE@FRIUTO11
%%%%%%%%%%%%%%%%%%%%%%%%
%
% Ce serveur est localise a l'Ecole Normale Superieure de la rue d'ULM
% a PARIS et a pour nom :  LISTSERV@FRULM11
% Il traite plusieurs listes de messagerie dont la liste "GUT" via
% laquelle ce message a transite.
%
% Pour recevoir les messages GUTenberg envoyez une commande
%           SUBSCRIBE GUT@FRULM11 prenom NOM -ORGANISME (LIEU)-
%
% Pour ne plus recevoir de messages venant de GUT envoyez une commande
%           SIGNOFF GUT@FRULM11
%
% Pour participer au forum envoyez un MAIL standard BITNET a GUT@FRULM11
% ou si vous le pouvez      : envoyez une commande DISTRIBUTE au
%           serveur         : LISTSERV@FRULM11 en precisant comme
%           liste d'adresse : GUT@FRULM11
%
%%%%%%%%%%%%%%%%%%%%%%
% Serveur de fichiers  : coming soon ...
%%%%%%%%%%%%%%%%%%%%%%

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

Date:  Tue, 19 Dec 89 10:33:35 EST
From: dan@bu-chem.bu.edu
Subject: Verbatim listing macro
Keywords: TeX, macro

I have been using Knuth's scheme for verbatim listing, as

	\bmath
	...
	\emath

adapted from the TeXBook, p. 391 (\setupverbatim) and p. 382 (\beginverbatim
and \endverbatim); the macros are given below.  I would like adapt this scheme
to accept text as an arguement, say

	\vmath{...}

(so that I can capture the result in a vbox, which can then be combined with
another containing annotation and the two placed side by side, using something
like \annotate{comments}{listing})

Trying

	\def\math#1{\bmath
	#1
	\emath}

	\math{
	Some text
	some more text
	}

does not work,

	! Use of \doverbatim doesn't match its definition.
	<argument>  
	            Some text some more text 
	\math #1->\bmath #1
	                    \emath 
	l.45 }
	      
	? 

I've tried various things, but I seem stuck..  Can someone tell me what I need
to do?

Here are the macros I am using

% Verbatum listing macros
\def\uncatcodespecials{\def\do##1{\catcode`##1=12 }\dospecials}

\font\mytt=cmtt9

\def\setupverbatim{\baselineskip 9pt%
	\parskip 0.0pt plus 1.0pt%
	\mytt
	\def\par{\leavevmode\egroup\box0\endgraf}
	\obeylines \uncatcodespecials \obeyspaces
	\catcode`\`=\active \catcode`\^^I=\active
	\catcode`\`=12 % ` is used in the listings
	\everypar{\startbox}}

\newdimen\w \setbox0=\hbox{\mytt\ } \w=8\wd0 % tab amount

\def\startbox{\setbox0=\hbox\bgroup}

{\catcode`\^^I=\active % No tabs allowed in this definition!
 \gdef^^I{\leavevmode\egroup
   \dimen0=\wd0 % width so far, or since previous tab
   \divide\dimen0 by\w
   \multiply\dimen0 by\w % compute previous multiple of \w
   \advance\dimen0 by\w % advance to next multiple of \w
   \wd0=\dimen0 \box0 \startbox}}

\def\bmath{\bigskip\par
	\begingroup
		\parindent=2\parindent % Indent listing
		\setupverbatim
		\doverbatim}

{\catcode`\|=0 \catcode`\\=12 % | is temporary escape character
	|obeylines|gdef|doverbatim^^M#1\emath{#1|endgroup|bigskip}}


Thanks

Dan Dill
Boston University/Chemistry
dan@bu-chem.bu.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
**************************
-------