Commit c6d4c60 committed May 17, 2024 · 0 / 1
1 parent 3b389d9 commit c6d4c60 Copy full SHA for c6d4c60
File tree 2 files changed +6
-7
lines changed
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 26
26
%
27
27
% See full documentation: https://github.com/MLopez-Ibanez/revision
28
28
\RequirePackage {iftex}
29
- \RequirePackage {letltxmacro} % Replace with https://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/latex/contrib/l3packages/xparse.pdf
30
29
\RequirePackage {etoolbox} % \csuse \ifdef
31
30
\RequirePackage {xparse}
32
31
\PassOptionsToPackage {dvipsnames}{xcolor}
96
95
}
97
96
\NewDocumentCommand {\mysout }{+m}{%
98
97
% Force inline comments when deleting text, otherwise we get weird errors.
99
- \LetLtxMacro \origrevcomment\newrevisor@RevComment
98
+ \NewCommandCopy \origrevcomment\newrevisor@RevComment
100
99
\let\newrevisor@RevComment\newrevisor@RevInlineComment
101
- \LetLtxMacro \origref\ref % Sometimes \ref produces Extra }, or forgotten \endgroup.
100
+ \NewCommandCopy \origref\ref % Sometimes \ref produces Extra }, or forgotten \endgroup.
102
101
\renewcommand {\ref }[1]{\mbox {\origref {##1 }}}%
103
- \LetLtxMacro \origcite\cite %
102
+ \NewCommandCopy \origcite\cite %
104
103
\renewcommand {\cite }[2][]{\mbox {\origcite [##1]{##2}}}%
105
104
% \makeatletter%
106
105
\@ifundefined {citet}{}{%
107
- \LetLtxMacro \origcitet\citet %
106
+ \NewCommandCopy \origcitet\citet %
108
107
\renewcommand {\citet }[2][]{\mbox {\origcitet [##1]{##2}}}%
109
108
}%
110
109
\@ifundefined {citep}{}{%
111
- \LetLtxMacro \origcitep\citep %
110
+ \NewCommandCopy \origcitep\citep %
112
111
\renewcommand {\citep }[2][]{\mbox {\origcitep [##1]{##2}}}%
113
112
}%
114
113
% \makeatother%
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ check_snapshot() {
51
51
fi
52
52
diff -q ${old} ${new} > /dev/null
53
53
if [ $? -ne 0 ]; then
54
- echo " Error: ${old} and ${new} are different"
54
+ echo " Error: ${old} and ${new} are different (use diffimg to visualize the differences) "
55
55
ERROR=1
56
56
else
57
57
rm -f ${new}
You can’t perform that action at this time.
0 commit comments