<HTML><BODY><p>Hi Andrew,<br><br>I've used this code from wiki with little edits.<br><br>Worked pretty well for me apart from the fact that "map image" command will no longer work properly and will require full path to image file.<br><br>code tex-map #begining of TeX code<br><br> \edef\temp{\the\cavename} <br> \edef\nostring{} <br> \ifx\temp\nostring <br> \cavename={Fantasy Cave} <br> \else <br> \fi<br> %\newtoks\club \club={MCU caving club} </p><p>\def\maplayout{<br> \legendbox{5}{70}{NW}{ <br> \legendwidth 26 cm <br> \legendtextheadersize={\size[38]}<br> \legendtextsize={\size[22]} <br> \the\legendcontent<br> }<br> \legendbox{85}{95}{NW}{ <br> \legendwidth 25 cm <br> \legendtextsize={\size[18]} <br> \hsize=\legendwidth<br> \input th_legend<br> }<br> \legendbox{15}{95}{NW}{\northarrow} <br> \legendbox{50}{5}{NW}{\scalebar} <br> \legendbox{5}{95}{NW} {\loadpicture{G:/Caving/Caves/Fantaziya/Therion/KS_MCU_colour.png}}<br> }<br>endcode #end of TeX code</p><br><br>Kind regards,<br>Andrey<br><br><br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
        Вторник, 24 сентября 2019, 10:54 +01:00 от Andrew Atkinson <andrew@wotcc.org.uk>:<br>
        <br>
        <div id="">






<div class="js-helper js-readmsg-msg">
        <style type="text/css"></style>
        <div>
                
                
            <div id="style_15693188681758585413_BODY">I need to split up the scale bar, north arrow, legend and header<br>
information on a survey I'm doing<br>
<br>
To do this I think that I have to use tex-map, which works fine for the<br>
scale bar, north arrow but I cannot get any of the legend tokens work<br>
<br>
layout combined<br>
legend on<br>
code tex-map<br>
\def\maplayout{<br>
 \formattedlegend<br>
 \northarrow<br>
 \scalebar<br>
\legendbox{10}{20}{NW}{\\scalebar}<br>
 \legendbox{10}{20}{NW}{\northarrow}<br>
 \legendbox{10}{20}{NW}{\formattedlegend}<br>
}<br>
endcode<br>
endlayout<br>
<br>
So in the above I get a scale bar and north arrow in the bottom left<br>
from  \northarrow \scalebar, but \formattedlegend does not do anything<br>
nor does \insertlegend or \legendtitle the \legendbox lets me control<br>
where they are<br>
<br>
I also tried<br>
<br>
\iflegend(\formattedlegend)\fi<br>
<br>
But this gives a<br>
<br>
therion: error -- pdftex exit code -- 256<br>
<br>
Anyone got any ideas?<br>
<br>
Woops missed: therion 5.4.3 (2019-02-01 on debian<br>
<br>
thanks<br>
<br>
Andrew<br>
_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
</div>
            
        
                
        </div>

        
</div>


</div>
</blockquote>
<br>
<br>-- <br>Kind regards,<br>Andrey<br></BODY></HTML>