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 <[email protected]> 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
>     [email protected]
>     https://mailman.speleo.sk/listinfo/therion
> 


 
_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion

Reply via email to