summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/changebar/changebar.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-01-10 03:03:23 +0000
committerNorbert Preining <norbert@preining.info>2024-01-10 03:03:23 +0000
commitcdb8117b8f1ac752d1927b82759c5be9f0ec0ab5 (patch)
treeebd07d36ab12076de3523b744cc87f975747f3e0 /macros/latex/contrib/changebar/changebar.dtx
parent140e2f7f1509acd423172e2895d0d7839e5b88c6 (diff)
CTAN sync 202401100303
Diffstat (limited to 'macros/latex/contrib/changebar/changebar.dtx')
-rw-r--r--macros/latex/contrib/changebar/changebar.dtx11
1 files changed, 7 insertions, 4 deletions
diff --git a/macros/latex/contrib/changebar/changebar.dtx b/macros/latex/contrib/changebar/changebar.dtx
index 2c67180adb..406ccf5290 100644
--- a/macros/latex/contrib/changebar/changebar.dtx
+++ b/macros/latex/contrib/changebar/changebar.dtx
@@ -24,7 +24,7 @@
% and covered by LPPL is defined by the unpacking scripts (with
% extension .ins) which are part of the distribution.
% \fi
-% \CheckSum{2953}
+% \CheckSum{2954}
%
%\iffalse
% This file is built for \LaTeXe, so we make sure an error is
@@ -39,7 +39,7 @@
\ProvidesFile{changebar.dtx}
%</dtx>
%<+package>\ProvidesPackage{changebar}
- [2024/01/01 v3.7c Indicate changes with marginal bars]
+ [2024/01/09 v3.7d Indicate changes with marginal bars]
% \end{macrocode}
%
% \section{A driver for this document}
@@ -2290,11 +2290,14 @@
% To disable changebars altogether without having to remove them
% from the document the macro |\nochangebars| is provided. It makes
% no-ops of three internal macros.
+% \changes{v3.7d}{2024/01/09}{Make sure spaces are ignored (cf. change
+% 3.7c)}
% \begin{macrocode}
\newcommand*{\nochangebars}{%
- \def\cb@start[##1]{}%
+ \def\cb@start[##1]{\ignorespaces}%
\def\cb@delete[##1]{}%
- \let\cb@end\relax}
+ \def\cb@end{\ignorespacesafterend}
+ }
% \end{macrocode}
% \end{macro}
%