From: Pavel Dohnal <pavel.dohnal@twobits.cz>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: error when using externalfigure
Date: Mon, 26 Nov 2012 10:56:49 +0100 [thread overview]
Message-ID: <CAKBDiW517Gh3qyMfe_wwnQt79dN=G6Sq1d5p9tdLgzJeY1EiPQ@mail.gmail.com> (raw)
In-Reply-To: <50B335F5.20701@wxs.nl>
[-- Attachment #1.1: Type: text/plain, Size: 1836 bytes --]
2012/11/26 Hans Hagen <pragma@wxs.nl>
> 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.5mm<http://cdn-locations-images.tripomatic.com/img-poi1295-5ZTynx-s.jpg%5D%5Bwidth=26.5mm>
>> ]
>>
>> \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
[-- Attachment #1.2: Type: text/html, Size: 2663 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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-11-26 9:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-26 9:20 Pavel Dohnal
2012-11-26 9:27 ` Hans Hagen
2012-11-26 9:56 ` Pavel Dohnal [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKBDiW517Gh3qyMfe_wwnQt79dN=G6Sq1d5p9tdLgzJeY1EiPQ@mail.gmail.com' \
--to=pavel.dohnal@twobits.cz \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).