How to enable absolute paths in LaTeX

Posted by Matthias Günther on Stack Overflow See other posts from Stack Overflow or by Matthias Günther
Published on 2010-05-21T19:42:20Z Indexed on 2010/05/21 20:50 UTC
Read the original article Hit count: 264

Filed under:

Hey,

I have one document under ~/my_files/test.tex and want to include in test.tex some styling informations, which can be found under ~/latex/styles/info_hypersetup.tex.

When I include the following statement into my test.tex:

%% setting the infos for the pdf
\include{home/helex/latex/styles/info_hypersetup.tex}

I get the following error when running pdflatex test.test:

! I can't write on file `~/latex/styles/info_hypersetup.tex.aux'.

I set the rights to 777 but this doesn't changed anything. It works, if I put info_hypersetup.tex in the directory-structure where test.tex is. But I want to use this styleinformation as a global setting for all my documents and don't want to copy it into every project.

Thanks for your help.

© Stack Overflow or respective owner

Related posts about latex