From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79517 Path: news.gmane.org!not-for-mail From: Pavel Dohnal Newsgroups: gmane.comp.tex.context Subject: error when using externalfigure Date: Mon, 26 Nov 2012 10:20:50 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0680459880==" X-Trace: ger.gmane.org 1353921689 8606 80.91.229.3 (26 Nov 2012 09:21:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2012 09:21:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 26 10:21:41 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tcusj-0006mp-UT for gctc-ntg-context-518@m.gmane.org; Mon, 26 Nov 2012 10:21:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 403EC10247; Mon, 26 Nov 2012 10:21:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xwocFXpv3frU; Mon, 26 Nov 2012 10:21:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id CC00210225; Mon, 26 Nov 2012 10:21:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9E8AC10225 for ; Mon, 26 Nov 2012 10:21:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gu5NnL6hZqf4 for ; Mon, 26 Nov 2012 10:21:20 +0100 (CET) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 788B110221 for ; Mon, 26 Nov 2012 10:21:20 +0100 (CET) Original-Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAQ9LF14010308 for ; Mon, 26 Nov 2012 10:21:16 +0100 Original-Received: by mail-ie0-f169.google.com with SMTP id c14so2906845ieb.14 for ; Mon, 26 Nov 2012 01:21:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=1XKs61GFy+Im0SJStLXqhDuGiVhVhNx+ILcO1YIjkSA=; b=hKJWfUDKd9TJc4Gj11Dv0duVH+3sZ+RBFkwDJeuEv8+XCl4O4rALIBGm3NYde0rt4s FDvCRgO/Vmxx8ndgIP+AJaYIPuOQP8OFG0yHv/iXAjIF1IDcewOKehuW8pPgmaBJQwHh VO6gG1SNj22oeKwxqC7Jno1jdAy1rYkHaX1wNyrMv0c2bh2z5ZJWEIqnqhqjCoql+pT1 jZG7K+yDQRemzGre1lb8u2lNT5zAMYAaLIljY2U9gd2BJMbQ9ZO5zcq54xGjlrMBF+AJ YE2n7kaTLtldO0k5AWJmVLyY8NhbTCKbZyuAb2zKPwNeVaheqeQVpM2AuP6zsNFpWqku Ldbg== Original-Received: by 10.43.9.131 with SMTP id ow3mr9154866icb.21.1353921674505; Mon, 26 Nov 2012 01:21:14 -0800 (PST) Original-Received: by 10.64.37.8 with HTTP; Mon, 26 Nov 2012 01:20:50 -0800 (PST) X-Originating-IP: [85.207.54.198] X-Gm-Message-State: ALoCoQkarEwbojZ2TxQkrojJ8il5FCzh5auls0h87CJ47UZJ+8c+JY07+9bQKE/Ywsr8H9ovKKUl X-Bayes-Prob: 0.9978 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.223.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08Is9lfVr - bbbd267bd2b1 - 20121126 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79517 Archived-At: --===============0680459880== Content-Type: multipart/alternative; boundary=bcaec50fe479766cde04cf62748d --bcaec50fe479766cde04cf62748d Content-Type: text/plain; charset=ISO-8859-1 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 ... ...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 --bcaec50fe479766cde04cf62748d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,
I ha= ve 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 scrip= t in batchmode. After finishing, the context creates a PDF file, which cont= ains this problematic picture but the pdf is broken. It does not have numbe= rs in the table of contents and it is not arranged by setup.
Here is a minim= al example:
http://cdn-locations-images.tripomatic.co= m/img-poi1295-5ZTynx-s.jpg][width=3D26.5mm]
\stoptext

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

system =A0 =A0 =A0 =A0 =A0> tex > error on line 1 in file a.tex: Dime= nsion too large ...

1 >> =A0\starttext
=
3 =A0 =A0 \stoptext
4 =A0 =A0=A0

\relocateexternalfigure ...d \foundexternalfigure=A0
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 \bgroup \box \foundexterna...
l.1 \relocateexternalfigure
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0
\calculateexternalfigure ...ua {figures.i= nclude()}
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 \ctxlua {figures.scale()}\...<= /div>
\dodoplaceexternalfigure ...[][#1][#2][#3][#4][#5]
=A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 \dotagfigure \naturalvbox ...
<argument> .= ..1295-5ZTynx-s.jpg][][width=3D26.5mm][]
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 \fi=A0
\firstofoneargument #1->#1

Becau= se I have several thousands pictures, it is impossible for me to correct th= em all. Is it somehow possible to run the context so that it ignores the pr= oblematic pictures?
Thank you
=
Pavel Dohnal
--bcaec50fe479766cde04cf62748d-- --===============0680459880== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0680459880==--