TeXhax@cs.washington.edu (TeXhax Digest) (07/12/89)
TeXhax Digest Monday, July 3, 1989 Volume 89 : Issue 64
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:
Syntax diagrams in Tex and Latex
TeX for the Mac
A texhax byte-value checklist would be useful
Re: TeX-Hax Digest V89 #55 (suggestions)
Suggestion concerning TeXhax
Chiwrite and LaTeX???
Blank lines between footnotes
Multi-line figure captions not centered
Re: TeX-Hax Digest V89 #55 ( \hrules in margins)
Re: Graphics in TeX
Problems with the Macintosh version of Latex (Textures)
AmSTeX and alignments
----------------------------------------------------------------------
Date: 28-JUN-1989 11:43:35 GMT
From: SHW_X%leicester.ac.uk@NSFnet-Relay.AC.UK
Subject: Syntax diagrams in Tex and Latex
Keywords: TeX, LaTeX, syntax diagrams
In a past issue of TUGboat, vol:2, no:3, there was
a listing of some macros to do syntax diagrams in TeX,
"Charting Your Grammar With TeX" by Michael Plass. The
macros went under the name SynChart.tex.
Has anyone got these macros or similar ones which can
be used in LaTeX or TeX.
Thanks in advance.
Hugo Korwaser
JANET: SHW_X@UK.AC.LEICESTER.VAX
BITNET: SHW_X@VAX.LEICESTER.AC.UK
ARPA: SHW_X%VAX.LEICESTER.AC.UK@NSS.CS.UCL.AC.UK
Telephone: +44 533 541475
Address: Femview Ltd
1 St Albans Road
Leicester LE2 1GF
England
------------------------------------------------------------------------
Date: Wed, 28 Jun 89 00:32:48 PDT
From: David_Dalton@mtsg.ubc.ca
Subject: TeX for the Mac
Keywords: TeX, Macintosh
This is from the info-mac digest v.7 n.113
Date: Mon, 26 Jun 89 18:43 +01:00
From: "Lukas Nellen TP 6.3 ext 73949"
<NELLEN%vax1.physics.oxford.ac.uk@nsfnet-relay.ac.uk>
Subject: Public domain TeX for the Mac exists!
In digest #107, Matthew Wall mentioned the search for a p. d.
MacTeX. Thanks to Andrew Trevorrow, it now exists and is called
OzTeX.
OzTeX includes a previewer, a PostScript driver, the CMR fonts in
the standard sizes and font metrics for the LaserWriter builtin
fonts. It also includes a userguide (written in LaTeX) and the
source code (in MODULA 2).
OzTeX was developed on a 1M Mac+ running the finder. But it runs
happily on a Mac II under multifinder, if you tell the multifinder
to give it enough memory. The preview display on a big screen is
excellent and the fonts are well tuned for printing on the
LaserWriter. The userguide mentions transfering DVI files from
other systems, so you should be able to use OzTeX to preview DVI
files created on a different machine. Using OzTeX is straightforward
if you know TeX
- the fun of using the Mac! I don't think our secretary wants to go
back to using the VAX :-).
OzTeX doesn't have an integrated editor, so you have to use either a
DA, like the included \Sigma edit, or use your favourite
editor/wordprocessor.
I don't know who does the re-distribution of OzTeX in the US or
other areas. For UK users, OzTeX is available from the ASTON TeX
archive. Or send 10 unformatted disks and return postage to
Peter Abbott
Computing Service
Aston University
Aston Triangle
Birmingham B4 7ET
-- Lukas
When OzTeX becomes available on a North American archive, could
someone post the address here or in Info-Mac-Digest, or both.
---------------------------------------------------------------------
Date: Thu, 29 Jun 89 10:43:25 +0100
From: Hylton Boothroyd <bsrdp%cu.warwick.ac.uk@NSFnet-Relay.AC.UK>
Subject: A texhax byte-value checklist would be useful
Keywords: Suggestion
Copies of texhax go through many e-mail gateways. Some gateways transpose
byte values of non-alphanumerics; some map two onto one; some may be worse.
Since TeX and LaTeX rely heavily on non-alphanumerics, the code in copies of
texhax that arrive electronically-far from Washington can be a minefield of
nonsense, with code that at best blows up and at worst subverts quietly.
It would be useful to us electronically-distant readers if each texhax
carried a short check table that in simple cases would allow local
correction and in complicated cases would warn that a replacement is needed.
Something like:
ASCII byte value check
20H ! " # $ % & '
28H ( ) * + , - . /
38H 8 9 : ; < = > ?
58H X Y Z [ \ ] ^ _
60H,79H ` y z { | } ~
Yes. It does need a table of ASCII byte values to hand. But it avoids the
possible ambiguity of longhand-names and the possible oversights of not using
an array.
Hylton
------------------------------------------------------------------------
Date: Tue, 27 JUN 89 13:29:52 BST
From: CHAA006%vaxb.rhbnc.ac.uk@NSFnet-Relay.AC.UK
Reply-To: Philip Taylor (RHBNC) <P.Taylor%vaxb.rhbnc.ac.uk@NSFnet-Relay.AC.UK>
Subject: Re: TeX-Hax Digest V89 #55 (suggestions)
Keywords: Suggestion
%%% The response was overwhelmingly in favor of a shortened trailer
%%% so we have edited it almost out of existence. The full version
%%% will continue to appear in every tenth digest, beginning with
%%% Issue 70.
With reference to Dennis Gentry <dennis@yang.cpac.washington.edu>'s suggestions
(`can we reduce the amount of [garbage] after ``%%%'' ?'): I strongly agree.
Ideally, I would like to see the digest beginning:
TeX-Hax Digest Vxx #yy (dd-mmm-yyyy [hh:mm])
Total submissions: nn; total lines mmm.
Table-of-contents: at-end
Acknowledgements: at-end
Miscellaneous: at-end
<form-feed>
Item: 1
Date: <date>
From: <from>
Subject: <subject>
Keywords: <keywords>
<body>
<form-feed>
Item: 2
<etc>
<form-feed>
Table-of-contents:
<etc>
<form-feed>
Acknowledgements:
<etc>
<form-feed>
Miscellaneous:
<etc>
<end-of-file>
Within a few weeks of introduction, it should be possible to omit the
reference to `acknowledgements' and `miscellaneous', leaving only the
reference to `table-of-contents' in the preamble.
Within the body of submissions, submissions should be sorted by length:
shortest first, longest last. Meeting announcements are frequently very long,
and this will ensure that sequential readers do not have to wade through them
to get to the next `interesting' submission.
-----------------------------------------------------------------------------
Date: Thu, 29 Jun 89 00:57:43 EDT
From: ken@cs.rochester.edu
Subject: Suggestion concerning TeXhax
Keywords: Suggestions
Gentle moderators,
Congratulations on overcoming the distribution problems and many thanks
for your continuing work on TeXHaX.
May I make a couple of comments? Occasionally I get an item that the
mail interface doesn't like. These are usually caused by one of two
problems:
1. Blank lines that are not actually empty but contain one or more
spaces. These can lead the mail program to think the body of the letter
is part of the header. They can also make the undigester miss
separators. I now use a sed script to remove these before undigesting.
No doubt an emacs macro or something can do the same before posting.
2. Long header lines continued on the next line without indentation. I
think the RFC requires that such lines be indented to indicate this is
a continuation of the previous line.
I also support the call for the trailer information to be abbreviated
except for every 5th or 10th digest. Certainly people who have to pay
to transfer mail will prefer this.
Finally, how is the backlog clearing up? The timeliness of replies to
neophyte queries would suffer if they had to wait for several weeks
before anybody saw their problem...
Ken
--------------------------------------------------------------------------
Date: Wed, 28 Jun 89 16:18 MET
From: "Johannes L. Braams" <BRAAMS%HLSDNL5.BITNET@UWAVM.ACS.WASHINGTON.EDU>
Subject: Chiwrite and LaTeX???
Keywords: Chiwrite, LaTeX
Hi all,
I don't remember seeing anything on this, so here's a question.
Does anybody now of a conversion between Chiwrite and LaTeX?
A collegue of mine has a thesis with lots of mathematics formulas,
written using Chiwrite (not by him, but a secretary). Now he
wants to have it in LaTeX and he would rather not have to do it all
again....
Please respond directly to me, I'll summarize to the list af anything
useful turns up.
Regards,
Johannes Braams
PTT Research Neher Laboratorium, EARN/BITnet : BRAAMS@HLSDNL50
P.O. box 421, SURFnet : DNLTS::BRAAMS
2260 AK Leidschendam, UUCP : hp4nl!dnlunx!johannes
The Netherlands. INTERnet : BRAAMS%HLSDNL5@CUNYVM.cuny.edu
Phone : +31 70 435051 PSS (DATAnet1) : +204 1170358::BRAAMS
------------------------------------------------------------------------
Date: Tue, 27 Jun 89 17:04:54 +0200
From: masini@loria.crin.fr (Gerald Masini)
Subject: Blank lines between footnotes
Keywords: LaTeX, footnotes
I've got trouble with LaTeX footnotes: when several footnotes are
displayed on a same page and when the text of one of them fills
exactly several lines, a blank line is inserted before the text of the
next footnote. The result looks like that:
left margin right margin
| |
|blabla blabla blabla\footnote{...} blabla blabla blab|
|blabla blabla\footnote{...} blabla blabla blabla blab|
|blabla\footnote{...} blabla blabla blabla blabla blab|
|blabla blabla blabla blabla blabla blabla blabla blab|
| |
|_________________________ |
|1Here is a text that fills exactly one or more lines.|
| | <-- ?
|2Here is the text of the next footnote. |
|3And so on... |
How to get rid of that blank line?
MTIA (Many Thanx In Advance)
Ge'rald MASINI CRIN - INRIA Lorraine
uucp: masini@loria.crin.fr
post: CRIN B.P. 239 54506 Vandoeuvre-les-Nancy Cedex FRANCE
phone: +33 83.91.21.45
------------------------------------------------------------------------
Date: Fri, 23 Jun 89 19:09 CDT
From: <DPB8238@TAMVENUS>
Subject: Multi-line figure captions not centered
Keywords: LaTeX, macro
Howdy hackers,
I am in need of a macro (in LaTeX) that would cause multi-line figures to be
centered, either with me explicitly giving it a line break, or it doing the
break itself. I am not a very proficient TeX-hacker and have only been able to
get them all flushleft. My requirement is that they be consistently either
centered or flushleft, but I greatly prefer centered.
As they say, time is of the essence here and response directly to this account
would be appreciated in the next 37 seconds.
Thanks in advance,
David Branyon
----------------------------------------------------------------------------
Date: Tue, 27 JUN 89 13:29:52 BST
From: CHAA006%vaxb.rhbnc.ac.uk@NSFnet-Relay.AC.UK
Reply-To: Philip Taylor (RHBNC) <P.Taylor%vaxb.rhbnc.ac.uk@NSFnet-Relay.AC.UK>
Subject: Re: TeX-Hax Digest V89 #55 ( \hrules in margins)
Keywords: TeX, \hrule
Andrew Arensburger <arensb@cvl.umd.edu> asked how to get an \hrule extending
into the margin:
%
% establish the paper size and margins, and paragraphing conventions
%
\hsize = 210 true mm \vsize = 297 true mm
\hoffset = 1.0 true in \voffset = 1.0 true in
\advance \hsize by -2\hoffset
\advance \vsize by -2\voffset
\parindent = 0 em \parskip = \baselineskip
%
% Mark the left and right margins
%
\smash {\hbox to \hsize {\vrule depth \vsize \hfil \vrule depth \vsize}}
%
% Set a 20 cm \hrule extending 5cm into the left margin
%
\moveleft 5cm \vbox {\hrule width 20 cm}
%
% and that's it
%
\end
Philip Taylor
Royal Holloway and Bedford New College
------------------------------------------------------------------------
Date: Tue, 27 Jun 89 05:02:09 -0400
From: Ken Yap <ken@cs.rochester.edu>
Subject: Re: Graphics in TeX
Keywords: graphics, TeX
> Computer Graphics and TeX -- A Challenge
> by
> David F. Rogers
> dfr@usna.mil
I've refrained from commenting on this document for a while because
I've not been doing anything with graphics recently. However today a
user query prompted me to write this note.
The user in question wanted to know if he could get a bigger version of
TeX (huge TeX is standard here). 256k words is not enough, he said.
Well you can compile a bigger version, said I, but what were you trying
to do? Oh, just printing a graph generated with grap and awk. It uses
lots of \circles*. Only 5500 lines, said he nonchalantly. TeX should
be able to handle that shouldn't it? (For non-Unix users, grap is a
x-y plot frontend and awk is a string processing language.)
Which brings me to the point of this note. After death and taxes, it is
certain that users will stretch your software to the limit. In every
case that a user here has managed to get the out of memory message
(except for runaway macros), graphics was involved, but especially x-y
plots. It has always irked me that TeX has to waste all that memory
and CPU time processing entities that have no textual content. The user
in question could have turned his graph into a PostScript diagram and
psfig would have happily digested it, no matter how rich the graph.
Device dependence, I hear DFR protest. So what? The point is, we may
establish a graphical macro standard, but it will be stillborn because
nobody will be able to draw anything but toy graphics with it. Let's
face it, don't try to make TeX do things it wasn't suited for. Let it
position boxes on the page, instead of spending its time constructing
lists of points whose positions are already specified anyway. With all
due respect for Knuth's achievement, I genuinely believe the time has
come to incorporate TeX typesetting in a more encompassing model of
document layout.
X-Uucp: ..!rochester!ken Internet: ken@cs.rochester.edu
X-Snail: CS Dept., U of Roch., NY 14627. Voice: Ken!
X-Phone: (716) 275-1448 (office)
----------------------------------------------------------------------
Date: Tue, 27 Jun 89 10:55:13 PST
From: MAS@grouch.JPL.NASA.GOV
Subject: Problems with the Macintosh version of Latex (Textures)
Keywords: TeXtures, Macintosh, LaTeX
I am having a problem with the Macintosh version of Latex (which is part of
the Textures package). The problem, for the most part,
is that Latex is not properly
breaking typeset pages before the page extends past the physical page boundary.
This problem has been observed by this user with the VAX version of Latex.
However, on the VAX, a few \pagebreak commands spaced throughout the Latex
source file seems to clear the problem. I have noticed on the VAX
that the overfilling
problem seems to return several pages after
each \pagebreak command, which is why they
need to be spaced close enough in order to eliminate the problem. However, on
the Macintosh version of Latex, \pagebreak commands often
have no effect after the
first page on which the command takes effect. The overfilling problem often
resumes with the first page after the \pagebreak command
and continues for several
consecutive pages. This requires the undesirable solution of manually placing
\pagebreak commands at strategic locations throughout the Latex source file.
This in turn requires several iterations of editing and typesetting.
In an attempt to solve this problem, I have typeset on the Mactinosh with
a number of different options. I've tried changing the point size in the
preamble from 10pt to 11pt, using both the book and report option for
the \documentstyle command, physically setting the text height with the
\textheight command, using \pagebreaks at different points, and moving text
around. None of the results are satisfactory.
Although the above is perhaps by no means a
complete sample of the full parameter space, it is enough to convince me that
either I'm doing something wrong and/or there's something wrong
with Latex.
If anyone out there has a suggestion, solution, etc., please feel free to
contact me and supply my with necessary information.
Thankyou,
Marc A. Sengstacke
Jet Propulsion Laboratory, (818)-354-0371, FTS# 792-0371
Return address -- mas@grouch.jpl.nasa.gov
P.S. Recently, I returned to the VAX and tried typesetting there again, only
to find that the overfilling problem appears to be
more of a problem there than I had
originally found (even when changing some of the Latex parameters).
---------------------------------------------------------------------------
Date: Wed, 28 Jun 89 16:26 CDT
From: ravindran <BHARATHI%KSUVM.BITNET@UWAVM.ACS.WASHINGTON.EDU>
Subject: AmSTeX and alignments
Keywords: AmSTeX
i am using AMS TeX to type a book currently. There is a problem though,
regarding aligned equations. i would like the alignments not centered
but start from the left margin with a small indent (1.25truecm). i could not
find a way to do this. in appendix d of the TeX book this problem has been
addressed in the form of a macro called \generaldisplay. but i believe that
this macro interferes with AmS TeX commands. Is there a way to solve this
problem without altering the definitions of commands like \align, \alignat
etc., ? the problem is easy to solve with single displays without tags but
becomes complicated in the presence of tags and multiple displays.
(Incidentally LaTeX has a seperate style called fleqn.sty to solve this
problem.)
if you have any ideas pl. mail it to bharathi at ksuvm.
ravindran
-----------------------------------------------------------------------
%%% 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
%%%
%%% 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
**************************
-------