Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!radel.com!info-tex From: info-tex@radel.com (INFO-TeX) Newsgroups: comp.text.tex Subject: Re: emtex questions: pxl/pk; s/r and q .tmf question Message-ID: <9105130733.1.UUL1.3#20406@radel.com> Date: 13 May 91 11:33:11 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: jon@radel.com Lines: 53 > 1. in emTeX file: > % modes.mfj > % > def lj=[mode=hplaser[300]; output=pk[c:\newfonts\pixel.lj\pxl%s]]; > > I wonder why pxl%s used instead of %r or %rdpi? considering the fact that > fonts created by mfjob will be in .pk format not in .pxl format. The 23Sep90 version of modes.mfj (the current one, I believe) says: def lj=[mode=hplaser[300]; output=pk[c:\newfonts\pixel.lj\%rdpi]; tfmlog]; Remember that, once upon a time, emTeX *did* use .pxl files. > In set-tex.bat there is a line: > > SET DVIDRVGRAPH=C:\EMTEX\DOC\GR$r > > I understand that r means resolution, say 300 [dpi] and s = r * 5 > my question is how the value is passed to r and to s? > and it seems that sometimes % used [ see modes.mfj: %s] > and sometimes $ is used see above line quoted. what is the grammar? The problem with using % in a batch file is that COMMAND.COM uses it as a metacharacter. > 3. This question is not related to emTeX. I used Tom Rokicki's > dvips to generate fonts which do not exist. But it seems to me > that the .tfm must exist in order to generate fonts. No. The whole point of running METAFONT is to create the .tfm *and* the .gf files. The input needed for METAFONT is generally a .mf file. > My questions: Are the .tfm files machine dependent ? i.e. if I > get a .tfm from unix and transfer it to msdos, will it work ? They shouldn't be machine dependent, but unix and/or vms and/or etc. transfers have been known to mess files up. The easiest way to see if it'll work is to do it and see what happens. > > Suppose I need a cmr13.tfm how do I make/get it ? All the bigger archives should have the parameterized version of CM files, allowing you to make up fonts in arbitrary sizes (within reason). ------------------------------------------------------------------------------- >From the mailing list account of: --Jon Radel uucp: {rutgers etc.}!uupsi!radel!jon P.O. Box 2276 domain: jon@radel.com <-best Reston, VA 22090-0276 radel!jon@uu.psi.com <-2nd choice U.S.A.