[Therion] Size of pdf error when final pdf size should be OK

Martin Budaj m.budaj at gmail.com
Thu Jul 15 16:38:45 CEST 2010


On Thu, Jul 15, 2010 at 1:40 PM, Bruce <dangle at tomo.co.nz> wrote:
> For another cave elsewhere on the image (sort of top centre) I get the error
> reported in the scale 1 1000 log file attached, and no output.  For this
> other cave it compiles fine if the surface image is off, or if the surface
> image is on and the scale is 1:2000 as in the attached scale 1 2000 log
> file.  (Use a text comparator to spot the differences in the two
> attachments).
>
> If I debug the problem run and check the intermediate data.pdf file
> produced, the cave is plotted on the wrong part of the surface image, but is
> otherwise perfect.
>
> Perhaps the error is due to the size of the pdf page produced as part of an
> intermediate step, as the final pdf page is well within the 5m size limit.

Exactly. The critical dimension is a difference between lower-left
corner of the cave and lower-left corner of the image. If it is too
large for TeX, it uses maximal acceptable value as displayed in the
log file and you get wrong placement of the cave relative to
background.

> Might it be possible to get a 1:1000 output (1.5m long) without chopping my
> overall source image into smaller pieces?  After all, it works in one case
> and not another.

Displaying both caves could avoid the problem.

It is theoretically possible to fix it e.g. by scaling down the
coordinates passed to TeX by factor of 10 and then rescale the map
only in PDF file by setting transformation matrices; but this would be
quite lot of work.

Splitting the image seems to be the best idea currently.

Martin



More information about the Therion mailing list