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.
<recently read> \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
___________________________________________________________________________________

Reply via email to