From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79071 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: \externalfigure and large-paged pdfs Date: Thu, 08 Nov 2012 15:18:49 +0100 Message-ID: <509BBF49.8080106@bittext.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1352384339 26129 80.91.229.3 (8 Nov 2012 14:18:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2012 14:18:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 08 15:19:07 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 1TWSwk-0007Df-TO for gctc-ntg-context-518@m.gmane.org; Thu, 08 Nov 2012 15:19:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2528410227; Thu, 8 Nov 2012 15:18:57 +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 Xy-Tq4HEOoXx; Thu, 8 Nov 2012 15:18:54 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0FE9D1020C; Thu, 8 Nov 2012 15:18:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82C451020C for ; Thu, 8 Nov 2012 15:18:52 +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 oa624PCCHlac for ; Thu, 8 Nov 2012 15:18:51 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 48818101EF for ; Thu, 8 Nov 2012 15:18:51 +0100 (CET) Original-Received: from server5.aanhet.net (server5.aanhet.net [195.12.62.5]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qA8EIodF024815 for ; Thu, 8 Nov 2012 15:18:50 +0100 Original-Received: from localhost (server5.aanhet.net [127.0.0.1]) by server5.aanhet.net (Postfix) with ESMTP id 7B523200024E; Thu, 8 Nov 2012 15:18:50 +0100 (CET) X-Virus-Scanned: amavisd-new at server5.aanhet.net Original-Received: from server5.aanhet.net ([127.0.0.1]) by localhost (server5.aanhet.net [127.0.0.1]) (amavisd-new, port 10025) with LMTP id c+VB5xAu2d3l; Thu, 8 Nov 2012 15:18:50 +0100 (CET) Original-Received: from [192.168.178.34] (boo.demon.nl [83.163.247.99]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server5.aanhet.net (Postfix) with ESMTPSA id E1C6D2000244; Thu, 8 Nov 2012 15:18:49 +0100 (CET) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 X-Bayes-Prob: 0.115 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=195.12.62.5; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NIl2iOh2 - b1c2f34bd7ed - 20121108 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:79071 Archived-At: Hi, Actually, this is a bug report. If you try to include a pdf with a large page size: \starttext \externalfigure[plankaart] \stoptext chances are that you get an error message like this: ! Dimension too large. \hsize \setraggedness ...yphenpenalty \dimexpr 2.8\hsize /\dimexpr #1\relax \relax ... \raggedcenter ...spac_align_set_raggedness_middle \raggedstatus \plustwo \at... \next ...ght \pack_framed_do_setups \raggedcenter \vss \bgroup \localbegstru... \grph_include_finalize ...tedexternalfigureframed {\vfilll \box \foundextern... \grph_include_place ...ode \grph_include_finalize \fi \ctxlua {figures.pop()... ... l.2 \externalfigure[plankaart] It seems that \externalfigure forces execution of \raggedcenter, and if your PDF's page is large enough, that then fails. There is, in fact, a workaroud: \starttext {\setupalign[nothyphenated]\externalfigure[plankaart]} \stoptext but that looks totally bizarre. Hans, can you find a way to fix this properly? Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________