[Therion] Customising map layout
Dave Clucas
dave.clucas at icloud.com
Mon Nov 3 12:38:09 CET 2014
Thanks, Martin. That worked fine.
Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com
Exploring the World - One cave at a time
On 3 Nov 2014, at 19:00, therion-request at speleo.sk wrote:
> Send Therion mailing list submissions to
> therion at speleo.sk
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.speleo.sk/mailman/listinfo/therion
> or, via email, send a message with subject or body 'help' to
> therion-request at speleo.sk
>
> You can reach the person managing the list at
> therion-owner at speleo.sk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
>
>
> Today's Topics:
>
> 1. Customising map layout (Dave Clucas)
> 2. Re: Customising map layout (Martin Budaj)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 03 Nov 2014 11:53:38 +0800
> From: Dave Clucas <dave.clucas at icloud.com>
> Subject: [Therion] Customising map layout
> To: therion at speleo.sk
> Message-ID: <D511F6B0-E6A4-4FE8-94E6-296828C0B948 at icloud.com>
> Content-Type: text/plain; charset="windows-1252"
>
> I?ve tried out the following example from thbook adding this to my layout
>
> code tex-map
> \def\maplayout{
> \legendbox{0}{100}{NW}{\northarrow}
> }
> endcode
>
> This works fine for \northarrow and \scalebar but when I tried it with \cavename or \comment I get the following error
>
>> (./th_formdef.tex) (./th_pagedef.tex
>> ! Missing { inserted.
>> <to be read again>
>> }
>> \legendbox ...\unskip \setbox \tmpboxa =\vbox {#4}
>> \sx =\wd \tmpboxa \sy =\ht...
>>
>> \maplayout -> \legendbox {0}{100}{NW}{\comment }
>>
>> l.12 \setbox\xxx=\hbox to \x{\maplayout
>> \hfill}%\dp\xxx=0bp
>> A left brace was mandatory here, so I've put one in.
>> You might want to delete and/or insert some corrections
>> so that I will find a matching right brace soon.
>> (If you're confused by all this, try typing `I}' now.)
>>
>> ) (./th_pages.tex)
>> 54 numeric registers used out of 32768
>>
>> ! Missing } inserted.
>> <inserted text>
>> }
>> <to be read again>
>> \end
>> l.653 \end
>>
>> I've inserted something that you may have forgotten.
>> (See the <inserted text> above.)
>> With luck, this will get me unwedged. But if you
>> really didn't forget anything, try typing `2' now; then
>> my insertion and my current dilemma will both disappear.
>>
>>
>> Underfull \hbox (badness 10000) detected at line 653
>> [][][]
>>
>> \hbox(1167.36124+0.0)x1296.84499, glue set 257.37057
>> .\pdfliteral{q 1.00 1.00 1.00 rg -28.34993 -1191.34709 1348.6867 1219.68703 re
>> f Q}
>> .\hbox(1167.36124+0.0)x0.0
>> ..\pdfliteral{/OC /oc7 BDC}
>> ..\pdfliteral{q 1 g}
>> ..\hbox(1166.3575+0.0)x0.0, glue set - 1273.75873fil
>> ...\kern 1.00374
>> ...\hbox(1091.07625+0.0)x1272.75499, shifted -75.28125 []
>> ...\glue 0.0 plus 1.0fil minus 1.0fil
>> ..\pdfliteral{Q}
>> ..\pdfliteral{EMC}
>> ..etc.
>> .\hbox(0.0+0.0)x0.0
>> ..\hbox(1167.36124+0.0)x0.0, glue set - 1296.84499fil
>> ...\kern 0.0
>> ...\hbox(1167.36124+0.0)x1296.84499 []
>> ...\glue 0.0 plus 1.0fil minus 1.0fil
>> .\glue 3.33333 plus 1.66666 minus 1.11111
>> .\glue 3.33333 plus 1.66666 minus 1.11111
>> .etc.
>
> Has anyone any idea what is wrong?
>
>
> Dave Clucas
> daveclucas.com
> sarawak-caves.com
> dave.clucas at icloud.com
>
> Exploring the World - One cave at a time
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20141103/1dc376ef/attachment.html>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 3 Nov 2014 09:20:05 +0100
> From: Martin Budaj <m.budaj at gmail.com>
> Subject: Re: [Therion] Customising map layout
> To: List for Therion users <therion at speleo.sk>
> Message-ID:
> <CALPsdStzjF+Z8-Amw_wY75tBAEC5_dPL01S53GMBTmTp+upC-A at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Try \the\cavename instead of \cavename (it is a TeX way to display
> value of token register).
>
> Martin
>
> On Mon, Nov 3, 2014 at 4:53 AM, Dave Clucas <dave.clucas at icloud.com> wrote:
>> I?ve tried out the following example from thbook adding this to my layout
>>
>> code tex-map
>> \def\maplayout{
>> \legendbox{0}{100}{NW}{\northarrow}
>> }
>> endcode
>>
>> This works fine for \northarrow and \scalebar but when I tried it with
>> \cavename or \comment I get the following error
>>
>> (./th_formdef.tex) (./th_pagedef.tex
>> ! Missing { inserted.
>> <to be read again>
>> }
>> \legendbox ...\unskip \setbox \tmpboxa =\vbox {#4}
>> \sx =\wd \tmpboxa \sy
>> =\ht...
>>
>> \maplayout -> \legendbox {0}{100}{NW}{\comment }
>>
>> l.12 \setbox\xxx=\hbox to \x{\maplayout
>> \hfill}%\dp\xxx=0bp
>> A left brace was mandatory here, so I've put one in.
>> You might want to delete and/or insert some corrections
>> so that I will find a matching right brace soon.
>> (If you're confused by all this, try typing `I}' now.)
>>
>> ) (./th_pages.tex)
>> 54 numeric registers used out of 32768
>>
>> ! Missing } inserted.
>> <inserted text>
>> }
>> <to be read again>
>> \end
>> l.653 \end
>>
>> I've inserted something that you may have forgotten.
>> (See the <inserted text> above.)
>> With luck, this will get me unwedged. But if you
>> really didn't forget anything, try typing `2' now; then
>> my insertion and my current dilemma will both disappear.
>>
>>
>> Underfull \hbox (badness 10000) detected at line 653
>> [][][]
>>
>> \hbox(1167.36124+0.0)x1296.84499, glue set 257.37057
>> .\pdfliteral{q 1.00 1.00 1.00 rg -28.34993 -1191.34709 1348.6867 1219.68703
>> re
>> f Q}
>> .\hbox(1167.36124+0.0)x0.0
>> ..\pdfliteral{/OC /oc7 BDC}
>> ..\pdfliteral{q 1 g}
>> ..\hbox(1166.3575+0.0)x0.0, glue set - 1273.75873fil
>> ...\kern 1.00374
>> ...\hbox(1091.07625+0.0)x1272.75499, shifted -75.28125 []
>> ...\glue 0.0 plus 1.0fil minus 1.0fil
>> ..\pdfliteral{Q}
>> ..\pdfliteral{EMC}
>> ..etc.
>> .\hbox(0.0+0.0)x0.0
>> ..\hbox(1167.36124+0.0)x0.0, glue set - 1296.84499fil
>> ...\kern 0.0
>> ...\hbox(1167.36124+0.0)x1296.84499 []
>> ...\glue 0.0 plus 1.0fil minus 1.0fil
>> .\glue 3.33333 plus 1.66666 minus 1.11111
>> .\glue 3.33333 plus 1.66666 minus 1.11111
>> .etc.
>>
>>
>> Has anyone any idea what is wrong?
>>
>>
>> Dave Clucas
>> daveclucas.com
>> sarawak-caves.com
>> dave.clucas at icloud.com
>>
>> Exploring the World - One cave at a time
>>
>>
>>
>> _______________________________________________
>> Therion mailing list
>> Therion at speleo.sk
>> http://mailman.speleo.sk/mailman/listinfo/therion
>>
>
>
> ------------------------------
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
>
>
> End of Therion Digest, Vol 107, Issue 1
> ***************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20141103/7eb1d9b0/attachment.htm>
More information about the Therion
mailing list