- declaregraphicsrule latex

Category

declaregraphicsrule latex


The conversion via shell escape is added by package epstopdf. In TeX Live it is automatically loaded, if pdfTeX/LuaTeX is detected in PDF.

\DeclareGraphicsRule{ extension }{ type }{ size-file extension }{ command } tells LaTeX that it should handle as MetaPost output any file with an extension not.

Using EPS Graphics in LATEX 2ε Documents. Part 1: The use Encapsulated PostScript (EPS) files in LATEX 2ε .. 10.1 The DeclareGraphicsRule Command.

LaTeX itself treats the image like normal text, i.e. as a box of certain height and width. Modern installations of LaTeX can use eps files as well, but indirectly.