summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/changes/README30
-rw-r--r--Master/texmf-dist/doc/latex/changes/changes.english.full.pdfbin0 -> 148856 bytes
-rw-r--r--Master/texmf-dist/doc/latex/changes/changes.english.short.pdfbin0 -> 98580 bytes
-rw-r--r--Master/texmf-dist/doc/latex/changes/changes.ngerman.full.pdfbin0 -> 153501 bytes
-rw-r--r--Master/texmf-dist/doc/latex/changes/changes.ngerman.short.pdfbin0 -> 103742 bytes
-rw-r--r--Master/texmf-dist/doc/latex/changes/changes.pdfbin298305 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/changes/changes_eng.pdfbin233947 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/changes/examples/changes.example1.tex (renamed from Master/texmf-dist/doc/latex/changes/changes.example1.tex)4
-rw-r--r--Master/texmf-dist/doc/latex/changes/examples/changes.example2.tex (renamed from Master/texmf-dist/doc/latex/changes/changes.example2.tex)4
-rw-r--r--Master/texmf-dist/doc/latex/changes/examples/changes.example3.tex (renamed from Master/texmf-dist/doc/latex/changes/changes.example3.tex)4
-rw-r--r--Master/texmf-dist/source/latex/changes/changes.drv75
-rw-r--r--Master/texmf-dist/source/latex/changes/changes.dtx369
-rw-r--r--Master/texmf-dist/source/latex/changes/changes.ins14
-rw-r--r--Master/texmf-dist/tex/latex/changes/changes.sty253
14 files changed, 466 insertions, 287 deletions
diff --git a/Master/texmf-dist/doc/latex/changes/README b/Master/texmf-dist/doc/latex/changes/README
index 34bae25d02a..c14c3271d9f 100644
--- a/Master/texmf-dist/doc/latex/changes/README
+++ b/Master/texmf-dist/doc/latex/changes/README
@@ -1,15 +1,15 @@
-The changes-package allows the user to manually markup changes of text, such as additions, deletions, or replacements.
-Changed text is shown in a different colour; deleted text is striked out.
-The package allows free defining of additional authors and their associated colour.
-It also allows you to define a markup for authors or annotations.
-
-Das changes-Paket dient zur manuellen Markierung von geändertem Text, insbesondere Einfügungen, Löschungen und Ersetzungen.
-Der geänderte Text wird farbig markiert und, bei gelöschtem Text, durchgestrichen.
-Das Paket ermöglicht die freie Definition von Autoren und deren zugeordneten Farben.
-Es erlaubt zusätzlich die Definition des Autor- und Anmerkungsmarkups.
-
-This material is subject to the LaTeX Project Public License (LPPL).
-For details see changes_eng.pdf
-
-Dieses Paket steht unter der LaTeX Project Public License (LPPL).
-Details stehen in changes.pdf
+The changes-package allows the user to manually markup changes of text, such as additions, deletions, or replacements.
+Changed text is shown in a different colour; deleted text is striked out.
+The package allows free defining of additional authors and their associated colour.
+It also allows you to define a markup for authors or annotations.
+
+Das changes-Paket dient zur manuellen Markierung von geändertem Text, insbesondere Einfügungen, Löschungen und Ersetzungen.
+Der geänderte Text wird farbig markiert und, bei gelöschtem Text, durchgestrichen.
+Das Paket ermöglicht die freie Definition von Autoren und deren zugeordneten Farben.
+Es erlaubt zusätzlich die Definition des Autor- und Anmerkungsmarkups.
+
+This material is subject to the LaTeX Project Public License (LPPL).
+For details see changes_eng.pdf
+
+Dieses Paket steht unter der LaTeX Project Public License (LPPL).
+Details stehen in changes.pdf
diff --git a/Master/texmf-dist/doc/latex/changes/changes.english.full.pdf b/Master/texmf-dist/doc/latex/changes/changes.english.full.pdf
new file mode 100644
index 00000000000..4f9879d0a45
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/changes/changes.english.full.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/changes/changes.english.short.pdf b/Master/texmf-dist/doc/latex/changes/changes.english.short.pdf
new file mode 100644
index 00000000000..570ddf59c1b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/changes/changes.english.short.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/changes/changes.ngerman.full.pdf b/Master/texmf-dist/doc/latex/changes/changes.ngerman.full.pdf
new file mode 100644
index 00000000000..cff9be8045d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/changes/changes.ngerman.full.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/changes/changes.ngerman.short.pdf b/Master/texmf-dist/doc/latex/changes/changes.ngerman.short.pdf
new file mode 100644
index 00000000000..3ff47136d28
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/changes/changes.ngerman.short.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/changes/changes.pdf b/Master/texmf-dist/doc/latex/changes/changes.pdf
deleted file mode 100644
index 72e88ba1d0c..00000000000
--- a/Master/texmf-dist/doc/latex/changes/changes.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/changes/changes_eng.pdf b/Master/texmf-dist/doc/latex/changes/changes_eng.pdf
deleted file mode 100644
index 97cfe32febd..00000000000
--- a/Master/texmf-dist/doc/latex/changes/changes_eng.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/changes/changes.example1.tex b/Master/texmf-dist/doc/latex/changes/examples/changes.example1.tex
index 44b38e73884..99fc96f9254 100644
--- a/Master/texmf-dist/doc/latex/changes/changes.example1.tex
+++ b/Master/texmf-dist/doc/latex/changes/examples/changes.example1.tex
@@ -7,7 +7,7 @@
%% changes.dtx (with options: `example:1')
%%
%% changes.dtx
-%% Copyright 2007 Ekkart Kleinod (ekkart@ekkart.de)
+%% Copyright 2007-2010 Ekkart Kleinod (ekkart@ekkart.de)
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -57,6 +57,6 @@
als Autor "EK" mit Begr\"undung ein.
\end{document}
-%% Copyright 2007 Ekkart Kleinod
+%% Copyright 2007-2010 Ekkart Kleinod
%%
%% End of file `changes.example1.tex'.
diff --git a/Master/texmf-dist/doc/latex/changes/changes.example2.tex b/Master/texmf-dist/doc/latex/changes/examples/changes.example2.tex
index 3aeb8419f90..2e31a603ed9 100644
--- a/Master/texmf-dist/doc/latex/changes/changes.example2.tex
+++ b/Master/texmf-dist/doc/latex/changes/examples/changes.example2.tex
@@ -7,7 +7,7 @@
%% changes.dtx (with options: `example:2')
%%
%% changes.dtx
-%% Copyright 2007 Ekkart Kleinod (ekkart@ekkart.de)
+%% Copyright 2007-2010 Ekkart Kleinod (ekkart@ekkart.de)
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -62,6 +62,6 @@
als Autor "`EK"' mit Begründung ein.
\end{document}
-%% Copyright 2007 Ekkart Kleinod
+%% Copyright 2007-2010 Ekkart Kleinod
%%
%% End of file `changes.example2.tex'.
diff --git a/Master/texmf-dist/doc/latex/changes/changes.example3.tex b/Master/texmf-dist/doc/latex/changes/examples/changes.example3.tex
index 9ad7b024af8..25835fd25f5 100644
--- a/Master/texmf-dist/doc/latex/changes/changes.example3.tex
+++ b/Master/texmf-dist/doc/latex/changes/examples/changes.example3.tex
@@ -7,7 +7,7 @@
%% changes.dtx (with options: `example:3')
%%
%% changes.dtx
-%% Copyright 2007 Ekkart Kleinod (ekkart@ekkart.de)
+%% Copyright 2007-2010 Ekkart Kleinod (ekkart@ekkart.de)
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -90,6 +90,6 @@
gelöscht gelöscht gelöscht gelöscht gelöscht gelöscht.}
\end{document}
-%% Copyright 2007 Ekkart Kleinod
+%% Copyright 2007-2010 Ekkart Kleinod
%%
%% End of file `changes.example3.tex'.
diff --git a/Master/texmf-dist/source/latex/changes/changes.drv b/Master/texmf-dist/source/latex/changes/changes.drv
new file mode 100644
index 00000000000..d4a7df3effc
--- /dev/null
+++ b/Master/texmf-dist/source/latex/changes/changes.drv
@@ -0,0 +1,75 @@
+%%%
+%
+% Treiberdatei für changes-Paket
+%
+%
+
+\documentclass[twoside, titlepage, parskip=half, toc=flat, cleardoublepage=empty, captions=nooneline, origlongtable, english, ngerman]{scrartcl}
+
+% Doc-Paket
+\usepackage{doc}
+
+% im Basis-Layout setzen
+% http://www.dr-kleinod.de/schreiben/latex.html
+\usepackage[font=charter]{basis}
+
+% Änderungsmarkierungen ermöglichen ;)
+\usepackage{changes}
+\definechangesauthor{EK}{orange}
+
+% voller Index
+\EnableCrossrefs
+
+% Angabe nach Zeilennummern
+\CodelineIndex
+
+% Umgebung für Einsatz
+\newenvironment{einspiel}[1][false]{%
+ \small
+ \begin{tabbing}
+ Definitionm\=\kill
+ \textsl{%
+ \ifthenelse{\equal{#1}{false}}%
+ {Definition}%
+ {\iflanguage{english}{Example}{Beispiel}}%
+ }
+}{%
+ \end{tabbing}
+}
+
+% Formatierungsbefehle
+\newcommand{\paket}[1]{\textsl{#1}}
+\newcommand{\option}[1]{\texttt{#1}}
+\newcommand{\datei}[1]{\texttt{#1}}
+\newcommand{\befehl}[1]{\texttt{\textbackslash{}#1}}
+
+% Makroüberschriften
+\makeatletter
+\def\Describe@Macro#1{%
+ \endgroup%
+ \fbox{\PrintDescribeMacro{#1}}\par%
+ \SpecialUsageIndex{#1}\@esphack\ignorespaces%
+}
+\def\Describe@Env#1{%
+ \endgroup%
+ \fbox{\PrintDescribeEnv{#1}}\par%
+ \SpecialEnvIndex{#1}\@esphack\ignorespaces
+}
+\makeatother
+
+
+\title{\iflanguage{english}{The \paket{changes}-package}{Das \paket{changes}-Paket}}
+\subtitle{\iflanguage{english}{Manual change markup --- version}{Manuelle Änderungsmarkierung -- Version} 0.5.3} %$^\alpha$}
+\author{Ekkart Kleinod}
+\email{ekkart@ekkart.de}
+
+% nur Beschreibungsteil ausgeben?
+%\OnlyDescription
+
+% Eigentliches Dokument
+\begin{document}
+
+ \selectlanguage{ngerman}
+ \DocInput{changes.dtx}
+
+\end{document}
diff --git a/Master/texmf-dist/source/latex/changes/changes.dtx b/Master/texmf-dist/source/latex/changes/changes.dtx
index dd9a67bf3af..1aa2611afb9 100644
--- a/Master/texmf-dist/source/latex/changes/changes.dtx
+++ b/Master/texmf-dist/source/latex/changes/changes.dtx
@@ -1,4 +1,60 @@
-% \CheckSum{432}
+% \CheckSum{511}
+%
+% \iffalse meta-comment
+%
+% Copyright (C) 2007-2010
+% Ekkart Kleinod (ekkart@ekkart.de)
+% --------------------------------------------------------------------------
+%
+% This work may be distributed and/or modified under the
+% conditions of the \LaTeX\ Project Public License, either version~1.3
+% of this license or any later version.
+% The latest version of this license is in\\
+% \url{http://www.latex-project.org/lppl.txt}\\
+% and version~1.3 or later is part of all distributions of \LaTeX\
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+% The current maintainer of this work is Ekkart Kleinod.
+%
+% Some code for providing multilanguage documentation was
+% used from the pst-pdf package by Rolf Niepraschk and Hubert Gaesslein.
+% \fi
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \changes{v0.1}{2007/01/16}{Initial version.}
+% \changes{v0.2}{2007/01/17}{new convenience commands, LPPL, bugfixes: missing babel package, ifthen-placement, loc, author markup}
+% \changes{v0.3}{2007/01/22}{english documentation, replaced command changed with command replaced}
+% \changes{v0.4}{2007/01/24}{pdfcolmk for improved markup, introduced author-ids, first CTAN version}
+% \changes{v0.5}{2007/08/26}{reimplementation without array package, UTF-8, grayed text, change pf command arguments}
+% \changes{v0.5.1}{2007/08/27}{deleted text is striked out again using package ulem, greying didn't work}
+% \changes{v0.5.2}{2007/10/10}{package options for pdfcolmk, ulem, and xcolor}
+% \changes{v0.5.3}{2010/11/22}{use class options (final, draft) as well}
+% \GetFileInfo{changes.dtx}
+%
+%^^A --------------------------------------------------------------------------
+%^^A definition for multilanguage documentation
+%
+% \newif\ifGERMAN \GERMANfalse
+% \newif\ifENGLISH \ENGLISHfalse
+% \iflanguage{ngerman}{\GERMANtrue}{%
+% \iflanguage{german}{\GERMANtrue}{\GERMANfalse}}
+% \iflanguage{english}{\ENGLISHtrue}{\ENGLISHfalse}
%
%^^A --------------------------------------------------------------------------
%
@@ -62,9 +118,9 @@
% \befehl{usepackage\{changes\}}
%
% \iflanguage{english}{
-% Options for the package are described in \autoref{sec:Optionen}.
+% Options for the package are described in \autoref{sec:options}.
% }{
-% Die Paketoptionen werden in \autoref{sec:Optionen} erläutert.
+% Die Paketoptionen werden in \autoref{sec:options} erläutert.
% }
%
%^^A -- Pakete ----------------------------------------------------------------
@@ -106,17 +162,23 @@
% }{
% \subsection{Optionen}
% }
-% \label{sec:Optionen}
+% \label{sec:options}
%
% \minisec{draft}
% \iflanguage{english}{
% The \option{draft}-option enables markup of changes.
% The list of changes is available via \befehl{listofchanges}.
% This option is the default option, if no other option is selected.
+%
+% The \paket{changes} package reuses the declaration of \option{draft} in \befehl{documentclass}.
+% The local declaration of \option{final} overrules the declaration of \option{draft} in \befehl{documentclass}.
% }{
% Die \option{draft}-Option bewirkt, dass alle Änderungen markiert werden.
% Die Änderungsliste kann durch \befehl{listofchanges} ausgegeben werden.
% Ohne Optionsangabe wird \option{draft} automatisch eingestellt.
+%
+% Die Angabe von \option{draft} in \befehl{documentclass} wird vom \paket{changes}-Paket mitgenutzt.
+% Die lokale Angabe von \option{final} überstimmt die Angabe von \option{draft} in \befehl{documentclass}.
% }
%
% \befehl{usepackage[draft]\{changes\}}
@@ -126,9 +188,15 @@
% \iflanguage{english}{
% The \option{final}-option disables markup of changes, only the correct text will be shown.
% The list of changes is disabled, too.
+%
+% The \paket{changes} package reuses the declaration of \option{final} in \befehl{documentclass}.
+% The local declaration of \option{draft} overrules the declaration of \option{final} in \befehl{documentclass}.
% }{
% Die \option{final}-Option bewirkt, dass alle Änderungsmarkierungen ausgeblendet werden und nur noch der korrekte Text ausgegeben wird.
% Die Änderungsliste wird ebenfalls unterdrückt.
+%
+% Die Angabe von \option{final} in \befehl{documentclass} wird vom \paket{changes}-Paket mitgenutzt.
+% Die lokale Angabe von \option{draft} überstimmt die Angabe von \option{final} in \befehl{documentclass}.
% }
%
% \befehl{usepackage[final]\{changes\}}
@@ -137,14 +205,14 @@
%
% \iflanguage{english}{
% All options for the \paket{ulem} package can be specified as parameters of the \option{ulem}-option.
-% Two or more option have to be embraced in curly brackets.
+% Two or more options have to be embraced in curly brackets.
% }{
% Optionen für das \paket{ulem}-Paket können als Parameter der \option{ulem}-Option angegeben werden.
% Zwei oder mehr Optionen müssen in geschweifte Klammern gesetzt werden.
% }
%
% \befehl{usepackage[ulem=normalem]\{changes\}}\\
-% \befehl{usepackage[ulem={normalem,normalbf}]\{changes\}}
+% \befehl{usepackage[ulem=\{normalem,normalbf\}]\{changes\}}
%
% \minisec{xcolor}
%
@@ -157,7 +225,7 @@
% }
%
% \befehl{usepackage[xcolor=dvipdf]\{changes\}}\\
-% \befehl{usepackage[xcolor={dvipdf,gray}]\{changes\}}
+% \befehl{usepackage[xcolor=\{dvipdf,gray\}]\{changes\}}
%
%^^A -- Neue Befehle ----------------------------------------------------------
%
@@ -371,10 +439,30 @@
% \StopEventually{
%
% \iflanguage{english}{
+% \section{Authors}
+% }{
+% \section{Autoren}
+% }
+% \label{sec:authors}
+%
+% \iflanguage{english}{
+% The \paket{changes} packages was written by several authors.
+% The authors are (in alphabetical order):
+% }{
+% Am \paket{changes}-Paket haben mehrere Autoren mitgewirkt.
+% Dies sind in alphabetischer Reihenfolge:
+% }
+% \begin{itemize}
+% \item Kleinod, Ekkart
+% \item Wolter, Steve
+% \end{itemize}
+%
+% \iflanguage{english}{
% \section{Versions}
% }{
% \section{Versionen}
% }
+% \label{sec:versions}
%
% \iflanguage{english}{
% \subsection{TODO/known bugs}
@@ -398,6 +486,20 @@
% \end{itemize}
% }
%
+% \subsection{Version 0.5.3}
+%
+% \iflanguage{english}{
+% Date: 2010/11/22
+% \begin{itemize}
+% \item document options of \befehl{documentclass} are used as well (suggestion and code of Steve Wolter)
+% \end{itemize}
+% }{
+% Datum: 22.\,11.~2010
+% \begin{itemize}
+% \item Dokumentoptionen von \befehl{documentclass} werden ebenfalls genutzt (Vorschlag und Code von Steve Wolter)
+% \end{itemize}
+% }
+%
% \subsection{Version 0.5.2}
%
% \iflanguage{english}{
@@ -543,7 +645,7 @@
% \iflanguage{english}{
% \section{Distribution, Copyright, License}
%
-% Copyright 2007 Ekkart Kleinod (\href{mailto:ekkart@ekkart.de}{ekkart@ekkart.de})
+% Copyright 2007-2010 Ekkart Kleinod (\href{mailto:ekkart@ekkart.de}{ekkart@ekkart.de})
%
% This work may be distributed and/or modified under the
% conditions of the \LaTeX\ Project Public License, either version~1.3
@@ -576,7 +678,7 @@
% }{
% \section{Weitergabe, Copyright, Lizenz}
%
-% Copyright 2007 Ekkart Kleinod (\href{mailto:ekkart@ekkart.de}{ekkart@ekkart.de})
+% Copyright 2007-2010 Ekkart Kleinod (\href{mailto:ekkart@ekkart.de}{ekkart@ekkart.de})
%
% Dieses Paket darf unter der "`\LaTeX\ Project Public License"' Version~1.3 oder jeder späteren Version weitergegeben und/oder geändert werden.
% Die neueste Version dieser Lizenz steht auf\\
@@ -635,8 +737,8 @@
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{changes}
-[2007/10/10 v0.5.2 changes-Paket]
-\typeout{*** changes-Paket 2007/10/10 v0.5.2 ***}
+[2010/11/22 v0.5.3 changes-Paket]
+\typeout{*** changes-Paket 2010/11/22 v0.5.3 ***}
% \end{macrocode}
%
% \iflanguage{english}{
@@ -668,6 +770,7 @@
\newboolean{Changes@optiondraft}
\setboolean{Changes@optiondraft}{true}
\DeclareOptionX{draft}{
+ \setboolean{Changes@optiondraft}{true}
\typeout{changes-option '\CurrentOption'}
}
% \end{macrocode}
@@ -725,7 +828,7 @@
% Ausführung des Optionenbearbeitens.
% }
% \begin{macrocode}
-\ProcessOptionsX\relax
+\ProcessOptionsX*\relax
% \end{macrocode}
%
% \iflanguage{english}{
@@ -765,41 +868,41 @@
% \begin{macrocode}
\ifthenelse{\isundefined{\addto}}
{
- \def\listchangesname{\"Anderungen}
- \def\changesaddname{Eingef\"ugt}
- \def\changesdeletename{Gel\"oscht}
- \def\changesreplacename{Ersetzt}
- \def\changesauthorname{Autor}
- \def\changesanonymousname{Anonym}
- \def\changesnoloc{\"Anderungsliste erst nach dem n\"achsten Durchlauf verf\"ugbar.}
+ \def\listchangesname{\"Anderungen}
+ \def\changesaddname{Eingef\"ugt}
+ \def\changesdeletename{Gel\"oscht}
+ \def\changesreplacename{Ersetzt}
+ \def\changesauthorname{Autor}
+ \def\changesanonymousname{Anonym}
+ \def\changesnoloc{\"Anderungsliste erst nach dem n\"achsten Durchlauf verf\"ugbar.}
}{
- \addto\captionsngerman{\def\listchangesname{\"Anderungen}}
- \addto\captionsgerman{\def\listchangesname{\"Anderungen}}
- \addto\captionsenglish{\def\listchangesname{Changes}}
+ \addto\captionsngerman{\def\listchangesname{\"Anderungen}}
+ \addto\captionsgerman{\def\listchangesname{\"Anderungen}}
+ \addto\captionsenglish{\def\listchangesname{Changes}}
- \addto\captionsngerman{\def\changesaddname{Eingef\"ugt}}
- \addto\captionsgerman{\def\changesaddname{Eingef\"ugt}}
- \addto\captionsenglish{\def\changesaddname{Added}}
+ \addto\captionsngerman{\def\changesaddname{Eingef\"ugt}}
+ \addto\captionsgerman{\def\changesaddname{Eingef\"ugt}}
+ \addto\captionsenglish{\def\changesaddname{Added}}
- \addto\captionsngerman{\def\changesdeletename{Gel\"oscht}}
- \addto\captionsgerman{\def\changesdeletename{Gel\"oscht}}
- \addto\captionsenglish{\def\changesdeletename{Deleted}}
+ \addto\captionsngerman{\def\changesdeletename{Gel\"oscht}}
+ \addto\captionsgerman{\def\changesdeletename{Gel\"oscht}}
+ \addto\captionsenglish{\def\changesdeletename{Deleted}}
- \addto\captionsngerman{\def\changesreplacename{Ersetzt}}
- \addto\captionsgerman{\def\changesreplacename{Ersetzt}}
- \addto\captionsenglish{\def\changesreplacename{Replaced}}
+ \addto\captionsngerman{\def\changesreplacename{Ersetzt}}
+ \addto\captionsgerman{\def\changesreplacename{Ersetzt}}
+ \addto\captionsenglish{\def\changesreplacename{Replaced}}
- \addto\captionsngerman{\def\changesauthorname{Autor}}
- \addto\captionsgerman{\def\changesauthorname{Autor}}
- \addto\captionsenglish{\def\changesauthorname{Author}}
+ \addto\captionsngerman{\def\changesauthorname{Autor}}
+ \addto\captionsgerman{\def\changesauthorname{Autor}}
+ \addto\captionsenglish{\def\changesauthorname{Author}}
- \addto\captionsngerman{\def\changesanonymousname{Anonym}}
- \addto\captionsgerman{\def\changesanonymousname{Anonym}}
- \addto\captionsenglish{\def\changesanonymousname{anonymous}}
+ \addto\captionsngerman{\def\changesanonymousname{Anonym}}
+ \addto\captionsgerman{\def\changesanonymousname{Anonym}}
+ \addto\captionsenglish{\def\changesanonymousname{anonymous}}
- \addto\captionsngerman{\def\changesnoloc{\"Anderungsliste erst nach dem n\"achsten \LaTeX-Lauf verf\"ugbar.}}
- \addto\captionsgerman{\def\changesnoloc{\"Anderungsliste erst nach dem n\"achsten Durchlauf verf\"ugbar.}}
- \addto\captionsenglish{\def\changesnoloc{List of changes is available after the next \LaTeX\ run.}}
+ \addto\captionsngerman{\def\changesnoloc{\"Anderungsliste erst nach dem n\"achsten \LaTeX-Lauf verf\"ugbar.}}
+ \addto\captionsgerman{\def\changesnoloc{\"Anderungsliste erst nach dem n\"achsten Durchlauf verf\"ugbar.}}
+ \addto\captionsenglish{\def\changesnoloc{List of changes is available after the next \LaTeX\ run.}}
}
% \end{macrocode}
%
@@ -915,8 +1018,8 @@
% \begin{macrocode}
\newcommand{\setauthormarkup}[2][left]{%
\ifthenelse{\equal{#1}{left}}
- {\setboolean{Changes@AuthorPositionLeft}{true}}
- {\setboolean{Changes@AuthorPositionLeft}{false}}
+ {\setboolean{Changes@AuthorPositionLeft}{true}}
+ {\setboolean{Changes@AuthorPositionLeft}{false}}
\renewcommand{\Changes@AuthorMark}[1]{#2}
}
% \end{macrocode}
@@ -980,22 +1083,22 @@
}
\newcommand{\Changes@added}[2][\@empty]{%
\ifthenelse{\boolean{Changes@optiondraft}}%
- {%
- \textcolor{Changes@Color\Changes@temp}{%
- \ifthenelse{\boolean{Changes@AuthorPositionLeft}}%
- {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
- {}{\Changes@AuthorMark{\Changes@temp}}%
- }{}%
- #2%
- \ifthenelse{\not\boolean{Changes@AuthorPositionLeft}}%
- {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
- {}{\Changes@AuthorMark{\Changes@temp}}%
- }{}%
- \ifthenelse{\equal{\@empty}{#1}}%
- {}{\Changes@Remark{\Changes@temp}{#1}}%
- }%
- \stepcounter{Changes@AddCount\Changes@temp}%
- }{#2}%
+ {%
+ \textcolor{Changes@Color\Changes@temp}{%
+ \ifthenelse{\boolean{Changes@AuthorPositionLeft}}%
+ {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
+ {}{\Changes@AuthorMark{\Changes@temp}}%
+ }{}%
+ #2%
+ \ifthenelse{\not\boolean{Changes@AuthorPositionLeft}}%
+ {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
+ {}{\Changes@AuthorMark{\Changes@temp}}%
+ }{}%
+ \ifthenelse{\equal{\@empty}{#1}}%
+ {}{\Changes@Remark{\Changes@temp}{#1}}%
+ }%
+ \stepcounter{Changes@AddCount\Changes@temp}%
+ }{#2}%
}
% \end{macrocode}
% \end{macro}
@@ -1025,22 +1128,22 @@
}
\newcommand{\Changes@deleted}[2][\@empty]{%
\ifthenelse{\boolean{Changes@optiondraft}}%
- {%
- \textcolor{Changes@Color\Changes@temp}{%
- \ifthenelse{\boolean{Changes@AuthorPositionLeft}}%
- {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
- {}{\Changes@AuthorMark{\Changes@temp}}%
- }{}%
- \sout{#2}%
- \ifthenelse{\not\boolean{Changes@AuthorPositionLeft}}%
- {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
- {}{\Changes@AuthorMark{\Changes@temp}}%
- }{}%
- \ifthenelse{\equal{\@empty}{#1}}%
- {}{\Changes@Remark{\Changes@temp}{#1}}%
- }%
- \stepcounter{Changes@DeleteCount\Changes@temp}%
- }{\@bsphack \expandafter \@esphack}%
+ {%
+ \textcolor{Changes@Color\Changes@temp}{%
+ \ifthenelse{\boolean{Changes@AuthorPositionLeft}}%
+ {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
+ {}{\Changes@AuthorMark{\Changes@temp}}%
+ }{}%
+ \sout{#2}%
+ \ifthenelse{\not\boolean{Changes@AuthorPositionLeft}}%
+ {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
+ {}{\Changes@AuthorMark{\Changes@temp}}%
+ }{}%
+ \ifthenelse{\equal{\@empty}{#1}}%
+ {}{\Changes@Remark{\Changes@temp}{#1}}%
+ }%
+ \stepcounter{Changes@DeleteCount\Changes@temp}%
+ }{\@bsphack \expandafter \@esphack}%
}
% \end{macrocode}
% \end{macro}
@@ -1064,23 +1167,23 @@
}
\newcommand{\Changes@replaced}[3][\@empty]{%
\ifthenelse{\boolean{Changes@optiondraft}}%
- {%
- \textcolor{Changes@Color\Changes@temp}{%
- \ifthenelse{\boolean{Changes@AuthorPositionLeft}}%
- {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
- {}{\Changes@AuthorMark{\Changes@temp}}%
- }{}%
- #2%
- \sout{#3}%
- \ifthenelse{\not\boolean{Changes@AuthorPositionLeft}}%
- {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
- {}{\Changes@AuthorMark{\Changes@temp}}%
- }{}%
- \ifthenelse{\equal{\@empty}{#1}}%
- {}{\Changes@Remark{\Changes@temp}{#1}}%
- }%
- \stepcounter{Changes@ReplaceCount\Changes@temp}%
- }{#2}%
+ {%
+ \textcolor{Changes@Color\Changes@temp}{%
+ \ifthenelse{\boolean{Changes@AuthorPositionLeft}}%
+ {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
+ {}{\Changes@AuthorMark{\Changes@temp}}%
+ }{}%
+ #2%
+ \sout{#3}%
+ \ifthenelse{\not\boolean{Changes@AuthorPositionLeft}}%
+ {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
+ {}{\Changes@AuthorMark{\Changes@temp}}%
+ }{}%
+ \ifthenelse{\equal{\@empty}{#1}}%
+ {}{\Changes@Remark{\Changes@temp}{#1}}%
+ }%
+ \stepcounter{Changes@ReplaceCount\Changes@temp}%
+ }{#2}%
}
% \end{macrocode}
% \end{macro}
@@ -1120,40 +1223,40 @@
% \begin{macrocode}
\newcommand{\listofchanges}{%
\ifthenelse{\boolean{Changes@optiondraft}}
- {
- \section*{\listchangesname}
- \IfFileExists{\jobname.\Changes@extension}
- {
- \newboolean{Changes@MoreLines}
- \setboolean{Changes@MoreLines}{true}
- \newread\Changes@InFile
- \openin\Changes@InFile = \jobname.\Changes@extension
- \whiledo{\boolean{Changes@MoreLines}}{
- \read\Changes@InFile to \Changes@Line
- \ifeof\Changes@InFile
- \setboolean{Changes@MoreLines}{false}
- \else
- \expandafter\changes@chopline\Changes@Line\\
- \begin{tabbing}
- mm\=mmmmmm\=\kill
- \ifthenelse{\equal{\Changes@InID}{}}
- {\textcolor{\Changes@InColor}{\changesauthorname: \changesanonymousname}\\}
- {\textcolor{\Changes@InColor}{\changesauthorname: \Changes@InID}
- \ifthenelse{\equal{\Changes@InName}{}}{}
- { \textcolor{\Changes@InColor}{(\Changes@InName)}}
- \\
- }
- \>\changesaddname:\>\Changes@InAdded\\
- \>\changesdeletename:\>\Changes@InDeleted\\
- \>\changesreplacename:\>\Changes@InReplaced\\
- \end{tabbing}
- \fi
- }
- \closein\Changes@InFile
- }{
- \emph{\changesnoloc}
- }
- }{}
+ {
+ \section*{\listchangesname}
+ \IfFileExists{\jobname.\Changes@extension}
+ {
+ \newboolean{Changes@MoreLines}
+ \setboolean{Changes@MoreLines}{true}
+ \newread\Changes@InFile
+ \openin\Changes@InFile = \jobname.\Changes@extension
+ \whiledo{\boolean{Changes@MoreLines}}{
+ \read\Changes@InFile to \Changes@Line
+ \ifeof\Changes@InFile
+ \setboolean{Changes@MoreLines}{false}
+ \else
+ \expandafter\changes@chopline\Changes@Line\\
+ \begin{tabbing}
+ mm\=mmmmmm\=\kill
+ \ifthenelse{\equal{\Changes@InID}{}}
+ {\textcolor{\Changes@InColor}{\changesauthorname: \changesanonymousname}\\}
+ {\textcolor{\Changes@InColor}{\changesauthorname: \Changes@InID}
+ \ifthenelse{\equal{\Changes@InName}{}}{}
+ { \textcolor{\Changes@InColor}{(\Changes@InName)}}
+ \\
+ }
+ \>\changesaddname:\>\Changes@InAdded\\
+ \>\changesdeletename:\>\Changes@InDeleted\\
+ \>\changesreplacename:\>\Changes@InReplaced\\
+ \end{tabbing}
+ \fi
+ }
+ \closein\Changes@InFile
+ }{
+ \emph{\changesnoloc}
+ }
+ }{}
}
% \end{macrocode}
% \end{macro}
@@ -1175,14 +1278,14 @@
\immediate\openout\Changes@OutFile = \jobname.\Changes@extension
\setcounter{Changes@iAuthor}{0}
\whiledo{\value{Changes@iAuthor} < \value{Changes@AuthorCount}}{
- \stepcounter{Changes@iAuthor}
- \def\Changes@ID{\@nameuse{Changes@Author\theChanges@iAuthor}}
- \immediate\write\Changes@OutFile{\Changes@ID;%
- \@nameuse{Changes@AuthorColor\Changes@ID};%
- \@nameuse{Changes@AuthorName\Changes@ID};%
- \the\value{Changes@AddCount\Changes@ID};%
- \the\value{Changes@DeleteCount\Changes@ID};%
- \the\value{Changes@ReplaceCount\Changes@ID}}
+ \stepcounter{Changes@iAuthor}
+ \def\Changes@ID{\@nameuse{Changes@Author\theChanges@iAuthor}}
+ \immediate\write\Changes@OutFile{\Changes@ID;%
+ \@nameuse{Changes@AuthorColor\Changes@ID};%
+ \@nameuse{Changes@AuthorName\Changes@ID};%
+ \the\value{Changes@AddCount\Changes@ID};%
+ \the\value{Changes@DeleteCount\Changes@ID};%
+ \the\value{Changes@ReplaceCount\Changes@ID}}
}
\closeout\Changes@OutFile
}
diff --git a/Master/texmf-dist/source/latex/changes/changes.ins b/Master/texmf-dist/source/latex/changes/changes.ins
index efec41e8d42..08b310ae525 100644
--- a/Master/texmf-dist/source/latex/changes/changes.ins
+++ b/Master/texmf-dist/source/latex/changes/changes.ins
@@ -1,6 +1,6 @@
%% Diese Datei erzeugt die benötigten Dateien aus changes.dtx
%%
-\def\filedate{2007/01/24}
+\def\filedate{2010/11/21}
\def\batchfile{changes.ins}
\input docstrip
@@ -10,7 +10,7 @@
\preamble
changes.dtx
-Copyright 2007 Ekkart Kleinod (ekkart@ekkart.de)
+Copyright 2007-2010 Ekkart Kleinod (ekkart@ekkart.de)
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
@@ -38,14 +38,14 @@ and the derived files
\endpreamble
\postamble
-Copyright 2007 Ekkart Kleinod
+Copyright 2007-2010 Ekkart Kleinod
\endpostamble
\generate{
- \file{changes.sty}{\from{changes.dtx}{changes}}
- \file{changes.example1.tex}{\from{changes.dtx}{example:1}}
- \file{changes.example2.tex}{\from{changes.dtx}{example:2}}
- \file{changes.example3.tex}{\from{changes.dtx}{example:3}}
+ \file{changes.sty}{\from{changes.dtx}{changes}}
+ \file{changes.example1.tex}{\from{changes.dtx}{example:1}}
+ \file{changes.example2.tex}{\from{changes.dtx}{example:2}}
+ \file{changes.example3.tex}{\from{changes.dtx}{example:3}}
}
\endinput
diff --git a/Master/texmf-dist/tex/latex/changes/changes.sty b/Master/texmf-dist/tex/latex/changes/changes.sty
index efd654647fd..6beba57b167 100644
--- a/Master/texmf-dist/tex/latex/changes/changes.sty
+++ b/Master/texmf-dist/tex/latex/changes/changes.sty
@@ -7,7 +7,7 @@
%% changes.dtx (with options: `changes')
%%
%% changes.dtx
-%% Copyright 2007 Ekkart Kleinod (ekkart@ekkart.de)
+%% Copyright 2007-2010 Ekkart Kleinod (ekkart@ekkart.de)
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -34,13 +34,14 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{changes}
-[2007/10/10 v0.5.2 changes-Paket]
-\typeout{*** changes-Paket 2007/10/10 v0.5.2 ***}
+[2010/11/22 v0.5.3 changes-Paket]
+\typeout{*** changes-Paket 2010/11/22 v0.5.3 ***}
\RequirePackage{xkeyval}
\RequirePackage{ifthen}
\newboolean{Changes@optiondraft}
\setboolean{Changes@optiondraft}{true}
\DeclareOptionX{draft}{
+ \setboolean{Changes@optiondraft}{true}
\typeout{changes-option '\CurrentOption'}
}
\DeclareOptionX{final}{
@@ -58,47 +59,47 @@
\DeclareOptionX*{
\PackageWarning{Unknown changes-option '\CurrentOption'}
}
-\ProcessOptionsX\relax
+\ProcessOptionsX*\relax
\RequirePackage{xcolor}
\RequirePackage{pdfcolmk}
\RequirePackage{ulem}
\ifthenelse{\isundefined{\addto}}
{
- \def\listchangesname{\"Anderungen}
- \def\changesaddname{Eingef\"ugt}
- \def\changesdeletename{Gel\"oscht}
- \def\changesreplacename{Ersetzt}
- \def\changesauthorname{Autor}
- \def\changesanonymousname{Anonym}
- \def\changesnoloc{\"Anderungsliste erst nach dem n\"achsten Durchlauf verf\"ugbar.}
+\def\listchangesname{\"Anderungen}
+\def\changesaddname{Eingef\"ugt}
+\def\changesdeletename{Gel\"oscht}
+\def\changesreplacename{Ersetzt}
+\def\changesauthorname{Autor}
+\def\changesanonymousname{Anonym}
+\def\changesnoloc{\"Anderungsliste erst nach dem n\"achsten Durchlauf verf\"ugbar.}
}{
- \addto\captionsngerman{\def\listchangesname{\"Anderungen}}
- \addto\captionsgerman{\def\listchangesname{\"Anderungen}}
- \addto\captionsenglish{\def\listchangesname{Changes}}
+\addto\captionsngerman{\def\listchangesname{\"Anderungen}}
+\addto\captionsgerman{\def\listchangesname{\"Anderungen}}
+\addto\captionsenglish{\def\listchangesname{Changes}}
- \addto\captionsngerman{\def\changesaddname{Eingef\"ugt}}
- \addto\captionsgerman{\def\changesaddname{Eingef\"ugt}}
- \addto\captionsenglish{\def\changesaddname{Added}}
+\addto\captionsngerman{\def\changesaddname{Eingef\"ugt}}
+\addto\captionsgerman{\def\changesaddname{Eingef\"ugt}}
+\addto\captionsenglish{\def\changesaddname{Added}}
- \addto\captionsngerman{\def\changesdeletename{Gel\"oscht}}
- \addto\captionsgerman{\def\changesdeletename{Gel\"oscht}}
- \addto\captionsenglish{\def\changesdeletename{Deleted}}
+\addto\captionsngerman{\def\changesdeletename{Gel\"oscht}}
+\addto\captionsgerman{\def\changesdeletename{Gel\"oscht}}
+\addto\captionsenglish{\def\changesdeletename{Deleted}}
- \addto\captionsngerman{\def\changesreplacename{Ersetzt}}
- \addto\captionsgerman{\def\changesreplacename{Ersetzt}}
- \addto\captionsenglish{\def\changesreplacename{Replaced}}
+\addto\captionsngerman{\def\changesreplacename{Ersetzt}}
+\addto\captionsgerman{\def\changesreplacename{Ersetzt}}
+\addto\captionsenglish{\def\changesreplacename{Replaced}}
- \addto\captionsngerman{\def\changesauthorname{Autor}}
- \addto\captionsgerman{\def\changesauthorname{Autor}}
- \addto\captionsenglish{\def\changesauthorname{Author}}
+\addto\captionsngerman{\def\changesauthorname{Autor}}
+\addto\captionsgerman{\def\changesauthorname{Autor}}
+\addto\captionsenglish{\def\changesauthorname{Author}}
- \addto\captionsngerman{\def\changesanonymousname{Anonym}}
- \addto\captionsgerman{\def\changesanonymousname{Anonym}}
- \addto\captionsenglish{\def\changesanonymousname{anonymous}}
+\addto\captionsngerman{\def\changesanonymousname{Anonym}}
+\addto\captionsgerman{\def\changesanonymousname{Anonym}}
+\addto\captionsenglish{\def\changesanonymousname{anonymous}}
- \addto\captionsngerman{\def\changesnoloc{\"Anderungsliste erst nach dem n\"achsten \LaTeX-Lauf verf\"ugbar.}}
- \addto\captionsgerman{\def\changesnoloc{\"Anderungsliste erst nach dem n\"achsten Durchlauf verf\"ugbar.}}
- \addto\captionsenglish{\def\changesnoloc{List of changes is available after the next \LaTeX\ run.}}
+\addto\captionsngerman{\def\changesnoloc{\"Anderungsliste erst nach dem n\"achsten \LaTeX-Lauf verf\"ugbar.}}
+\addto\captionsgerman{\def\changesnoloc{\"Anderungsliste erst nach dem n\"achsten Durchlauf verf\"ugbar.}}
+\addto\captionsenglish{\def\changesnoloc{List of changes is available after the next \LaTeX\ run.}}
}
\newcommand{\Changes@extension}{loc}
\newcommand{\setlocextension}[1]{
@@ -125,8 +126,8 @@
}
\newcommand{\setauthormarkup}[2][left]{%
\ifthenelse{\equal{#1}{left}}
- {\setboolean{Changes@AuthorPositionLeft}{true}}
- {\setboolean{Changes@AuthorPositionLeft}{false}}
+{\setboolean{Changes@AuthorPositionLeft}{true}}
+{\setboolean{Changes@AuthorPositionLeft}{false}}
\renewcommand{\Changes@AuthorMark}[1]{#2}
}
\newcommand{\Changes@Remark}[2]{%
@@ -142,22 +143,22 @@
}
\newcommand{\Changes@added}[2][\@empty]{%
\ifthenelse{\boolean{Changes@optiondraft}}%
- {%
- \textcolor{Changes@Color\Changes@temp}{%
- \ifthenelse{\boolean{Changes@AuthorPositionLeft}}%
- {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
- {}{\Changes@AuthorMark{\Changes@temp}}%
- }{}%
- #2%
- \ifthenelse{\not\boolean{Changes@AuthorPositionLeft}}%
- {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
- {}{\Changes@AuthorMark{\Changes@temp}}%
- }{}%
- \ifthenelse{\equal{\@empty}{#1}}%
- {}{\Changes@Remark{\Changes@temp}{#1}}%
- }%
- \stepcounter{Changes@AddCount\Changes@temp}%
- }{#2}%
+{%
+ \textcolor{Changes@Color\Changes@temp}{%
+\ifthenelse{\boolean{Changes@AuthorPositionLeft}}%
+ {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
+{}{\Changes@AuthorMark{\Changes@temp}}%
+ }{}%
+#2%
+\ifthenelse{\not\boolean{Changes@AuthorPositionLeft}}%
+ {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
+{}{\Changes@AuthorMark{\Changes@temp}}%
+ }{}%
+\ifthenelse{\equal{\@empty}{#1}}%
+ {}{\Changes@Remark{\Changes@temp}{#1}}%
+ }%
+ \stepcounter{Changes@AddCount\Changes@temp}%
+}{#2}%
}
\newcommand{\deleted}[1][\@empty]{%
\renewcommand{\Changes@temp}{#1}%
@@ -165,22 +166,22 @@
}
\newcommand{\Changes@deleted}[2][\@empty]{%
\ifthenelse{\boolean{Changes@optiondraft}}%
- {%
- \textcolor{Changes@Color\Changes@temp}{%
- \ifthenelse{\boolean{Changes@AuthorPositionLeft}}%
- {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
- {}{\Changes@AuthorMark{\Changes@temp}}%
- }{}%
- \sout{#2}%
- \ifthenelse{\not\boolean{Changes@AuthorPositionLeft}}%
- {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
- {}{\Changes@AuthorMark{\Changes@temp}}%
- }{}%
- \ifthenelse{\equal{\@empty}{#1}}%
- {}{\Changes@Remark{\Changes@temp}{#1}}%
- }%
- \stepcounter{Changes@DeleteCount\Changes@temp}%
- }{\@bsphack \expandafter \@esphack}%
+{%
+ \textcolor{Changes@Color\Changes@temp}{%
+\ifthenelse{\boolean{Changes@AuthorPositionLeft}}%
+ {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
+{}{\Changes@AuthorMark{\Changes@temp}}%
+ }{}%
+\sout{#2}%
+\ifthenelse{\not\boolean{Changes@AuthorPositionLeft}}%
+ {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
+{}{\Changes@AuthorMark{\Changes@temp}}%
+ }{}%
+\ifthenelse{\equal{\@empty}{#1}}%
+ {}{\Changes@Remark{\Changes@temp}{#1}}%
+ }%
+ \stepcounter{Changes@DeleteCount\Changes@temp}%
+}{\@bsphack \expandafter \@esphack}%
}
\newcommand{\replaced}[1][\@empty]{%
\renewcommand{\Changes@temp}{#1}%
@@ -188,23 +189,23 @@
}
\newcommand{\Changes@replaced}[3][\@empty]{%
\ifthenelse{\boolean{Changes@optiondraft}}%
- {%
- \textcolor{Changes@Color\Changes@temp}{%
- \ifthenelse{\boolean{Changes@AuthorPositionLeft}}%
- {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
- {}{\Changes@AuthorMark{\Changes@temp}}%
- }{}%
- #2%
- \sout{#3}%
- \ifthenelse{\not\boolean{Changes@AuthorPositionLeft}}%
- {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
- {}{\Changes@AuthorMark{\Changes@temp}}%
- }{}%
- \ifthenelse{\equal{\@empty}{#1}}%
- {}{\Changes@Remark{\Changes@temp}{#1}}%
- }%
- \stepcounter{Changes@ReplaceCount\Changes@temp}%
- }{#2}%
+{%
+ \textcolor{Changes@Color\Changes@temp}{%
+\ifthenelse{\boolean{Changes@AuthorPositionLeft}}%
+ {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
+{}{\Changes@AuthorMark{\Changes@temp}}%
+ }{}%
+#2%
+\sout{#3}%
+\ifthenelse{\not\boolean{Changes@AuthorPositionLeft}}%
+ {\ifthenelse{\equal{\@empty}{\Changes@temp}}%
+{}{\Changes@AuthorMark{\Changes@temp}}%
+ }{}%
+\ifthenelse{\equal{\@empty}{#1}}%
+ {}{\Changes@Remark{\Changes@temp}{#1}}%
+ }%
+ \stepcounter{Changes@ReplaceCount\Changes@temp}%
+}{#2}%
}
\def\changes@chopline#1;#2;#3;#4;#5;#6 \\{
\def\Changes@InID{#1}
@@ -216,57 +217,57 @@
}
\newcommand{\listofchanges}{%
\ifthenelse{\boolean{Changes@optiondraft}}
- {
- \section*{\listchangesname}
- \IfFileExists{\jobname.\Changes@extension}
- {
- \newboolean{Changes@MoreLines}
- \setboolean{Changes@MoreLines}{true}
- \newread\Changes@InFile
- \openin\Changes@InFile = \jobname.\Changes@extension
- \whiledo{\boolean{Changes@MoreLines}}{
- \read\Changes@InFile to \Changes@Line
- \ifeof\Changes@InFile
- \setboolean{Changes@MoreLines}{false}
- \else
- \expandafter\changes@chopline\Changes@Line\\
- \begin{tabbing}
- mm\=mmmmmm\=\kill
- \ifthenelse{\equal{\Changes@InID}{}}
- {\textcolor{\Changes@InColor}{\changesauthorname: \changesanonymousname}\\}
- {\textcolor{\Changes@InColor}{\changesauthorname: \Changes@InID}
- \ifthenelse{\equal{\Changes@InName}{}}{}
- { \textcolor{\Changes@InColor}{(\Changes@InName)}}
- \\
- }
- \>\changesaddname:\>\Changes@InAdded\\
- \>\changesdeletename:\>\Changes@InDeleted\\
- \>\changesreplacename:\>\Changes@InReplaced\\
- \end{tabbing}
- \fi
- }
- \closein\Changes@InFile
- }{
- \emph{\changesnoloc}
- }
- }{}
+{
+ \section*{\listchangesname}
+ \IfFileExists{\jobname.\Changes@extension}
+{
+ \newboolean{Changes@MoreLines}
+ \setboolean{Changes@MoreLines}{true}
+ \newread\Changes@InFile
+ \openin\Changes@InFile = \jobname.\Changes@extension
+\whiledo{\boolean{Changes@MoreLines}}{
+\read\Changes@InFile to \Changes@Line
+ \ifeof\Changes@InFile
+\setboolean{Changes@MoreLines}{false}
+ \else
+\expandafter\changes@chopline\Changes@Line\\
+\begin{tabbing}
+ mm\=mmmmmm\=\kill
+ \ifthenelse{\equal{\Changes@InID}{}}
+{\textcolor{\Changes@InColor}{\changesauthorname: \changesanonymousname}\\}
+{\textcolor{\Changes@InColor}{\changesauthorname: \Changes@InID}
+ \ifthenelse{\equal{\Changes@InName}{}}{}
+ { \textcolor{\Changes@InColor}{(\Changes@InName)}}
+ \\
+}
+ \>\changesaddname:\>\Changes@InAdded\\
+ \>\changesdeletename:\>\Changes@InDeleted\\
+ \>\changesreplacename:\>\Changes@InReplaced\\
+\end{tabbing}
+ \fi
+}
+ \closein\Changes@InFile
+}{
+ \emph{\changesnoloc}
+}
+}{}
}
\AtEndDocument{
\newwrite\Changes@OutFile
\immediate\openout\Changes@OutFile = \jobname.\Changes@extension
\setcounter{Changes@iAuthor}{0}
\whiledo{\value{Changes@iAuthor} < \value{Changes@AuthorCount}}{
- \stepcounter{Changes@iAuthor}
- \def\Changes@ID{\@nameuse{Changes@Author\theChanges@iAuthor}}
- \immediate\write\Changes@OutFile{\Changes@ID;%
- \@nameuse{Changes@AuthorColor\Changes@ID};%
- \@nameuse{Changes@AuthorName\Changes@ID};%
- \the\value{Changes@AddCount\Changes@ID};%
- \the\value{Changes@DeleteCount\Changes@ID};%
- \the\value{Changes@ReplaceCount\Changes@ID}}
+\stepcounter{Changes@iAuthor}
+\def\Changes@ID{\@nameuse{Changes@Author\theChanges@iAuthor}}
+\immediate\write\Changes@OutFile{\Changes@ID;%
+ \@nameuse{Changes@AuthorColor\Changes@ID};%
+ \@nameuse{Changes@AuthorName\Changes@ID};%
+ \the\value{Changes@AddCount\Changes@ID};%
+ \the\value{Changes@DeleteCount\Changes@ID};%
+ \the\value{Changes@ReplaceCount\Changes@ID}}
}
\closeout\Changes@OutFile
}
-%% Copyright 2007 Ekkart Kleinod
+%% Copyright 2007-2010 Ekkart Kleinod
%%
%% End of file `changes.sty'.