From: Mark Wooding Date: Wed, 7 Aug 2019 14:28:38 +0000 (+0100) Subject: doc/sod.sty: Rename the default modifier to `plain'. X-Git-Url: https://git.distorted.org.uk/~mdw/sod/commitdiff_plain/e3e83b8a86e195669e11de5fb22dba6e63e4444a doc/sod.sty: Rename the default modifier to `plain'. --- diff --git a/doc/sod.sty b/doc/sod.sty index d6a0089..59adff5 100644 --- a/doc/sod.sty +++ b/doc/sod.sty @@ -274,10 +274,10 @@ \endcsname% } -%% Modifier methods for the default empty modifier. -\@namedef{modcat/}#1{#1} -\@namedef{modlabel/}#1{#1} -\@namedef{modindex/}#1{#1@\noexpand\code{#1}} +%% Modifier methods for the default `plain' modifier. +\@namedef{modcat/plain}#1{#1} +\@namedef{modlabel/plain}#1{#1} +\@namedef{modindex/plain}#1{#1@\noexpand\code{#1}} %% Modifier methods for `setf'. The name text prefixes the relevant word %% with `setf-'. @@ -366,7 +366,7 @@ \def\parse@dhd@cb#1#2#3{% {NEXT}{CAT}{{...}...} \@ifnextchar[{\parse@dhd@cc{#1}{#2}{#3}}{\parse@dhd@cd{#1}{#2}{#3}}} \def\parse@dhd@cc#1#2#3[#4]#5{% {NEXT}{CAT}{{...}...}[NAME]{SYNOPSIS} - #1{}{#2}{#3}{#4}{#5}} + #1{plain}{#2}{#3}{#4}{#5}} \def\parse@dhd@cd#1#2#3#4{% {NEXT}{CAT}{{...}...}{SYNOPSIS} \parse@dhd@ce{#1}{#2}{#3}{#4}#4 \q@} \def\parse@dhd@ce#1#2#3#4#5 #6\q@{% @@ -377,7 +377,7 @@ \ifx\temp@\@starstar\def\next@{\parse@dhd@cmuffs{#1}{#2}{#3}{#4}#5}% \else\def\temp@##1##2\q@{\def\temp@{##1}}\temp@#5\q@% \if:\temp@\def\next@{\parse@dhd@ckwd{#1}{#2}{#3}{#4}#5\q@}% - \else\def\next@{#1{}{#2}{#3}{#5}{#4}}\fi\fi\fi% + \else\def\next@{#1{plain}{#2}{#3}{#5}{#4}}\fi\fi\fi% \next@% } \def\parse@dhd@csetf#1#2#3#4(#5 #6\q@{%