[Therion] Automatic scaling of PDF output

Tarquin Wilton-Jones tarquin.wilton-jones at ntlworld.com
Fri May 24 22:18:35 CEST 2019


Unfortunately, this is what I had suspected. An iterative process could do it but it would end up slower and more complex. But thanks for the reply anyway :)
-------- Original message --------From: Martin Budaj <m.budaj at gmail.com> Date: 24/05/2019  20:23  (GMT+00:00) To: List for Therion users <therion at speleo.sk> Subject: Re: [Therion] Automatic scaling of PDF output Hiunfortunately Therion doesn't support this. It would be actually quite complicated to implement it, as map symbols are scale-dependent so to know the exact size of the output drawing (not just the centreline), you have to draw it first in the selected scale.MartinOn Fri, May 24, 2019 at 11:00 AM Tarquin Wilton-Jones via Therion <therion at speleo.sk> wrote:Hi,

I am sure this must have been asked before, but was not able to find
anything in the mailing list archives or wiki...

Our survey is going to be published in a magazine. The magazine has very
strict limits on the survey size; 28 cm x 18 cm max, with limits on line
thickness as well. Making the final PDF survey the right size is done
with the layout "scale" definition, but this means I need to very
carefully (painfully) recalculate it whenever an extension changes the
size of the survey.

Main question; Is there a way to make Therion automatically calculate
the correct scale to fit certain dimensions?

(I do understand that this might be impossible, since the output can
change based on the scale, so it would become an iterative process. I am
just hoping there might be some magic.)

<aside>

For those interested, I have used code metapost to set the line
thicknesses so that they work according to the minimum line thickness:

def minimumpen = 0.18pt enddef;
def PenA = pencircle scaled (minimumpen*1/0.35) enddef;
def PenB = pencircle scaled (minimumpen*0.7/0.35) enddef;
def PenC = pencircle scaled (minimumpen*0.5/0.35) enddef;
def PenD = pencircle scaled (minimumpen) enddef;
def PenX = pencircle scaled (minimumpen*1.2/0.35) enddef;

</aside>

Thanks for any assistance.

Tarquin
_______________________________________________
Therion mailing list
Therion at speleo.sk
https://mailman.speleo.sk/listinfo/therion

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20190524/440b120d/attachment.htm>


More information about the Therion mailing list