[comp.text] TeXhax Digest V89 #105

TeXhax@cs.washington.edu (TeXhax Digest) (11/29/89)

TeXhax Digest    Monday,  November 27, 1989  Volume 89 : Issue 105

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:         

                       Mini-indices in C&T Part B/D
                         Tib with  \input ability
            Printing TeX documents on a Digital PrintServer 40
                         BibTeX problems under VMS
                              HP 9000 Question
                    Problem with TeX-XeT installation
                        Help needed setting up TeX
                      Need Write-white PK font files
                Explanation of PXL, PK font magnifications
                            Chinese MetaFont?
                      A (let's say) feature of 'ifx'
                              2 TeX puzzles
                 Questions about the labrea distribution

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

Date: Wed, 15 Nov 89 21:00:06 SET
From: Peter Sawatzki <FE617%DHAFEU11.BITNET@UWAVM.ACS.WASHINGTON.EDU>
Subject: Mini-indices in C&T Part B/D
Keywords: TeX, mini-indices

I am wondering how DEK has made the mini-indices in Computers&Typesetting
Part B and D ? Can anyone help ?

Peter

 Peter Sawatzki  <FE617+DHAFEU11.BITNET> 

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

Date: Tue, 14 Nov 89 14:31:29 EST
From: jsv@cs.brown.edu
Subject: Tib with  \input ability
Keywords: Tib

Does anyone have info about versions of the Tib bibliography preprocessor
that are smart enough to process \input statements correctly?
Tib is really nice to use, but it can be a mess when the TeX document 
is broken up into several TeX files.  Info would be greatly appreciated.


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           home:  (401) 831-6836

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

Date: Tue, 14 Nov 89 13:38:43 EDT
From: WAS@UACSC1.ALBANY.EDU
Subject: Printing TeX documents on a Digital PrintServer 40
Keywords: TeX, Digital PrintServer

The Computing Services Center at the University at Albany has a
Digital PrintServer 40 laser printer and the Math department has
an LN03R.  Much of the TeX output from these printers is of poor
print quality.  The problem stems from the fine strokes of many
of the characters in the CM typefaces.  The fine strokes tend to
break up.  We have no trouble with typefaces that are heavier in
weight such as the bold faces.  I am told that output from an
Apple LaserWriter does not have this problem, although I have not
seen the output.

Has anyone else experienced this problem?  Does anyone have a solution?

Bill Schwarz

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

Date: Tue, 14 Nov 89 12:09:24 -0500
From: paules@phoenix.Princeton.EDU (Granville E Paules)
Subject: BibTeX problems under VMS
Keywords: BibTeX, VMS

Has anyone running the DECUS distribution of BibTeX v 0.99c for VAX/VMS
experienced any problems and if so has a fix been posted?  I am successfully
running BibTeX v 0.98i under BSD Unix and the uTeX version on PC.  The 
error issued is encountered for every entry in a bib database with
the message  "string" is a literal, not a function for entry "entry"
             while executing---line 729 of file plain.bst
where string is the field and entry is the entry.
  Refer help to 
                     paules@phoenix.princeton.edu
                     Skip Paules

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

Date: 14 NOV 89 09:43:41
From: EJONES%TUNS.CA@UWAVM.ACS.WASHINGTON.EDU
Subject: HP 9000 Question
Keywords: HP 9000

Hi,

We are about to install an HP 9000 835S, running HP UX, here at TUNS and
would like to run TeX/LaTeX on it.  Is there a supported version of
TeX out there for this machine... If not where could I get a "generic"
version of TeX... TeX written in "C" I guess.  Has anyone installed
Unix TeX on this machine.  Also, we intend to use the HP LaserJet II
as the output device.  Arbortext makes a driver for this printer that
runs on the HP 9000 300,  but says it doesn't run on the 835S, nor does
their version of TeX.

Any information that could be provided, would be greatly appreciated.

Thanks,
Ed Jones
Technical University of Nova Scotia
EJONES@TUNS.CA    or    EJONES@TUNS.BITNET

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

Date: Thu, 2 Nov 89 12:40:39 +0200
From: Rama Porat <rama@shum.huji.ac.il>
Subject: Problem with TeX-XeT installation
Keywords: TeX-XeT

Can anyone help me finding a solution to the following
problems which I have encountered while installing tex-xet--

1. I need something like
\font\somename=\fontname\font scaled \magstep1
where \fontname\font will be expanded into the name of
the currently used font's file name.
It does not work; if, for example, the current font is \rm,
I get the message
font cmr10scaled not loadable.

I have tried \fontname\font\       or          \fontname\font{ }
but nothing works.

2. In order to install a Hebrew tex-xet, I use Knuth's suggestion
and specify
\everypar{\kern-\parindent\beginR\indent}
this inserts the right indentation in the right margin,
and reverses the text of each paragraph.

The problem is the LaTeX changes \everypar, so that in certain
environments, like, for example \section, my
specification of \everypar is destroyed. I have tried to
modify the file latex.tex, so that my \everypar will
be kept, but with no success.

Thanx for help!
Rama.                        rama@shum.huji.ac.il

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

Date:  Tue, 14 Nov 89 18:11 CST
From: Computer Addict! <ZAZULA%FNAL.BITNET@UICVM.uic.edu>
Subject:  Help needed setting up TeX
Keywords: TeX, help

Hello TeX Hackers:

    I need some assistance setting up TeX an a couple of systems.

    The first system is a VAX  running VMS. We currently have TeX
version  2.0  working  but wish  to  upgrade to  the  new 3.0 (or
2.9999999...). Anyway, I have  been able to find the WEB files at
(labrea.stanford.edu)  but the CHANGE  files are not working with
the new WEB files.  I'm not really up on  WEB and I can't seem to
figure out what changes are needed for the new versions. I looked
at the  file  TEX82.BUGS but  that  didn't make  much sense to me
either. Does anyone have working .CH files for the new TeX to run
under VMS?  I'm sure they  are out  there somewhere  but I cannot
find them.

    The next system (UNIX System V-AT) is posing quite a problem.
My configuration is:

              12 MHz 286 w/ 1Mbyte RAM  running...
              MicroPort System V-AT Release 2.4

    I  got the  TeX  files  from  the  FTP  server  UUNET.UU.NET.
Beacause of the 64K segment limitation and no HUGE model in the C
compiler, I have had to reduce the array sizes on most all of the
files    (TANGLE,WEAVE,TEX...) thus  causing  me to  be unable to
TANGLE TEX.WEB.  I *was* able  to convert the  TEX.WEB and TEX.CH
files to TEX.P  on our VAX  after compiling  CTANGLE under VMS. I
then  downloaded TEX.P to  the AT and  WEB2C'd it  okay. TeX cc'd
okay under Unix  (after  reducing various array  sizes denoted by
mem_max, mem_top etc.) and created initex* but now I keep getting
the error: "Not  enough space"  from CSH every  time I try to run
it.

    I have been  reading my copy of "TeX :  The program" to learn
more about the memory  allocation in TeX but I have found no clue
to the "Not enough  space" error. From  what I understand so far,
TeX uses the MEM array for most (all?) of it's memory storage but
I  thought I  reduced  the  allocation  for MEM  by  reducing the
constant mem_max. Needless to say, I'm confused.

    I know of other  implementations  (DOSTeX for example) of TeX
on  iNTEL based   machines that  have  overcome  the  64K segment
limitation and I'm wondering if  anyone out there has worked with
porting TeX either to DOS,  System V-AT or any other OS that runs
on PC-type machines.  I welcome any code,  ideas or comments from
anyone out there.

Many thanks in advance...

   | Ralph Zazula                               "Computer Addict!"        |
   | Northern Illinois University          ---  Department of Physics     |
   |   NIUHEP::ZAZULA                            (DecNet/HEPNet)          |
   |   ZAZULA%NIUHEP@SEMASSU                     (BitNet)                 |
   |   ZAZULA%NIUHEP.DECNET@NCSAA.NCSA.UIUC.EDU  (Internet)               |
   |----------------------------------------------------------------------|
   | Fermi National Accelerator Laboratory ---  Experiment E-740 (D0)     |
   |   FNAL::ZAZULA                              (DecNet/HEPNet)          |
   |   ZAZULA%FNAL.BITNET@UICUVM.UIC.EDU         (BitNet)                 |

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

Date: Fri, 17 Nov 89 17:21:13 EST
From: millipore!blu@uunet.UU.NET (Brian Utterback)
Subject: Need Write-white PK font files
Keywords: fonts, write-white PK font

I have a Ricoh engine based laserprinter (Cammington TurboLaser/PS+3)
which is a write-white machine.  I have the unix-TeX distribution on a
SUN 386i and the OZTeX distribution on my Mac.  The only trouble is that 
the only font files I have are for a white-black engine and they look 
terrible.  Does anyone have the fonts for this machine? I do not 
currently have internet access so it would have to be either a uucp or
Email transfer.  Thanks in advance.

Brian Utterback, Millipore Corporation, 75G Wiggins Ave., Bedford Ma. 01730
UUCP:: uunet!merk!millipore!blu Work:617-275-9200x8245, Home:603-891-2536

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

Date: Wed, 15 Nov 89 12:11:37 EST
From: munnari!murdu.ucs.unimelb.EDU.au!rab@uunet.UU.NET (Richard Alan Brown)
Subject: Explanation of PXL, PK font magnifications
Keywords: fonts, PXL, PK, explanations

In TeXhax 2 Nov, Udaya Bhaskar Vemulapati <vemula@shire.cs.psu.edu> writes:

> 	I want to know at what magnifications that a particular font is 
> available at our installation. It used to be easy when the system was 
> using "pxl" files because the extension was the mag factor. Is there any
> such quick rule for "pk" as well as "gf" files? I am sure there is but can 
> someone explain in detail? Thanks in advance.

If you ask me, its the PXLs that caused all the trouble in the first place!
This is my understanding of the font naming convention (please correct
me if I'm wrong!):

The PXL pixel files were originally created for a 200 dpi device. TeX
magnifications can be specified in one part in 1000, so in TeX a
magnification of 1000 corresponds to no magnification at all. Thus, for
a magnification of 2, we require a TeX magnification of 2000, and so
on.

However, I think most of us use laser printers with a resolution of
300dpi. Therefore, this device requires a pixel file corresponding to a
50% size increase on a 200dpi machine: i.e. 1500, because we have more
pixels to fill in. This is where the ubiquitous 'magnification 1500'
messages come from when we ask for \magstep0 in the TeX source
(assuming you have a 300dpi machine). This can get very confusing, and
it all results from the unfortunate 'standard' of a 200dpi output
device.

When the PK fonts were introduced, someone had the foresight to throw
all of this out the window. An unmagnified dvi file for a 200dpi device
would require files with the extension '.200pk'. The same file would
require a '300pk' file on a 300dpi device. Other magnifications merely
scale this: a double size output on a 300dpi machine would require a set
of '600pk' files. The GF files from MetaFont follow this convention also.

e.g. Quick Example using the cmr10 font:

     1. 200dpi device:

		\magstep0 (1000) requires:

			cmr10.1000pxl or cmr10.200pk or cmr10.200gf

	    \magstep1 (1200) requires:

		   cmr10.1200pxl or cmr10.240pk or cmr10.240gf

	 2. 300dpi device:

		\magstep0 (1000) requires:

		   cmr10.1500pxl or cmr10.300pk or cmr10.300gf

		\magstep1 (1200) requires:

		   cmr10.1800pxl or cmr10.360pk or cmr10.360gf

Richard Brown
(pbrown@munda.ph.unimelb.edu.au)

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

Date: Wed, 15 Nov 89 18:24:11 MST
From: thomson@cs.utah.edu
Subject: Chinese MetaFont?
Keywords: METAFONT, Chinese

I read in the TeXBook that a version of the MetaFont program was created
for Chinese character fonts.  Is this version of MetaFont available?  I'm
looking for freely available text processing capabilities for Chinese
character sets and TeX would be my first choice.  I ftp'ed the
chinese.tar.Z file from cs.washington.edu.  This gives some metafont files
that describe the necessary changes to the standard metafont needed in
order to work with the larger character tables.  Unfortunately I can't
decipher the change instructions!

Is there anyone out there who is using TeX/MF in such a capacity, or has
the necessary instructions for how to modify MF?  We have the full sources
to TeX/MF here at Utah... I did notice that MF here is MF84 and not MF82;
were there major changes to many modules between '82 and '84?

Please e-mail me as I don't read TeXhax regularly.  Thanks in advance.

						-- Rich
Rich Thomson	thomson@cs.utah.edu  {bellcore,hplabs,uunet}!utah-cs!thomson
"Tyranny, like hell, is not easily conquered; yet we have this consolation with
us, that the harder the conflict, the more glorious the triumph. What we obtain
too cheap, we esteem too lightly." Thomas Paine, _The Crisis_, Dec. 23rd, 1776

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

Date: Tue, 14 Nov 89 16:31:43 MET
From: Victor Eijkhout <U641000%HNYKUN11.BITNET@Forsythe.Stanford.EDU>
Subject: A (let's say) feature of 'ifx'
Keywords: ifx

I know, I know, it's surely not a bug, but please, can
someone tell me why it's logical?

I was trying to test equality of strings, and I came up with the
following macro:

\def\testsame#1{\expandafter\ifx\csname#1\endcsname\match
                 \message{the same}\else\message{not the same}\fi}

Given this macro,

\testsame{match}

works, and so does

\testsame{nomatch}

but what happens with the sequence

\testsame{nomatch}
\testsame{match}
\testsame{nomatch}

??????????????????????????????????????????????????????????

(note that the problem disappears if you define \match)

Yours bepuzzledly,

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               +31 80  61 3169
   western spiral arm               (switchboard: 61 1111)
   of the galaxy"
                                    u641000@HNYKUN11.BITNET

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

Date: Thu 16 Nov 89 21:56:24-EST
From: Michael Downes <MJD@VAX01.AMS.COM>
Subject: 2 TeX puzzles
Keywords: TeX, puzzles

Here's a couple of puzzles, for the amusement of you TeXperts out
there.  These are ones that have come up in my own macro-writing.

PUZZLE NO. 1:

I was trying to define a macro to access a German Fraktur font in
math mode.  You should be able to deduce what the problem is from
the list file alone.  You may very generously assume that the
underlying seed of the problem was buried far away in a separate
file, and not right under my nose.

LIST FILE-----------------------------------------------------------------
This is TeX, VAX/VMS Version 2.98a.0 (AMS) (preloaded format=plain 89.5.9)
16 NOV 1989 21:25
**TEST
(COM:[MJD]TEST.TEX;170
> \frak=macro:
#1->{\fam \frakfam \relax #1}.
l.5 Test: $u\in H^1(\show\frak
                              \frak G,Z_2)$.
?
! Use of \frak doesn't match its definition.
l.5 Test: $u\in H^1(\show\frak\frak G
                                     ,Z_2)$.
? h
If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.

? x
No pages of output.


PUZZLE NO. 2:

This one demonstrates a subtlety of TeX that I wasn't previously aware of.  I
eventually found the answer by rereading parts of the TeXbook, but only after
first spending an hour or more in the sort of complete bewilderment where
you've reached the limit of your knowledge and are reduced to trying one wild
guess after another, re-TeXing the file each time and not seeing any rhyme or
reason in the results.  (This is the penultimate stage of bewilderment; the
ultimate stage is when you actually go back to the TeXbook and read the
instructions.)

The question is:  Why did TeX balk when I tried to assign \twotoo to
\testcount, but not when assigning \two to \testcount?

UCCODE.TEX----------------------------------------------------------------
\newcount\testcount
\def\two{2}
\uccode`\b=`\2
\edef\next{\def\noexpand\twotoo{b}}\uppercase\expandafter{\next}
\show\two \show\twotoo
\testcount=\two \showthe\testcount
\testcount=\twotoo \showthe\testcount

LIST FILE-----------------------------------------------------------------
This is TeX, VAX/VMS Version 2.98a.0 (AMS) (preloaded format=plain 89.5.9)
16 NOV 1989 21:40
**UCCODE
(COM:[MJD]UCCODE.TEX;7
\testcount=\count25

> \two=macro:
->2.
l.5 \show\two
              \show\twotoo
?
> \twotoo=macro:
->2.
l.5 \show\two \show\twotoo

?
> 2.
l.6 \testcount=\two \showthe\testcount

?
! Missing number, treated as zero.
<to be read again>
                   2
l.7 \testcount=\twotoo
                       \showthe\testcount
? h
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

? x
No pages of output.

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

Date: Tue, 14 Nov 89 08:40:17 -0500
From: ingr!streeter@uunet.uu.net
Subject: Questions about the labrea distribution
Keywords: archives

I don't have ftp access.  I got my current TeX, etc. source from the uunet
archives, which they tell me is a copy of the unix directory on labrea.
There are files in other directories on labrea that are newer than this,
but I don't know if I can use them.  I have to use web2c.  Are there web2c
change files for the newer .web sources?  How can I tell my friendly ftp
intermediary which files to fetch from labrea?  How many question can I
ask in one posting?

thanks,
Guy Streeter
streeter@ingr.com
...!uunet!ingr!streeter

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

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