|
Since pdfTeX is being revised constantly, I am devoting
this special section of the CMacTeX Web Page just to it. I
will make available my most recent ports of pdfTeX and any
changes to the library files on this page. In order to use
anything from this page, you must install CMacTeX 4.3 first.
It contains all of the fonts and macro files you need to run
pdfTeX.
The general source for documentation and examples for
pdfTeX is TUG. You
can always find the latest manuals and pdftex.def here. If
you plan to use pdftex, you should subscribe to the mailing
list pdftex@tug.cs.umb.edu. This is a mojordomo
list, so just send a message containing
subscribe pdftex
to majordomo@tug.cs.umb.edu.
pdfTeX 1.11b
Pdftex, as included in binaries.sit.bin, is
version 1.11b. A collection of sample documents
for pdftex are included in samplepdf.sit.
Converting eps to pdf
The eps files you used to include in a TeX document when
running TeX and dvips can be used with pdfTeX after the eps
files have been converted to pdf. The epstopdf
program included with pdftex does this conversion for you.
It can call either ghostscript or Adobe Distiller to do the
conversion after it has created a temporary eps file which
is a modified version of the original file.
Including graphics
The commands for including graphics with pdftex changes
with every update. If you are using the plain format with
pdfTeX, you would add the line
\pdfimage width ... {foo.pdf}
with version 0.13d, while with version 0.14a you would
add the lines
\pdfximage width ... {foo.pdf}
\pdfrefximage\pdflastximage
to your source file. If your graphic is a png file,
change the file name above to foo.png. Check the pdftex
manual for a description of the parameters which can appear
before the file specification.
The inclusion of graphics with the LaTeX2e format is much
simpler. Just use the graphicx package with the pdftex
option by including the line
\usepackage[pdftex]{graphicx}
In your document you would have a line similar to
\includegraphics[width=...]{foo}%
The graphics package will automatically add a .pdf, .jpg,
.png, or .tif extension to the file name when searching for
the graphic file.
|