[tex-live] pdflatex - includegraphics - extensions

Yue Wang yuleopen at gmail.com
Sat Jun 13 09:46:03 CEST 2009


Hi,


Yes, I am wrong. pdfTeX gives me this error:

! pdfTeX error (\pdfximage): not allowed in DVI mode (\pdfoutput <= 0).

but what about make that an extension (allow that in dvi mode), or
switch to pdfout=1 before getting the bbox, and switch back to zero
after that?

Yue Wang

On Sat, Jun 13, 2009 at 11:46 AM, Heiko
Oberdiek<oberdiek at uni-freiburg.de> wrote:
> On Sat, Jun 13, 2009 at 10:33:23AM +0800, Yue Wang wrote:
>
>> Another related issue:
>> in dvi mode, graphicx package still requires the bbox information of a
>> jpeg/png/pdf image.
>> I think that is not needed for typesetting as pdftex primitives can
>> get the image size correctly.
>
> Only in PDF mode the images are processed during the pdfTeX run
> and therefore the data about size are available.
>
> But there is package `bmpsize' that analyzes the images to get
> the information about size (using \pdffiledump).
>
> Yours sincerely
>  Heiko <oberdiek at uni-freiburg.de>
>


More information about the tex-live mailing list