Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How do I reach a file in another folder when using \input?

E.g. I have my main document frontpage.tex in a folder called main and a file chapter1.tex in a folder chapters. How do I in frontpage.tex reach the chapter1.tex with a command like the following, which I can't get working:

\input{..\chapters\chapter1}
share|improve this question
5  
use / not \ –  David Carlisle Nov 26 '12 at 9:41
    
Correct. Thanks. Please leave an answer. –  Steeven Nov 26 '12 at 9:55
add comment

1 Answer

up vote 2 down vote accepted

Use / not \. ...........................

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.