2012/11/26 Hans Hagen
On 11/26/2012 10:20 AM, Pavel Dohnal wrote:
Hello, I have a big context source file which contains pictures from different sources.. The problem is, that there are some pictures the context
cannot process. It displays an error message and ends. I run the context from another script in batchmode. After finishing, the context creates a PDF file, which contains this problematic picture but the pdf is broken. It does not have numbers in the table of contents and it is not arranged by setup. Here is a minimal example: \starttext \externalfigure[http://cdn-**locations-images.tripomatic.** com/img-poi1295-5ZTynx-s.jpg][**width=26.5mmhttp://cdn-locations-images.tripomatic.com/img-poi1295-5ZTynx-s.jpg%5D%5Bwid... ]
\stoptext
When I run the context, it prints: ! Dimension too large.
it all depends on the original ... how small is it? one pixel? one option is then to scale in two steps:
\scale[width=26.5cm]{\**externalfigure[...][width=1mm]**}
or so
------------------------------**------------------------------**----- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ------------------------------**------------------------------**-----
Original file has width 240px and height 160px but no mather what I try: \scale[width=26.5cm]{\**externalfigure[...][width=1mm]**} \scale[width=26.5cm]{\**externalfigure[...][width=240mm]**} \scale[width=26.5cm]{\**externalfigure[...][width=240px]**} I got allways the same result with "Dimension too large" error message Pavel Dohnal