summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-xfakebold.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-xfakebold.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-xfakebold.sty13
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-xfakebold.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-xfakebold.sty
index e5cec3ffaa4..64ca7a92dbc 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-xfakebold.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-xfakebold.sty
@@ -15,14 +15,15 @@
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
-\LWR@ProvidesPackagePass{xfakebold}[2018/07/25]
-\let\LWR@orig@setBold\setBold
-\let\LWR@orig@unsetBold\unsetBold
-\renewcommand*{\setBold}{\booltrue{LWR@xfakebold}}
-\renewcommand*{\unsetBold}{\boolfalse{LWR@xfakebold}}
+\LWR@ProvidesPackagePass{xfakebold}[2020/06/24]
+\newcommand*{\LWR@HTML@setBold}{\booltrue{LWR@xfakebold}}
+\LWR@formatted{setBold}
+
+\newcommand*{\LWR@HTML@unsetBold}{\boolfalse{LWR@xfakebold}}
+\LWR@formatted{unsetBold}
\renewcommand*{\LWR@applyxfakebold}{%
- \ifbool{LWR@xfakebold}{\LWR@orig@setBold}{\LWR@orig@unsetBold}%
+ \ifbool{LWR@xfakebold}{\LWR@print@setBold}{\LWR@print@unsetBold}%
}
\begin{warpMathJax}
\CustomizeMathJax{\newcommand{\setBold}[1][]{}}