Hi Bruce,

obviously there was an error in the code, now it should work as expected.

Only selected maps are exported and maps offset can be turned off. Thanks for finding out.

S.

On Sun, 1 Dec 2019 at 23:03, Bruce Mutton <bruce@tomo.co.nz> wrote:

Thanks Martin

Something might be a bit off however.

Is ‘maps’ and ‘maps-offset’ intended to work together or are they mutually exclusive?

 

maps on

maps-offset off

                select (one or more) maps

This combination produces a pdf output as though only ‘maps off’ had been specified.  ie all scraps that exist are exported, not just those that have been selected.  I was expecting that just the scraps specified in the selected maps would be exported, so maybe this is a bug?

 

maps on

maps-offset on

                select (one or more) maps

This combination produces an output that seems to match those that we would get prior to these features being developed, as is intended I presume.

 

maps off

maps-offset on

                select (one or more) maps

I did not know what to expect with this combination as one would seem to contradict the other.  As far as I can tell, the maps off specification seems to have been ignored, or perhaps it is overridden by the ‘maps-offset on’.  I get the same map as if both features are ‘on’.

 

If I swap the order in the above…

maps-offset on

maps off

                select (one or more) maps

This produces a pdf that matches ‘maps off’, so I include the order is important, and the last one specified dominates.

 

So at present, it seems that the ‘maps-offset’ feature duplicates almost exactly the ‘maps’ feature.  I presume this is not what is intended.

 

Also the syntax description in the Therion Book for maps has been swapped with maps-offset, just to make it interesting perhaps. :)

 

I wonder if the therion.log should report the state of the maps-offset flag, once it is working?

 

Bruce

 

From: Therion <therion-bounces@speleo.sk> On Behalf Of Martin Sluka via Therion
Sent: Sunday, 1 December 2019 22:04
To: Therion users List for <therion@speleo.sk>
Cc: Martin Sluka <martinsluka@mac.com>
Subject: [Therion] New development version

 

https://github.com/therion/therion/tree/802ad7c

 

Add thconfig option to disable offsets



Martin Sluka

 

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