[pdftex] number too big -- anyone see this before?

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Thu May 10 00:54:45 CEST 2001


From: Stephen Peters <portnoy at portnoy.org>
Subject: [pdftex] number too big -- anyone see this before?

> In trying to include a JPEG image into a PDFLaTeX document from a
> Debian installation (marked as pdftex 14f-released-20000525), and get
> the following error:
> 
>   Warning: pdflatex: arithmetic: number too big
>   Warning: pdflatex: arithmetic: number too big
>   <testpic.jpg --32768.0pt, 0.0pt, image 1> [...]
> 
> The same files compile without error on a separate pdftex-13d
> installation.  Has anyone seen something like this before?  Or know
> how to fix it?  I'd think it was corruption in the image file, but it
> displays fine in a wide variety of image programs.

It seems to be a feature of macros.
The following (direct use of primitives) will be OK.

\documentclass{article}
\begin{document}
\pdfximage width \textwidth {testpic.jpg}
\begin{center}
\pdfrefximage\pdflastximage
\end{center}
\end{document}

-- 
Akira Kakuto



More information about the pdftex mailing list