[Therion] Map layout customisation

Dave Clucas dave at daveclucas.com
Mon Jun 9 05:39:00 CEST 2014


I’m trying to create a custom header and have tried this example from the thbook.

layout elevation
  code tex-map
   \def\maplayout{
  
    \legendbox{0}{100}{NW}{\cavename}
    }
  endcode
endlayout

I get the following errors

######################## pdftex log file #########################
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) (format=pdfetex 2012.6.30)  9 JUN 2014 11:30
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**data.tex
(./data.tex (./th_enc.tex) (./th_texts.tex) (./th_resources.tex
(/usr/local/texlive/2012/texmf/tex/generic/pdftex/glyphtounicode.tex))
(./th_fontdef.tex{/usr/local/texlive/2012/texmf-var/fonts/map/pdftex/updmap/pdf
tex.map})
(./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}{\cavename }
                                                  
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)
 52 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(153.57375+0.0)x1256.69499, glue set 249.34053
.\pdfliteral{q 1.00 1.00 1.00 rg -28.34993 -181.34955 1308.68681 209.68948 re f
 Q}
.\hbox(153.57375+0.0)x0.0
..\pdfliteral{/OC /oc7 BDC}
..\pdfliteral{q 1 g}
..\hbox(153.57375+0.0)x0.0, glue set - 1254.6875fil
...\kern 0.0
...\hbox(153.57375+0.0)x1254.6875 []
...\glue 0.0 plus 1.0fil minus 1.0fil
..\pdfliteral{Q}
..\pdfliteral{EMC}
..etc.
.\hbox(0.0+0.0)x0.0
..\hbox(153.57375+0.0)x0.0, glue set - 1256.69499fil
...\kern 0.0
...\hbox(153.57375+0.0)x1256.69499 []
...\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.


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/20140609/b9447a36/attachment.htm>


More information about the Therion mailing list