summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-changes.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-changes.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-changes.sty10
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-changes.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-changes.sty
index 817fbcf0cfc..1fe2f83f6c0 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-changes.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-changes.sty
@@ -20,7 +20,7 @@
\IfSubStr{\Changes@loc@show}{#1}{%
\LWR@startpars%
#2: #3 \qquad
- \nameref{autopage-#4}%
+ \nameref{\BaseJobname-autopage-#4}%
\LWR@stoppars%
}{}%
}
@@ -108,14 +108,18 @@
{%
\ifthenelse{\equal{#1}{added}}{\Changes@Markup@added{#3}}{}%
\ifthenelse{\equal{#1}{deleted}}{\Changes@Markup@deleted{#4}}{}%
- \ifthenelse{\equal{#1}{replaced}}{{\Changes@Markup@added{#3}}\allowbreak\Changes@Markup@deleted{#4}}{}%
+ \ifthenelse{\equal{#1}{replaced}}{%
+ {\Changes@Markup@added{#3}}\allowbreak\Changes@Markup@deleted{#4}%
+ }{}%
\ifthenelse{\equal{#1}{highlight}}{\Changes@Markup@highlight{#3}}{}%
}
{%
\LWR@textcurrentcolor{%
\ifthenelse{\equal{#1}{added}}{\Changes@Markup@added{#3}}{}%
\ifthenelse{\equal{#1}{deleted}}{\Changes@Markup@deleted{#4}}{}%
- \ifthenelse{\equal{#1}{replaced}}{{\Changes@Markup@added{#3}}\allowbreak\Changes@Markup@deleted{#4}}{}%
+ \ifthenelse{\equal{#1}{replaced}}{%
+ {\Changes@Markup@added{#3}}\allowbreak\Changes@Markup@deleted{#4}%
+ }{}%
\ifthenelse{\equal{#1}{highlight}}{\Changes@Markup@highlight{#3}}{}%
}%
}