diff options
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-impgraph.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-impgraph.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-impgraph.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-impgraph.html index 7b2c9979e45..310ef48b1ff 100644 --- a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-impgraph.html +++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-impgraph.html @@ -2,7 +2,7 @@ <title>UK TeX FAQ -- question label impgraph</title> </head><body> <h3>How to import graphics into (La)TeX documents</h3> -<p>Knuth, when designing the current version of TeX back in the early +<p/>Knuth, when designing the current version of TeX back in the early 1980s, could discern no “standard” way of expressing graphics in documents. He reasoned that this state could not persist for ever, but that it would be foolish for him to define TeX primitives that @@ -11,29 +11,29 @@ deferred the specification of the use of graphics to the writers of DVI drivers; TeX documents would control the drivers by means of <a href="FAQ-specials.html"><code>\</code><code>special</code> commands</a>. -<p>There is therefore a straightforward way for anyone to import graphics +<p/>There is therefore a straightforward way for anyone to import graphics into their document: read the specification of the <code>\</code><code>special</code> commands your driver uses, and ‘just’ code them. This is the hair-shirt approach: it definitely works, but it’s not for everyone. -<p>Over the years, therefore, “graphics inclusion” packages have sprung +<p/>Over the years, therefore, “graphics inclusion” packages have sprung up; most were designed for inclusion of <a href="FAQ-eps.html">Encapsulated PostScript graphics</a> — which has become the <em>lingua franca</em> of graphics inclusion over the last decade or so. -<p>Notable examples are the <i>epsf</i> package (distributed with +<p/>Notable examples are the <i>epsf</i> package (distributed with <i>dvips</i>) and the <i>psfig</i> package. (Both of these packages were designed to work well with both Plain TeX and LaTeX 2.09; they are both still available.) All such packages were tied to a particular DVI driver (<i>dvips</i>, in the above two cases), but their code could be configured for others. -<p>The obvious next step was to make the code configurable dynamically. +<p/>The obvious next step was to make the code configurable dynamically. The LaTeX standard <i>graphics</i> package and its derivatives made this step: it is strongly preferred for all current work. It can also be used (with the help of the <i>miniltx</i> “LaTeX emulator” and the <i>graphicx.tex</i> front-end) in documents written in Plain TeX. -<p>The <i>graphics</i> package takes a variety of “driver +<p/>The <i>graphics</i> package takes a variety of “driver options” — package options that select code to generate the commands appropriate to the DVI driver in use. In most cases, your (La)TeX distribution will provide a <i>graphics.cfg</i> file @@ -41,12 +41,12 @@ that will select the correct driver for what you’re doing (for example, a distribution that provides both LaTeX and PDFLaTeX will usually provide a configuration file that determins whether PDFLaTeX is running, and selects the definitions for it if so). -<p>The <i>graphics</i> package provides a toolkit of commands (insert +<p/>The <i>graphics</i> package provides a toolkit of commands (insert graphics, scale a box, rotate a box), which may be composed to provide most facilities you need; the basic command, <code>\</code><code>includegraphics</code>, takes one optional argument, which specifies the bounding box of the graphics to be included. -<p>The <i>graphicx</i> package uses the facilities of of +<p/>The <i>graphicx</i> package uses the facilities of of <i>graphics</i> behind a rather more sophisticated command syntax to provide a very powerful version of the <code>\</code><code>includegraphics</code> command. <i>graphicx</i>’s version can combine scaling and @@ -55,7 +55,7 @@ is all a convenience (at some cost of syntax), it is also capable of producing noticeably more efficient PostScript, and some of its combinations are simply not possible with the <i>graphics</i> package version. -<p>The <i>epsfig</i> package provides the same facilities as +<p/>The <i>epsfig</i> package provides the same facilities as <i>graphicx</i>, but via a <code>\</code><code>psfig</code> command (also known as <code>\</code><code>epsfig</code>), capable of emulating the behaviour (if not the bugs) the old <i>psfig</i> package. @@ -65,12 +65,12 @@ declare you’re using <i>epsfig</i>, any potential mailing list or usenet helper has to clear out of the equation the possibility that you’re using “old” <i>epsfig</i>, so that support is slower coming than it would otherwise be. -<p>There is no rational reason to stick with the old packages, which have +<p/>There is no rational reason to stick with the old packages, which have never been entirely satisfactory in the LaTeX context. (One irrational reason to leave them behind is that their replacement’s name tends not to imply that it’s exclusively related to PostScript graphics. The reasoning also excludes <i>epsfig</i>, of course.) -<p>A wide variety of detailed techniques and tricks have been developed +<p/>A wide variety of detailed techniques and tricks have been developed over the years, and Keith Reckdahl’s <i>epslatex</i> outlines them in compendious detail: this highly recommendable document is available from CTAN. An invaluable review of the practicalities of @@ -92,5 +92,5 @@ but may also be <dt><tt><i>miniltx.tex</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/plain/graphics.zip">macros/plain/graphics</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/plain/graphics.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/plain/graphics/">browse</a>) <dt><tt><i>psfig.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/nonfree/graphics/psfig.zip">nonfree/graphics/psfig</a> (<a href="ftp://cam.ctan.org/tex-archive/nonfree/graphics/psfig.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/nonfree/graphics/psfig/">browse</a>) </dl> -<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=impgraph">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=impgraph</a> +<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=impgraph">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=impgraph</a> </body> |