[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Not understanding pdflatex



David P James wrote:

>Gary Turner wrote:
>
[...]

>> [la]tex sample
>> dvips -Ppdf sample
>> ps2pdf sample.ps
>> 
>> This should yield a pdf file that Acroread can render nicely.
>> 
>
>Really? It usually comes out looking pretty awful if you ask me when 
>looked at with Acroread. I've had much more success with:

I suspect you left off the printer switch ( -Ppdf ).  That switch seems
to be the key.
>
>texi2pdf sample.tex
>
>This seems to compile rather than convert (no surprise really). It also 
>generates smaller pdf files than ps2pdf or dvipdf, which generates just

On my test file, tex->dvi->ps->pdf => 34K
					  tex->dvi->pdf => 64K
See the URLs below.
 
>as ugly pdfs, at least where Acroread is concerned. Compare the 
>following in Acroread:
>
>http://members.rogers.com/dpjames/debian/assign01ps.pdf
>http://members.rogers.com/dpjames/debian/assign01dvi.pdf

Yep, ugly as mud.  Fortunately they should print nicely.

>http://members.rogers.com/dpjames/debian/assign01tex.pdf

This looks like what my procedure produces.  I couldn't replicate your
steps as I know nothing about texinfo format.  texi2pdf chokes on a
plain LaTeX file and spits out dvi+errors.  dvi2pdf makes ugly on
Acroread without the intermediate step.

See:

	http://rcu.dyndns.biz/sample.pdf

	tex -> dvi2ps -Ppdf -> ps2pdf

	http://rcu.dyndns.biz/sample2.pdf

	texi2pdf -> dvi2pdf

--
gt                  kk5st@sbcglobal.net
 If someone tells you---
 "I have a sense of humor, but that's not funny." 
                                  ---they don't.



Reply to: