[Therion] code tex-map maplayout
Bruce Mutton
bruce at tomo.co.nz
Sun Sep 29 08:03:54 CEST 2019
Following Andrew’s questions about code tex-map and not being able to get
\formattedlegend to work, I have again experimented to try to resolve some
issues I have been having.
I hope you managed to get \formattedlegend to work Andrew. I did some
experimentation and did not have too much difficulty in getting it to plot
in a customised \maplayout. One insight I got from Audrey’s post is that
\input th_legend will do almost the same thing as \formattedlegend – the
plot just does not have a title. That will be useful sometimes.
I don’t think I understand tex, tex-map or \maplayout well enough to be able
to provide any insight beyond what has already been given however.
On a similar vein, invoking a custom \maplayout
code tex-map
\def\maplayout{ … }
causes any layout map-image specifications to silently fail.
I am aware that there is a work around, as described in the wiki
<https://therion.speleo.sk/wiki/tex?s%5b%5d=tex&s%5b%5d=map#changing_the_loo
k_or_layout_of_a_map_output> , however I’m not keen on complicating my
projects in that way. I want a typical Therion user to be able to pick them
up without having to know about environment variables and tex.
And then I noticed this entry in the wiki
https://therion.speleo.sk/wiki/tips?s[]=tex
<https://therion.speleo.sk/wiki/tips?s%5b%5d=tex&s%5b%5d=map#map-image_and_c
ustom_legendbox> &s[]=map#map-image_and_custom_legendbox
This suggests to me that it may be possible to retain the use of map-image
simply by defining multiple \maplayouts and presumably they are both invoked
in the same pdf output
However I have just tried several variations of renamed \maplayout in
conjunction with a map-image, and I can only ever get either the ‘layout
map-header’ to plot with map-images, or a custom \maplayout without
map-images. A renamed \new_maplayout never plots.
So is there something missing from the wiki entry, is it misleading, or am I
missing something?
Ngā mihi
Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20190929/be55d700/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 11659 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20190929/be55d700/attachment.jpg>
More information about the Therion
mailing list