encoding  utf-8
source sara1.th

export map -proj plan -layout local -o sara1.pdf
export map -proj extended -layout local -o sara1E.pdf

#export map -proj extended -layout local -layout-map-header 0 0 off -o sara1E.pdf
#export map -proj plan -layout local -layout smallsurvey -o sara1Plan.pdf

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 smallsurvey
map-image -5 100 sw sara1E.pdf
map-image -15 30 s ..\..\..\..\XTherionFiles\TCP.png
map-header -40 25 s
#scale 1 500
rotate 260
endlayout

layout local

scale 1 500
#map-image 20 0 sw ..\..\..\..\..\XTherionFiles\TCP.png
#map-header 0 0 sw

fonts-setup 6 12 16 40 60
### index of file options from _layouts.mp
  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

map-comment "Tresviso Caves Project www.tresvisocaves.info"
#legend-width 15 cm # printed size, based on scale
#grid bottom
#grid-size 10 10 10 m
legend off
scale-bar 20 m

symbol-colour area water [25 50 100]
  
map-comment "<br>Tresviso Caves Project www.tresvisocaves.info<br>BCRA Grade 3-5B<br>Data: cave-registry.org.uk/svn/Andara/"
doc-author   "PW"
doc-keywords "Reseau Perspehone, Sistema Sara Andara Spain"
doc-subject  "Survey of Reseau Perspehone, Sistema Sara 2020"
doc-title    "Reseau Perspehone, Sistema SaraSurvey Tresviso Caves Project 2020"

endlayout