summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/changes/changes.drv
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-01-29 22:30:54 +0000
committerKarl Berry <karl@freefriends.org>2021-01-29 22:30:54 +0000
commitcbd0c9d5ad3299c4a474bb472f7dc205fb8c2bcc (patch)
tree5520789c0a556178f7075aa306034aa089cddb91 /Master/texmf-dist/source/latex/changes/changes.drv
parent988964e7df68cb46b8977ecd2d34e678c165fb65 (diff)
changes (29jan21)
git-svn-id: svn://tug.org/texlive/trunk@57549 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/changes/changes.drv')
-rw-r--r--Master/texmf-dist/source/latex/changes/changes.drv29
1 files changed, 14 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/changes/changes.drv b/Master/texmf-dist/source/latex/changes/changes.drv
index 9b744e7298f..dc9bc65432a 100644
--- a/Master/texmf-dist/source/latex/changes/changes.drv
+++ b/Master/texmf-dist/source/latex/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}