diff options
Diffstat (limited to 'macros/latex/contrib/changes/changes.drv')
-rw-r--r-- | macros/latex/contrib/changes/changes.drv | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/macros/latex/contrib/changes/changes.drv b/macros/latex/contrib/changes/changes.drv index 9b744e7298..dc9bc65432 100644 --- a/macros/latex/contrib/changes/changes.drv +++ b/macros/latex/contrib/changes/changes.drv @@ -137,16 +137,16 @@ \usepackage{changes} \definechangesauthor[name={Ekkart Kleinod}, color=Sienna]{EK} \setcommentmarkup{% - \ifthenelse{\isColored}% + \IfIsColored% {% - \ifthenelse{\isAnonymous{#2}}% + \IfIsAnonymous{#2}% {% \todo[color=authorcolor!10, bordercolor=authorcolor, linecolor=authorcolor!70, nolist]{\footnotesize\textbf{[\arabic{authorcommentcount}]} #1}% }{% \todo[color=authorcolor!10, bordercolor=authorcolor, linecolor=authorcolor!70, nolist]{\footnotesize\textbf{[#3~\arabic{authorcommentcount}]} #1}% }% }{% - \ifthenelse{\isAnonymous{#2}}% + \IfIsAnonymous{#2}% {% \todo[color=black!0, bordercolor=black, linecolor=black!70, nolist]{\footnotesize\textbf{[\arabic{authorcommentcount}]} #1}% }{% @@ -162,10 +162,9 @@ \CodelineIndex % formatting -\newcommand{\chpackage}[1]{\textsl{#1}} -\newcommand{\choption}[1]{\texttt{#1}} -\newcommand{\chfile}[1]{\texttt{#1}} -\newcommand{\chcommand}[1]{\texttt{\textbackslash{}#1}} +\newcommand{\docpackage}[1]{\textsl{#1}} +\newcommand{\docoption}[1]{\texttt{#1}} +\newcommand{\doccommand}[1]{\texttt{\textbackslash{}#1}} % additional description list formatting \newlength{\mylabelwidth} @@ -194,7 +193,7 @@ ]{#2}% } \newcommand{\chinline}[2][]{% - \chinputlisting{#1}{userdoc/in_#2}% + \chinputlisting{#1}{userdoc/#2_in}% } \newcommand{\chexample}[1]{ \ifENGLISH @@ -203,7 +202,7 @@ \ifGERMAN \minisec{Beispiele} \fi - \lstinputlisting{userdoc/ex_#1} + \lstinputlisting{userdoc/#1_ex} } \newcommand{\chresult}[1]{ \ifENGLISH @@ -213,7 +212,7 @@ \minisec{Resultat} \fi \begin{quote} - \input{userdoc/ex_#1} + \input{userdoc/#1_ex} \end{quote} } @@ -253,18 +252,18 @@ % new commands \newcommand{\chnewcmd}[1]{ - \subsubsection{\chcommand{#1}} + \subsubsection{\doccommand{#1}} \label{sec:ui:cmd:#1} } % document title \ifENGLISH - \title{The \chpackage{changes}-package} - \subtitle{Manual change markup --- version 3.2.2} + \title{The \docpackage{changes}-package} + \subtitle{Manual change markup --- version 4.0.0} \fi \ifGERMAN - \title{Das \chpackage{changes}-Paket} - \subtitle{Manuelle Änderungsmarkierung -- Version 3.2.2} + \title{Das \docpackage{changes}-Paket} + \subtitle{Manuelle Änderungsmarkierung -- Version 4.0.0} \fi \author{Ekkart Kleinod} |