[Therion] Extended elevation control - Embedded image does not appear in some layouts

Andrew Atkinson andrew at wotcc.org.uk
Wed Feb 19 17:29:20 CET 2025



On 19/02/2025 15:58, Bill Gee wrote:
> I would also like a way to produce a map which has SOME (not all) cross- 
> sections.  Right now it is all or nothing.  You either get every cross- 
> section or you get no cross-sections.  This might be done by using PDF 
> layers and letting the cross-section scrap specify the layer it goes on.

You can sort of do this with
-attr <name> <value>. <name>
Then use this in metapost

p36 thbook
You can test presence of such a variable using if known ATTR_<name>: ... fi.

However, my metapost was not good enough and I kept getting bugs. So I 
used python to pull them out, then removed the ones I wanted. I thought 
I had put the code online, but cannot find it!

However, the use of attr would work better if symbol-hide worked for it. 
Unfortunately I do not think that it does.

You could abuse the system by abusing the -context option and setting it 
to a symbol you do not use then turn that off with symbol-hide.


Andrew


More information about the Therion mailing list