[comp.text] TeXhax Digest V89 #86

TeXhax@cs.washington.edu (TeXhax Digest) (09/30/89)

TeXhax Digest    Friday,  September 28, 1989  Volume 89 : Issue 85

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:         

                           Abbreviation files for tib
           Errata and Files from Wayne Sewell's WEB book now available
                              RE:  DVI files to Mac
                                 Re: hyphenation
                                 TeX and Braille?
           Re:  TeXhax Digest V89 #81 (chapters beginning on new pages)
                   Re: Apparent bug in art11.sty and art12.sty
                          \big delimiters in LaTeX 12pt
                         Environment containing verbatim
                 Extraneous spacing before and after environments
                               1000dpi laser printer
                                     dvips 4.0
                            DVI to Postscript (again....)
                                PostScript problems
                               "True" APA bib-style ?
                       Scripts other than the roman script
                         Where to find an apl-font ... ?

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

Date:  Fri, 15 Sep 89 13:45 N
From: <VANSOEST%HENUT5.BITNET@UWAVM.ACS.WASHINGTON.EDU>
Subject: Abbreviation files for tib
Keywords: TiB, abbreviation files

Tib is a bibliographic preprocessor for (La)TeX, written by J. C.
Alexander of the University of Maryland, and looks a lot like "refer".
We have been using tib for some time now, and are quite satisfied with
it.
But, there's always room for improvement. We have heard that there are
some files around with abbreviations of names of magazines for tib.
This could save us a lot of typing work and frustration (try to type
"Artificial Intelligence" 20 times without making a mistake...).
I have not been able to find anything on tib on the file-servers I
know of.
Does anyone know where these files can be obtained?
Thanks in advance!!

Dick van Soest                EARN/BITNET: VANSOEST@HENUT5.bitnet
Dept. of Computer Science     EUNET: hp4nl!utrcu1!utis03!vansoest
University of Twente
Enschede,
The Netherlands

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

Date: Tue 12 Sep 89 16:37:08-MDT
From: "Nelson H.F. Beebe" <Beebe@SCIENCE.UTAH.EDU>
Subject: Errata and Files from Wayne Sewell's WEB book now available
Keywords: WEB, errata, files

The anonymous-ftp accessible directory aps:<tex.pub.sewell>
on science.utah.edu contains errata and files from Wayne
Sewell's new WEB book,

@Book{Sewell:web,
  author =      "E. Wayne Sewell",
  title =       "Weaving a Program: Literate Programming in {WEB}",
  publisher =   "Van Nostrand Reinhold",
  year =        "1989",
  ISBN =        "0-442-31946-0",
}

This directory will be updated periodically from material
supplied to me by the author.  The current contents are

00tdir.cmd	getstart.tex	pasforce.ch	regpas.tex
00tdir.lst	longid.ch	paslines.ch	smallnoe.tex
errata.ltx	modsect.tex	passlast.tex	smallweb.tex
forward.ch	noeject.tex	readme.txt

X-Us-Mail: "Center for Scientific Computing, South Physics, University of Utah, Salt Lake City, UT 84112"
X-Telephone: (801) 581-5254

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

Date: Tue, 12 Sep 89 13:46:47 PDT
From: Phil Farrell <farrell@erebus.Stanford.EDU>
Subject: RE:  DVI files to Mac
Keywords: dviware, Macintosh

In TeXhax vol 89, issue 81, Alan Stein wondered how to transfer a DVI file
from a Sun to a Mac.  He transferred a file but could not get it printed
from the Mac.  He did not say which TeX program he was using on his Mac,
but I encountered this same problem with OzTeX.  My problem was that on 
the Macintosh, there is the concept of a "file type", which is a four
character string stored as part of the file header information.  Programs
(applications) normally will only work with files that contain the proper
file type string.  Programs such as MacIP ftp create the file on the Mac
with file type "TEXT", whereas programs such as OzTeX expect DVI files
to have file type "ODVI" (TeXTures, etc., may use a different string).
I was able to solve the problem by using the DiskTop desk accessory from
CE Software to change the file type for my transferred files to "ODVI",
which is what OzTeX expected.

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

Date: Fri, 15 Sep 89 09:01:05 -0500
From: "J.D. McDonald " <mcdonald@uxe.cso.uiuc.edu>
Subject: Re: hyphenation
Keywords: TeX, hyphenation

Chris Torek mentioned that TeX mishyphenates "orthokeratology". 
There is a whole class of words it gets wrong: chemical names.
I tried four and it got two wrong, and left out several correct
places in the other two:
          TeX                                 correct
