summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/tools/bm.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/tools/bm.dtx')
-rw-r--r--Master/texmf-dist/source/latex/tools/bm.dtx14
1 files changed, 11 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/tools/bm.dtx b/Master/texmf-dist/source/latex/tools/bm.dtx
index b8be6530eb7..2216dcea077 100644
--- a/Master/texmf-dist/source/latex/tools/bm.dtx
+++ b/Master/texmf-dist/source/latex/tools/bm.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2017
+% Copyright (C) 1993-2019
%
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
@@ -22,7 +22,7 @@
% \fi
%
% \iffalse
-%% Copyright 1996 1997 1998 1999 2002 2003 2004 2016 2017
+%% Copyright 1996 1997 1998 1999 2002 2003 2004 2016 2017 2019
%% David Carlisle Frank Mittelbach
%%
%% Development of this package was commissioned by Y&Y Inc.
@@ -36,7 +36,7 @@
%<driver>\ProvidesFile{bm.drv}
% \fi
% \ProvidesFile{bm.dtx}
- [2017/01/16 v1.2c Bold Symbol Support (DPC/FMi)]
+ [2019/07/24 v1.2d Bold Symbol Support (DPC/FMi)]
%
% \iffalse
%<*driver>
@@ -699,6 +699,8 @@
% \changes{v1.0d}{1997/11/15}
% {extra code to support prime lookahead and breqn}
% \changes{v1.0h}{2002/11/22}{Pass math version as third (new) argument}
+% \changes{v1.2d}{2019/07/24}
+% {guard against active underscore}
%
% |\bm| is pretty much |\bmdefine\bm@command| followed by executing
% |\bm@command|. It would in principle be possible to execute the
@@ -713,6 +715,7 @@
% \begin{macrocode}
\begingroup
\catcode`\'=\active
+\catcode`\_=\active
\@firstofone{\endgroup
\def\bm@general#1#2#3#4#5{%
\begingroup
@@ -764,8 +767,13 @@
% |'| is locally active for this definition.
% \changes{v1.0d}{1997/11/15}
% {prime code added}
+% \changes{v1.0d}{1997/11/15}
+% {prime code added}
+% \changes{v1.2d}{2019/07/24}
+% {guard against active underscore}
% \begin{macrocode}
\let\bm@prime\copy
+ \let_\relax
\def'{\bm@prime\prime\relax}%
% \end{macrocode}
% For optional argument commands. This expandable version of