LaTeX 섹션을 별도로 컴파일하고 컴파일된 버전을 기본 문서에 포함

LaTeX 섹션을 별도로 컴파일하고 컴파일된 버전을 기본 문서에 포함

다음 문서 구조를 고려하십시오.

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?

관련 정보