<!DOCTYPE html>
<html><head>
    <meta charset="UTF-8">
</head><body><p>sorry, may be I got you wrong....<br></p><blockquote type="cite">Torsten Schnitter via Therion <therion@speleo.sk> hat am 16. August 2017 um 11:54 geschrieben:<br><br><p>Hi Bruce<br></p><p>Concerning the text I'm doing it like this:<br></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<br></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<br></p><p><br></p><p>It's not like inserting a plain text file and therefore it's not the easiest way but it works...<br></p><p>cheers,<br>Torsten<br></p><blockquote type="cite"><!-- [if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif] --><!-- [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 11:42 geschrieben:<br><br><div class="ox-9f43f0fe30-ox-7a4c4dcb14-WordSection1"><p class="ox-9f43f0fe30-ox-7a4c4dcb14-MsoNormal">Ah ha!</p><p class="ox-9f43f0fe30-ox-7a4c4dcb14-MsoNormal">That looks easy.  Thanks for sorting that out for me.</p><p class="ox-9f43f0fe30-ox-7a4c4dcb14-MsoNormal">Now the only question I have is how to do something like;</p><p class="ox-9f43f0fe30-ox-7a4c4dcb14-MsoNormal" style="text-indent: 36.0pt;">input a-standard-tex-module.txt</p><p class="ox-9f43f0fe30-ox-7a4c4dcb14-MsoNormal">inside of the code tex-map block?</p><p class="ox-9f43f0fe30-ox-7a4c4dcb14-MsoNormal"> </p><p class="ox-9f43f0fe30-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-9f43f0fe30-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-9f43f0fe30-ox-7a4c4dcb14-MsoNormal">Bruce</p><p class="ox-9f43f0fe30-ox-7a4c4dcb14-MsoNormal"> </p><p class="ox-9f43f0fe30-ox-7a4c4dcb14-MsoNormal"> </p><div><div style="border: none; border-top: solid #E1E1E1 1.0pt; padding: 3.0pt 0cm 0cm 0cm;"><p class="ox-9f43f0fe30-ox-7a4c4dcb14-MsoNormal"><strong>From:</strong> Therion [mailto:therion-bounces@speleo.sk] <strong>On Behalf Of </strong>Andrey via Therion<br><strong>Sent:</strong> Wednesday, 16 August 2017 9:13 PM<br><strong>To:</strong> List for Therion users <therion@speleo.sk><br><strong>Cc:</strong> Andrey <drunews@mail.ru><br><strong>Subject:</strong> Re: [Therion] Doubled legend</p></div></div><p class="ox-9f43f0fe30-ox-7a4c4dcb14-MsoNormal"> </p><p class="ox-9f43f0fe30-ox-7a4c4dcb14-MsoNormal" style="margin-bottom: 12.0pt;">Bruce,</p><p><br>After studying Henry's code again during the daytime I think I found what was wrong with my config.<br><br>In fact just moving the 'legendbox' around in not enougth to get it right  the 'legendcontent' itself also need to be redefined.<br><br>Then I took that tex code from  Henry's code base and used together with what I've used before and it seem to do the right job.<br><br><img style="width: 6.2604in; height: 2.2395in;" id="ox-9f43f0fe30-ox-7a4c4dcb14-id6da29ed-96b5-15a6-c17e-3a16362b2fe9" src="cid:image003.png@01D316D7.A8D3D130" width="601" height="215"></p><p class="ox-9f43f0fe30-ox-7a4c4dcb14-MsoNormal" style="margin-bottom: 12.0pt;"><br><br>My other two questions are still uresolved. <br><br><br>Thanks,<br>Andrey<br><br><br></p><blockquote><p class="ox-9f43f0fe30-ox-7a4c4dcb14-MsoNormal" style="margin-bottom: 12.0pt;">Среда, 16 августа 2017, 8:49 +01:00 от Bruce Mutton via Therion <<a href="mailto:therion@speleo.sk">therion@speleo.sk</a>>:</p><div id=""><div><div><div id="ox-9f43f0fe30-ox-7a4c4dcb14-style_15028697610000000337_BODY"><div><p>Andrey</p><p>I’m interested in what you are trying to do with point 1, probably something I want to turn my mind to in the next few months.</p><p>Back on 2 July I asked a similar question “Can we invoke multiple tex-map \maplayouts for each exported map output?” but didn’t get any response.  Perhaps a stupid question, or self-evidently never going to work. I have not looked at it since.</p><p>At present I don’t have any answers for you.</p><p> </p><p>Perhaps look at Henry’s contribution here, as it seems like he has this aspect under control,</p><p><a href="https://github.com/speleo/SpeleoPhilippines/blob/master/Region-2/BlueWaterCave_20170213.JPG" target="_blank">https://github.com/speleo/SpeleoPhilippines/blob/master/Region-2/BlueWaterCave_20170213.JPG</a><br></p><p>and copying from his post earlier this week…</p><p style="margin-left: 36.0pt;">Take a look at this <a href="https://github.com/speleo/SpeleoPhilippines/blob/master/CodeLibrary/_layouts.tex" target="_blank">https://github.com/speleo/SpeleoPhilippines/blob/master/CodeLibrary/_layouts.tex</a><br></p><p style="margin-left: 36.0pt;"> </p><p style="margin-left: 36.0pt;">You’ll then need to inject the code into your thconfig file using the “input” command.</p><p style="margin-left: 36.0pt;"> </p><p style="margin-left: 36.0pt;"><a href="https://github.com/speleo/SpeleoPhilippines/blob/master/Region-2/Baggao/thconfig-BlueWater-System" target="_blank">https://github.com/speleo/SpeleoPhilippines/blob/master/Region-2/Baggao/thconfig-BlueWater-System</a><br></p><p> </p><p>Bruce</p><p> </p><div><div style="border: none; border-top: solid #E1E1E1 1.0pt; padding: 3.0pt 0cm 0cm 0cm;"><p><strong>From:</strong> Therion [<a href="mailto:therion-bounces@speleo.sk">mailto:therion-bounces@speleo.sk</a>] <strong>On Behalf Of </strong>?????? ???????? via Therion<br><strong>Sent:</strong> Wednesday, 16 August 2017 7:42 AM<br><strong>To:</strong> <a href="mailto:Therion@speleo.sk">Therion@speleo.sk</a><br><strong>Cc:</strong> андрей коженков <<a href="mailto:drunews@mail.ru">drunews@mail.ru</a>><br><strong>Subject:</strong> [Therion] Doubled legend and cyrillic in metapost</p></div></div><p> </p><p>Dear Therion users,<br><br>I've got few issues with map header customization using metapost and tex code.<br><br>1.  Then I am trying to move north arrow and legend somehere away from main map header  using "\def\maplayout {\legendbox{5}{90}{NW}}"  code the legend and norh arrow is printed twice.<br><br> <img style="width: 6.0937in; height: 3.2812in;" id="ox-9f43f0fe30-ox-7a4c4dcb14-_x0000_i1026" src="cid:image004.png@01D316D7.A8D3D130" width="585" height="315" border="0"><br><br>I'm sure I've made a mistake here but after few days of messing with the code result is still the same.<br><br><snipped></p><p>-- <br>Thanks<br>Andrey</p></div></div><div><p class="ox-9f43f0fe30-ox-7a4c4dcb14-MsoNormal">_______________________________________________<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></p></div></div></div></div></blockquote><p class="ox-9f43f0fe30-ox-7a4c4dcb14-MsoNormal"><br><br>-- <br>Kind regards,<br>Andrey</p></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></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>