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

Piet van Oostrum piet at cs.uu.nl
Sun Mar 23 15:16:52 CET 2003


>>>>> Heiko Oberdiek <oberdiek at uni-freiburg.de> (HO) wrote:

HO> 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).

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

I had tried that, also with * as the third argument.

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

Indeed I get that message. I have
pdfTeX, Version 3.14159-1.10a (Web2C 7.4.5)

Thanks.
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl



More information about the pdftex mailing list