我正在开发一个使用以下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
但这会导致索引条目包含奇怪的命令: