encoding utf-8
source PicoBoro_Master.th
export map -layout local -o Pico_Boro_Master_Caves.pdf
# input the various layouts
input ..\XTherionFiles\_translations.txt # custom Spanish translations for legend
input ..\XTherionFiles\_layouts.mp # Allows scaling of Photos and makes water blue
input ..\XTherionFiles\_globallayouts.thc #allows the same symbols to be used across all surveys
layout local
statistics topo off
statistics topo-length off
symbol-hide point label
symbol-hide line label
symbol-hide line arrow
symbol-hide point gradient
scale 1 1000
base-scale 1 1500
map-header -5 10 w
map-image 20 30 n ..\XTherionFiles\TCP.png
#map-image 76 65 s ..\XTherionFiles\xxxx.jpg
fonts-setup 4 5 7 8 11
grid bottom
grid-size 100 100 100 m
scale-bar 100 m
#color map-fg altitude
color-legend off
### index of file options from _layouts.mp
copy custom_border
copy custom_snow
copy custom_flowstone
#copy custom_water_blue
#copy custom_legend_large_format_5U
copy custom_scalebar #borrowedstolen base from AndrewAtkinson Wookeyhole template
#copy custom_continuations
### index of file options from _globallayouts.thc
copy global_symbols
copy global_color
#copy global_medium_cave
#copy global_small_cave
##HIDE LENGTH AND DEPTH
code tex-map
\cavelength={} %empty
\cavedepth={} %empty
\legendcontent={%
\hsize=\legendwidth
\ifnortharrow\vbox to 0pt{\line{\hfil\northarrow}\vss}\fi
\edef\tmp{\the\cavename} \ifx\tmp\empty \else
{\size[60]\the\cavename} \vskip1cm
\fi
\ifscalebar\scalebar\vskip1cm\fi
{\rightskip=0pt plus 3em\parskip=3bp
\edef\tmp{\the\comment} \ifx\tmp\empty \else
{\size[12]\the\comment} \par\medskip
\fi
\everypar{\hangindent=2em\hangafter=1}
\edef\tmp{\the\cavelength} \ifx\tmp\empty \else
{\size[12]\si\the\cavelengthtitle: \ss\the\cavelength\par}
\fi
\edef\tmp{\the\cavedepth} \ifx\tmp\empty \else
{\size[12]\si\the\cavedepthtitle: \ss\the\cavedepth\par}
\fi
\edef\tmp{\the\exploteam} \ifx\tmp\empty \else
{\size[12]\si\the\explotitle:
\ss\the\exploteam\quad\si\the\explodate\par}
\fi
\edef\tmp{\the\topoteam} \ifx\tmp\empty \else
{\size[12]\si\the\topotitle: \ss\the\topoteam\quad\si\the\topodate\par}
\fi
\edef\tmp{\the\cartoteam} \ifx\tmp\empty \else
{\size[12]\si\the\cartotitle:
\ss\the\cartoteam\quad\si\the\cartodate\par}
\fi
\edef\tmp{\the\copyrights} \ifx\tmp\empty \else
{\size[12]\ss\the\copyrights\par}
\fi
}
\formattedlegend
}
endcode
map-comment "Tresviso Caves Project www.tresvisocaves.info
BCRA Grade 5
Data: cave-registry.org.uk/svn/Andara/"
doc-author "Phil Walker"
doc-keywords "Pico Boro Master Relationship Cantabria Spain"
doc-subject "Survey of Pico Boro Master 2022"
doc-title "Pico Boro Master Survey Tresviso Caves Project 2022"
endlayout