[latex3-commits] [latex2e-public] r1339 - bm with luatex http://tex.stackexchange.com/questions/349001
noreply at latex-project.org
noreply at latex-project.org
Mon Jan 16 22:32:21 CET 2017
Author: carlisle
Date: 2017-01-16 22:32:21 +0100 (Mon, 16 Jan 2017)
New Revision: 1339
Modified:
trunk/doc/ltnews26.tex
trunk/required/tools/bm.dtx
trunk/required/tools/changes.txt
Log:
bm with luatex http://tex.stackexchange.com/questions/349001
Modified: trunk/doc/ltnews26.tex
===================================================================
--- trunk/doc/ltnews26.tex 2017-01-15 12:52:00 UTC (rev 1338)
+++ trunk/doc/ltnews26.tex 2017-01-16 21:32:21 UTC (rev 1339)
@@ -199,6 +199,7 @@
in the page head or foot and the body of the page, as reported in
\href{http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=tools/4488}{PR
tools/4488}.
+There is also an update to the \hologo{LuaTeX} support in \textsf{bm}.
\section{An addendum to the release changes in 2015}
Modified: trunk/required/tools/bm.dtx
===================================================================
--- trunk/required/tools/bm.dtx 2017-01-15 12:52:00 UTC (rev 1338)
+++ trunk/required/tools/bm.dtx 2017-01-16 21:32:21 UTC (rev 1339)
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2016
+% Copyright 1993-2017
%
% 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
+%% Copyright 1996 1997 1998 1999 2002 2003 2004 2016 2017
%% 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}
- [2016/07/07 v1.2b Bold Symbol Support (DPC/FMi)]
+ [2017/01/16 v1.2c Bold Symbol Support (DPC/FMi)]
%
% \iffalse
%<*driver>
@@ -1363,6 +1363,8 @@
% \begin{macro}{\bm at umathchar}
% \changes{v1.2a}{2016/02/27}
% {Macro added}
+% \changes{v1.2a}{2017/01/16}
+% {Test for zero table entry (\cs{boldmath}) added}
% Version of \verb|\bm at mathchar| for \verb|\Umathchar|, this is easier
% as no need to take apart the number, the match class and fam are provided
% as distinct arguments.
@@ -1370,14 +1372,17 @@
\def\bm at umathchar#1#2#3{%
\@tempcnta#2\relax
\count@\bm at table
-\ifx\count@=\m at ne
-% no bold
+\ifnum\count@=\z@
+ \bm at gr@up\boldmath{\Umathchar#1 #2 #3 }%
\else
- \advance\@tempcnta\count@
-\fi
-\bm at xadd{\Umathchar#1\space
- \the\@tempcnta\space\space
- #3\space}}
+ \ifnum\count@=\m at ne
+ \else
+ \advance\@tempcnta\count@
+ \fi
+ \bm at xadd{\Umathchar#1\space
+ \the\@tempcnta\space\space
+ #3\space}%
+\fi}
% \end{macrocode}
% \end{macro}
%
Modified: trunk/required/tools/changes.txt
===================================================================
--- trunk/required/tools/changes.txt 2017-01-15 12:52:00 UTC (rev 1338)
+++ trunk/required/tools/changes.txt 2017-01-16 21:32:21 UTC (rev 1339)
@@ -5,6 +5,11 @@
are not part of the distribution.
=======================================================================
+2017-01-16 David Carlisle <latex-bugs at latex-project.org>
+
+ * bm.dtx: further fixes to luatex code branch for
+ http://tex.stackexchange.com/questions/349001
+
2016-10-06 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
* array.dtx: Fixed a 25 year old bug that surfaced for the first time.
More information about the latex3-commits
mailing list