2

I don’t know why the command \input don’t work in the package answers. If I use \include it’s OK but it’s not good because some things don’t work correctly. Only under TexPad editor.

closed as off-topic by cfr, Zarko, darthbith, Mensch, Mico Dec 3 '15 at 4:34

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – user31729 Sep 6 '14 at 10:31
  • 4
    I'm voting to close this question as off-topic because TeXpad doesn't use TeX to the best of my knowledge. It is implemented completely differently. – cfr Dec 3 '15 at 2:06
0

It seems that in texpad everything that is written during the compilation is placed in the .texpadtmp directory. Here you can find your temporary answer file. But then things get messed up if you use the include command, because the file cannot be found in the root directory.

To fix this, just write

\input{.texpadtmp/ans1}

instead of

\input{ans1}

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