pdflatex로 생성된 .mlf, .mlt 및 .mtc 파일은 무엇입니까?

pdflatex로 생성된 .mlf, .mlt 및 .mtc 파일은 무엇입니까?

특정 문서에서 pdflatex확장자가 .mlf, .mlt.mtc, 예를 들어 document.mtc, document.mtc1, document.mtc2등인 많은 수의 파일을 생성합니다. 이러한 수십 개의 파일로 인해 작업 폴더가 빠르게 복잡해지고 실제 자산의 위치를 ​​다소 어렵게 만들고 있습니다.

저는 일반적으로 이런 종류의 파일을 임시 폴더에 저장할 수 있는 TeXlipse를 사용하여 작업합니다. 그러나 이러한 특정 확장을 사용하면 다음과 같은 이유로 실패할 수 있습니다.버그.

이 파일들은 정확히 무엇입니까? 어떻게든 그들의 세대를 피할 수 있을까?

업데이트: 주석에서 제안된 대로 이 문서는 분명히 사용하고 있습니다 minitoc(다소 광범위한 템플릿에서 시작됨). 목차 바로 앞에 다음 명령이 있습니다.

\dominitoc
\dominilof
\dominilot

minitoc이러한 파일을 정리하거나 다른 곳에 보관하도록 지시할 수 있는 방법이 있습니까 ?

답변1

업데이트다른 \jobname.\minitocpath

패키지 minitoc는 설계된 작업을 수행하기 위해 여러 파일을 생성합니다.

다음 설명에서 , 또는 및 X은 문맥에 따라 장, 부분 또는 섹션 번호를 의미합니다.loflottocY

의 기본 개념은 , 및 이라고 하는 minitoc장별 , 명령 입니다 .\tableofcontents\listoffigures\listoftables\minitoc\minilof\minilot

각 명령은 챕터별로 이름이 지정된 하나의 파일을 생성하며 , \jobname.mtcY해당 파일은 사용된 명령이 없더라도 기록됩니다 .\jobname.mlfY\jobname.mltY\miniX

에서 작성한 파일 목록 minitoc도 에 저장됩니다 \jobname.maf.

이후 및 명령도 minitoc제공 하므로 해당 명령은 각각 , 및 을 생성합니다 . 이러한 명령은 상호 배타적입니다!\partX\sectX\jobname.ptcY\jobname.plfY\jobname.pltY\jobname.stcY\jobname.slfY\jobname.sltY

적어도 minitoc.minitoc

minitoc다음은 , 생성 \jobname.mtc0등에 대한 샘플 파일입니다 \jobname.mtc3.

\documentclass{book}

\usepackage{blindtext}

% Must be placed before `minitoc` is loaded!
\newcommand{\minitocpath}{%
  minitocdump/% Change the name of the directory. 
}

\makeatletter
\let\jobname@@orig\jobname
\def\jobname{\minitocpath/\jobname@@orig}
\makeatother

\usepackage{minitoc}

\dominitoc
\dominilof
\dominilot


\begin{document}
\faketableofcontents
\fakelistoffigures
\fakelistoftables
\chapter{First chapter}
\minitoc
\minilof
\minilot
\section{First section}
\blindtext
\begin{figure}
\caption{A local figure}
\end{figure}

\begin{table}
\caption{A local table}
\end{table}

\chapter{Second chapter}
\minitoc
\minilof
\minilot
\section{Second section}

\chapter{Third chapter}

\section{Third section}
\end{document}

... 그리고 유사한 버전 \parttoc등.

\documentclass{book}

\usepackage{blindtext}

% Must be placed before `minitoc` is loaded!
    \newcommand{\minitocpath}{%
      minitocdump/% Change the name of the directory. 
    }

    \makeatletter
    \let\jobname@@orig\jobname
    \def\jobname{\minitocpath/\jobname@@orig}
    \makeatother

\usepackage{minitoc}

\doparttoc
\dopartlof
\dopartlot


\begin{document}
\faketableofcontents
\fakelistoffigures
\fakelistoftables
\part{First part}

\parttoc
\partlof
\partlot

\chapter{First chapter}

\section{First section}
\blindtext
\begin{figure}
\caption{A local figure}
\end{figure}

\begin{table}
\caption{A local table}
\end{table}


\blindtext
\begin{figure}
\caption{A local figure}
\end{figure}

\begin{table}
\caption{A local table}
\end{table}


\part{Second part}


\parttoc
\partlof
\partlot

\chapter{Second chapter}
\section{Second section}

\chapter{Third chapter}

\section{Third section}

\blindtext
\begin{figure}
\caption{A local figure}
\end{figure}

\begin{table}
\caption{A local table}
\end{table}
\end{document}

여기에 이미지 설명을 입력하세요

관련 정보