%% %% This is file `lwarp-changes.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% lwarp.dtx (with options: `changes') %% This is a generated file. %% Copyright 2016-2022 Brian Dunn %% %% 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 (at your option) any later version. %% The latest version of this license is in %% 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. \LWR@ProvidesPackagePass{changes}[2021/07/15] \renewcommand{\ChangesListline}[4]{% \IfIsInList{#1}{\Changes@loc@show}{% \LWR@startpars% #2: #3 \qquad \nameref{\BaseJobname-autopage-#4}% \LWR@stoppars% }{}% } \VerifyCommand[lwarp][changes]{\listofchanges}{CDE77F21854A8C807FDF2CF756286B55} \renewcommand{\listofchanges}[1][\@empty]{% \setkeys{Changes@loc}{#1}% \ifbool{Changes@optiondraft}% {% \IfIsInList{\Changes@loc@style}{list|summary|compactsummary}% {}% {% \PackageWarning{changes}{Wrong style for list of changes:% '\Changes@loc@style', using 'list' instead.}% \def\Changes@loc@style{}% }% \IfIsEmpty{\Changes@loc@style}% {\def\Changes@loc@style{list}}% {}% \IfStrEq{\Changes@loc@show}{all}% {\def\Changes@loc@show{added|deleted|replaced|highlight|comment}}% {}% \IfIsInList{\Changes@loc@show}{added|deleted|replaced|highlight|comment}% {}% {% \PackageWarning{changes}{Wrong show-value for list of changes: '\Changes@loc@show', using 'all' instead.}% \def\Changes@loc@show{}% }% \IfIsEmpty{\Changes@loc@show}% {\def\Changes@loc@show{added|deleted|replaced|highlight|comment}}% {}% \IfIsEmpty{\Changes@loc@title}% {% \IfStrEq{\Changes@loc@style}{list}% {\def\Changes@heading{\listofchangesname}}{}% \IfStrEq{\Changes@loc@style}{summary}% {\def\Changes@heading{\summaryofchangesname}}{}% \IfStrEq{\Changes@loc@style}{compactsummary}% {\def\Changes@heading{\compactsummaryofchangesname}}{}% }% {\def\Changes@heading{\Changes@loc@title}}% \section*{\Changes@heading} \IfIsInList{\Changes@loc@style}{list}% {% \IfFileExists{\jobname.\Changes@locextension}% {% \newread\Changes@InFile% \openin\Changes@InFile=\jobname.\Changes@locextension% \loop\unless\ifeof\Changes@InFile% \read\Changes@InFile to \Changes@Line% \ifeof\Changes@InFile\else% \Changes@Line% \fi \repeat \closein\Changes@InFile% }{% \emph{\changesnoloc}% \PackageWarning{changes}{LaTeX rerun needed for list of changes}% }% }{}% \IfIsInList{\Changes@loc@style}{summary|compactsummary}% {% \IfFileExists{\jobname.\Changes@socextension}% {% \newread\Changes@InFile% \openin\Changes@InFile = \jobname.\Changes@socextension% \loop\unless\ifeof\Changes@InFile% \read\Changes@InFile to \Changes@Line% \ifeof\Changes@InFile\else% \expandafter\changes@chopline\Changes@Line\\% \textbf{% \IfIsColored% {\color{\Changes@Incolor}}% {}% \IfIsAnonymous{\Changes@Inid}% {% \LWR@textcurrentcolor{% lwarp \changesauthorname: \changesanonymousname% }% lwarp }% {% \LWR@textcurrentcolor{% lwarp \changesauthorname: \Changes@Inid% }% lwarp \IfIsEmpty{\Changes@Inname}% {}% { % \LWR@textcurrentcolor{% lwarp (\Changes@Inname)% }% lwarp }% }% }\\% \numdef{\Changes@InSum}{0}% \renewcommand*{\do}[1]{% \numdef{\Changes@InSum}{\Changes@InSum + \csuse{Changes@In########1}}% }% \expandafter\dopsvlist\expandafter{\Changes@loc@show}% \ifnumcomp{\Changes@InSum}{=}{0}% {% \changesnochanges% \par% \lwarp }% {% \numdef{\Changes@InCount}{0}% \renewcommand*{\do}[1]{% \numdef{\Changes@InCount}{\Changes@InCount + \csuse{Changes@In########1}}% \ifboolexpr{% not test {\IfStrEq{\Changes@loc@style}{compactsummary}} or% test {\ifnumgreater{\csuse{Changes@In########1}}{0}}% }% {% \csuse{changes########1name}~% \dotfill~% \lwarp \csuse{Changes@In########1}% {\\}% }% {}% }% \expandafter\dopsvlist\expandafter{\Changes@loc@show}% \par% lwarp }% \fi% \repeat \closein\Changes@InFile% }{% \emph{\changesnosoc}% \PackageWarning{changes}{LaTeX rerun needed for summary of changes}% }% }{}% }{}% } \VerifyCommand[lwarp][changes]{\Changes@Markup@comment}{23057A40141C9D1A0A173DCF1BD5DE55} \renewcommand{\Changes@Markup@comment}[3]{% \IfStrEq{\Changes@optioncommentmarkup}{todo}% {% \IfIsColored% {\colorlet{Changes@todocolor}{authorcolor}}% {\colorlet{Changes@todocolor}{black}}% \todo[color=Changes@todocolor!10, bordercolor=Changes@todocolor, linecolor=Changes@todocolor!70, nolist]{\textbf{[\IfIsAnonymous{#2}{}{#3~}\arabic{authorcommentcount}]} #1}% }{}% \IfStrEq{\Changes@optioncommentmarkup}{margin}% {% \marginpar{% \IfIsColored% {\leavevmode\color{authorcolor}}% {}% \LWR@textcurrentcolor{% lwarp \textbf{[\IfIsAnonymous{#2}{}{#3~}\arabic{Changes@commentCount#2}]:} #1% }% lwarp }% }{}% \IfStrEq{\Changes@optioncommentmarkup}{footnote}% {% \footnote{% \LWR@textcurrentcolor{% lwarp \textbf{[\IfIsAnonymous{#2}{}{#3~}\arabic{Changes@commentCount#2}]:} #1% }% lwarp }% }{}% \IfStrEq{\Changes@optioncommentmarkup}{uwave}% {% {% \IfIsColored% {\color{authorcolor}}% {}% \allowbreak% \uwave{% \textbf{[\IfIsAnonymous{#2}{}{#3~}\arabic{Changes@commentCount#2}]:} #1% }% }% }{}% } \VerifyCommand[lwarp][changes]{\Changes@output}{BD1ACDECB4BBA2D9181885F9EDC87F77} \renewrobustcmd{\Changes@output}[7]{% \ifbool{Changes@optiondraft}% {% \Changes@check@author{#2}% \Changes@set@color{#2}% {% \IfIsInList{#1}{added|deleted|replaced|highlight}% {% \IfIsEmpty{#5}% {% \IfIsAuthorEmptyAtPosition{#2}{left}% {}% {{% \IfIsColored% {\color{authorcolor}}% {}% \LWR@textcurrentcolor{% lwarp \Changes@Markup@author{\Changes@output@author@position{#2}{left}}% }% lwarp }}% }{}% {% \IfStrEq{#1}{highlight}% {}{% \IfIsColored% {\color{authorcolor}}% {}% }% \LWR@textcurrentcolor{% lwarp \IfStrEq{#1}{added}{\Changes@Markup@added{#3}}{}% \IfStrEq{#1}{deleted}{\Changes@Markup@deleted{#4}}{}% \IfStrEq{#1}{replaced}{{\Changes@Markup@added{#3}}\allowbreak\Changes@Markup@deleted{#4}}{}% \IfStrEq{#1}{highlight}{\Changes@Markup@highlight{#3}}{}% }% lwarp }% \IfIsEmpty{#5}% {% \IfIsAuthorEmptyAtPosition{#2}{right}% {}% {{% \IfIsColored% {\color{authorcolor}}% {}% \LWR@textcurrentcolor{% lwarp \Changes@Markup@author{\Changes@output@author@position{#2}{right}}% }% lwarp }}% }{}% \stepcounter{Changes@#1Count#2}% }{}% \IfIsEmpty{#5}% {}% {% \stepcounter{Changes@commentCount#2}% \Changes@set@commentcount{#2}% \Changes@Markup@comment% {#5}% {#2}% {\Changes@output@author{#2}}% }% }% \IfIsEmpty{#2}% {\def\Changes@locid{}}% {\def\Changes@locid{~(#2)}}% \addtocontents{\Changes@locextension}{\protect\ChangesListline{#1}{#6\Changes@locid}{#7}{\thepage}}% }% {% \IfIsEmpty{#3}% {\@bsphack\@esphack}% {#3}% }% } \endinput %% %% End of file `lwarp-changes.sty'.