For Programmers: Free Programming Magazines  


Home > Archive > Tex > November 2007 > Reference home directory in \input









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Reference home directory in \input
Frank E Harrell Jr

2007-11-28, 7:23 pm

I would like to be able to refer to a file with reference to my home
directory, e.g., \input{~/my.tex}. Is there a way to do that?

Thanks
Frank Harrell
Rolf Niepraschk

2007-11-28, 7:23 pm

Frank E Harrell Jr schrieb:
> I would like to be able to refer to a file with reference to my home
> directory, e.g., \input{~/my.tex}. Is there a way to do that?
>


Try the following on the command line:

$ TEXINPUTS=.:$HOME:.: latex document

In the document: \input{my.tex}

....Rolf

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com