[Therion] Concatinate map-comment?

Stacho Mudrak s.m at group-s.sk
Fri Feb 1 16:27:04 CET 2008


Currently it can be done only via TeX code trick, but probably it is a good idea
that if one layout is copied into another, map-comments will be concatenated,
not replaced. Would this solve your problem?

Regards, S.


Quoting Bruce Mutton <bruce.mutton at paradise.net.nz>:

> I'd like to add some 'standardised' blocks of text to my finished cave maps,
> and a convenient way seems to be to use the map-comment command to add the
> text to the title block.  As far as it goes the following works fine.
> 
>  
> 
> FILE THCONFIG- GreenlinkAnnotationLayout
> 
> layout GreenlinkAnnotationLayout
> 
>   map-comment "REFERENCES:\
> 
>            <br>Discovery and early exploration of Greenlink cave\
> 
>            <br>NZSS Bulletin Vol 7 No 100 p500-510\
> 
>            <br> \
> 
>            <br>Original Maps of Greenlink cave\
> 
>            <br>NZSS Bulletin Vol X No XXX pXXX-XXX"
> 
> endlayout GreenlinkAnnotationLayout
> 
> END FILE
> 
>  
> 
> I'd then like to be able to concatenate similar blocks of text at
> compilation time.
> 
> Trouble is if multiple map-comments are used, then the last one executed
> overwrites the other.
> 
>  
> 
> Why concatenate them?
> 
> For example;
> 
> The thconfig file(s) producing output files for a particular cave all refer
> to the above layout for that particular cave.  This works fine.  I have
> three caves, each with their own files.  Now I'd like to reuse the data at
> the next level up, without maintaining duplicate copies.
> 
>  
> 
> The data for these three caves is contained in a directory with a master
> thconfig that produces output files for the whole system of three caves.
> Rather than having duplicate copies of the map-comment layouts containing
> the text above, I'd like to refer to the same layout each time, ie
> concatenate the text along the lines of.
> 
>  
> 
> layout.
> 
> copy GreenlinkAnnotationLayout
> 
> copy MiddleEAnnotationLayout
> 
> copy SwissMAnnotationLayout
> 
> .endlayout
> 
>  
> 
> Trouble is each one overwrites the previous.
> 
>  
> 
> Can I concatenate the map-comment field?
> 
> Is there a better way to do this?
> 
>  
> 
> Thanks
> 
> Bruce
> 
>  
> 
> 





More information about the Therion mailing list