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
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
Is working now. Documented how it appears to work here https://therion.speleo.sk/wiki/bds#concepts |-maps (enables or disables output map structure for the selected surveys) |-maps-offset (enables or disables output of defined passage offsets from their true positions) maps if maps OFF is chosen, defined map structures are NOT parsed to the outputs (therefore offsets are disabled and previews of passages are not shown). Only scraps from the selected (or source) surveys are output. Survey centrelines and stations are not output. maps-offset if OFF is chosen, defined offsets are ignored, and the scraps are drawn in their true positions. Previews are exported as usual (although previews associated with any offsets are of course not required). Maps-offset has no meaning or effect if maps off is also chosen. Bruce From: Therion <therion-bounces@speleo.sk> On Behalf Of Stacho Mudrak Sent: Tuesday, 3 December 2019 10:53 To: List for Therion users <therion@speleo.sk> Subject: Re: [Therion] Maps-offset New development version 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.
participants (2)
-
Bruce Mutton -
Stacho Mudrak