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

4
  • 1
    crosspost texwelt.de/wissen/fragen/19882/… Commented Mar 28, 2017 at 14:09
  • any suggests? thx
    – Lutz
    Commented Mar 28, 2017 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
    Commented Mar 28, 2017 at 15:29
  • 1
    Use package import as shown in texwelt.de/wissen/fragen/19882/… Commented Mar 29, 2017 at 7:03

0

You must log in to answer this question.

Browse other questions tagged .