[Mac OS X TeX] !Dimensions too large ??

Martin A. Bauer martin.bauer at informatik.tu-muenchen.de
Thu Nov 22 16:45:38 EST 2001



On Thursday, November 22, 2001, at 10:04 PM, Ross Moore wrote:

> It's rather dangerous to use filenames that start with numbers.
> The possibility is small, but non-existent, that the name will
> follow directly after another number, and macro expansion might
> be such as to make the two concatenate into a single number.
>
> So try renaming the image file, and try again.

nope, sorry. doesnt work either :(
seems to be something inside the jpg file?
(created with matlab and then cropped to smaller size with xv, btw.)
now i get the following:

> Warning: /usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex: 
> arithmetic
> : number too big
>
> ! Dimension too large.
> <argument> \ht \@tempboxa
>
> l.49 ...2.5cm]{test.jpg}


the file test.jpg can be found at
http://www.hcii.de/test.jpg
if somebody cares to try...

%%%%%%% text.tex   %%%%%%%

\documentclass{report}

\newif\ifpdf
\ifx\pdfoutput\undefined
\pdffalse % we are not running PDFLaTeX
\else
\pdfoutput=1 % we are running PDFLaTeX
\pdftrue
\fi

\ifpdf
\usepackage[pdftex]{graphicx}
\DeclareGraphicsExtensions{.pdf, .jpg, .tif}
\else
\usepackage{graphicx}
\DeclareGraphicsExtensions{.eps}
\fi

\begin{document}


\includegraphics[height=2.5cm]{test.jpg}


\end{document}


%%%%%%%%


> Interesting.
> Is it pdfTeX under Linux ?
> Yes, I suppose it must be, to be working with a .jpg image.
> Is it the same version of pdfTeX ?

on linux:
This is pdfTeX, Version 3.14159-13d (Web2C 7.3.1)

on os x:
This is pdfTeX, Version 3.14159-1.00a-pretest-20010806 (Web2C 7.3.3.1)


--
cheers, martin.


-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
This list is not moderated, and I am not responsible for
messages posted by third parties.
-----------------------------------------------------------------





More information about the MacOSX-TeX mailing list