summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-01-10 20:43:26 +0000
committerKarl Berry <karl@freefriends.org>2024-01-10 20:43:26 +0000
commite30298edc2e4a0f36681b1276c4bcce3dc5d9af9 (patch)
treeeb9d6a57e766194be23fe12669d6125faea414ef
parent76fd6981e82e10dc9f30087b7832e01b70e95631 (diff)
changebar (10jan24)
git-svn-id: svn://tug.org/texlive/trunk@69367 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/changebar/CATALOG2
-rw-r--r--Master/texmf-dist/doc/latex/changebar/README2
-rw-r--r--Master/texmf-dist/doc/latex/changebar/changebar.bug3
-rw-r--r--Master/texmf-dist/doc/latex/changebar/changebar.pdfbin484332 -> 486497 bytes
-rw-r--r--Master/texmf-dist/source/latex/changebar/changebar.dtx11
-rw-r--r--Master/texmf-dist/source/latex/changebar/changebar.ins4
-rw-r--r--Master/texmf-dist/tex/latex/changebar/changebar.sty9
7 files changed, 19 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/changebar/CATALOG b/Master/texmf-dist/doc/latex/changebar/CATALOG
index 74e408ac34f..50cd35da78a 100644
--- a/Master/texmf-dist/doc/latex/changebar/CATALOG
+++ b/Master/texmf-dist/doc/latex/changebar/CATALOG
@@ -1,7 +1,7 @@
Name: ChangeBar
Problems-To: johannes.braams(at)texniek.nl
Author: J.L. Braams
-Version: 3.7c
+Version: 3.7d
Description:
diff --git a/Master/texmf-dist/doc/latex/changebar/README b/Master/texmf-dist/doc/latex/changebar/README
index 847be179da7..2a9c69bad71 100644
--- a/Master/texmf-dist/doc/latex/changebar/README
+++ b/Master/texmf-dist/doc/latex/changebar/README
@@ -1,6 +1,6 @@
changebar bundle
- January 1, 2024
+ January 9, 2024
This bundle contains a package that I maintain to add changebars to a
LaTeX document.
diff --git a/Master/texmf-dist/doc/latex/changebar/changebar.bug b/Master/texmf-dist/doc/latex/changebar/changebar.bug
index 4d2b9fa0a79..d6613321501 100644
--- a/Master/texmf-dist/doc/latex/changebar/changebar.bug
+++ b/Master/texmf-dist/doc/latex/changebar/changebar.bug
@@ -216,6 +216,9 @@
% v3.7c JLB: Arash Esbati reported inconsistent spacing whit or without the
% optional argumenty to \cbstart or \begin{changebar}.
%
+% v3.7d JLB: Arash Esbati reported a simlar phenomenon when \nochangebars
+% is used. Similar solution was needed.
+%
% Known problems
% - changebars for marginal paragraphs collide with changebars
% for the main body of text
diff --git a/Master/texmf-dist/doc/latex/changebar/changebar.pdf b/Master/texmf-dist/doc/latex/changebar/changebar.pdf
index ef79e6b5dca..b313fe1c531 100644
--- a/Master/texmf-dist/doc/latex/changebar/changebar.pdf
+++ b/Master/texmf-dist/doc/latex/changebar/changebar.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/changebar/changebar.dtx b/Master/texmf-dist/source/latex/changebar/changebar.dtx
index 2c67180adb7..406ccf52903 100644
--- a/Master/texmf-dist/source/latex/changebar/changebar.dtx
+++ b/Master/texmf-dist/source/latex/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}
%
diff --git a/Master/texmf-dist/source/latex/changebar/changebar.ins b/Master/texmf-dist/source/latex/changebar/changebar.ins
index f9c86c49433..8de997825c9 100644
--- a/Master/texmf-dist/source/latex/changebar/changebar.ins
+++ b/Master/texmf-dist/source/latex/changebar/changebar.ins
@@ -10,7 +10,7 @@
%%
%% IMPORTANT NOTICE:
%%
-%% Copyright (C) 1994-2023 Johannes Braams, All rights reserved.
+%% Copyright (C) 1994-2024 Johannes Braams, All rights reserved.
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
@@ -24,7 +24,7 @@
\preamble
This is a generated file.
-Copyright (C) 1994-2023 Johannes Braams, All rights reserved.
+Copyright (C) 1994-2024 Johannes Braams, All rights reserved.
This file was generated from file(s) of the changebar package.
--------------------------------------------------------------
diff --git a/Master/texmf-dist/tex/latex/changebar/changebar.sty b/Master/texmf-dist/tex/latex/changebar/changebar.sty
index 8a75311761a..2de6b8218f0 100644
--- a/Master/texmf-dist/tex/latex/changebar/changebar.sty
+++ b/Master/texmf-dist/tex/latex/changebar/changebar.sty
@@ -7,7 +7,7 @@
%% changebar.dtx (with options: `package')
%% This is a generated file.
%%
-%% Copyright (C) 1994-2023 Johannes Braams, All rights reserved.
+%% Copyright (C) 1994-2024 Johannes Braams, All rights reserved.
%%
%% This file was generated from file(s) of the changebar package.
%% --------------------------------------------------------------
@@ -37,7 +37,7 @@
%% Copyright 1994-2024 (C) Johannes Braams. All rights reserved.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{changebar}
- [2024/01/01 v3.7c Indicate changes with marginal bars]
+ [2024/01/09 v3.7d Indicate changes with marginal bars]
\def\cb@maxpoint{80}
\def\cb@minpoint{1}
\def\cb@nil{0}
@@ -800,9 +800,10 @@
{\cb@start[\changebarwidth]}}%
{\cb@end}
\newcommand*{\nochangebars}{%
- \def\cb@start[##1]{}%
+ \def\cb@start[##1]{\ignorespaces}%
\def\cb@delete[##1]{}%
- \let\cb@end\relax}
+ \def\cb@end{\ignorespacesafterend}
+ }
\newlength{\changebarwidth}
\setlength{\changebarwidth}{2pt}
\newlength{\deletebarwidth}