[Therion] For Torsten: Photo Overlay sharing Texinputs

Torsten Schnitter torsten.schnitter at netcologne.de
Thu Nov 28 21:34:02 CET 2019


Hi Alastair

Thank you very much for your clarification on that toppic.
Now I got it to work. :-) Hooray!

This is my actual TEXINPUTS:
TEXINPUTS = $TEXMF/tex;T:/Survey;.;

Before the above I had this (which was not working):
TEXINPUTS = $TEXMF/tex;T:/Survey//;.;
Somewhere I read this // at the end of the path would include all subfolders while searching for the proper file from the loadpicture command.

Beside this I did a second mistake.
In the command \loadpicture{...} I always started the path with "./" or with "../" or with just "/".
E.g.: \loadpicture{./CaveSystem/Image.jpg}
But if you just start with the name of the subfolder than it works.

So correct command in the thconfig in folder Cave-1 is: \loadpicture{_General/Logos/Image.jpg}

You can have all your survey stuff in one top level folder. All needed survey data is in this top level folder.

Just use relative paths everywhere in your config files.
Finally add this top level folder to TEXINPUTS.
With this you can transfer this file structure to every computer and all you have to do on another computer is:
Add this top level folder to TEXINPUTS.

Thanks again for your help.
regards,
Torsten

> alastair gott <alastairgott at hotmail.com> hat am 28. November 2019 um 18:34 geschrieben:
> 
>     Hi Torsten,
> 
>     I made some instructions last night so that we could get this working on our project, so excuse the references, but you will get the idea.
> 
>     If anyone wants to tidy this up and put it on the Wiki then please feel free :)
> 
>     Some instructions on getting the photo overlays to work on your PC.
> 
>     You’ll need the onedrive as a file location on your PC.
> 
>     Mine is at: C:\Users\alastair\OneDrive\Tresviso2019\photo_overlay
> 
> 
>     We need to point Therion to this file location
> 
>     To do this we need to go into the Therion programme files:
> 
>     In mine this is at C:\Program Files (x86)\Therion\texmf\web2c
> 
> 
>     In here is a file called texmf.cnf
> 
>      
> 
>     We need to edit this file.
> 
>     It will look like this:
> 
> 
>      
> 
>     We need to change the TEXINPUTS to point it to our onedrive file.
> 
>     TEXINPUTS = $TEXMF/tex;C:/Users/alastair/OneDrive/Tresviso2019/photo_overlay;.
> 
>     The semicolon and the dot at the end of this line are very important, as is the semicolon before the C directory.
> 
>     Saving this file doesn’t always work. Administrator privileges or something.
> 
>     If it doesn’t let you save it, save it somewhere else and either drag and drop it or copy and paste the file into the therion program files. C:\Program Files (x86)\Therion\texmf\web2c
> 
>     Now we should be able to get the Photo overlay to work on both our PC’s.
> 
>     And it will work across all of the different surveys.
> 
> 
>     For completeness we are keeping the specific photo overlay tex file in the same file as the thconfig. The specific photo overlay is looking into the onedrive file and drilling down into the Marniosa file.
> 
>     http://cave-registry.org.uk/svn/Andara/Tresviso/Marniosa/therion/_photo_overlay.tex
> 
>     As per Henry Bennett's suggestion the other week we are keeping the generic layouts and translations at a higher level. (I asked Henry whether I could borrow/steal a lot of his code from the speleophilippeans project and he was happy)
> 
>     cave-registry.org.uk/svn/Andara/XTherionFiles/
> 
>     It is still work in progress but we're getting there.
> 
> 
>     Regards,
>     Alastair.
> 


 

> _______________________________________________
>     Therion mailing list
>     Therion at speleo.sk
>     https://mailman.speleo.sk/listinfo/therion
> 


 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20191128/40422426/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grafik.png
Type: image/png
Size: 4580 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20191128/40422426/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 26727 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20191128/40422426/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 25755 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20191128/40422426/attachment-0002.png>


More information about the Therion mailing list