<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.ox-7a4c4dcb14-msonormal, li.ox-7a4c4dcb14-msonormal, div.ox-7a4c4dcb14-msonormal
{mso-style-name:ox-7a4c4dcb14-msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-NZ link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Torsten<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>So if I understand correctly in each of your thconfig files you have code tex-map that defines position and some parameters of …<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>\legendbox … \northarrow<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>\legendbox … \legendcontent % a standard header that is defined elsewhere<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>\legendbox … \thlegend<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>\legendbox … {some other headings hard coded text} <o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>\legendbox … {some other function to hold a self justifying box full of hard coded text} % can we do this?<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>And then in a common or standard file elsewhere where you define…<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>code tex-map<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>\ legendcontent={…}<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>And therefore you could have a selection of files or layouts that could be referenced to the give the option of selecting different \legendcontent variants.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Is that how it works?<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Bruce<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> Therion [mailto:therion-bounces@speleo.sk] <b>On Behalf Of </b>Torsten Schnitter via Therion<br><b>Sent:</b> Wednesday, 16 August 2017 9:55 PM<br><b>To:</b> List for Therion users <therion@speleo.sk><br><b>Cc:</b> Torsten Schnitter <torsten.schnitter@netcologne.de><br><b>Subject:</b> Re: [Therion] Doubled legend<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p>Hi Bruce<o:p></o:p></p><p>Concerning the text I'm doing it like this:<o:p></o:p></p><p>I have a extern file "text-file.th":<br>layout textpart<br>code tex-map<br> ... text formatted with tex code parts...<br> ... e.g. "\size[20]\si{This is text}\vss ...<br>endcode<br>endlayout<o:p></o:p></p><p>Inside the thconfig I use input to load this file and then add following to the layout definition:<br>code tex-map<br>....<br>\legendbox{x}{y}{z}{\textpart}<br>...<br>endcode<o:p></o:p></p><p><o:p> </o:p></p><p>It's not like inserting a plain text file and therefore it's not the easiest way but it works...<o:p></o:p></p><p>cheers,<br>Torsten<o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal style='margin-bottom:12.0pt'>Bruce Mutton via Therion <<a href="mailto:therion@speleo.sk">therion@speleo.sk</a>> hat am 16. August 2017 um 11:42 geschrieben:<o:p></o:p></p><div><p class=ox-7a4c4dcb14-msonormal>Ah ha!<o:p></o:p></p><p class=ox-7a4c4dcb14-msonormal>That looks easy. Thanks for sorting that out for me.<o:p></o:p></p><p class=ox-7a4c4dcb14-msonormal>Now the only question I have is how to do something like;<o:p></o:p></p><p class=ox-7a4c4dcb14-msonormal style='text-indent:36.0pt'>input a-standard-tex-module.txt<o:p></o:p></p><p class=ox-7a4c4dcb14-msonormal>inside of the code tex-map block?<o:p></o:p></p><p class=ox-7a4c4dcb14-msonormal> <o:p></o:p></p><p class=ox-7a4c4dcb14-msonormal>I have come up with a long and more complicated (but more useful) custom the\legendcontent, and furthermore, it is always undergoing incremental improvement.<o:p></o:p></p><p class=ox-7a4c4dcb14-msonormal>To replicate this in every independent map layout is not really a workable solution, but at the moment it is the only way I can think of.<o:p></o:p></p><p class=ox-7a4c4dcb14-msonormal>Bruce<o:p></o:p></p></div></blockquote></div></body></html>