Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

When using the beamer documentclass, it looks like the third level of nested input is ignored:

\documentclass{beamer}
\input{body}
body.tex:
\begin{document}
\input{file1}
\input{file2}
\end{document}
file2.tex:
\input{file21}

The content of file21.tex is ignored with documentclass beamer, but correctly inserted if I use a documentclass article, for example.

Has anyone seen something like this?

Works for me. Can you post a minimal example, with a \listfiles in your preamble, and the output list of files? – Alok Singhal Feb 17, 2010 at 1:55

Do you perhaps use the [ignorenonframetext] option ? If so, \input is taken as nonframe text and ignored.

You can do \mode<all>{\input{file}} to force the input to work in the presentation mode. You will need to start the included file with \mode* to start ignoring non frame text again.

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.