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, 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&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