update template

This commit is contained in:
Alex38Lyon
2026-03-21 23:26:58 +01:00
parent 61e274d64c
commit 5d95c656c3
2 changed files with 68 additions and 60 deletions
+1 -1
Submodule Data updated: 6b4431f459...32b6080611
+67 -59
View File
@@ -32,10 +32,12 @@ encoding utf-8
## "jb.th" et a leur tour, "jb.th" appellera ## "jb.th" et a leur tour, "jb.th" appellera
## "jb-dessin.th2") ## "jb-dessin.th2")
cs {cs}
source {fileName}-tot.th source {fileName}-tot.th
## Add config file ## Add config file
input {configPath}config.thc # input {configPath}config.thc
############################################################################################### ###############################################################################################
@@ -144,48 +146,67 @@ layout layout-Plan
## Afficher un copyright ## Afficher un copyright
statistics copyright 2 statistics copyright 2
## Dessin ou pas du cheminement topo symbol-hide point u:symbol_plan
# symbol-hide point station symbol-hide point u:symbol_extend
# symbol-hide line survey symbol-hide point station-name
# symbol-hide group symbol-hide point station
# symbol-show line wall symbol-hide line survey
# symbol-hide point station-name
# symbol-hide point u:symbol_plan
# symbol-hide point u:symbol_extend
# debug scrap-names
# debug station-names
# symbol-hide group water
# symbol-hide group speleothems
# symbol-hide group text
# symbol-hide line label
# symbol-hide point label
# symbol-hide point height
# symbol-hide point dig
# symbol-hide point camp
# symbol-hide point air-draught
# symbol-hide point continuation
# symbol-hide point masonry
# symbol-hide point low-end
# symbol-hide point narrow-end
# symbol-hide point flowstone-choke
# symbol-hide point breakdown-choke
# symbol-hide point clay-choke
# symbol-hide point bones
# symbol-hide point bat
# symbol-hide point rope
# symbol-hide point traverse
# symbol-hide point u:man_w
# symbol-hide point stalagmites
# symbol-hide point stalagmite
# symbol-hide point paleo-material
# symbol-hide group all
#debug scrap-names
#debug station-names
# min-symbol-scale S # XL, L, M, S, XS
layers on layers on
overlap 2 cm overlap 2 cm
code tex-map code tex-map
\legendwidth=15cm %%% Largeur cartouche \legendwidth=15cm %%% Largeur de la légende
\legendtextsize={\size[12]} %%% Police principale \legendtextsize={\size[10]} %%% Taille des polices
\legendtextheadersize={\size[28]} %%% Taille du titre \legendtextheadersize={\size[20]} %%% Taille du titre
\legendtextsectionsize={\size[14]} %%% Taille des sous titres \legendtextsectionsize={\size[14]} %%% Taille des sections
%\legendtextcolor={\color[0 0 110]} %%% RGB values 0--100 \legendtextlicencesize={\size[8]} %%% Taille de la licence
% Output map title as determined by Therion is stored in caveName, défini par la une Map.
% It will be empty if there are multiple maps selected for any one projection
% AND there are multiple source surveys identified in the thconfig file
% ie Therion can not infer a unique title from the input data given.
% This code allows you to define an output map title {caveName} if it happens to be empty
\edef\temp{\the\cavename} %%% cavename from Therion
\edef\nostring{} %%% empty string
\ifx\temp\nostring %%% test if cavename is empty
% if empty
reassign cavename to describe selected maps as a group
\else %%% if not empty keep the value set by therion, or assign an override cavename here
\fi
\cavename={{caveName}, Plan 1:{Scale}} %%% Note Alex : Bug avec certains fichiers ? \cavename={{caveName}, Plan 1:{Scale}} %%% Note Alex : Bug avec certains fichiers ?
\newtoks\club \club={{club}} \newtoks\club \club={{club}}
%\newtoks\thanksto \thanksto={{thanksto}} %\thanksto={{thanksto}}
\newtoks\wpage \wpage={{wpage}} \wpage={{wpage}}
\newtoks\datat \datat={{datat}} \datat={{datat}}
\newtoks\synth \synth={{Author}} \synth={{Author}}
\framethickness=0.5mm \framethickness=0.5mm
endcode endcode
# map-image 0 -100 nw ./../../Logos/Logo-ARSIP-Synthese-Topographique_XL.png
# map-image 0 -100 nw Outputs/C108-Sima_H-Cave-list.html
endlayout endlayout
############################################################################################### ###############################################################################################
@@ -301,31 +322,18 @@ layout layout-Extended
overlap 2 cm overlap 2 cm
## Modification du Titre de la topo
code tex-map code tex-map
\legendwidth=15cm %%% Largeur cartouche \legendwidth=15cm %%% Largeur de la légende
\legendtextsize={\size[12]} %%% Police principale \legendtextsize={\size[10]} %%% Taille des polices
\legendtextheadersize={\size[28]} %%% Taille du titre \legendtextheadersize={\size[20]} %%% Taille du titre
\legendtextsectionsize={\size[14]} %%% Taille des sous titres \legendtextsectionsize={\size[14]} %%% Taille des sections
%\legendtextcolor={\color[0 0 110]} %%% RGB values 0--100 \legendtextlicencesize={\size[8]} %%% Taille de la licence
% Output map title as determined by Therion is stored in caveName, défini par la une Map. \cavename={{caveName}, Coupe développée 1:{Scale}}
% It will be empty if there are multiple maps selected for any one projection \club={{club}}
% AND there are multiple source surveys identified in the thconfig file %\thanksto={{thanksto}}
% ie Therion can not infer a unique title from the input data given. \wpage={{wpage}}
% This code allows you to define an output map title {caveName} if it happens to be empty \datat={{datat}}
\edef\temp{\the\cavename} %%% cavename from Therion \synth={{Author}}
\edef\nostring{} %%% empty string
\ifx\temp\nostring %%% test if cavename is empty
% if empty
reassign cavename to describe selected maps as a group
\else %%% if not empty keep the value set by therion, or assign an override cavename here
\fi
\cavename={{caveName}, Coupe développée 1:{Scale}} %%% Note Alex : Bug avec certains fichiers ?
\newtoks\club \club={{club}}
%\newtoks\thanksto \thanksto={{thanksto}}
\newtoks\wpage \wpage={{wpage}}
\newtoks\datat \datat={{datat}}
\newtoks\synth \synth={{Author}}
\framethickness=0.5mm \framethickness=0.5mm
endcode endcode
@@ -350,7 +358,7 @@ endlayout
## Début de la définition du Layout "xviexport" ## Début de la définition du Layout "xviexport"
############################################################################################### ###############################################################################################
layout xviexport layout xviexport
# cs UTM32 # cs {cs}
## echelle à laquelle on veut dessiner la topo ## echelle à laquelle on veut dessiner la topo
scale 1 {XVIscale} scale 1 {XVIscale}
# scale 1 1000 # scale 1 1000
@@ -391,9 +399,9 @@ endlayout
# export map -proj plan -fmt kml -o Outputs/{fileName}.kml -layout layout-kml # export map -proj plan -fmt kml -o Outputs/{fileName}.kml -layout layout-kml
# export model -fmt kml -o Outputs/{fileName}-model.kml -enable all # export model -fmt kml -o Outputs/{fileName}-model.kml -enable all
# export model -enable all -o Outputs/{fileName}-3D.kml # export model -enable all -o Outputs/{fileName}-3D.kml
# export cave-list -location on -o Outputs/{fileName}-Cave-list.html export cave-list -surveys off -location on -o Outputs/{fileName}-Cave-list.html
export survey-list -location on -o Outputs/{fileName}-Surveys.html export survey-list -location on -o Outputs/{fileName}-Surveys.html
# export database -fmt sql -o Outputs/{fileName}-database.sql # export database -fmt sql -o Outputs/{fileName}-Database.sql
# export continuation-list -o Outputs/{fileName}-Continuations.html # export continuation-list -o Outputs/{fileName}-Continuations.html