[Therion] Doubled legend

Torsten Schnitter torsten.schnitter at netcologne.de
Wed Aug 16 11:54:30 CEST 2017


Hi Bruce

Concerning the text I'm doing it like this:

I have a extern file "text-file.th":
layout textpart
code tex-map
  ... text formatted with tex code parts...
  ... e.g. "\size[20]\si{This is text}\vss ...
endcode
endlayout

Inside the thconfig I use input to load this file and then add following to the layout definition:
code tex-map
....
\legendbox{x}{y}{z}{\textpart}
...
endcode


It's not like inserting a plain text file and therefore it's not the easiest way but it works...

cheers,
Torsten

> Bruce Mutton via Therion <therion at speleo.sk> hat am 16. August 2017 um 11:42 geschrieben:
> 
> 
>     Ah ha!
> 
>     That looks easy.  Thanks for sorting that out for me.
> 
>     Now the only question I have is how to do something like;
> 
>     input a-standard-tex-module.txt
> 
>     inside of the code tex-map block?
> 
>      
> 
>     I have come up with a long and more complicated (but more useful) custom the\legendcontent, and furthermore, it is always undergoing incremental improvement.
> 
>     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.
> 
>     Bruce
> 
>      
> 
>      
> 
>     From: Therion [mailto:therion-bounces at speleo.sk] On Behalf Of Andrey via Therion
>     Sent: Wednesday, 16 August 2017 9:13 PM
>     To: List for Therion users <therion at speleo.sk>
>     Cc: Andrey <drunews at mail.ru>
>     Subject: Re: [Therion] Doubled legend
> 
>      
> 
>     Bruce,
> 
> 
>     After studying Henry's code again during the daytime I think I found what was wrong with my config.
> 
>     In fact just moving the 'legendbox' around in not enougth to get it right  the 'legendcontent' itself also need to be redefined.
> 
>     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.
> 
> 
> 
> 
>     My other two questions are still uresolved. 
> 
> 
>     Thanks,
>     Andrey
> 
> 
> 
>         > > 
> >         Среда, 16 августа 2017, 8:49 +01:00 от Bruce Mutton via Therion <therion at speleo.sk mailto:therion at speleo.sk >:
> > 
> >         Andrey
> > 
> >         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.
> > 
> >         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.
> > 
> >         At present I don’t have any answers for you.
> > 
> >          
> > 
> >         Perhaps look at Henry’s contribution here, as it seems like he has this aspect under control,
> > 
> >         https://github.com/speleo/SpeleoPhilippines/blob/master/Region-2/BlueWaterCave_20170213.JPG
> > 
> >         and copying from his post earlier this week…
> > 
> >             Take a look at this https://github.com/speleo/SpeleoPhilippines/blob/master/CodeLibrary/_layouts.tex
> > 
> >              
> > 
> >             You’ll then need to inject the code into your thconfig file using the “input” command.
> > 
> >              
> > 
> >             https://github.com/speleo/SpeleoPhilippines/blob/master/Region-2/Baggao/thconfig-BlueWater-System
> > 
> >          
> > 
> >         Bruce
> > 
> >          
> > 
> >         From: Therion [mailto:therion-bounces at speleo.sk] On Behalf Of ?????? ???????? via Therion
> >         Sent: Wednesday, 16 August 2017 7:42 AM
> >         To: Therion at speleo.sk mailto:Therion at speleo.sk
> >         Cc: андрей коженков <drunews at mail.ru mailto:drunews at mail.ru >
> >         Subject: [Therion] Doubled legend and cyrillic in metapost
> > 
> >          
> > 
> >         Dear Therion users,
> > 
> >         I've got few issues with map header customization using metapost and tex code.
> > 
> >         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.
> > 
> >          
> > 
> >         I'm sure I've made a mistake here but after few days of messing with the code result is still the same.
> > 
> >         <snipped>
> > 
> >         --
> >         Thanks
> >         Andrey
> > 
> >         _______________________________________________
> >         Therion mailing list
> >         Therion at speleo.sk mailto:Therion at speleo.sk
> >         https://mailman.speleo.sk/listinfo/therion
> > 
> >     > 
> 
> 
>     --
>     Kind regards,
>     Andrey
> 


 

> _______________________________________________
>     Therion mailing list
>     Therion at speleo.sk
>     https://mailman.speleo.sk/listinfo/therion
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20170816/88529c15/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 49202 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20170816/88529c15/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 67844 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20170816/88529c15/attachment-0001.png>


More information about the Therion mailing list