Hi Andrew, I've used this code from wiki with little edits. 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. code tex-map #begining of TeX code \edef\temp{\the\cavename} \edef\nostring{} \ifx\temp\nostring \cavename={Fantasy Cave} \else \fi %\newtoks\club \club={MCU caving club} \def\maplayout{ \legendbox{5}{70}{NW}{ \legendwidth 26 cm \legendtextheadersize={\size[38]} \legendtextsize={\size[22]} \the\legendcontent } \legendbox{85}{95}{NW}{ \legendwidth 25 cm \legendtextsize={\size[18]} \hsize=\legendwidth \input th_legend } \legendbox{15}{95}{NW}{\northarrow} \legendbox{50}{5}{NW}{\scalebar} \legendbox{5}{95}{NW} {\loadpicture{G:/Caving/Caves/Fantaziya/Therion/KS_MCU_colour.png}} } endcode #end of TeX code Kind regards, Andrey
Вторник, 24 сентября 2019, 10:54 +01:00 от Andrew Atkinson <andrew@wotcc.org.uk>:
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?
Woops missed: therion 5.4.3 (2019-02-01 on debian
thanks
Andrew _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
-- Kind regards, Andrey