Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!brutus.cs.uiuc.edu!unix.cis.pitt.edu!jbw From: jbw@unix.cis.pitt.edu (Jingbai Wang) Newsgroups: comp.text Subject: Re: A C program for a Calendar in LaTeX. Message-ID: <20915@unix.cis.pitt.edu> Date: 29 Nov 89 16:10:43 GMT References: <778@stat.fsu.edu> <12898@polya.Stanford.EDU> <5798@ubc-cs.UUCP> Reply-To: jbw@unix.cis.pitt.edu (Jingbai Wang) Organization: Univ. of Pittsburgh, Comp & Info Services Lines: 69 In article <5798@ubc-cs.UUCP> halliday@cheddar.cc.ubc.ca (Laura Halliday) writes: >In article <12898@polya.Stanford.EDU> ertem@polya.Stanford.EDU (Tuna Ertemalp) writes: >> >>The output of lxcal contains the following lines: >> >>\newfont{\hb}{h-bol at 12pt} >>(etc...) >>\newfont{\trsix}{t-rom at 6pt} >> >>I don't think these font names are standard; they are not available at >>polya.stanford.edu. Does someone (author?) know what these fonts are >>called normally? > >(Sorry to disagree, but don't you think comp.text is a better place to >continue this thread? With that out of the way...) > >I know. They're one way of mapping PostScript fonts into LaTeX. `h-bol' is >Helvetica Bold. `t-rom' is Times-Roman. > >Obtain a copy of PS-LaTeX from the LaTeX style collection for further details. >You need tfms (readily available), and a dvi2ps that groks PostScript fonts >(many do). > >Oh, before anybody asks, ftp to sun.soe.clarkson.edu, and cd pub/latex-style. >If you can't ftp, there is an email server of some sort. I don't know how >to use it, but I'm sure somebody can fill us in. > >>Have fun > >Always! > >...laura Of course, of course. A calender does not have to be in Adobe Helvetica and TimesRoman fonts. However, the user can easily replace them by, e.g., \newfont{\hb}{cmb10 at 12pt} (etc...) \newfont{\trsix}{cmr6} For those who have some special versions of dvi2ps, such as mine from june.cs.washington.edu under ~/tex as w_dvi2ps or even better ~/tmp as dvi2ps.tar.Z, those Abobe fonts are all supported. A piece of good news is that a hacker called Kevin has successfully produced a merged version of dvi2ps from various versions. Even though I did not find too much of my features of w_dvi2ps in Kevin's version (which I think was derived from pdvi2ps from june.cs.washington.edu), I do encourage and support such work. The dvips40~42 available from labrea.standford.edu (which has been down for a while now, they are working on it), does not support Adobe fonts the same way, and you may have to modify the font definitions as \newfont{\hb}{Helvetica-Bold at 12pt} (etc...) \newfont{\trsix}{Times-Roman at 6pt} Unfortunately, this kind of scheme (of dvips) is not portable to UNIX System V and DOS, since System V only buys file length of 14 characters and DOS 8. Another drawback of new dvips is that it attempts to solve the missing PK font file problem by envoking Metafont, and I feel it to be inefficient and not generalizable. Since to generate Metafont, you need mf84 setup on your site, and you need all the *.mf file handy. In this aspect, my version of dvi2ps displays the unique advantage of doing best substitution and scaling the font to the exact size (as specified in TeX) by PostScript scaling. JB Wang jwang@pittvms.bitnet jbw@cisunx.UUCP Brought to you by Super Global Mega Corp .com