[Therion] Can we invoke multiple tex-map \maplayouts for each exported map output?

Bruce Mutton bruce at tomo.co.nz
Sun Jul 2 12:10:54 CEST 2017


Is it possible to use multiple tex-map \maplayout definitions to arrange the
predefined standard Therion Header (\legendcontent {.}) and other objects
and labels on the page?  The code and image below compile without error, and
show the sort of thing I am trying to do.

 

It looks like only one \maplayout definition can exist, and calling it
multiple times results in the predefined standard header being overwritten,
such that it is not output, and subsequently called \maplayouts are
similarly overwritten.

 

I want to be able to add notes and objects (scalebar, north arrow, contents
of a plain text file) to the map output incrementally, without having to put
them in a single layout.

Ie Because most projects have several caves and dozens of map possibilities,
it is not practicable to redefine a complete \maplayout definition that
includes the predefined header (many lines of code times dozens of
instances) for each map.

 

Or is there some other way to achieve this?

 

Bruce

 

 

layout LayoutMapArrowGames

code tex-map

  \def\maplayout {

    \legendbox {50} {50} {c} {\northarrow}

    \legendbox {75} {25} {c} {\northarrow}               

    \legendbox {85} {50} {ne} {\the\legendtextsize\ss {Plan View}} 

    \legendbox {85} {25} {ne} {\the\legendtextsize\ss {Elevation View}}


    \legendbox {85} {65} {ne} {\the\legendtextsize\ss {North Arrow NOTES}}


  }

endlayout LayoutMapArrowGames         

 

layout LayoutMapNotes

code tex-map

  \def\maplayout {

   \legendbox {85}{75} {ne} {\the\legendtextsize\ss {EXPLORATION NOTES}}

  }

endlayout LayoutMapNotes        

 

layout LayoutMapThisCavePlan

 map-header 100 100 nw            # predefined standard Therion Header, not
output due to layouts below

  copy LayoutMapArrowGames   #top of this list IS output (as in image below)

  copy LayoutMapNotes                #next one(s) down is not output

endlayout LayoutMapThisCavePlan

 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20170702/b41ba56e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 26276 bytes
Desc: image003.jpg
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20170702/b41ba56e/attachment.jpg>


More information about the Therion mailing list