I understand that some packages (like PSTricks) can't be used with pdflatex. Are there any other differences between these tools?
Can we say that pdflatex is better if we don't care about ps?
|
|
Some packages only work with direct PDF output.
There’s also the microtype package which improves LaTeX’ line-breaking algorithm by using microtypographic features of the font. Let me illustrate (left: LaTeX, right: pdfLaTeX with microtype):
[Taken from the TeXblog] And of course there are the packages that use special PDF features, as mentioned by Dima. |
|||||||||||||||||
|
|
pdflatex allows me to use PNG images, and it's the easiest way to place screenshots into my documents. |
|||
|
|
|
To Dima, re: “I have SyncTeX-aware editor, I just don't have SyncTeX-aware viewer =( I'm on Linux and I don't want to use texmaker.” I don’t know why you mentioned Texmaker. It’s not SyncTeX aware. Perhaps you meant TeXworks? Anyway, you don’t need TeXworks for synctex on linux. The recent versions of Okular supports SyncTeX backward search with just about any editor (vim, emacs, kate, kile, gedit, etc.), and I think the next version of evince will as well. |
|||||
|
|
Yet another reason to use pdflatex instead of latex: the |
|||
|
|
|
The most important practical difference for me is that with pdflatex I can use PDF images instead of EPS. |
|||
|
|
|
I think the only reasons to continue to use
Apart from those, I think that (Note that |
|||||||||
|
|
You can use pstricks from pdflatex, by using a few tricks (all boils down to manual->automatic external invocation of latex&pstopdf to get pdf image of pstricks graphic which can then be picked up by pdflatex). For beginners there are almost no difference. Once you get to advance usage you start to realise that special things need to be done to use Postscript constructs with pdftex (e.g. pstricks), but on the other hand pdftex engine gives you awesome stuff like pdf table of contents, pdf hyperlinks within document and URL to the web as well as generating pdf metadata, embedding movies / 3D objects, creating PDF-A ready documents for archiving and ability (with certain degrees of pain) to use TTF fonts. Inverse search is a bit easier with latex. And dvi compilation & preview is much faster. But SyncTeX shows promise for awesome pdftex inverse and forward search. If you don't use postscript stuff and care about creating high quality PDFs then pdflatex is preffered. But many people use both and have conditional compilation and macros in the preemble when using one or the other engine. For beginners I would recommend pdflatex since most new users coming from WYSIWYG world of things do not know what dvi and ps are, but everyone nowadays is aware of PDF. After beginners stage it is an open-ended question which depends on particular needs with all engines having special features, advantages and disadvantages. |
|||||||||||
|