summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp.sty29
1 files changed, 18 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
index a373b87d3c8..50306247b96 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}
- [2021/06/29 v0.899 Allows LaTeX to directly produce HTML5 output.]
+ [2021/07/17 v0.900 Allows LaTeX to directly produce HTML5 output.]
@@ -4762,7 +4762,7 @@ MathJax = {
-- Copyright 2016-2021 Brian Dunn
-printversion = "v0.899"
+printversion = "v0.900"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
@@ -4852,7 +4852,7 @@ if ( usinglwarp == false ) then
print ("lwarpmk: \\usepackage{lwarp} was not detected.")
print ("lwarpmk: The HTML output will not be correct.")
print ("lwarpmk: Ensured that \\usepackage{lwarp} is enabled,")
- print ("lwarpmk: then lwarpmk print and lwarpmk HTML again.")
+ print ("lwarpmk: then lwarpmk print and lwarpmk html again.")
print ("lwarpmk: ===")
end
end -- function
@@ -7894,11 +7894,11 @@ end -- not --version
\begingroup%
\LWR@nullfonts%
\edef\theHTMLSection{#1}%
-\StrSubstitute{\theHTMLSection}{\protect}{\detokenize{-}}[\theHTMLSection]
-\StrSubstitute{\theHTMLSection}{\detokenize{-----}}{\detokenize{-}}[\theHTMLSection]
-\StrSubstitute{\theHTMLSection}{\detokenize{----}}{\detokenize{-}}[\theHTMLSection]
-\StrSubstitute{\theHTMLSection}{\detokenize{---}}{\detokenize{-}}[\theHTMLSection]
-\StrSubstitute{\theHTMLSection}{\detokenize{--}}{\detokenize{-}}[\theHTMLSection]
+\StrSubstitute{\theHTMLSection}{\protect}{\detokenize{-}}[\theHTMLSection]%
+\StrSubstitute{\theHTMLSection}{\detokenize{-----}}{\detokenize{-}}[\theHTMLSection]%
+\StrSubstitute{\theHTMLSection}{\detokenize{----}}{\detokenize{-}}[\theHTMLSection]%
+\StrSubstitute{\theHTMLSection}{\detokenize{---}}{\detokenize{-}}[\theHTMLSection]%
+\StrSubstitute{\theHTMLSection}{\detokenize{--}}{\detokenize{-}}[\theHTMLSection]%
\IfBeginWith{\theHTMLSection}{\detokenize{-}}{%
\StrGobbleLeft{\theHTMLSection}{1}[\theHTMLSection]%
}{}%
@@ -7982,8 +7982,8 @@ end -- not --version
{}%
\LWR@htmltag{/head}\LWR@orignewline
\LWR@htmltag{body}\LWR@orignewline
-\endgroup
-\LWR@traceinfo{LWR@filestart: done}
+\endgroup%
+\LWR@traceinfo{LWR@filestart: done}%
}
\end{warpHTML}
@@ -8022,7 +8022,7 @@ end -- not --version
\mainmatter
\LWR@origpagenumbering{arabic}
\LWR@traceinfo{LWR@lwarpStart: Starting new file.}
-\LWR@filestart
+\LWR@filestart%
\begingroup%
\LWR@nullfonts%
\LWR@htmlblockcomment{%
@@ -12444,6 +12444,13 @@ end -- not --version
{%
\LWR@print@ttfamily%
\textbackslash{}begin\{#1\}
+ \ifboolexpr{
+ test {\ifstrequal{#1}{alignat}} or
+ test {\ifstrequal{#1}{alignat*}} or
+ test {\ifstrequal{#1}{alignat+}}
+ }%
+ {\{\arabic{LWR@maxfields@}\}}%
+ {}%
\LWR@orignewline%
\LWR@HTMLsanitizeexpand{\detokenize\expandafter{#2}}%
\LWR@orignewline%