diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3doc.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3doc.dtx | 50 |
1 files changed, 4 insertions, 46 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx b/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx index 78a94120256..224b1aaead2 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx @@ -85,7 +85,7 @@ and all files in that bundle must be distributed together. % require you to do updates, if the class changes.}} % % \author{\Team} -% \date{Released 2022-11-02} +% \date{Released 2022-12-17} % \maketitle % \tableofcontents % @@ -3410,52 +3410,10 @@ and all files in that bundle must be distributed together. % \subsubsection{Misc} % % \begin{macro}{\DescribeOption} -% For describing package options. Due to Joseph Wright. Name/usage -% might change soon. +% For describing package options: retained for consistency, but updated for +% \pkg{doc}~v3. % \begin{macrocode} -\newcommand*{\DescribeOption} - { - \leavevmode - \@bsphack - \begingroup - \MakePrivateLetters - \Describe@Option - } -% \end{macrocode} -% -% \begin{macrocode} -\newcommand*{\Describe@Option}[1] - { - \endgroup - \marginpar{ - \raggedleft - \PrintDescribeEnv{#1} - } - \SpecialOptionIndex{#1} - \@esphack - \ignorespaces - } -% \end{macrocode} -% -% \begin{macrocode} -\newcommand*{\SpecialOptionIndex}[1] - { - \@bsphack - \begingroup - \@@_target: - \index - { - #1\actualchar{\protect\ttfamily#1}~(option) - \encapchar hdclindex{\the\c@HD@hypercount}{usage} - } - \index - { - options:\levelchar#1\actualchar{\protect\ttfamily#1} - \encapchar hdclindex{\the\c@HD@hypercount}{usage} - } - \endgroup - \@esphack - } +\NewDocElement[idxtype = option, idxgroup = options]{Option}{optionenv} % \end{macrocode} % \end{macro} % |