1

See Screenshot: In my main.tex document i call/implement many .tex-Files. Is it possible to use this red command in my main.tex document? Instead of the dark red commands?

enter image description here

  • 1
    crosspost texwelt.de/wissen/fragen/19882/… – Ulrike Fischer Mar 28 '17 at 14:09
  • any suggests? thx – Lutz Mar 28 '17 at 15:22
  • It is my understanding that input files are unable to detect where they are located. So, an input file cannot call another inpt file by relative path. Instead (as in the dark red) the paths are always relative to the main TeX document. This is because each input file is not interpreted by itself. Instead, its text is first brought into the main document, just as if its text were directly written in the main document. Only then, is it evaluated. So, the fact that it began as an input file, no longer matters. Summary: Your request cannot be done. – user103221 Mar 28 '17 at 15:29
  • 1
    Use package import as shown in texwelt.de/wissen/fragen/19882/… – Schweinebacke Mar 29 '17 at 7:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.