[Therion] Concatinate map-comment?
Bruce Mutton
bruce.mutton at paradise.net.nz
Tue Jan 29 08:52:54 CET 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20080129/d1060a6c/attachment.htm>
More information about the Therion
mailing list