為什麼 \subitem 出現在 docmfp Literate 程式的每個索引條目中?

為什麼 \subitem 出現在 docmfp Literate 程式的每個索引條目中?

我正在開發一個使用該docmfp包的文學程式設計專案:

% \iffalse meta-comment
%<*driver>
\documentclass[twoside]{ltxdoc}
\usepackage{docmfp}
\usepackage{url}
\usepackage[draft=false,
            plainpages=false,
            pdfpagelabels,
            bookmarksnumbered,
            hyperindex=false
           ]{hyperref}
\makeatletter
  \@mparswitchfalse
\makeatother
\renewcommand{\MakeUppercase}[1]{#1}
\pagestyle{headings}
\EnableCrossrefs
\CodelineIndex
\usepackage{makeidx} 
\usepackage[columns=1]{idxlayout}
%%% \OnlyDescription
\setcounter{StandardModuleDepth}{1}
\begin{document}
  \DocInput{mwe.dtx}
\end{document}
%</driver>
%
% \fi
%
% \DoNotIndex{\bullet}
% The first such routine will be appropriately enough, to set up the stock, and perform other
% initializations. \DescribeRoutine{psetupstock}
% \Finale
% \PrintIndex
%
\endinput

但這會導致索引條目包含奇怪的命令:

包含奇怪指令的索引頁

相關內容