<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
</head><body><p>Hi Bruce<br></p><p>Yes, that is what I do.<br>I'm more flexible with that so I can stick e.g. the northarrow to a white space on the map and the legendcontent to another white space.<br></p><p>Torsten<br></p><blockquote type="cite"><!-- [if gte mso 9]><xml>
<o shapedefaults v:ext="edit" spidmax="1026" ></o>
</xml><![endif] --><!-- [if gte mso 9]><xml>
<o shapelayout v:ext="edit">
<o idmap v:ext="edit" data="1" ></o>
</o:shapelayout></xml><![endif] -->Bruce Mutton via Therion <therion@speleo.sk> hat am 16. August 2017 um 22:17 geschrieben:<br><br><div class="ox-0f10a2c9a3-WordSection1"><p class="ox-0f10a2c9a3-MsoNormal">Torsten</p><p class="ox-0f10a2c9a3-MsoNormal">So if I understand correctly in each of your thconfig files you have code tex-map that defines position and some parameters of …</p><p class="ox-0f10a2c9a3-MsoNormal">\legendbox … \northarrow</p><p class="ox-0f10a2c9a3-MsoNormal">\legendbox … \legendcontent % a standard header that is defined elsewhere</p><p class="ox-0f10a2c9a3-MsoNormal">\legendbox … \thlegend</p><p class="ox-0f10a2c9a3-MsoNormal">\legendbox … {some other headings hard coded text}</p><p class="ox-0f10a2c9a3-MsoNormal">\legendbox … {some other function to hold a self justifying box full of hard coded text} % can we do this?</p><p class="ox-0f10a2c9a3-MsoNormal"> </p><p class="ox-0f10a2c9a3-MsoNormal">And then in a common or standard file elsewhere where you define…</p><p class="ox-0f10a2c9a3-MsoNormal">code tex-map</p><p class="ox-0f10a2c9a3-MsoNormal">\ legendcontent={…}</p><p class="ox-0f10a2c9a3-MsoNormal"> </p><p class="ox-0f10a2c9a3-MsoNormal">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.</p><p class="ox-0f10a2c9a3-MsoNormal"> </p><p class="ox-0f10a2c9a3-MsoNormal">Is that how it works?</p><p class="ox-0f10a2c9a3-MsoNormal">Bruce</p><p class="ox-0f10a2c9a3-MsoNormal"> </p><div><div style="border: none; border-top: solid #E1E1E1 1.0pt; padding: 3.0pt 0cm 0cm 0cm;"><p class="ox-0f10a2c9a3-MsoNormal"><strong>From:</strong> Therion [mailto:therion-bounces@speleo.sk] <strong>On Behalf Of </strong>Torsten Schnitter via Therion<br><strong>Sent:</strong> Wednesday, 16 August 2017 9:55 PM<br><strong>To:</strong> List for Therion users <therion@speleo.sk><br><strong>Cc:</strong> Torsten Schnitter <torsten.schnitter@netcologne.de><br><strong>Subject:</strong> Re: [Therion] Doubled legend</p></div></div><p class="ox-0f10a2c9a3-MsoNormal"> </p><p>Hi Bruce</p><p>Concerning the text I'm doing it like this:</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</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</p><p> </p><p>It's not like inserting a plain text file and therefore it's not the easiest way but it works...</p><p>cheers,<br>Torsten</p><blockquote><p class="ox-0f10a2c9a3-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:</p><div><p class="ox-0f10a2c9a3-ox-7a4c4dcb14-msonormal">Ah ha!</p><p class="ox-0f10a2c9a3-ox-7a4c4dcb14-msonormal">That looks easy. Thanks for sorting that out for me.</p><p class="ox-0f10a2c9a3-ox-7a4c4dcb14-msonormal">Now the only question I have is how to do something like;</p><p class="ox-0f10a2c9a3-ox-7a4c4dcb14-msonormal" style="text-indent: 36.0pt;">input a-standard-tex-module.txt</p><p class="ox-0f10a2c9a3-ox-7a4c4dcb14-msonormal">inside of the code tex-map block?</p><p class="ox-0f10a2c9a3-ox-7a4c4dcb14-msonormal"> </p><p class="ox-0f10a2c9a3-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.</p><p class="ox-0f10a2c9a3-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.</p><p class="ox-0f10a2c9a3-ox-7a4c4dcb14-msonormal">Bruce</p></div></blockquote></div></blockquote><p><br> </p><blockquote type="cite">_______________________________________________<br>Therion mailing list<br>Therion@speleo.sk<br>https://mailman.speleo.sk/listinfo/therion<br></blockquote></body></html>