<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)"><base href="https://e.mail.ru/" target="_self"><!--[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]--><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;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        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'>Ah ha!<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>That looks easy.  Thanks for sorting that out for me.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Now the only question I have is how to do something like;<o:p></o:p></span></p><p class=MsoNormal style='text-indent:36.0pt'><span style='mso-fareast-language:EN-US'>input a-standard-tex-module.txt <o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>inside of the code tex-map block?<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'>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></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>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></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><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>Andrey via Therion<br><b>Sent:</b> Wednesday, 16 August 2017 9:13 PM<br><b>To:</b> List for Therion users <therion@speleo.sk><br><b>Cc:</b> Andrey <drunews@mail.ru><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 class=MsoNormal style='margin-bottom:12.0pt'>Bruce,<o:p></o:p></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 width=601 height=215 style='width:6.2604in;height:2.2395in' id=id6da29ed-96b5-15a6-c17e-3a16362b2fe9 src="cid:image003.png@01D316D7.A8D3D130"><o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><br><br>My other two questions are still uresolved. <br><br><br>Thanks,<br>Andrey<br><br><br><o:p></o:p></p><blockquote style='border:none;border-left:solid #0857A6 1.0pt;padding:0cm 0cm 0cm 8.0pt;margin-left:7.5pt;margin-top:7.5pt;margin-right:7.5pt;margin-bottom:7.5pt'><p class=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>>:<o:p></o:p></p><div id=""><div><div><div id="style_15028697610000000337_BODY"><div><p><span style='mso-fareast-language:EN-US'>Andrey</span><o:p></o:p></p><p><span style='mso-fareast-language:EN-US'>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.</span><o:p></o:p></p><p><span style='mso-fareast-language:EN-US'>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.</span><o:p></o:p></p><p><span style='mso-fareast-language:EN-US'>At present I don’t have any answers for you.</span><o:p></o:p></p><p><span style='mso-fareast-language:EN-US'> </span><o:p></o:p></p><p><span style='mso-fareast-language:EN-US'>Perhaps look at Henry’s contribution here, as it seems like he has this aspect under control,</span><o:p></o:p></p><p><span style='mso-fareast-language:EN-US'><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></span><o:p></o:p></p><p><span style='mso-fareast-language:EN-US'>and copying from his post earlier this week…</span><o:p></o:p></p><p style='margin-left:36.0pt'><span lang=EN-GB style='mso-fareast-language:EN-US'>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></span><o:p></o:p></p><p style='margin-left:36.0pt'><span lang=EN-GB style='mso-fareast-language:EN-US'> </span><o:p></o:p></p><p style='margin-left:36.0pt'><span lang=EN-GB style='mso-fareast-language:EN-US'>You’ll then need to inject the code into your thconfig file using the “input” command.</span><o:p></o:p></p><p style='margin-left:36.0pt'><span lang=EN-GB style='mso-fareast-language:EN-US'> </span><o:p></o:p></p><p style='margin-left:36.0pt'><span lang=EN-GB style='mso-fareast-language:EN-US'><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></span><o:p></o:p></p><p><span lang=EN-GB style='mso-fareast-language:EN-US'> </span><o:p></o:p></p><p><span lang=EN-GB style='mso-fareast-language:EN-US'>Bruce</span><o:p></o:p></p><p><span style='mso-fareast-language:EN-US'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p><b><span lang=EN-US>From:</span></b><span lang=EN-US> Therion [<a href="mailto:therion-bounces@speleo.sk">mailto:therion-bounces@speleo.sk</a>] <b>On Behalf Of </b>?????? ???????? via Therion<br><b>Sent:</b> Wednesday, 16 August 2017 7:42 AM<br><b>To:</b> <a href="mailto:Therion@speleo.sk">Therion@speleo.sk</a><br><b>Cc:</b> андрей коженков <<a href="mailto:drunews@mail.ru">drunews@mail.ru</a>><br><b>Subject:</b> [Therion] Doubled legend and cyrillic in metapost</span><o:p></o:p></p></div></div><p> <o:p></o: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 border=0 width=585 height=315 style='width:6.0937in;height:3.2812in' id="_x0000_i1026" src="cid:image004.png@01D316D7.A8D3D130"><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><o:p></o:p></p><p>-- <br>Thanks<br>Andrey<o:p></o:p></p></div></div><div><p class=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><o:p></o:p></p></div></div></div></div></blockquote><p class=MsoNormal><br><br>-- <br>Kind regards,<br>Andrey<o:p></o:p></p></div></body></html>