Latex or Pdflatex.. which is better ?

  • Follow


I started using pdflatex after using number of years with latex.

I am aware that latex need .eps file and pdflatex need .pdf files.

1) Can all that latex can do also be done with pdflatex?
Which gives a better quality?

2) Is there any difference in quaity with .eps and .pdf image files
when working with latex or pdflatex?

I am still confused after reading many postings
(I have no problem in creating .eps or .pdf images). Thanks.

-Marsup


0
Reply marsup 7/18/2010 3:45:30 AM

Am 18.07.2010 05:45, schrieb marsup:
> I started using pdflatex after using number of years with latex.
>
> I am aware that latex need .eps file and pdflatex need .pdf files.
>
> 1) Can all that latex can do also be done with pdflatex?
> Which gives a better quality?

There is no difference in the quality. But pdflatex may require mores 
steps to e.g. handle pstricks code.

> 2) Is there any difference in quaity with .eps and .pdf image files
> when working with latex or pdflatex?

Depends on the graphics. Bitmap pictures tend to become pretty big when 
they are saved as eps.

> I am still confused after reading many postings
> (I have no problem in creating .eps or .pdf images). Thanks.

I have been using pdflatex only for many years, for me it is the optimal 
tool since I rarely use PS-code in my files.

Uwe

> -Marsup
>
>

0
Reply Uwe 7/18/2010 5:27:31 AM


marsup <arasu.kay@gmail.com> writes:

> 1) Can all that latex can do also be done with pdflatex?
> Which gives a better quality?

It's not a matter of quality but rather a matter of the features they
offer.

Direct PDF output lacks a PostScript interpreter. On the other hand,
there's better support for linebreaks in hyperlinks (not possible at all
with DVI) and you may use font expansion (package 'microtype') since
there's no need to keep the expanded metrics for the DVI driver.

With latex+dvips+ps2pdf use of PSTricks is more straight forward.
However, there exist pdflatex helper packages like 'pst-pdf' which can
handle many but not all use cases of PSTricks.

> 2) Is there any difference in quaity with .eps and .pdf image files
> when working with latex or pdflatex?

No, there aren't (unless they are introduced by some bad conversion
method).

Imported graphics need not be a reason to prefer one or the other (PDF
or DVI) since you can always convert everything without loss of quality.
Just a few examples:

,----
| EPS  -> PDF: $ epstopdf file.eps
| PDF  -> EPS: $ pdftops -eps file.pdf file.eps
| JPEG -> EPS: $ jpeg2ps file.jpg > file.eps
| PNG  -> EPS: $ bmeps -p 3 -c -e 8rf file.png > file.eps
`----

-- 
Uwe
0
Reply Uwe 7/18/2010 8:39:23 AM

Uwe Ziegenhagen <newsgroup@ziegenhagen.info> writes:

> Bitmap pictures tend to become pretty big when they are saved as eps.

This has to be blamed on the conversion software rather than on bitmap
pictures. If it generates one PostScript command to draw a coloured
frame for each pixel then the simplest bitmap will swell to megabytes.

My recommendations are 'jpeg2ps' and 'bmeps'. They make use of
PostScript level 3 that allows for direct embedding of JPG and PNG
streams.

-- 
Uwe
0
Reply Uwe 7/18/2010 8:44:43 AM

US> From: Uwe Siart <usenet@siart.de>
US> Date: Sun, 18 Jul 2010 10:39:23 +0200


US> Direct PDF output lacks a PostScript interpreter. On the other hand,
US> there's better support for linebreaks in hyperlinks (not possible at all
US> with DVI) and you may use font expansion (package 'microtype') since
US> there's no need to keep the expanded metrics for the DVI driver.

The statement about linebreaks is not exactly correct:  recent
versions of breakurl package handle linebreaks in hyperlinks in the
latex->dvips2->ps2pdf run.

-- 
Good luck

-Boris

Don't say "yes" until I finish talking.
		-- Darryl F. Zanuck
0
Reply Boris 7/19/2010 12:38:23 AM

4 Replies
215 Views

(page loaded in 0.225 seconds)


Reply: