1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
<head>
<title>UK TeX FAQ -- question label acrobat</title>
</head><body>
<h3>Making Acrobat documents from LaTeX</h3>
<p>There are three general routes to Acrobat output: Adobe's original
'distillation' route (via PostScript output), conversion of a
DVI file, and the use of a direct PDF generator such as
PDFTeX (see <a href="FAQ-pdftex.html">the PDFTeX project</a>) or
MicroPress's VTeX (see
<a href="FAQ-commercial.html">commercial TeX implementations</a>
and <a href="FAQ-TeXsystems.html">'free' TeX implementations)</a>).
<p>For simple documents (with no hyper-references), you can either
<ul>
<li> process the document in the normal way, produce PostScript
output and distill it;
<li> (on a Windows or Macintosh machine with the appropriate Adobe
tools installed) pass the output through the
PDFwriter in place of a printer driver (this route is a dead
end: the PDFwriter cannot create hyperlinks);
<li> process the document in the normal way and generate PDF
direct from the DVI with <i>dvipdfm</i>; or
<li> process the document direct to PDF with PDFTeX or
VTeX. PDFTeX has
the advantage of availability for a wide range of platforms, VTeX
(available commercially for Windows, or free of charge for Linux or
OS/2) has wider graphics capability, dealing with
encapsulated PostScript and some in-line PostScript.
</ul>
<p>To translate all the LaTeX cross-referencing into Acrobat
links, you need a LaTeX package to suitably redefine
the internal commands. There are two of these for LaTeX, both
capable of conforming to the HyperTeX specification
(see <a href="FAQ-hyper.html">Making hypertext documents from TeX</a>):
Sebastian Rahtz's <i>hyperref</i>, and Michael Mehlich's
<i>hyper</i>. <i>Hyperref</i>
uses a configuration file to determine how it will generate hypertext;
it can operate using PDFTeX primitives, the hyperTeX
<code>\</code><code>special</code>s, or DVI driver-specific <code>\</code><code>special</code> commands.
<i>Dvips</i>
translates the DVI with these <code>\</code><code>special</code> commands into
PostScript acceptable to Distiller, and <i>dvipdfm</i> has <code>\</code><code>special</code>
commands of its own.
<p>There is no free implementation of all of <i>Adobe</i>
<i>Distiller</i>'s
functionality, but recent versions of <i>ghostscript</i>
provide pretty reliable distillation (but beware of the problems
discussed in
<a href="FAQ-dvips-pdf.html"><i>dvips</i> output for distillation</a>).
In fact, <i>Distiller</i> itself is now remarkably cheap (for
academics at least).
<p>For viewing (and printing) the resulting files, Adobe's
<i>Acrobat</i> <i>Reader</i> is available for a fair range of
platforms; for those for which Adobe's reader is unavailable, remotely
current versions of <i>ghostscript</i> combined with
<i>ghostview</i> or <i>GSview</i> can display and print
PDF files.
<p>In many circumstances, <i>ghostscript</i> combined with a viewer
application is actually preferable to Acrobat Reader. For example, on
Windows Acrobat Reader locks the <code>.pdf</code> file it's displaying: this
makes the traditional (and highly effective) (La)TeX development
cycle of "Edit-> Process-> Preview" become
incredibly clumsy - <i>GSview</i> doesn't make the same
mistake.
<dl>
<dt><tt><i>Acrobat Reader</i></tt><dd>browse
<a href="ftp://ftp.adobe.com/pub/adobe/acrobatreader">ftp://ftp.adobe.com/pub/adobe/acrobatreader</a>
<dt><tt><i>dvipdfm</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/dviware/dvipdfm.tar.gz">dviware/dvipdfm</a> (<a href="ftp://cam.ctan.org/tex-archive/dviware/dvipdfm.zip">zip</a>, <a href="http://www.tex.ac.uk/tex-archive/dviware/dvipdfm/">browse</a>)
<dt><tt><i>ghostscript</i></tt><dd>Browse <a href="http://www.tex.ac.uk/tex-archive/nonfree/support/ghostscript/">nonfree/support/ghostscript/</a>
<dt><tt><i>ghostview</i></tt><dd>Browse <a href="http://www.tex.ac.uk/tex-archive/support/ghostscript/gnu/ghostview/">support/ghostscript/gnu/ghostview/</a>
<dt><tt><i>GSview</i></tt><dd>Browse <a href="http://www.tex.ac.uk/tex-archive/nonfree/support/ghostscript/ghostgum/">nonfree/support/ghostscript/ghostgum/</a>
<dt><tt><i>hyper.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/hyper.tar.gz">macros/latex/contrib/hyper</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/hyper.zip">zip</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/hyper/">browse</a>)
<dt><tt><i>hyperref.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/hyperref.tar.gz">macros/latex/contrib/hyperref</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/hyperref.zip">zip</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/hyperref/">browse</a>)
</dl>
<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=acrobat">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=acrobat</a>
</body>
|