GeneralSource Directory outside of working Directory

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
llama
Posts: 12
Joined: Mon Mar 22, 2010 9:40 pm

Source Directory outside of working Directory

Post by llama »

Hi,

Is there a way to keep a source file (.tex) somewhere far from the directory where working files (.aux, .log, .dvi, .pdf, etc.) get created? I'm using Kile, but the question sounds to me like General.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Source Directory outside of working Directory

Post by Stefan Kottwitz »

Yes, you can use absolute paths, starting with a slash, such as

Code: Select all

\input{/home/user/tex/macros}
Stefan
LaTeX.org admin
llama
Posts: 12
Joined: Mon Mar 22, 2010 9:40 pm

Re: Source Directory outside of working Directory

Post by llama »

Thanks!

Do you mean that the master file still has to be present in the working directory and nowhere else?
Post Reply