[comp.text.tex] TeXhax Digest V90 #25

TeXhax@cs.washington.edu (TeXhax Digest) (03/06/90)

TeXhax Digest    Sunday,  March 4, 1990  Volume 90 : Issue 25

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:         

                        refer->bibtex conversion
                       Re: LaTex header line problem
                mssymb and 11 point LaTeX articles don't mix
                        LPLAIN for LaTeX/TeX 3.0
                    New TeX files needed for TeX 3.0
                           Word Count in TeX
                            TeX Dictionary?
                                 TeX 3.0
                       Tex-related file formats
                       Output-driver for TOPS10
             dvi-to-HPseries II: is there one before I write it?
                         PostScript previewer?
                         a GOTHIC font for TeX
                               MICR fonts
                              fat font bug

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

Date: Thu, 22 Feb 90 13:11:05 EST
From: staelin@Princeton.EDU (Carl Staelin)
Subject: refer->bibtex conversion
Keywords: BibTeX, conversion

Is there a program which converts refer databases to bibtex databases?
Are there any tools similar to refer's "sortbib" and "lookbib" for
bibtex?  I am converting from troff to LaTeX, but I have a very large
installed base of refer references which I would like to convert to 
bibtex, and any automated tools which help would be wonderful.
Thank you in advance for any assistance/information.

Carl Staelin
(staelin@cs.princeton.edu)

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

Date: Fri, 23 Feb 90 18:11:08 -0100
From: Piet van Oostrum <piet@cs.ruu.nl>
Subject: Re: LaTex header line problem
Keywords: LaTeX, header

