summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-10-15 22:01:30 +0000
committerKarl Berry <karl@freefriends.org>2019-10-15 22:01:30 +0000
commit4fca0de8cc619b33b6a1d40f927d983d76c38180 (patch)
tree873ffec6a99d250b09f5017304767c54abd587b1 /Master/texmf-dist/tex/latex/lwarp
parent4ab7c4b3024e55e4d2e4957de12dafca5f45ad02 (diff)
lwarp (15oct19)
git-svn-id: svn://tug.org/texlive/trunk@52399 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-acro.sty2
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty3
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-chemformula.sty35
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp.sty4
4 files changed, 39 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-acro.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-acro.sty
index 78bdd718e25..7e98b432441 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-acro.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-acro.sty
@@ -16,7 +16,7 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
-\LWR@ProvidesPackagePass{acro}[2017/01/30]
+\LWR@ProvidesPackagePass{acro}[2019/10/12]
\ExplSyntaxOn
\NewDocumentCommand \LWR@DeclareAcronym {mm}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty
index 5fd24cf4a2e..fc373075106 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty
@@ -23,7 +23,8 @@
\LetLtxMacro\morecmidrules\relax
\LetLtxMacro\specialrule\relax
-\LWR@ProvidesPackagePass{booktabs}[2016/04/27]
+\LWR@ProvidesPackagePass{booktabs}[2019/10/08]
+\LetLtxMacro\@BLTrule\@BTnormal
\DeclareDocumentCommand{\LWR@HTML@toprule}{o d()}%
{%
\IfValueTF{#1}%
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-chemformula.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-chemformula.sty
index 45a741ddfde..5ec58b4b30a 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-chemformula.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-chemformula.sty
@@ -16,7 +16,7 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
-\LWR@ProvidesPackagePass{chemformula}[2017/03/23]
+\LWR@ProvidesPackagePass{chemformula}[2019/10/13]
\ExplSyntaxOn
\RenewDocumentCommand \ch { O{}m }
@@ -39,6 +39,38 @@
\endgroup%
}
}
+\@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%
@@ -66,6 +98,7 @@
}
\endgroup
}
+}% earlier than 2019/10/13
\RenewDocumentCommand \charrow { mO{}O{} }
{
\begin{lateximage}[-chemformula- charrow]
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
index 6062aacc60e..4dd876182ec 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
@@ -17,7 +17,7 @@
%% version 2005/12/01 or later.
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{lwarp}
- [2019/10/08 v0.76 Allows LaTeX to directly produce HTML5 output.]
+ [2019/10/15 v0.77 Allows LaTeX to directly produce HTML5 output.]
@@ -4088,7 +4088,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 ()