<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Correction, not fine. The correct data displayed in the correct position, however a map-image (elevation) which was there before has disappeared along with the map-header.<div><br></div><div>This is the config file</div><div><br></div><div><div><div>######################################## Input  ################################################</div><div><br></div><div>source <a href="http://P6.th">P6.th</a></div><div>input /Users/daveclucas/Documents/caving/surveys/common_layout.th</div><div>input /Users/daveclucas/Documents/caving/surveys/therionLayouts/layoutscales.thc</div><div><br></div><div>######################################## Layouts  ################################################</div><div><br></div><div>layout layout</div><div>  copy common</div><div>  map-header 0 0 off</div><div>  legend off</div><div>  symbol-show group cave-centreline</div><div>  code metapost</div><div>    fonts_setup(4,8,10,12,16); </div><div>  endcode</div><div>endlayout</div><div>layout images</div><div>  map-image 0 100 sw output/P6_elev.pdf</div><div>  map-header 0 -20 nw</div><div>  map-comment "After a map by Richard Gibson dated November 1993<br>High level passages near entrance ommited for clarity<br>Original survey BCRA Gr 5<br>Redrawn in Therion using centreline data from April 2010"</div><div>  code tex-map</div><div>  \def\maplayout{</div><div>  \legendbox{0}{100}{NW}{\the\comment}</div><div>}</div><div>  endcode</div><div>endlayout</div><div>layout xviScale</div><div>  scale 1 65 #for plan and elevation</div><div>endlayout</div><div>layout debug</div><div>  symbol-show group cave-centreline</div><div>  colour map-fg altitude</div><div>  symbol-show point station</div><div>  debug station-names</div><div>  debug scrap-names</div><div>endlayout</div><div><br></div><div>######################################## Output  ################################################</div><div><br></div><div>export model -o output/P6.lox</div><div>export model -o output/P6.3d</div><div>#export model -o output/P6.kml<span class="Apple-tab-span" style="white-space:pre">  </span>#requires a fixed station in survey</div><div>#export map -o output/P6.kml<span class="Apple-tab-span" style="white-space:pre">      </span>#requires a fixed station in survey</div><div><br></div><div>export map -o output/P6.xvi -layout xviScale</div><div>export map -o output/P6_e.xvi -layout xviScale -proj elevation</div><div><br></div><div>select P6Elev</div><div>export map -o output/P6_elev.pdf -proj elevation -layout layout -layout LayoutScale50</div><div>select P6Plan</div><div>export map -o output/P6.pdf -layout layout -layout LayoutScale50 -layout images #-layout debug</div><div><br></div><div>#################################################################################################</div><div><br></div></div></div><div><br><div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Dave Clucas<br><a href="http://daveclucas.com" style="font-family: Helvetica; font-style: normal; font-weight: normal;">daveclucas.com</a><br><a href="http://sarawak-caves.com" style="font-family: Helvetica; font-style: normal; font-weight: normal;">sarawak-caves.com</a><br><a href="mailto:daveclucas@icloud.com" style="font-family: Helvetica; font-style: normal; font-weight: normal;">dave.clucas@icloud.com</a><br><br><span style="font-size: 14px;"><b>Exploring the World</b></span><span style="font-family: Helvetica; font-style: normal; font-weight: normal;"> - One cave at a time<br><br></span></div></div></div></div>
</div>
<br><div><div>On 3 Nov 2014, at 19:38, Dave Clucas <<a href="mailto:dave.clucas@icloud.com">dave.clucas@icloud.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Thanks, Martin. That worked fine.<div><br><div>
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Dave Clucas<br><a href="http://daveclucas.com/" style="font-family: Helvetica; font-style: normal; font-weight: normal;">daveclucas.com</a><br><a href="http://sarawak-caves.com/" style="font-family: Helvetica; font-style: normal; font-weight: normal;">sarawak-caves.com</a><br><a href="mailto:daveclucas@icloud.com" style="font-family: Helvetica; font-style: normal; font-weight: normal;">dave.clucas@icloud.com</a><br><br><span style="font-size: 14px;"><b>Exploring the World</b></span><span style="font-family: Helvetica; font-style: normal; font-weight: normal;"> - One cave at a time<br><br></span></div></div></div></div>
</div>
<br><div><div>On 3 Nov 2014, at 19:00, <a href="mailto:therion-request@speleo.sk">therion-request@speleo.sk</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Send Therion mailing list submissions to<br><span class="Apple-tab-span" style="white-space:pre">       </span><a href="mailto:therion@speleo.sk">therion@speleo.sk</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br><span class="Apple-tab-span" style="white-space:pre">       </span><a href="http://mailman.speleo.sk/mailman/listinfo/therion">http://mailman.speleo.sk/mailman/listinfo/therion</a><br>or, via email, send a message with subject or body 'help' to<br><span class="Apple-tab-span" style="white-space:pre">     </span>therion-request@speleo.sk<br><br>You can reach the person managing the list at<br><span class="Apple-tab-span" style="white-space:pre">        </span>therion-owner@speleo.sk<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Therion digest..."<br><br><br>Today's Topics:<br><br>   1. Customising map layout (Dave Clucas)<br>   2. Re: Customising map layout (Martin Budaj)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 03 Nov 2014 11:53:38 +0800<br>From: Dave Clucas <dave.clucas@icloud.com><br>Subject: [Therion] Customising map layout<br>To: therion@speleo.sk<br>Message-ID: <D511F6B0-E6A4-4FE8-94E6-296828C0B948@icloud.com><br>Content-Type: text/plain; charset="windows-1252"<br><br>I?ve tried out the following example from thbook adding this to my layout<br><br> code tex-map<br>    \def\maplayout{ <br>      \legendbox{0}{100}{NW}{\northarrow}<br>    }<br>  endcode<br><br>This works fine for \northarrow and \scalebar but when I tried it with \cavename or \comment I get the following error<br><br><blockquote type="cite">(./th_formdef.tex) (./th_pagedef.tex<br>! Missing { inserted.<br><to be read again> <br>                   }<br>\legendbox ...\unskip \setbox \tmpboxa =\vbox {#4}<br>                                                  \sx =\wd \tmpboxa \sy =\ht...<br><br>\maplayout -> \legendbox {0}{100}{NW}{\comment }<br><br>l.12 \setbox\xxx=\hbox to \x{\maplayout<br>                                       \hfill}%\dp\xxx=0bp<br>A left brace was mandatory here, so I've put one in.<br>You might want to delete and/or insert some corrections<br>so that I will find a matching right brace soon.<br>(If you're confused by all this, try typing `I}' now.)<br><br>) (./th_pages.tex)<br> 54 numeric registers used out of 32768<br><br>! Missing } inserted.<br><inserted text> <br>                }<br><to be read again> <br>                   \end <br>l.653 \end<br><br>I've inserted something that you may have forgotten.<br>(See the <inserted text> above.)<br>With luck, this will get me unwedged. But if you<br>really didn't forget anything, try typing `2' now; then<br>my insertion and my current dilemma will both disappear.<br><br><br>Underfull \hbox (badness 10000) detected at line 653<br>[][][]   <br><br>\hbox(1167.36124+0.0)x1296.84499, glue set 257.37057<br>.\pdfliteral{q 1.00 1.00 1.00 rg -28.34993 -1191.34709 1348.6867 1219.68703 re <br>f Q}<br>.\hbox(1167.36124+0.0)x0.0<br>..\pdfliteral{/OC /oc7 BDC}<br>..\pdfliteral{q 1 g}<br>..\hbox(1166.3575+0.0)x0.0, glue set - 1273.75873fil<br>...\kern 1.00374<br>...\hbox(1091.07625+0.0)x1272.75499, shifted -75.28125 []<br>...\glue 0.0 plus 1.0fil minus 1.0fil<br>..\pdfliteral{Q}<br>..\pdfliteral{EMC}<br>..etc.<br>.\hbox(0.0+0.0)x0.0<br>..\hbox(1167.36124+0.0)x0.0, glue set - 1296.84499fil<br>...\kern 0.0<br>...\hbox(1167.36124+0.0)x1296.84499 []<br>...\glue 0.0 plus 1.0fil minus 1.0fil<br>.\glue 3.33333 plus 1.66666 minus 1.11111<br>.\glue 3.33333 plus 1.66666 minus 1.11111<br>.etc.<br></blockquote><br>Has anyone any idea what is wrong?<br><br><br>Dave Clucas<br>daveclucas.com<br>sarawak-caves.com<br>dave.clucas@icloud.com<br><br>Exploring the World - One cave at a time<br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20141103/1dc376ef/attachment.html><br><br>------------------------------<br><br>Message: 2<br>Date: Mon, 3 Nov 2014 09:20:05 +0100<br>From: Martin Budaj <m.budaj@gmail.com><br>Subject: Re: [Therion] Customising map layout<br>To: List for Therion users <therion@speleo.sk><br>Message-ID:<br><span class="Apple-tab-span" style="white-space:pre">  </span><CALPsdStzjF+Z8-Amw_wY75tBAEC5_dPL01S53GMBTmTp+upC-A@mail.gmail.com><br>Content-Type: text/plain; charset=UTF-8<br><br>Try \the\cavename instead of \cavename (it is a TeX way to display<br>value of token register).<br><br>Martin<br><br>On Mon, Nov 3, 2014 at 4:53 AM, Dave Clucas <dave.clucas@icloud.com> wrote:<br><blockquote type="cite">I?ve tried out the following example from thbook adding this to my layout<br><br> code tex-map<br>    \def\maplayout{<br>      \legendbox{0}{100}{NW}{\northarrow}<br>    }<br>  endcode<br><br>This works fine for \northarrow and \scalebar but when I tried it with<br>\cavename or \comment I get the following error<br><br>(./th_formdef.tex) (./th_pagedef.tex<br>! Missing { inserted.<br><to be read again><br>                   }<br>\legendbox ...\unskip \setbox \tmpboxa =\vbox {#4}<br>                                                  \sx =\wd \tmpboxa \sy<br>=\ht...<br><br>\maplayout -> \legendbox {0}{100}{NW}{\comment }<br><br>l.12 \setbox\xxx=\hbox to \x{\maplayout<br>                                       \hfill}%\dp\xxx=0bp<br>A left brace was mandatory here, so I've put one in.<br>You might want to delete and/or insert some corrections<br>so that I will find a matching right brace soon.<br>(If you're confused by all this, try typing `I}' now.)<br><br>) (./th_pages.tex)<br> 54 numeric registers used out of 32768<br><br>! Missing } inserted.<br><inserted text><br>                }<br><to be read again><br>                   \end<br>l.653 \end<br><br>I've inserted something that you may have forgotten.<br>(See the <inserted text> above.)<br>With luck, this will get me unwedged. But if you<br>really didn't forget anything, try typing `2' now; then<br>my insertion and my current dilemma will both disappear.<br><br><br>Underfull \hbox (badness 10000) detected at line 653<br>[][][]<br><br>\hbox(1167.36124+0.0)x1296.84499, glue set 257.37057<br>.\pdfliteral{q 1.00 1.00 1.00 rg -28.34993 -1191.34709 1348.6867 1219.68703<br>re<br>f Q}<br>.\hbox(1167.36124+0.0)x0.0<br>..\pdfliteral{/OC /oc7 BDC}<br>..\pdfliteral{q 1 g}<br>..\hbox(1166.3575+0.0)x0.0, glue set - 1273.75873fil<br>...\kern 1.00374<br>...\hbox(1091.07625+0.0)x1272.75499, shifted -75.28125 []<br>...\glue 0.0 plus 1.0fil minus 1.0fil<br>..\pdfliteral{Q}<br>..\pdfliteral{EMC}<br>..etc.<br>.\hbox(0.0+0.0)x0.0<br>..\hbox(1167.36124+0.0)x0.0, glue set - 1296.84499fil<br>...\kern 0.0<br>...\hbox(1167.36124+0.0)x1296.84499 []<br>...\glue 0.0 plus 1.0fil minus 1.0fil<br>.\glue 3.33333 plus 1.66666 minus 1.11111<br>.\glue 3.33333 plus 1.66666 minus 1.11111<br>.etc.<br><br><br>Has anyone any idea what is wrong?<br><br><br>Dave Clucas<br>daveclucas.com<br>sarawak-caves.com<br>dave.clucas@icloud.com<br><br>Exploring the World - One cave at a time<br><br><br><br>_______________________________________________<br>Therion mailing list<br>Therion@speleo.sk<br>http://mailman.speleo.sk/mailman/listinfo/therion<br><br></blockquote><br><br>------------------------------<br><br>_______________________________________________<br>Therion mailing list<br>Therion@speleo.sk<br>http://mailman.speleo.sk/mailman/listinfo/therion<br><br><br>End of Therion Digest, Vol 107, Issue 1<br>***************************************<br></blockquote></div><br></div></div></blockquote></div><br></div></body></html>