paraflu-o-ro-toluene                       par-a-fluoro-tol-u-ene
or-thoni-tro-toluene                       or-tho-ni-tro-tol-u-ene
paradimethyl-ben-zene                      par-a-di-meth-yl-benz-ene
param-ethy-lanisole                        par-a-meth-yl-an-is-ole.

The "correct" ones are by pronunciation - if you decided to 
hyphenate only by chemical constituent (which necessarily breaks
between syllables, due to the pronunciation rules) it would be


para-fluoro-tolu-ene
ortho-nitro-tolu-ene
para-di-methyl-benz-ene
para-methyl-anis-ole

"fluoro" is two syllables, but nobody would risk deciding where to break it.
It would probably be fluor-o, but could also be fluo-ro.

Essentially one has to do this by hand.

Doug McDonald

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

Date: Wed, 13 Sep 89 13:57:52 MET
From: Victor Eijkhout <U641000%HNYKUN11.BITNET@Forsythe.Stanford.EDU>
Subject: TeX and Braille?
Keywords: TeX, Braille

Hello,

has anyone ever run into the need to convert TeX to braille?
The situation is this: some LaTeX files have to be handed out
to a number of people, one of whom is blind.

I can make some guesses: you need a style which has only
one, monospaced, font; probably demolish all tables; and
so on. (Maybe the idea of just turning the LaTeX *input*
into braille is not so silly.)

Any comments appreciated.


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               080-613169
   western spiral arm
   of the galaxy"                   u641000@HNYKUN11.BITNET

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

Date:  Fri, 15 Sep 89 9:02:40 EDT
From: "Benjamin J. Woznick" <bjw@BBN.COM>
Subject:  Re:  TeXhax Digest V89 #81 (chapters beginning on new pages)
Keywords: Typesetting, pages, chapters

While it is true that I cited only books in my office, which were
all either computer books or paper backs, I did later discuss this
matter with Bernie Cosell, who pointed out that the Chicago Style
Manual (13th Edition, although it is in a similar place in the
12th), section 1.52 says:

	In the printed book, each chapter normally starts on
	a new page, verso or recto...

and there is a footnote, which says:

	When offprints are individual chapters are planned, each
	chapter in a book should begin on a recto page so that
	the printer need not reimpose pages for offprints but
	can simply gather them together.

The other books in my office are mostly military history of sorts,
and include:  The Battle for the Falklands, Hastings and Jenkins,
Norton (uses verso and recto); The Red and The Blue, Sinclair,
Little Brown (uses verso and recto); Overlord, Hastings, Simon
and Shuster (uses verso and recto), and two books published by
Viking: Six Armies in Normandy, Keegan (uses recto only), and
Spycatcher, Wright (uses verso and recto).  This last comparison
emphasizes Lamport's point: the editor/book designer team in
a publishing house often has a good deal to say about how an
individual book comes out.  I still think that it is not the case
that ``all real books'' start their chapters on the recto page.
In addition, the standard LaTeX book style does not do a 
\cleardoublepage at the beginning of a chapter, but simply goes 
to the top of the next page, whether it is an even or an odd one.
	Ben Woznick

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

Date: Fri, 15 Sep 89 08:31:02 EDT
From: hobby@research.att.com
Subject: Re: Apparent bug in art11.sty and art12.sty
Keywords: LaTeX, art11.sty, art12.sty

In reply to Martin Ward's message about \big not working in LaTeX at sizes
other than 10 point, I would like to put in another plug for  fixup.sty
which should be available from the Clarkson archive server.

The main features this style option are the following:
1) It makes LaTeX size changes effect plain's \big, \Big, \bigl, \bigr, etc.
2) It tries to eliminate extra vertical spaces that I think are extraneous
3) It makes operator spacing for eqnarray similar to plain's \eqalign

Item (1) is a slightly more general solution than Martin Ward suggested.
A really good solution would also use magnified versions of cmex10.

The main motivation for (2) is that I was getting more vertical space in
my figures than the parameters in the style file seemed to imply I should
have.  The change effects spacing at the top of some figures and spacing
around the \write that \caption puts into the vertical list.

- John Hobby
hobby@research.att.com

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

Date: Wed, 13 Sep 89 11:08:34 EDT
From: jsv@cs.brown.edu
Subject: \big delimiters in LaTeX 12pt
Keywords: LaTeX, \big

