[Therion] code tex-map - some tokens I cannot get to work

Andrew Atkinson andrew at wotcc.org.uk
Tue Sep 24 11:52:40 CEST 2019


I need to split up the scale bar, north arrow, legend and header
information on a survey I'm doing

To do this I think that I have to use tex-map, which works fine for the
scale bar, north arrow but I cannot get any of the legend tokens work

layout combined
legend on
code tex-map
\def\maplayout{
 \formattedlegend
 \northarrow
 \scalebar
\legendbox{10}{20}{NW}{\\scalebar}
 \legendbox{10}{20}{NW}{\northarrow}
 \legendbox{10}{20}{NW}{\formattedlegend}
}
endcode
endlayout

So in the above I get a scale bar and north arrow in the bottom left
from  \northarrow \scalebar, but \formattedlegend does not do anything
nor does \insertlegend or \legendtitle the \legendbox lets me control
where they are

I also tried

\iflegend(\formattedlegend)\fi

But this gives a

therion: error -- pdftex exit code -- 256

Anyone got any ideas?

thanks

Andrew



More information about the Therion mailing list