summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/lwarp/lwarp.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/lwarp/lwarp.dtx')
-rw-r--r--macros/latex/contrib/lwarp/lwarp.dtx69
1 files changed, 60 insertions, 9 deletions
diff --git a/macros/latex/contrib/lwarp/lwarp.dtx b/macros/latex/contrib/lwarp/lwarp.dtx
index f06f7506e0..6cc5665d1a 100644
--- a/macros/latex/contrib/lwarp/lwarp.dtx
+++ b/macros/latex/contrib/lwarp/lwarp.dtx
@@ -16,7 +16,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{lwarp}
-%<package> [2019/10/08 v0.76 Allows LaTeX to directly produce HTML5 output.]
+%<package> [2019/10/15 v0.77 Allows LaTeX to directly produce HTML5 output.]
%
%<*driver>
\documentclass{ltxdoc}
@@ -2679,7 +2679,7 @@ This boolean may be tested by the user for later use.
%<*package>
% \fi
%
-% \CheckSum{33386}
+% \CheckSum{33423}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -2798,6 +2798,7 @@ This boolean may be tested by the user for later use.
% \changes{v0.74}{2019/09/02}{\ 2019/09/02}
% \changes{v0.75}{2019/09/23}{\ 2019/09/23}
% \changes{v0.76}{2019/10/08}{\ 2019/10/08}
+% \changes{v0.77}{2019/10/15}{\ 2019/10/15}
@@ -3018,6 +3019,12 @@ This boolean may be tested by the user for later use.
%
% \begin{description}
% \needspace{2\baselineskip}
+% \item[v0.77:] Updates to fix recently-broken packages.
+% \begin{itemize}
+% \item \pkg{booktabs}: Updated to v1.6180339.
+% \item \pkg{chemformula}: Updated to v4.15.
+% \end{itemize}
+% \needspace{2\baselineskip}
% \item[v0.76:] \brand{MathJax}, updates for \LaTeX\ 2019/10 release.
% \begin{itemize}
% \item Docs: Expanded documentation regarding the use of multiple projects
@@ -3030,8 +3037,9 @@ This boolean may be tested by the user for later use.
% \item \pkg{xr-hyper}: Updated to v6.1.
% \item Verified works as-is with \pkg{xcite}.
% \item \pkg{acro}: Updated to v2.10.
-% \item Currently broken by the 2019/10 \LaTeX\ update:
+% \item Currently broken in print mode by the 2019/10 \LaTeX\ update,
% \watchout[broken]
+% and waiting for fixes:
% \pkg{breqn}, \pkg{grffile}, \pkg{multimedia}, \pkg{movie15}.
% \end{itemize}
% \needspace{2\baselineskip}
@@ -17940,7 +17948,7 @@ src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.6/MathJax.js?config=TeX-
-- Copyright 2016-2019 Brian Dunn
-printversion = "v0.76"
+printversion = "v0.77"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
@@ -37841,7 +37849,7 @@ color:\LWR@origpound\LWR@tempcolor%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{acro}[2017/01/30]
+\LWR@ProvidesPackagePass{acro}[2019/10/12]
% \end{macrocode}
@@ -40843,11 +40851,20 @@ span style="width:\LWR@printlength{\ALG@thistlm}; display:inline-block;"%
\LetLtxMacro\morecmidrules\relax
\LetLtxMacro\specialrule\relax
-\LWR@ProvidesPackagePass{booktabs}[2016/04/27]
+\LWR@ProvidesPackagePass{booktabs}[2019/10/08]
% \end{macrocode}
%
-% \changes{v0.41}{2017/10/03}{Improved rules.}
-% \changes{v0.42}{2017/10/19}{If \progcode{FormatWP} force explicit border.}
+% Adjust to work even if \pkg{xltabular} is loaded:
+% \changes{v0.77}{2019/10/15}{\pkg{booktabs}: Updated to v1.6180339.}
+% \begin{macrocode}
+% \def\LWR@HTML@@BLTrule{\@BTnormal}
+%
+% \LWR@formatted{@BLTrule}
+\LetLtxMacro\@BLTrule\@BTnormal
+% \end{macrocode}
+%
+% \changes{v0.41}{2017/10/03}{\pkg{booktabs}: Improved rules.}
+% \changes{v0.42}{2017/10/19}{\pkg{booktabs}: If \progcode{FormatWP} force explicit border.}
% \begin{macrocode}
\DeclareDocumentCommand{\LWR@HTML@toprule}{o d()}%
{%
@@ -42146,7 +42163,7 @@ s%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{chemformula}[2017/03/23]
+\LWR@ProvidesPackagePass{chemformula}[2019/10/13]
% \end{macrocode}
% \begin{macrocode}
@@ -42194,7 +42211,40 @@ s%
%
% \begin{noindmacro}{\chcpd}
% Similar to \cs{ch}.
+% \changes{v0.77}{2019/10/15}{\pkg{chemformula}: Updated to v4.15.}
% \begin{macrocode}
+\@ifpackagelater{chemformula}{2019/10/13}{
+\cs_gset_protected:Npn \chemformula_chcpd:nn #1#2
+ {
+ \begingroup%
+ \boolfalse{mathjax}%
+ \LWR@subsingledollar*{% lwarp
+ \textbackslash{}chcpd\{\LWR@HTMLsanitize{#2}\}%
+ }{%
+ \protect\LWR@HTMLsanitize{\detokenize\expandafter{#1}}%
+ }{% original
+ \group_begin:
+ \tl_if_blank:nF {#2}
+ {
+ \keys_set:nn {chemformula} {#1}
+ \__chemformula_save_catcodes:
+ \__chemformula_sanitize:Nn
+ \l__chemformula_chemformula_tmpa_tl
+ {#2}
+ \__chemformula_input_compound_no_check:NV
+ \l__chemformula_compound_tl
+ \l__chemformula_chemformula_tmpa_tl
+ \__chemformula_prepare_output:NV
+ \l__chemformula_compound_tl
+ \l__chemformula_catcodes_tl
+ \chemformula_write:V \l__chemformula_compound_tl
+ }
+ \group_end:
+ }
+ \endgroup
+ }
+}% later than 2019/10/13
+{% earlier than 2019/10/13
\cs_gset_protected:Npn \chemformula_chcpd:nn #1#2
{
\begingroup%
@@ -42222,6 +42272,7 @@ s%
}
\endgroup
}
+}% earlier than 2019/10/13
% \end{macrocode}
% \end{noindmacro}
%