I noticed that I can't get the slightly-larger-than-usual delimiters
by using \big (such as \bigl(, \bigl\{, etc.) when using LaTeX at 12pt.
Apparently the \big delimiters aren't magnified like the rest of the
text, and the result is that they're the same size as the usual delimiters.
This seems like a bug that should be fixed.
Any chance of that happening soon?

Prof. Jeffrey S. Vitter
Dept. of Computer Science
Brown University
Providence, R. I.  02912-1910

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

Date: Fri, 15 Sep 89 00:25:16 MEZ
From: Erich Neuwirth <A4422DAB%AWIUNI11.BITNET@UWAVM.ACS.WASHINGTON.EDU>
Subject: Environment containing verbatim
Keywords: TeX, LaTeX, environment, verbatim

Is there a way to define an environment that functions like

begin{newenv}{%
begin{center}
begin{minipage}{examplewidth}
begin{verbatim}%
}{%
end{verbatim}
end{minipage}
end{center}
}
verbatim is the offender, it does not function when integrated this way
into a new environment.

Erich Neuwirt

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

Date: Wed, 13 Sep 89 11:13:19 EDT
From: jsv@cs.brown.edu
Subject: Extraneous spacing before and after environments
Keywords: LaTeX, spacing, environments

I posted this in early Summer, but was away for the responses
and missed them.  I regard this as a serious problem for LaTeX
to be used as a typesetting system for people that want top-quality layout.
Any info would be greatly appreciated.

I'm a long-time pure TeX user, now using LaTeX often.
I'm trying to get LaTeX to handle the spacing above and below
list environments like it is supposed to (but doesn't).
If several list environments (including theorems, etc.)
come one after another, with no blank lines in the source code
between the end of one and the start of the next,
then the spacing between the last line of one and the beginning line
of the next should be \topsep + \parskip.  But I'm getting
extra spacing sometimes (though not always), which might
be coming from LaTeX thinking that there is a blank line before
the new environment or perhaps from some extra stretch coming
from somewhere.  In either case that's a bug.

If there is a figure defined, then sometimes there's a lot of extra
spacing before one of the following environments, even
though there are no  blank lines in the source code between
environments.  I've tried putting comment characters immediately
after the \end statment of the environments, hoping that that would
suppress an extraneous CR, but that doesn't work.

LaTeX is supposed to use the \addvspace mechanism for its list
environments, which is supposed to make spacing uniform and not add up
because of redundant spacing commands.  

Obviously there's a problem. There's no reason why 
LaTeX shouldn't work right and take advantage of TeX's power
to produce precisely correct spacing.  Any ideas/fixes?

Prof. Jeff Vitter                   email: jsv@cs.brown.edu
Dept. of Computer Science           phone: (401) 863-7646
Brown University                    FAX:   (401) 863-7657
Providence, R.I. 02912-1910

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

Date: Wed 13 Sep 89 13:17:43-MDT
From: "Nelson H.F. Beebe" <Beebe@SCIENCE.UTAH.EDU>
Subject: 1000dpi laser printer
Keywords: Laser printer, 1000dpi

Page 7 of the September 4, 1989, issue of InfoWorld magazine
carries an advertisement for a 1000 x 400 dpi laser printer
from LaserMaster, 7156 Shady Oak Road, Eden Prairie, MN
55344, Tel: (612) 872-8973.  Duty cycle is 10,000 pages/month.

Has anyone seen this device and perhaps can report
experience with it?  Pricing, speed, and printer command
language are all of interest.

X-Us-Mail: "Center for Scientific Computing, South Physics, University of Utah Salt Lake City, UT 84112"
X-Telephone: (801) 581-5254

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

Date: Thu, 14 Sep 89 20:54:34 -0700
From: Tomas G. Rokicki <rokicki@Neon.Stanford.EDU>
Subject: dvips 4.0
Keywords: dviware

ANNOUNCING RELEASE of dvips version 4.0, with the following features:

	- `Correct' memory budgeting; no longer have to break up
		long documents by hand
	- Bitmap font compression on output greatly reduces output
		file size, especially at typesetter resolution
	- Fast and compact page code reduces size of output file
	- Encapsulated PostScript graphics support
	- Non-encapsulated PostScript graphics support
	- PostScript font support, with correct use of ligatures
		and kerns and TeX character positions.
	- Brand new afm2tfm source provided
	- Automatic generation of missing fonts through METAFONT
		(or can be modified to convert gf->pk as needed)
	- Conformant PostScript output
	- Automatic spooling through lpr or other process
	- Support for multiple printers with different characteristics
	- Literal PostScript specials and macros
	- Generation of collated as well as uncollated copies
	- Reversal of pages on demand
	- Compact, modular source code for easy modifications
	- Freely redistributable
	- Easy installation
	- psfig and tpic support

The most important new feature is the bitmap compression feature; you
can now generate files for high-resolution typesetters using standard
TeX bitmapped fonts without generating impossibly large output files.

This code is available from labrea.stanford.edu in ~pub/dvips40.tar.Z.

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

Date: Thu, 14 Sep 89 13:14:46 -0700
From: Louis M. McDonald <louis@aerospace.aero.org>
Subject: DVI to Postscript (again....)
Keywords: DVI2PS

In trying to track down a good dvi2ps program, I keep running
into road blocks. The following is a list of requirements
for a dvi2ps that I am looking for

	1. Must read in PK files
	2. Can include Macinstosh postscript files and print
	   successfully on an Apple LaserWriter. Some versions
	   I have tried cause a page eject before the pictures
	   prints, EVEN THOUGH the dvi file does not show a 
	   page eject.

	3. Must be able to do landscape as an option
	4. Must be able to also generate Postscript font usage.
	   I have TFM files for postscript fonts.
	5. Must work on both VMS and UNIX.

I know that this may be a difficult list to satisfy, but anyone
who has ideas about a dvi2ps program that can satisfy this (or most
of them), I would be interested in hearing from.

Louis McDonald

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

Date: Thu, 14 Sep 89 20:46:34 -0700
From: Tomas G. Rokicki <rokicki@Neon.Stanford.EDU>
Subject: PostScript problems
Keywords: PostScript, problems, printer, dviware

Time for another suggestion . . .

If those of you with PostScript printers and PostScript drivers have
noticed that long right arrows don't mesh properly, or that large
square roots don't line up, or that the word `pop' in cmr10 or the
word `type' in cmtt10 look uneven, you've been bit by a bug in your
PostScript interpreter.  The bug is that the imagemask operator,
when used with integer translation components, may round incorrectly.

This is an empirical fix.  If you are using a moderately standard
prolog file, you will find lines similar to:

/ch-xoff {ch-data 3 get} bdf
/ch-yoff {ch-data 4 get} bdf

We fudge these a little by subtracting .1 from each:

/ch-xoff {ch-data 3 get .1 sub} bdf
/ch-yoff {ch-data 4 get .1 sub} bdf

This usually solves the problem, but it should be verified experimentally
with your printer.  Maybe Adobe will fix this bug someday.

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

Date: Fri, 15 Sep 89 09:12:56 CET
From: Josef Lukas <BP6%DHDURZ1.BITNET@UWAVM.ACS.WASHINGTON.EDU>
Subject:  "True" APA bib-style ?
Keywords: APA, bibtex

Does anybody have a bibtexstyle for APA Journals? apalike.bst does a pretty
good job, but leaves important requirements unsolved. The major problems are:
1) \cite produces something like (Miller, 1988) in any case. APA however
   requires context-dependent citing. For example:

      As shown by Miller(1988) and Presnick(1985,1986a), there are ...
      The field is far from beeing closed (Blank,1987; Stone & Bush, 1989).

   That means: there are two formats: AUTHOR(YEAR) and (AUTHOR,YEAR),
   depending on the grammatical context, for one and the same bib-entry.

2) For more than two authors, the abbreviation "et al" is used. That is
   correct for the second and all subsequent citations. According to APA,
   in the very FIRST citation in the text, ALL the authors have to be
   named.

Are there any solutions or workarounds? Thanks for any help.

                                                                -josef.

 JOSEF LUKAS, PSYCHOLOG. INSTITUT UNIVERSITAET HEIDELBERG
 HAUPTSTR. 47-51, D-6900 HEIDELBERG, FED. REP. GERMANY

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

Date: Fri, 15 Sep 89 11:54 EET
From: ABULSARI@finabo.abo.fi
Subject: Scripts other than the roman script
Keywords: fonts, scripts, Hindi, Gujarati, TeX

I need to use Hindi and Gujarati scripts. Can you advise me how to do it
on TeX ? We would like to have these fonts here.

Thanks.

Abhay Bulsari

Chemical Engineering
Abo Akademi, Turku, Finland

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

Date: Fri, 15 Sep 89 14:47:09 +0200
From: Peter Verbeke <FGCBA10%BLEKUL11.BITNET@UWAVM.ACS.WASHINGTON.EDU>
Subject: Where to find an apl-font ... ?
Keywords: font, apl

Could anyone point me to a source (commercial or public) where I could find
an apl-font ?

thanks,
peter
Organization: K.U.Leuven (Belgium)

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

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