<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
HI Torsten and Bruce,</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
I'm not a "coder" but I implemented the <span style="font-family: Arial,Helvetica,sans-serif,serif,EmojiFont; display: inline !important; background-color: rgb(255, 255, 255);">export Texinputs</span> last night for relative file locations, It was OK in the
 end but it took me a while to work out where the export texinputs was actually kept.</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
I broke texinputs on my PC last night by accidentally removing the final ;.</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
 Which meant that it could not find the normal therion functions to work, luckily I worked out my mistake.</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
Do you think it would be possible to create a file within the therion software files where absolute file locations can be kept separately to the texinputs?</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<div style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-family: Arial,Helvetica,sans-serif; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
<font size="3"><font face="Arial">This would allow you to ask anyone using your thconfig to go onto a publicly shared file system and copy it into their computer. ie C:\Users\alastair\OneDrive\#####</font></font></div>
<div style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-family: Arial,Helvetica,sans-serif; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
<br>
</div>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
If this is possible, would it also be possible to create another window in the thconfig which looks to the absolute file locations and allows you to "select" images from there. Much like the survey structure.</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<img tabindex="-1" style="max-width: 100%; -ms-user-select: none;" size="3945" contenttype="image/png" unselectable="on" data-outlook-trace="F:1|T:1" src="cid:7399ee40-348b-4212-8b63-393f383b633e"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
 which then spits out the code:</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<div style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; color: black; font-family: Arial,Helvetica,sans-serif,serif,EmojiFont; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
<div style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
<span style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">code tex-map</span></div>
</div>
<span style="display: inline !important; background-color: rgb(255, 255, 255); font-size-adjust: none"></span>
<div style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; color: black; font-family: Arial,Helvetica,sans-serif,serif,EmojiFont; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
\legendbox{00} {140} {nw} {\loadpicture{<string>/TCP.png}}</div>
<span style="display: inline !important; background-color: rgb(255, 255, 255); font-size-adjust: none"></span>
<div style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; color: black; font-family: Arial,Helvetica,sans-serif,serif,EmojiFont; font-size: 12pt; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">
<span style="border-bottom-color: currentColor; border-left-color: currentColor; border-right-color: currentColor; border-top-color: currentColor; font-size-adjust: none; margin-bottom: 0px; margin-top: 0px">endcode</span><br>
</div>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<font class="ecxApple-style-span" size="3"><font face="Arial"><br>
</font></font></div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<font face="Arial"></font><font class="ecxApple-style-span" size="3"><font face="Arial"><br>
</font></font></div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<font class="ecxApple-style-span" size="3"><font face="Arial">Regards,</font></font></div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<font class="ecxApple-style-span" size="3"><font face="Arial">Alastair Gott.</font><font face="Arial"><br>
</font></font></div>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Arial,Helvetica,sans-serif" dir="ltr">
<font class="ecxApple-style-span" size="3"><font face="Arial"><br>
</font><font face="Arial">AlastairGott@hotmail.com,</font><font face="Arial"><br>
</font><font face="Arial">M: 07931779380.</font></font><br>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Therion <therion-bounces@speleo.sk> on behalf of Torsten Schnitter via Therion <therion@speleo.sk><br>
<b>Sent:</b> 27 November 2019 09:07<br>
<b>To:</b> List for Therion users <therion@speleo.sk><br>
<b>Cc:</b> Torsten Schnitter <torsten.schnitter@netcologne.de><br>
<b>Subject:</b> Re: [Therion] How to rotate XVI?</font>
<div> </div>
</div>
<div>
<p>Hi Bruce<br>
</p>
<p>Sometimes it is more trick than magic. ;-)<br>
</p>
<p>I agree with this shaded line. That would be realy nice to have this available.<br>
May be with a paramter for the "thickness" of the shade.<br>
</p>
<p>I have some more statements \def\maplayout{ \legendbox ... {\loadpicture...} } for pictures and elevation map. As you already have supposed. I deleted all this in the previous example to make it more easy to read.<br>
I'm using absolute paths for loadpicture commands.<br>
But it would be much better if you can use relative paths like ..\logos\picture.jpg<br>
I'm also looking forward for a better solution to this.<br>
<br>
</p>
<p>regards,<br>
Torsten<br>
</p>
<blockquote type="cite">Bruce Mutton <bruce@tomo.co.nz> hat am 26. November 2019 um 09:37 geschrieben:
<br>
<br>
<div class="x_ox-9d1784b9f3-WordSection1">
<p class="x_ox-9d1784b9f3-MsoNormal">Thanks for the comprehensive answers Torsten</p>
<p class="x_ox-9d1784b9f3-MsoNormal">I was a little disappointed that the surface ‘line’ turns out to be a clever adaption of a long skinny ‘area’, but it is effective I suppose.  I seem to recall there was a conversation about creating a line with shading
 along one side recently…  That would be easier for the draughtsperson if someone has solved that one.  All the same, I think I may use your method one day.</p>
