开发者

Max number of nested \input in LaTeX/Beamer

开发者 https://www.devze.com 2022-12-20 14:47 出处:网络
When using the beamer documentclass, it looks like the third level of nested input is ignored: \\documentclass{beamer}

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 anyon开发者_开发技巧e seen something like this?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号