命令阻止更新引用和引用的最小代码pagesel
。我想知道为什么
\documentclass{article}
\usepackage{graphicx}
%% PDFTeX
% http://tex.stackexchange.com/a/218102/13173
\usepackage{mathtools, amssymb, amsbsy}
\usepackage{mathrsfs}
\usepackage{pgffor}
\usepackage{subcaption}
\usepackage{pdfpages}
\usepackage[1-]{pagesel}
\begin{document}
Fig. \ref{figure:ba_sinus_female},
\begin{figure}
\foreach \ii in {2,...,2}{
\centering% not \center!
\begin{subfigure}{0.32\textwidth}
\centering
\includegraphics[scale=0.16, page=\ii]{{Rplots.bland}.pdf}
\caption{\#\ii, ite. 1.}
\end{subfigure}
\begin{subfigure}{0.32\textwidth}
\centering
\includegraphics[scale=0.16, page=\ii]{{Rplots.bland}.pdf}
\caption{\#\ii, ite. 2.}
\end{subfigure}
\begin{subfigure}{0.32\textwidth}
\centering
\includegraphics[scale=0.16, page=\ii]{{Rplots.bland}.pdf}
\caption{\#\ii, ite. 3.}
\end{subfigure}
}
\caption{Bland.}
\label{figure:ba_sinus_female}
\end{figure}
\end{document}
答案1
手册第 1.2.1 节pagesel
:
\usepackage[files,1-]{pagesel}
如果没有该files
选项,.aux
则不会写入文件。
pagesel
或者,通过调用注释掉的方法来处理文档,然后取消注释并重新处理。