[pdftex] A rose, by any other name ... (.pdf extension)

Heiko Oberdiek oberdiek at uni-freiburg.de
Sat Mar 22 20:09:47 CET 2003


On Sat, Mar 22, 2003 at 06:24:43PM +0100, Piet van Oostrum wrote:

> The problem happens with xfig's relatively new export to `combined
> PDF/LaTeX'. This format uses a LaTeX file (called xxx.pdftex_t) which
> includes a PDF file with the \includegraphics command. However the PDF
> file has extension .pdftex. Declaring:
> \DeclareGraphicsRule{.pdftex}{pdf}{}{} makes pdftex recognize the
> extension but it doesn't know how to get the image size:
> 
> ! LaTeX Error: Cannot determine size of graphic in subnet.pdftex (no size speci
> fed).

You have forgotten to set the third argument:
\DeclareGraphicsRule{.pdftex}{pdf}{.pdftex}{}

And you will need a very recent version of pdfTeX. If you get
the pdfTeX error message "unknown type of image", then you will
have to update.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>
-- 


More information about the pdftex mailing list