ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* error when using externalfigure
@ 2012-11-26  9:20 Pavel Dohnal
  2012-11-26  9:27 ` Hans Hagen
  2012-11-26  9:36 ` luigi scarso
  0 siblings, 2 replies; 14+ messages in thread
From: Pavel Dohnal @ 2012-11-26  9:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1632 bytes --]

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.5mm
]
\stoptext

When I run the context, it prints:
! Dimension too large.

system          > tex > error on line 1 in file a.tex: Dimension too large
...

1 >>  \starttext
2     \externalfigure[
http://cdn-locations-images.tripomatic.com/img-poi1295-5ZTynx-s.jpg][width=26.5mm
]
3     \stoptext
4


\relocateexternalfigure ...d \foundexternalfigure
                                                  \bgroup \box
\foundexterna...
l.1 \relocateexternalfigure

\calculateexternalfigure ...ua {figures.include()}
                                                  \ctxlua
{figures.scale()}\...
\dodoplaceexternalfigure ...[][#1][#2][#3][#4][#5]
                                                  \dotagfigure \naturalvbox
...
<argument> ...1295-5ZTynx-s.jpg][][width=26.5mm][]
                                                  \fi
\firstofoneargument #1->#1

Because I have several thousands pictures, it is impossible for me to
correct them all. Is it somehow possible to run the context so that it
ignores the problematic pictures?
Thank you
Pavel Dohnal

[-- Attachment #1.2: Type: text/html, Size: 3652 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <mailman.384.1353926481.2161.ntg-context@ntg.nl>]

end of thread, other threads:[~2012-11-26 20:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-26  9:20 error when using externalfigure Pavel Dohnal
2012-11-26  9:27 ` Hans Hagen
2012-11-26  9:56   ` Pavel Dohnal
2012-11-26  9:36 ` luigi scarso
2012-11-26  9:50   ` Hans Hagen
2012-11-26 10:00     ` luigi scarso
2012-11-26 10:10       ` Martin Schröder
2012-11-26 10:40         ` Pavel Dohnal
2012-11-26 10:50           ` luigi scarso
2012-11-26 12:32       ` Hans Hagen
2012-11-26 15:01         ` Sietse Brouwer
2012-11-26 19:54     ` Dr. Hartmut Henkel
2012-11-26 20:42       ` Hans Hagen
     [not found] <mailman.384.1353926481.2161.ntg-context@ntg.nl>
2012-11-26 11:21 ` Robert Blackstone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).