On Sun, Apr 28, 2002 at 12:53:41PM +0530, Kalyan Mukherjea wrote: > > Hello again, > Thanks to Mats and Metod for pointing out ps2pdf and several > others who replied about contacting the author/maintainer of gv. > THERE SEEMS TO BE A PROBLEM WITH dvips! > I have tried doing the following experiment three times > with identical & very peculiar results: > > $mkdir test > $cd test > Now create a file hello.tex which is: > ******************************************************* > Hello, world! > \bye > ******************************************************* > Now I do: > $ tex hello > This yields hello.dvi. Then > $ dvips hello.dvi -o hello_dvips.ps > This creates hello_dvips.ps > $ gv hello_dvips.ps > > gv open up with the pp p ps file visible (barely to my > cataract-afflicted eyes) but the frame says "gv: hello.dvi"!
yes, i see it too! really weird... i dont see any text, actually. when i load another file in gv, it also says <file>.dvi in the window title. perhaps the creator meant it that way. > Now I do: > $ps2pdf hello_dvips.ps hello_dvips.pdf > When I view the resulting pdf file with xpdf it shows garbage! When I > close xpdf, on the xemacs shell I see > "xpdf Error: File contains Type 3 fonts" yes, when you run dvips you should always use it in the following way: dvips -Ppdf -G0 <file.dvi> with the -P switch, you tell dvips to use a specific printer. with pdf as printer, you make sure the ps file contains type1 fonts, (as far as they're available.) if you leave it out, fonts will be bitmapped, leading to ugly pdf files. the -G0 switch is needed to stop character shifting, which the dvips config.pdf file claims won't hurt, but apparently it will, sometimes. (you can also uncomment the character shifting in config.pdf, so you dont have to add the -G0 switch every time.) HTH -- Joost Kremers Life has its moments http://baserv.uci.kun.nl/~jkremers/