Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!munnari.oz.au!csc!csc3.anu.oz!arp!gustav From: gustav@arp.uucp (Zdzislaw Meglicki) Newsgroups: comp.text.tex Subject: Re: xtex HELP!!! Message-ID: <1990Aug2.235645.17022@arp.uucp> Date: 2 Aug 90 23:56:45 GMT References: Distribution: comp.text.tex Organization: Automated Reasoning Project, ANU, Australia Lines: 88 From article , 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