TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 2 down vote accepted

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

share|improve this answer

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.