
考慮以下文檔結構:
Project
├── Sections
│ ├── section1.tex
│ └── section2.tex
└── main.tex
這是文件的內容:
內容的main.tex
\documentclass{article}
\begin{document}
\input{Sections/section1.tex}
\input{Sections/section2.tex}
\end{document}
內容的section1.tex
\section{Section 1}
bla bla bla
內容的section2.tex
\section{Section 2}
bla bla bla
問題:是否可以將文件section1.tex
和分別進行編譯,以節省編譯時的電腦資源,並將編譯後的和section2.tex
版本添加到文件中?section1.tex
section2.tex
main.tex