[comp.text.tex] xtex HELP!!!

kalt@nmsu.edu (Kerry Alt) (08/01/90)

Hope this is to the correct group....

Has anyone succeeded in building xtex to preview dvi files under
X11R4??  I've tried to decipher the method of building the 85dpi fonts
for xtex to use, but to no avail.  The README's seem to indicate that
the built fonts are available at expo, but they are not. Any help, or
suggestions would be greatly appreciated.

Thanks.
--
*************************************************
*************************************************
**  Kerry Alt at The Computer Operations Group **
**  kalt@nmsu.edu                              **
**  ph. 505/646-5318 (at COG)                  **
**          646-6242 (office)                  **
**          524-7247 (home)                    **
*************************************************
*************************************************

grunwald@foobar.colorado.edu (Dirk Grunwald) (08/01/90)

>>>>> On 31 Jul 90 21:38:56 GMT, kalt@nmsu.edu (Kerry Alt) said:


KA> Hope this is to the correct group....

KA> Has anyone succeeded in building xtex to preview dvi files under
KA> X11R4??  I've tried to decipher the method of building the 85dpi fonts
KA> for xtex to use, but to no avail.  The README's seem to indicate that
KA> the built fonts are available at expo, but they are not. Any help, or
KA> suggestions would be greatly appreciated.

KA> Thanks.
KA> --

the most recent version of xtex (now at 2.16.1, which includes a
modified installation procedure & an update to Toreks most recent
McTeX library) is available from foobar.colorado.edu, in pub/SeeTeX.
People who had a pre-2.16 copy should get SeeTeX-2.16.x.tar.Z because
the new library is not included in the smaller 'xtex' distribution.

There is also a modified installation document, Install.{dvi,ps}.

That directory also contains the Computer Modern BDF archives;
instructions on how to install those BDF files is in Install.ps.

Dirk Grunwald -- Univ. of Colorado at Boulder	(grunwald@foobar.colorado.edu)
						(grunwald@boulder.colorado.edu)

gustav@arp.uucp (Zdzislaw Meglicki) (08/03/90)

From article <KALT.90Jul31153856@boron.nmsu.edu>, by kalt@nmsu.edu (Kerry Alt):
> 
> Hope this is to the correct group....
> 
> Has anyone succeeded in building xtex to preview dvi files under
> X11R4??  I've tried to decipher the method of building the 85dpi fonts
> for xtex to use, but to no avail.  The README's seem to indicate that
> the built fonts are available at expo, but they are not. Any help, or
> suggestions would be greatly appreciated.

I have built xtex together with nearly all the fonts I needed and
it now works without glitches on my system. I would like to suggest that
there should be a collection of .85gf fonts available, perhaps not from
expo - rather from labrea for people who need this kind of stuff for
previewers. Eventually the .bdf fonts ought to be distributed together
with xtex. 
   The way to make them is as follows. You must have a working MetaFont
installed on your system. Once you have that, edit the file plain.mf
in your ~/lib/mf/macros. You should find there an entry defining the lowres
or localfont mode. Underneath that entry add the following:

mode_def sun =
   proofing:=0;
   fontmaking:=1;
   tracingtitles:=0;
   pixels_per_inch:=85;
   blacker:=.35;
   fillin:=.1;
   o_correction:=.3;
   enddef;

Now invoke the inimf and issue the command \dump. This will create the
file mf.base which you should put in the directory ~/lib/mf/bases. 
All this you do entirely for your own convenience.  You can also use 
plain mf as is and read the above commands from a file.
   Once you've done all that you are ready to create the .85gf fonts. To do
that run the following script:

#!/bin/sh
#
# make the gf fonts
#
mf '\mode=sun;mag=1095/1000;batchmode;input cmb10'
mf '\mode=sun;mag=1000/1000;batchmode;input cmbsy10'
mf '\mode=sun;mag=1095/1000;batchmode;input cmbsy10'

                            ...

and so on. You can get the list of fonts and magnifications (the "mag" entry)
from one of the files in the xtex sources. I just wrote a simple script
which converted that list to the commands shown above. 
   Once you have created your .85gf fonts do:

#!/bin/sh
#
# clean up
#
rm -f *.log *.tfm
#
# make the bdf fonts
#
for i in *gf
do
   mftobdf -dpi 85 $i
done
#
# make the snf fonts
#
for i in *bdf
do
   font=`echo $i | sed 's/\.bdf//'`
   bdftosnf $font.bdf > $fonts.snf
done

Note that the .snf fonts are CPU dependent. However, the .bdf fonts
are portable. You can get both the .85gf and the .bdf fonts from my
systems (arp.anu.oz.au, inet: 130.56.4.98) via anonymous ftp. Go to 
/pub/xtex/fonts. (But first check if you can get them from somewhere 
in your part of the world!)

	Gustav Meglicki, gustav@arp.anu.oz.au
	Automated Reasoning Project, RSSS,
	   and Plasma Theory Group, RSPhysS,
	The Australian National University,
	G.P.O. Box 4, Canberra, A.C.T., 2601, Australia,

	fax: (Australia)-6-249-0747
	tel: (Australia)-6-249-0158

grunwald@foobar.colorado.edu (Dirk Grunwald) (08/07/90)

There is a collection of 85DPI BDF fonts available on my workstation,
foobar.colorado.edu, in ~ftp/pub/SeeTeX/Bdf-85dpi or somesuch. I would
be more than happy to relocate them, e.g., to labrea or whereever,
it's just that I don't want wish to risk offending the owners of those
machines.

The current installation guide describes where to pick up the fonts &
how to build your own. Eventually, xtex will just generate them on the
fly.  All the parts are there, I just haven't had time to get
everything bullet proofed; there are many variables, e.g., ``do you
have metafont'' and the like.

The last Big Change was upgrading to the current 'mxtex' library
(called 'libtex' in SeeTeX stuff). The next Big Feature is being
worked on by someone in Canada, and will involve using GhostScript 1.4
to render postscript figures, producing similar results to that of
running xtex on Display Postscript systems like the DEC windows and
IBM AIX windows. Because changes like this occur with some frequency,
I don't package the fonts with the software to allow people to pick up
the software and not lug all that extra baggage around.