Re: [Therion] thfill with page background colour?

2021-11-23 Thread Tarquin Wilton-Jones via Therion
> In which variable do i access the page's background color (the one set > wit the layout option "map-bg")? Fun fact ... you can't access that. Or at least, it didn't seem to be available back when I was trying to do that in version 5. And I still can't see any useful variable in version 6.

Re: [Therion] Fwd: PDF output: layers nested?

2021-11-23 Thread Andrew Atkinson
On 23/11/2021 15:08, Benedikt Hallinger wrote: I don't know PDF specifics, but it would be very handy to have "nested" layers, i.e. submaps as separate layers in the main layer. That would be very useful, don't know if it is possible If sublayersa re not possible, it would be cool to

Re: [Therion] Fwd: PDF output: layers nested?

2021-11-23 Thread Benedikt Hallinger
Hi, no, i really have submaps in my example. mymap in my case is defined in my thconfig file, and it references a mainmap as submap. That submap again is a collection of other submaps, that finally contain scraps: - source map 164-Grundriss -title "Mappe 164: Wandaugenlabyrinth

Re: [Therion] Fwd: PDF output: layers nested?

2021-11-23 Thread Andrew Atkinson
On 23/11/2021 15:49, Benedikt Hallinger wrote: es, exactly, when i use "select" and fetch the maps that way, it generates layers as expected. However, in this instance i just have one big "map" element, but it would be nice if i could have the submaps also as distinct layers. With a map

[Therion] thfill with page background colour?

2021-11-23 Thread Benedikt Hallinger
Hi metapost wizards, I try to fill a label with the page background. thfill ((bbox lab)) scaled (sc * basescale * 1.5) withcolor ; For i tried "label_fill_color", which however may be a different background. I also tried "background", but that yields the cave passage background colour.

Re: [Therion] Fwd: PDF output: layers nested?

2021-11-23 Thread Benedikt Hallinger
Yes, exactly, when i use "select" and fetch the maps that way, it generates layers as expected. However, in this instance i just have one big "map" element, but it would be nice if i could have the submaps also as distinct layers. Am 2021-11-23 16:41, schrieb Andrew Atkinson: On 23/11/2021

Re: [Therion] thfill with page background colour?

2021-11-23 Thread Tarquin Wilton-Jones via Therion
On 23/11/2021 20:35, Martin Budaj wrote: > On Tue, Nov 23, 2021 at 4:34 PM Tarquin Wilton-Jones via Therion > wrote: >> >>> In which variable do i access the page's background color (the one set >>> wit the layout option "map-bg")? >> >> Fun fact ... you can't access that. Or at least, it didn't

Re: [Therion] thfill with page background colour?

2021-11-23 Thread Martin Budaj
On Tue, Nov 23, 2021 at 4:34 PM Tarquin Wilton-Jones via Therion wrote: > > > In which variable do i access the page's background color (the one set > > wit the layout option "map-bg")? > > Fun fact ... you can't access that. Or at least, it didn't seem to be > available back when I was trying to

Re: [Therion] thfill with page background colour?

2021-11-23 Thread Benedikt Hallinger
Great, that works as intended! Thank you very much! Am 2021-11-23 21:35, schrieb Martin Budaj: On Tue, Nov 23, 2021 at 4:34 PM Tarquin Wilton-Jones via Therion wrote: > In which variable do i access the page's background color (the one set > wit the layout option "map-bg")? Fun fact ... you