summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-dvipdfmgraphics.html
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2005-12-29 00:31:48 +0000
committerKarl Berry <karl@freefriends.org>2005-12-29 00:31:48 +0000
commita9d59a2d83b345581f2eb0c6b7f08c091f5622f0 (patch)
tree00fba7fbf3f00c16be8699398c6e4c2a256c68ac /Master/texmf-doc/doc/english/FAQ-en/html/FAQ-dvipdfmgraphics.html
parent89caab08d62b22519b44acf582a5fc3d302cbd60 (diff)
doc/english/F-ca
git-svn-id: svn://tug.org/texlive/trunk@19 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-dvipdfmgraphics.html')
-rw-r--r--Master/texmf-doc/doc/english/FAQ-en/html/FAQ-dvipdfmgraphics.html65
1 files changed, 65 insertions, 0 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-dvipdfmgraphics.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-dvipdfmgraphics.html
new file mode 100644
index 00000000000..719736004a7
--- /dev/null
+++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-dvipdfmgraphics.html
@@ -0,0 +1,65 @@
+<head>
+<title>UK TeX FAQ -- question label dvipdfmgraphics</title>
+</head><body>
+<h3>Imported graphics in <i>dvipdfm</i></h3>
+<p><i>Dvipdfm</i> translates direct from DVI to PDF
+(all other available routes produce PostScript output using
+<i>dvips</i> and then convert that to PDF with
+<i>ghostscript</i> or <i>Acrobat</i> <i>Distiller</i>).
+<p><i>Dvipdfm</i> is a particularly flexible application. It will
+permit the inclusion of bitmap and PDF graphics, as does
+<a href="FAQ-pdftexgraphics.html">PDFTeX</a>, but is also capable of employing
+<i>ghostscript</i> "on the fly" so as to be able to permit the
+inclusion of encapsulated PostScript (<code>.eps</code>) files by translating
+them to PDF. In this way, <i>dvipdfm</i> combines the good
+qualities of <i>dvips</i> and of PDFTeX as a means of
+processing illustrated documents.
+<p>Unfortunately, "ordinary" LaTeX can't deduce the bounding box of
+a binary bitmap file (such as JPEG or PNG), so you have
+to specify the bounding box. This may be done explicitly, in the
+document:
+<blockquote>
+<pre>
+\usepackage[dvipdfm]{graphicx}
+...
+\includegraphics[bb=0 0 540 405]{photo.jpg}
+</pre>
+</blockquote>
+It's usually not obvious what values to give the "<code>bb</code>" key,
+but the program <i>ebb</i> will generate a file
+containing the information; the above numbers came from an
+<i>ebb</i> output file <i>photo.bb</i>:
+<blockquote>
+<pre>
+%%Title: /home/gsm10/photo.jpg
+%%Creator: ebb Version 0.5.2
+%%BoundingBox: 0 0 540 405
+%%CreationDate: Mon Mar 8 15:17:47 2004
+</pre>
+</blockquote>
+However, if such a file is available, you may abbreviate the inclusion
+code, above, to read:
+<blockquote>
+<pre>
+\usepackage[dvipdfm]{graphicx}
+...
+\includegraphics{photo}
+</pre>
+</blockquote>
+which makes the operation feel as simple as does including
+<code>.eps</code> images in a LaTeX file for processing with
+<i>dvips</i>; the <i>graphicx</i> package knows to look for a
+<code>.bb</code> file if no bounding box is provided in the
+<code>\</code><code>includegraphics</code> command.
+<p>The one place where usage isn't quite so simple is the need to quote
+<i>dvipdfm</i> explicitly, as an option when loading the
+<i>graphicx</i> package: if you are using <i>dvips</i>, you
+don't ordinarily need to specify the fact, since the default graphics
+configuration file (of most distributions) "guesses" the
+<code>dvips</code> option if you're using TeX.
+<dl>
+<dt><tt><i>dvipdfm</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/dviware/dvipdfm.zip">dviware/dvipdfm</a> (<a href="ftp://cam.ctan.org/tex-archive/dviware/dvipdfm.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/dviware/dvipdfm/">browse</a>)
+<dt><tt><i>ebb</i></tt><dd>Distributed as part of <a href="ftp://cam.ctan.org/tex-archive/dviware/dvipdfm.zip">dviware/dvipdfm</a> (<a href="ftp://cam.ctan.org/tex-archive/dviware/dvipdfm.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/dviware/dvipdfm/">browse</a>)
+</dl>
+<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=dvipdfmgraphics">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=dvipdfmgraphics</a>
+</body>