In <TeXhax Digest V90 #18>  Erich Neuwirth writes:
 `I do not want to reinvent the wheel, so my question
 `when doing, say, a dictionary in LaTeX I want to have the first
 `and the last entry on each page in the header.
 `Is there a simple way to do this (without going into the
 `output routine).
 `Does anybody have a style file achieving this?
 `
You have to use the \mark commands (\markboth, \markright). There is a
\leftmark and a \rightmark. \rightmark receives the first mark on the page,
\rightmark the last one. \markboth sets both marks (so it has two
parameters), \markright sets only \rightmark. (There is no \markleft).

Now you can put \rightmark and \leftmark in your header. To make your
header fully customizable, you could use my 'fancyheadings.sty'.

Here is a working example:

\documentstyle[fancyheadings]{article}
\newcommand{\doit}[1]{#1\markboth{#1}{#1}\\}
\pagestyle{fancy}
\lhead{\sl \rightmark~--~\leftmark}
\rhead{page \thepage}
\markright{1}
\begin{document}

\doit{1}
\doit{2}
\doit{3}
\doit{4}
      .......
\doit{197}
\doit{198}
\doit{199}
\doit{200}

\end{document}

Notes:
1. The \markboth must immediately follow the word that is to appear in the
header. Otherwise a pagebreak may cause the header to be one off.

2. This will not work on the first page, as Latex puts an empty \rightmark
in the beginning of the document that cannot be undone.

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: Thu, 22 Feb 90 15:06:09 EST
From: agw@hudson.cs.columbia.edu (Art Werschulz)
Subject: mssymb and 11 point LaTeX articles don't mix
Keywords: LaTeX, mssynb

Hi.

I have the following in the beginning of a LaTeX file:

\documentstyle[11pt,twocolumn,proc,equation]{article}
\input mssymb
\def\reals{\Bbb R}

Although the entire article is in 11pt style, any $\reals$ will be
from the 10pt font!!  

This may be traced to the following lines in mssymb.tex:

\font\tenmsx=msxm10
\font\sevenmsx=msxm7
\font\fivemsx=msxm5
\font\tenmsy=msym10
\font\sevenmsy=msym7
\font\fivemsy=msym5

The cure was to create a new file mssymb11.tex, identical to
mssymb.tex, except that the lines above are replaced with

\font\tenmsx=msxm10 scaled\magstephalf
\font\sevenmsx=msxm7 scaled\magstephalf
\font\fivemsx=msxm5 scaled\magstephalf
\font\tenmsy=msym10 scaled\magstephalf
\font\sevenmsy=msym7 scaled\magstephalf
\font\fivemsy=msym5 scaled\magstephalf

Now use \input mssymb11 (instead of \input mssymb), and everything
works OK.

This is a fairly horrid solution, since if I want to use a
twelve-point document style, I'd have do the same (except with
\magstep1).  Thus, I'm using 3 versions of mssymb.

Anybody out there have any better solutions?

      Art Werschulz
      InterNet:  agw@cs.columbia.edu
      ATTnet:    Columbia University (212) 854-8642 854-2736
                 Fordham University  (212) 841-5323 841-5396

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

%%Moderator's note: The file referred to is too long to be included in the
%%TeXhax Digest. It will be available from june.cs.washington.edu by ftp.

Date: Tue, 20 Feb 90 14:50
From: Wujastyk (on GEC 4190 Rim-B at UCL) <UCGADKW%euclid.ucl.ac.uk@NSFnet-Relay.AC.UK>
Subject: LPLAIN for LaTeX/TeX 3.0
Keywords: LPLAIN, LaTeX, TeX

% File LPLAIN - Created 29 October 1985 from plain version 1.5CM
%             - Last modified 20 October 1988 to take into account
%               changes to PLAIN.TEX reported by Arthur Ogawa
%             - Modified February 8, 1990 by Dominik Wujastyk to 
%               match the PLAIN.TEX meant for TeX 3.0 (\fmtname{plain}, 
%               \fmtversion{3.0}).
% 
% This is the LaTeX version of the plain TeX format that's described in 
% The TeXbook.  All modifications can be found by searching for
% the word 'LaTeX'.
% N.B.: A version number is defined at the very end of this file;
%       please change that number whenever the file is modified!
% And don't modify the file under any circumstances.

                                  ****
Under a separate cover (so to speak) I have sent in 
a modified LPLAIN.TEX file for those who wish to use
LaTeX with the new version of TeX (2.993/3.0).  I simply
went through the new PLAIN.TEX in parallel with the old
LPLAIN.TEX and imported the new details into LPLAIN.TEX.
 
I now run TeX 2.993 on my PC (thanks Wayne!) with 
the new PLAIN and LPLAIN, and have had no problems.
 
It is *lovely* being able to input 8-bit characters.
 
Dominik
 

 Dominik Wujastyk,         | Janet:                  wujastyk@uk.ac.ucl.euclid
 Wellcome Institute for    | Bitnet/Earn/Ean/Uucp:   wujastyk@euclid.ucl.ac.uk
  the History of Medicine, | Internet/Arpa/Csnet:        dow@wjh12.harvard.edu
 183 Euston Road,          |    or:     wujastyk%ucl.euclid@nsfnet-relay.ac.uk
 London NW1 2BP, England.  | NEW PHONE NO.:           London 383-3132 ext.3013

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

Date: Fri, 23 Feb 90 09:59:54 GMT
From: "Wayne G. Sullivan" <WSULIVAN%IRLEARN@UWAVM.ACS.WASHINGTON.EDU>
Subject: New TeX files needed for TeX 3.0
Keywords: TeX 3.0

TeX 2.993, the prototype 3.0, is becoming more widely available (and is soon
I believe to become officially 3.0, perhaps with one or two minor blemishes
corrected).

Format producing TeX files must be upgraded for the new TeX. Plain 3.0 is
already available, but what about LPLAIN and SPLAIN for LaTeX and SliTeX?
I hope those who maintain these format producing files will either supply
new versions, or specify the necessary modifications so that individuals
may carry out the required changes themselves.

In order to take full advantage of the new capabilities of TeX 3.0 new
fonts and hyphenation tables are needed. I hope those working on these will
keep the TeX community informed through TeXhax and TUGboat. I have reason
to believe that the German hyphenation file ghyphen.max will not work
with the new TeX. The introduction of fonts dedicated to a specific language
will require new hyphenation files. Until the new fonts and hyphenation
tables are available, TeX 3.0 offers practically no advance over 2.991.

                                        Wayne Sullivan

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

Date: Tue, 20 Feb 90 18:23:27 +0000
From: Jan Purchase <J.Purchase@Cs.Ucl.AC.UK>
Subject: Word Count in TeX
Keywords: TeX, word count

Forgive me if this is a warn out question, but is it possible for TeX to
count and display the number of words output in a document? Does a PD macro
exist that might accomplish this goal? It seems simple enough, but my
experience with TeX is insufficient to give me any leads as to how the
problem should be tackled. Having to deTeX a document to perform a word
count is both tedious and inaccurate.

Many Thanks,

Jan.

****************************************************************************
FROM : Jan Andrew Purchase          | Snail:     Room 208, PhD Lab.,
                                    |            Computer Science Dept.,
JANET   : J.Purchase@uk.ac.ucl.cs   |		 University College,
ARPANET : J.Purchase@cs.ucl.ac.uk   |		 London, UK.
UUCP	: {... ukc!}ucl.cs!purchase |
****************************************************************************
      (these are my views, and are not necessarily those of UCL)
****************************************************************************

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

Date: Tue, 20 Feb 90 12:11:05 PST
From: CHOI%CALSTATE.BITNET@UWAVM.ACS.WASHINGTON.EDU  (S.Chan Choi)
Subject:  TeX Dictionary?
Keywords: TeX, dictionary

Dear TeXperts:
   It seems that new names of TeX programs and files are appearing
almost every issue of TeXhax.  For a not-so-TeXpert like me, it is
not easy to keep up-to-date of these new words.  If it has not been
done yet, I think it would be great to keep a dictionary file
describing all these file names and conventions availabe for ftp or
mail.

S. Chan Choi
San Jose State U.

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

Date: Wed, 7 Feb 90 23:53:04 +0200
From: Stelios Sartzetakis <stelios@csi.forth.gr>
Subject: TeX 3.0
Keywords: TeX 3.0

We are greatly needing the new TeX. What is the current status?

Here in Greece, we are using 8-bit characters almost everywere
in order to display, print and use the modern greek alphabet
at the same time with the latin. As D.Knuth is stating in his
November TUGboad issue, 3.0 is the answer to our problems,
we'd like to test it the soonest possible.

Thanks in advance for the update,

Stelios Sartzetakis             Office: +30 81 221171, 229302,229368,229346
                                Fax   : +30 81 229342...........(Preferred) 
Systems Analyst                 Telex : 262389 CCI GR...(if all else fails)
Foundation of Research          E-mail: stelios@csi.forth.gr  -or-
and Technology - Hellas         ______  STELIOS @ ARIADNE | ariadne!stelios 
Institute of Computer Science   P.O.Box 1385, Heraklio, Crete Greece 711 10

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

Date: Mon 19 Feb 90 17:11:49-EST
From: bbeeton <BNB@MATH.AMS.COM>
Subject: Tex-related file formats
Keywords: TeX, file format

norman walsh asks for information about the file formats for
.dvi, .pk and .mf files.
most formats for tex-related files have been published in tugboat;
a list of where to find them appeared in tugboat 7#1, p. 17.
for the specific files mentioned:
	.dvi -- tugboat 3#2, pp. 14-19; also in section 583 of tex.web
		and tex: the program
	.pk -- tugboat 6#3, pp. 115-120; also in the program pktopx.web

the .mf file is an ascii file to be input to metafont; what can
appear in it is described in the metafontbook, volume c of
computers & typesetting.

mr. walsh also asks if there is a public domain version of metafont
available.  to be able to answer this, one needs to know what
computer he is interested in running it on.  if he will send that
information in a message to the tex users group, tug@math.ams.com ,
the tug office can provide the information he is looking for and
also information about joining the users group, through which he
can get answers to many other questions as well.
						-- bb

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

Date:     Thu, 22 Feb 90 16:40:31 +0100 (Central European Time)
From: XCGNSTEX%DDATHD21.BITNET@UWAVM.ACS.WASHINGTON.EDU
Subject:  Output-driver for TOPS10
Keywords: driver, TOPS10

Hi out there,
my question is somewhat tricky...
I've implemented TeX on an old (very old) TOPS10 machine from DEC and
now I'm scanning for a device-driver to support the LN03-Laser and the
Kyocera-laser.
There is a implementation for LN03 based on the DVITYPE-processor,but
unfortunately with a change-file for VAX/VMS.
Even a Source for TOPS20 or WAITS might help, because the
distribution-kit was designed for TOPS20 and adaption was easy.
Is there anybody in this world who could help???
No marks left in brain about ancient years on a DEC-System10???
Thank you.
Any help either over BITNET to
        XCGNSTEX@DDATHD21.BITNET
or via paper-mail to
        Rechenzentrum Fachbereich Maschinenbau
        zu Haenden M. Gaertner
        Petersenstrasse 30
        D-6100 Darmstadt

M. Gaertner

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

Date: Mon, 19 Feb 90 23:08:55 CST
From: Dan Davison <davison@uhnix2.uh.edu>
Subject: dvi-to-HPseries II: is there one before I write it?
Keywords: dviware, HP Series II


Fellow TeXhax,

Before going off and writing a dvihp2, dvi-to-HP Laser Jet
Series II, I thought I would ask if anyone has already made such a
driver. I have checked the archives at science.utah.edu and didn't see
one.

Any hints would also be welcome.  In my hands, dvijet blows up badly
when confronted with a moderately complex LaTeX dvi file, where dvijep
handles it with no trouble.  I assume this is because of the severe
brain damage of the original HP Laser Jet machine.

E-mail responses would be appreciated, but I do also read TeXhax with
a intermittent delay.

Thanks in advance,

dan

ps and thanks to Nelson Beebe for making the dvi driver writing so
painless! 

dr. dan davison/dept. of biochemical and biophysical sciences/univ. of
Houston/4800 Calhoun/Houston,TX 77054-5500/davison@uh.edu/DAVISON@UHOU

"Mars is essentially in the same orbit...somewhat the same distance
from the sun, which is very important.  We have seen pictures where
there are canals, we believe, and water.  If there is water, that
means there is oxygen.  If oxygen, that means we can breathe" -- Vice
President Dan Quayle, Head of the National Space Council, when
questioned on CNN about why America should send a mission to Mars.
[Houston Post, Sun. Nov. 19, pg. C-1].

Disclaimer: As always, I speak only for myself, and, usually, only to
myself.

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

Date: Tue, 20 Feb 90 10:06:41 EST
From: jrv@sdimax2.mitre.org
Subject: PostScript previewer?
Keywords: previewer, PostScript

> Can anyone tell me where to find a PostScript previewer that runs
> on Sun, HP and Apollo? 

Try GhostScript, which you can get via FTP from wsmr-simtel20.army.mil:

directory pd1:<msdos.printer>
files    gs13doc.arc
         gs13exe.arc

(There's a third file with the C source code, but I forgot its name.)

I haven't used this, but judging from the documentation you may be able to.
There is an MSDOS version (for the EGA) and a Unix version (for X Windows).

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

Date: Wed, 21 Feb 90 11:48 CST
From: Bob Ferguson <8055FERGUSON%MUCSD.BITNET@UWAVM.ACS.WASHINGTON.EDU>
Subject: a GOTHIC font for TeX
Keywords: font, Gothic

I'm trying to locate a Gothic or Old English font for TeX.  I am
trying to help a Professor who is trying to typeset a book, sections
of which require a flowery font.  We are currently running TeX and
LaTeX on a VAXcluster running VMS.  I do subscribe to TeXhax, so any
help could be noted here or by replying directly to me at the address
below.  Thanks.


MM      MM   UU      UU      Robert A. Ferguson           Systems Analyst
MMM    MMM   UU      UU      Marquette University         User Services
MMMM  MMMM   UU      UU      Computer Services Division
MM MMMM MM   UU      UU      517 N. 14th Street
MM      MM   UU      UU      Milwaukee, WI  53233
MM      MM    UUU  UUU       Phone: (414) 288-3769
MM      MM     UUUUUU
                             BITNET:   8055FERG@MUCSD
Marquette    University      INTERNET: 8055FERG%MUCSD.BITNET@CUNYVM.CUNY.EDU
                             UUCP:     ...psuvax1!mucsd.bitnet!8055ferg

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

Date:     Thu, 22 Feb 90 17:02:46 PST
From: JSLee <jslee@nrtc.northrop.com>
Subject:  MICR fonts
Keywords: fonts

Has anyone digitized or metafontized the OCR (technically MICR) fonts
that are used by banks? (See the bottom edge of any check).

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

Date:     Fri, 23 Feb 90 9:52:18 GMT
From: Dr R M Damerell (RHBNC) <damerell@NSFnet-Relay.AC.UK>
Subject:  fat font bug
Keywords: font, bug

I recently had difficulty with a Postscript font; the symptom was that
certain characters didnt get printed, depending on the position on the
page where the character first appeared. It turned out that the font
has a  dx  value greatly out of proportion with the TFM width. This fooled
dvijep into thinking the char. was off the paper; so it didnt download it.

pktype did not find any error in the font; a font chart (as in TEXbook
Appendix 5) came out correct; so I think it is worth reporting this in
the hope it will help the next person whom this bug bites. I also found that
it is impossible to debug the driver (DVIJEP) with dbx, you have to use
GDB.

Mark

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

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