<p class="x_ox-9d1784b9f3-MsoNormal"> </p>
<p class="x_ox-9d1784b9f3-MsoNormal">The legend scaling is interesting, and I see now that you posted this previously.  I wonder if a similar approach could be taken to scaling all the passage cross sections, with a simple ‘switch’?</p>
<p class="x_ox-9d1784b9f3-MsoNormal"> </p>
<p class="x_ox-9d1784b9f3-MsoNormal">I guess your <span class="x_ox-9d1784b9f3-fontstyle01">
\def\maplayout{ also contains a couple of \loadpicture statements, one for the Hidden river logo and one for the elevation.  Are you using absolute paths to specify the file to load, or environment variables?  I am interested in ways to make it easier for projects
 that are used with version control across a number of different versioned branches and computer systems.  I have not got the time to experiment, but if the environment variable has to point to the exact folder (as this page implies
</span><a href="https://therion.speleo.sk/wiki/tex#changing_the_look_or_layout_of_a_map_output">https://therion.speleo.sk/wiki/tex#changing_the_look_or_layout_of_a_map_output</a>)<span class="x_ox-9d1784b9f3-fontstyle01">, I can imagine it becomes unworkable
 on a computer system with dozens of cave projects, each comprising a number of caves.
</span></p>
<p class="x_ox-9d1784b9f3-MsoNormal"><span class="x_ox-9d1784b9f3-fontstyle01">This
<a href="https://www.mail-archive.com/therion@speleo.sk/msg05519.html">post by Martin B</a> in 2015 suggests we can define a root folder with an environment variable, and then spell out an absolute path relative to that.  Unfortunately if one uses a version
 control system that stores different development branches in different folders, both approaches are even more problematic.
</span></p>
<p class="x_ox-9d1784b9f3-MsoNormal"><span class="x_ox-9d1784b9f3-fontstyle01">  </span>
</p>
<p class="x_ox-9d1784b9f3-MsoNormal"><span class="x_ox-9d1784b9f3-fontstyle01">Sorry that this thread is rambling around topics that bear little relation to the original message.</span></p>
<p class="x_ox-9d1784b9f3-MsoNormal"> </p>
<p class="x_ox-9d1784b9f3-MsoNormal">Bruce</p>
<p class="x_ox-9d1784b9f3-MsoNormal"> </p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_ox-9d1784b9f3-MsoNormal"><strong>From:</strong> Therion <therion-bounces@speleo.sk>
<strong>On Behalf Of </strong>Torsten Schnitter via Therion<br>
<strong>Sent:</strong> Monday, 25 November 2019 23:33<br>
<strong>To:</strong> List for Therion users <therion@speleo.sk><br>
<strong>Cc:</strong> Torsten Schnitter <torsten.schnitter@netcologne.de><br>
<strong>Subject:</strong> [Therion] ***UNCHECKED*** Re: How to rotate XVI?</p>
</div>
</div>
<p>Hi</p>
<p>I got the answer for rotation XVI file already from Stephen Clark.<br>
In the end it's easy and as Alastair also mentioned:<br>
export map -fmt xvi -proj [elevation 45 deg] -o ....</p>
<p>Concerning the questions from Bruce:<br>
1. Ground profile<br>
You have to export a kml file from your passages. But only these survey lines you would like to have the surface profile from.<br>
There is a website where you can transform this kml data to surface data. You will get an endless list with stations and added surface altitude. The website is
<a href="http://www.gpsvisualizer.com">www.gpsvisualizer.com</a><br>
I can't remember how to get the final file  but there was still some work to do on that file.<br>
In the end you need a file like this to generate a XVI file from that:<br>
survey<br>
 centreline<br>
  date ....<br>
   cs lat-long<br>
   walls off<br>
   mark temporary<br>
   flags surface<br>
   fix 1 44.1234567 1.345678 123.4<br>
   .... more fix stations ....<br>
   data nosurvey from to<br>
   1  2<br>
   2  3<br>
   .....<br>
 endcentreline<br>
endsurvey</p>
<p>2. Code for the surface line:<br>
scrap<br>
  line wall -id surface_line -outline none -clip off<br>
    ...<br>
  endline<br>
  line border -id lower_line -subtype invisible -clip off<br>
    ...<br>
  endline<br>
  area u:surface_grey -clip off<br>
    surface_line<br>
    lower_line<br>
  endarea<br>
endscrap</p>
<p>The code for area surface_grey is attached to this mail.<br>
(I'm not realy sure anymore about all the "-clip off" !?)</p>
<p>3. Text boxes and layout changes<br>
This is a bit more complex. I will put this infos into an extra email later.<br>
Just give me some time to sort it out and to make it "readable" for everyone.</p>
<p>regards,<br>
Torsten</p>
<p> </p>
<blockquote>
<p class="x_ox-9d1784b9f3-MsoNormal" style="margin-bottom:12.0pt">Bruce Mutton <<a href="mailto:bruce@tomo.co.nz">bruce@tomo.co.nz</a>> hat am 25. November 2019 um 02:32 geschrieben:</p>
<div>
<p>I like your map Torsten.<br>
I hope Alistair’s solution is what you were looking for.<br>
I have some questions so that I might make such a nice map.</p>
<ol type="1" start="1">
<li class="x_ox-9d1784b9f3-MsoNormal">How did you obtain the ground profile?  I presume you may have walked it with a gps to obtain ‘real’ survey data or extracted it from Google Earth.</li><li class="x_ox-9d1784b9f3-MsoNormal">I like the line you used for the ground profile.  Would you share the code for that?</li><li class="x_ox-9d1784b9f3-MsoNormal">I like the layout of the text information boxes.  Would you share an example of the code for those? (cave name, location, surveyed, thanks, exploration history)</li></ol>
<p>Regards<br>
Bruce</p>
</div>
</blockquote>
</div>
</blockquote>
<p class="x_default-style"><br>
 </p>
<blockquote type="cite">_______________________________________________ <br>
Therion mailing list <br>
Therion@speleo.sk <br>
https://mailman.speleo.sk/listinfo/therion <br>
</blockquote>
<p class="x_default-style"><br>
 </p>
</div>
</body>
</html>