summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-06-24 21:53:10 +0000
committerKarl Berry <karl@freefriends.org>2022-06-24 21:53:10 +0000
commite3b8af4eb8357fc49e9e0caef0a8c87da32e3cc1 (patch)
treeb8c62dd74ed6ccac6de446a07f2cbffe223bf237 /Master/texmf-dist/tex/latex/lwarp
parent0011b6b38cc71f0b81f926200aa8cabe84ae8371 (diff)
lwarp (24jun22)
git-svn-id: svn://tug.org/texlive/trunk@63712 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty12
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty9
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-jurabib.sty2
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty2
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-thmbox.sty2
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-todo.sty4
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-unitsdef.sty23
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp.sty167
8 files changed, 134 insertions, 87 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty
index 73eb5f67e82..8d0667dc596 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty
@@ -32,8 +32,8 @@
{\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}%
{%
\ifbool{FormatWP}%
- {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}%
- {\booltrue{LWR@doingtbrule}}%
+ {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}%
+ {\booltrue{LWR@doingtbrule}}%
}%
\LWR@getmynexttoken}
@@ -45,8 +45,8 @@
{\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}%
{%
\ifbool{FormatWP}%
- {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}%
- {\defaddtocounter{LWR@hlines}{1}}%
+ {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}%
+ {\defaddtocounter{LWR@hlines}{1}}%
}%
\LWR@getmynexttoken}
@@ -64,8 +64,8 @@
{\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}%
{%
\ifbool{FormatWP}%
- {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}%
- {\booltrue{LWR@doingtbrule}}%
+ {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}%
+ {\booltrue{LWR@doingtbrule}}%
}%
\LWR@getmynexttoken%
}%
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty
index b1e5b2fc455..bf994973736 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty
@@ -184,12 +184,11 @@
}
}
-\LetLtxMacro\LWR@chemmacros@origchemprime\chemprime
-\protected\def\chemprime { \HTMLunicode{2032} }
-
-\appto\LWR@restoreorigformatting{%
-\LetLtxMacro\chemprime\LWR@chemmacros@origchemprime%
+\hook_gput_code:nnn {begindocument/end} {chemmacros}
+{
+\protected\def\LWR@HTML@chemprime { \HTMLunicode{2032} }
+\LWR@formatted{chemprime}
}
\cs_gset_protected:Npn \__chemmacros_cip:n #1
{
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-jurabib.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-jurabib.sty
index d3b0864fc5f..90304088cba 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-jurabib.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-jurabib.sty
@@ -22,7 +22,7 @@
\renewcommand*{\jb@biblaw@item}{%
\hspace{0.5em}%
- \HTMLunicode{25B7}% lwarp
+ \HTMLunicode{25B7}% lwarp%
\hspace{0.5em}%
}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty
index a47b8aceca5..433ecf29a85 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mdframed.sty
@@ -72,7 +72,7 @@ border-radius: \LWR@mdfprintlength{roundcorner} ; \LWR@orignewline
{box-shadow: none ;}
\LWR@orignewline
\textquotedbl}
-\LWR@select@print@hspace%
+\let\hspace\LWR@print@hspace%
\renewcommand*{\rule}{\LWR@print@rule}
\LetLtxMacro\makebox\LWR@print@makebox%
\LWR@startpars%
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-thmbox.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-thmbox.sty
index bdf5f1716b1..fac0ff145bb 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-thmbox.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-thmbox.sty
@@ -32,7 +32,7 @@
\InlineClass{thmboxproofname}{\proofname\ #1\unskip\,:}
}
{%
- \qquad\HTMLunicode{220E}% end of proof symbol
+ \qquad\HTMLunicode{220E}
\end{BlockClass}
}
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-todo.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-todo.sty
index 55912477d02..6c42cafbd7f 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-todo.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-todo.sty
@@ -22,7 +22,7 @@
\renewcommand\todoitem[2]{%
\refstepcounter{todo}%
\item[%
- \HTMLunicode{2610} \quad
+ \HTMLunicode{2610} \quad%
\ref{todopage:\thetodo}
] : {\todoformat\ifx#1\todomark\else\textbf{#1} \fi}#2%
\label{todolbl:\thetodo}%
@@ -31,7 +31,7 @@
\renewcommand\doneitem[2]{%
\stepcounter{todo}%
\item[%
- \HTMLunicode{2611} \quad
+ \HTMLunicode{2611} \quad%
\ref{todopage:\thetodo}
] \@nameuse{@done\the\c@todo}:
{\todoformat\ifx#1\todomark\else\textbf{#1} \fi}#2%
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-unitsdef.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-unitsdef.sty
index f822d7e4649..7e74e7948b3 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-unitsdef.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-unitsdef.sty
@@ -17,29 +17,30 @@
%% version 2005/12/01 or later.
\LWR@ProvidesPackagePass{unitsdef}[2005/01/04]
-\renewcommand{\unitvaluesep}{\,}
+\newcommand{\LWR@HTML@unitvaluesep}{\,}
+\LWR@formatted{unitvaluesep}
-\renewcommand{\unittimes}{\@@setunitsepfalse\HTMLunicode{22c5}}% \cdot
+\newcommand{\LWR@HTML@unittimes}{\@@setunitsepfalse\HTMLunicode{22c5}}% \cdot
+\LWR@formatted{unittimes}
-\renewunit{\arcmin}{%
- \ifnumcomp{\value{LWR@lateximagedepth}}{>}{0}%
- {\ensuremath{{}^\prime}}%
- {\HTMLunicode{2032}}% prime
+\newunit{\LWR@HTML@arcmin}{%
+ \HTMLunicode{2032}% prime
}
+\LWR@formatted{arcmin}
-\renewunit{\arcsec}{%
- \ifnumcomp{\value{LWR@lateximagedepth}}{>}{0}%
- {\ensuremath{{}^{\prime\prime}}}%
- {\HTMLunicode{2033}}% dbl prime
+\newunit{\LWR@HTML@arcsec}{%
+ \HTMLunicode{2033}% dbl prime
}
+\LWR@formatted{arcsec}
-\renewrobustcmd{\SI}[2]{%
+\newrobustcmd{\LWR@HTML@SI}[2]{%
\begingroup%
\let\unit@@xspace\relax%
\unitSIdef\selectfont%
\LWR@textcurrentfont{#1#2}% lwarp
\endgroup%
}
+\LWR@formatted{SI}
\endinput
%%
%% End of file `lwarp-unitsdef.sty'.
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
index ac519c67010..d3d992c7e95 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}
- [2022/03/22 v0.905 Allows LaTeX to directly produce HTML5 output.]
+ [2022/06/23 v0.906 Allows LaTeX to directly produce HTML5 output.]
@@ -2039,12 +2039,7 @@
\chardef\LWR@origpound=`\#
\let\LWR@origcomma\,
-\let\LWR@origthinspace\thinspace
-\let\LWR@orignegthinspace\negthinspace
\let\LWR@origtilde~
-\let\LWR@origenskip\enskip
-\let\LWR@origquad\quad
-\let\LWR@origqquad\qquad
\let\LWR@orighfil\hfil
\let\LWR@orighss\hss
\let\LWR@origllap\llap
@@ -2056,9 +2051,6 @@
\let\LWR@origmedskip\medskip
\let\LWR@origbigskip\bigskip
-
-\let\LWR@origtextellipsis\textellipsis
-\let\LWR@origvdots\vdots
\LetLtxMacro\LWR@orig@@textquotedbl\textquotedbl
\LetLtxMacro\LWR@orig@textquotedbl\LWR@orig@@textquotedbl
@@ -4618,7 +4610,8 @@ page_compositor "."
\LWR@ImagesDirectory\OSPathSymbol lateximagetemp-\LWRpercent\LWRpercent d.pdf%
}
\immediate\write\LWR@quickfile{%
- pdfcrop --hires \LWR@ImagesDirectory\OSPathSymbol lateximagetemp-\LWRpercent 1.pdf %
+ pdfcrop --hires --margin \"0 1 0 0\"
+ \LWR@ImagesDirectory\OSPathSymbol lateximagetemp-\LWRpercent 1.pdf %
\LWR@ImagesDirectory\OSPathSymbol\LWRpercent 3.pdf%
}
\immediate\write\LWR@quickfile{%
@@ -4857,7 +4850,7 @@ MathJax = {
-- Copyright 2016-2022 Brian Dunn
-printversion = "v0.905"
+printversion = "v0.906"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
@@ -5370,7 +5363,7 @@ executecheckerror (
imagesdirectory .. dirslash .."lateximagetemp-%d" .. ".pdf" ..
seqname ..
-- Crop the image:
- "pdfcrop --hires " .. imagesdirectory .. dirslash .. "lateximagetemp-" ..
+ "pdfcrop --hires --margin \"0 1 0 0\" " .. imagesdirectory .. dirslash .. "lateximagetemp-" ..
lwimgpage .. ".pdf " ..
imagesdirectory .. dirslash .. lwimgname .. ".pdf" ..
seqname ..
@@ -7814,7 +7807,13 @@ end -- not --version
\begingroup%
\LWR@nullfonts%
\LWR@nullifyfootnotes%
-\LWR@htmlcomment{................................}%
+\LWR@htmlcomment{%
+ \LWR@orignewline%
+ \IfValueTF{#2}%
+ {...... #4 #2 ......}%
+ {...... #4 #3 ......}%
+ \LWR@orignewline%
+}%
\LWR@orignewline%
\ifbool{HTMLDebugComments}%
{%
@@ -8703,7 +8702,7 @@ end -- not --version
\LWR@print@scriptsize%
\LWR@restoreoriglists%
\LWR@hook@processingtags%
-\LWR@select@print@hspace%
+\let\hspace\LWR@print@hspace%
}
\newcommand*{\LWR@afterendverbatim}{%
@@ -8762,13 +8761,13 @@ end -- not --version
{%
\LWR@forcenewpage%
\LWR@atbeginverbatim{tabbing}%
- \let\enskip\LWR@origenskip%
- \let\quad\LWR@origquad%
- \let\qquad\LWR@origqquad%
+ \let\enskip\LWR@print@enskip%
+ \let\quad\LWR@print@quad%
+ \let\qquad\LWR@print@qquad%
\let~\LWR@origtilde%
\let\,\LWR@origcomma%
- \let\thinspace\LWR@origthinspace%
- \let\negthinspace\LWR@orignegthinspace%
+ \let\thinspace\LWR@print@thinspace%
+ \let\negthinspace\LWR@print@negthinspace%
\LWR@print@tabbing%
}
{%
@@ -8939,7 +8938,7 @@ end -- not --version
\LWR@orig@desc@makelabel{#1}%
\LWR@htmltag{/dt}%
}
- \LWR@select@html@nohspace%
+ \RenewDocumentCommand{\hspace}{s m}{}%
\LWR@origitem[#1]%
\endgroup%
\LWR@orignewline%
@@ -9075,6 +9074,8 @@ end -- not --version
\newbool{LWR@tabularmutemods}
+\newbool{LWR@tabularfinalrow}
+
\newbool{LWR@validtablecol}
\newbool{LWR@opttablecol}
@@ -9267,7 +9268,7 @@ end -- not --version
\defcounter{LWR@tableLaTeXcolindex}{1}%
\global\boolfalse{LWR@tabularcelladded}%
\LWR@stoppars%
- \LWR@origpar%
+ \LWR@forceemptyline%
\LWR@getmynexttoken%
}
@@ -9638,31 +9639,58 @@ end -- not --version
\ifbool{LWR@startedrow}%
{}% started the row
{% not started the row
- \booltrue{LWR@startedrow}%
- \booltrue{LWR@intabularmetadata}%
+ \ifbool{LWR@tabularfinalrow}%
+ {%
+ \renewcommand*{\LWR@tempone}%
+ { aria-hidden=\textquotedbl{}true\textquotedbl}%
+ }%
+ {%
+ \renewcommand*{\LWR@tempone}{}%
+ }%
\ifboolexpr{%
test{\ifnumcomp{\value{LWR@hlines}}{>}{0}} or%
test{\ifnumcomp{\value{LWR@hdashedlines}}{>}{0}}%
}%
{%
- \LWR@htmltag{tr class=\textquotedbl{}hline\textquotedbl }%
+ \LWR@htmltag{%
+ tr %
+ class=\textquotedbl{}hline\textquotedbl%
+ \LWR@tempone% aria-hidden
+ }%
\LWR@orignewline%
+ \booltrue{LWR@startedrow}%
+ \booltrue{LWR@intabularmetadata}%
}%
{% not doing hline
\ifbool{LWR@doingtbrule}%
{%
\ifdefvoid{\LWR@ruleHTMLcolor}{%
- \LWR@htmltag{tr class=\textquotedbl{}tbrule\textquotedbl}%
+ \LWR@htmltag{%
+ tr %
+ class=\textquotedbl{}tbrule\textquotedbl%
+ \LWR@tempone% aria-hidden
+ }%
}{%
\LWR@htmltag{%
tr class=\textquotedbl{}tbrule\textquotedbl\ % space
style=\textquotedbl{}border-top: 1px solid % space
\LWR@origpound\LWR@ruleHTMLcolor \textquotedbl{}%
+ \LWR@tempone% aria-hidden
}%
}%
\LWR@orignewline%
+ \booltrue{LWR@startedrow}%
+ \booltrue{LWR@intabularmetadata}%
+ }%
+ {%
+ \ifbool{LWR@tabularfinalrow}%
+ {}%
+ {%
+ \LWR@htmltag{tr}\LWR@orignewline%
+ \booltrue{LWR@startedrow}%
+ \booltrue{LWR@intabularmetadata}%
+ }%
}%
- {\LWR@htmltag{tr}\LWR@orignewline}%
}% end of not doing hline
}% end of not started the row
}
@@ -10463,6 +10491,7 @@ end -- not --version
\newcommand*{\ResumeTabular}{%
\boolfalse{LWR@exitingtabular}%
\boolfalse{LWR@tabularmutemods}%
+ \boolfalse{LWR@tabularfinalrow}%
\LWR@getmynexttoken%
}
@@ -10482,7 +10511,10 @@ end -- not --version
\LWR@traceinfo{LWR@tabledatacolumntag}%
\global\let\LWR@mynextaction\LWR@tabledatasinglecolumntag%
\ifdefequal{\LWR@mynexttoken}{\end}%
- {\booltrue{LWR@exitingtabular}}{}%
+ {%
+ \booltrue{LWR@tabularfinalrow}%
+ \booltrue{LWR@exitingtabular}%
+ }{}%
\ifdefequal{\LWR@mynexttoken}{\caption}%
{\global\let\LWR@mynextaction\LWR@donothing}{}%
\ifdefequal{\LWR@mynexttoken}{\multicolumn}%
@@ -10608,7 +10640,11 @@ end -- not --version
}% AtBeginDocument
\NewDocumentCommand{\LWR@HTMLcline}{m}%
- {\LWR@docmidrule{#1}\LWR@getmynexttoken}%
+{%
+ \LWR@docmidrule{#1}%
+ \LWR@maybenewtablerow%
+ \LWR@getmynexttoken%
+}%
\newcommand{\LWR@tabular@warpprintonly}[1]{%
\ifbool{warpingprint}{#1}{}%
@@ -10644,6 +10680,7 @@ end -- not --version
\LWR@nullifyNoAutoSpacing%
\boolfalse{LWR@exitingtabular}%
\boolfalse{LWR@tabularmutemods}%
+ \boolfalse{LWR@tabularfinalrow}%
\boolfalse{LWR@usedmultirow}%
\boolfalse{LWR@foundmrowcell}%
\renewcommand*{\LWR@multicoltext}{}%
@@ -10655,6 +10692,11 @@ end -- not --version
\LWR@htmlblocktag{table}%
\LWR@parsetablecols{#3}%
\LWR@stoppars%
+ \LWR@htmltag{tr style="display:none"}%
+ \LWR@htmltag{th}.\LWR@htmltag{/th}%
+ \LWR@htmltag{/tr}%
+ \LWR@orignewline%
+ \LWR@forceemptyline%
\defcounter{LWR@tableLaTeXcolindex}{1}%
\global\boolfalse{LWR@tabularcelladded}%
\LWR@clearmidrules%
@@ -10739,12 +10781,16 @@ end -- not --version
)%
}%
{%
+ \booltrue{LWR@tabularfinalrow}%
\LWR@tabularfinishrow%
+ \boolfalse{LWR@tabularfinalrow}%
}%
{%
\LWR@closetabledatacell%
}%
- \LWR@htmlblocktag{/tr}%
+ \ifbool{LWR@startedrow}%
+ {\LWR@htmltag{/tr}\LWR@orignewline}%
+ {}%
\@rowc@lors%
\LWR@htmlblocktag{/table}%
\boolfalse{LWR@intabularmetadata}%
@@ -10974,6 +11020,15 @@ end -- not --version
}
\LWR@formatted{ref}
+
+\NewDocumentCommand{\LWR@HTML@Ref}{s m}{%
+ \LWR@traceinfo{LWR@HTML@Ref !#2!}%
+ \IfBooleanTF{#1}%
+ {\LWR@print@Ref{#2}}%
+ {\LWR@subnewref{#2}{#2}}%
+}
+
+\LWR@formatted{Ref}
\NewDocumentCommand{\LWR@refwithsection}{s m}{%
\LWR@traceinfo{LWR@refwithsection !#2!}%
\IfBooleanTF{#1}%
@@ -11973,7 +12028,6 @@ end -- not --version
\renewcommand*{\LWR@formatting}{print}%
\linespread{1}%
\setbool{LWR@doingparhooks}{false}%
- \LWR@select@print@hspace%
\def\color@endgroup{\endgraf\endgroup}%
\LetLtxMacro\hfil\LWR@orighfil%
\let\hss\LWR@orighss%
@@ -11981,10 +12035,6 @@ end -- not --version
\let\rlap\LWR@origrlap%
\let\hfilneg\LWR@orighfilneg%
\let\,\LWR@origcomma% disable HTML short unbreakable space
- \let\thinspace\LWR@origthinspace% disable HTML short unbreakable space
- \let\negthinspace\LWR@orignegthinspace% disable HTML negative short unbreakable space
- \let\textellipsis\LWR@origtextellipsis%
- \let\vdots\LWR@origvdots%
\let\textless\LWR@origtextless%
\let\textgreater\LWR@origtextgreater%
\let\&\LWR@origampersand%
@@ -11994,9 +12044,6 @@ end -- not --version
\let\sb\LWR@origsb%
\LetLtxMacro\underline\LWR@origunderline%
\let~\LWR@origtilde%
- \let\enskip\LWR@origenskip%
- \let\quad\LWR@origquad%
- \let\qquad\LWR@origqquad%
\LetLtxMacro\endtabular\LWR@origendtabular%
\csletcs{endtabular*}{LWR@origendtabular*}%
\LetLtxMacro\noalign\LWR@orignoalign%
@@ -12840,6 +12887,9 @@ end -- not --version
\newcommand*{\displaymathnormal}{}
\newcommand*{\displaymathother}{}
+\newcommand*{\theMathJaxsubequations}{0}
+\newcommand*{\theMathJaxsection}{}
+\newcommand*{\theMathJaxequation}{\arabic{equation}}
\end{warpprint}
@@ -14222,13 +14272,17 @@ color:\LWR@origpound\LWR@tempcolor%
\begin{warpHTML}
-\AtBeginDocument{
-\renewrobustcmd*{\,}{\HTMLunicode{202f}} % HTML thin non-breakable space
-\renewrobustcmd*{\thinspace}{\HTMLunicode{202f}} % HTML thin non-breakable space
-\renewrobustcmd*{\negthinspace}{\HTMLunicode{202f}} % HTML thin non-breakable space
-\renewrobustcmd*{~}{\HTMLentity{nbsp}}
-\renewrobustcmd*{\textellipsis}{\HTMLunicode{2026}}
-\renewrobustcmd*{\vdots}{\HTMLunicode{22EE}}
+\AtBeginDocument{%
+\renewrobustcmd*{\,}{\HTMLunicode{202f}}% HTML thin non-breakable space, not using LWR@formatted
+\newrobustcmd*{\LWR@HTML@thinspace}{\HTMLunicode{202f}}% HTML thin non-breakable space
+\LWR@formatted{thinspace}
+\newrobustcmd*{\LWR@HTML@negthinspace}{\HTMLunicode{202f}} % HTML thin non-breakable space
+\LWR@formatted{negthinspace}
+\renewrobustcmd*{~}{\HTMLentity{nbsp}}% cannot use \LWR@formatted
+\newrobustcmd*{\LWR@HTML@textellipsis}{\HTMLunicode{2026}}
+\LWR@formatted{textellipsis}
+\newrobustcmd*{\LWR@HTML@vdots}{\HTMLunicode{22EE}}
+\LWR@formatted{vdots}
}
\newcommand*{\LWR@font@size}{normalsize}
@@ -14318,27 +14372,29 @@ color:\LWR@origpound\LWR@tempcolor%
\ifbool{LWR@minipagethispar}{\LWR@stoppars}{}%
}
-\renewrobustcmd*{\quad}{%
+\newrobustcmd*{\LWR@HTML@quad}{%
\LWR@minipagestoppars%
\HTMLunicode{2003}%
\LWR@minipagestartpars%
}
+\LWR@formatted{quad}
-\renewrobustcmd*{\qquad}{\quad\quad}
+\newrobustcmd*{\LWR@HTML@qquad}{\quad\quad}
+\LWR@formatted{qquad}
-\renewrobustcmd*{\enskip}{%
+\newrobustcmd*{\LWR@HTML@enskip}{%
\LWR@minipagestoppars%
\HTMLunicode{2002}%
\LWR@minipagestartpars%
}
+\LWR@formatted{enskip}
\newlength{\LWR@tempwidth}
\newlength{\LWR@tempheight}
\newlength{\LWR@tempraise}
-\newcommand{\LWR@select@html@hspace}{%
-\RenewDocumentCommand{\hspace}{s m}{%
-\setlength{\LWR@tempwidth}{##2}%
+\NewDocumentCommand{\LWR@HTML@hspace}{s m}{%
+\setlength{\LWR@tempwidth}{#2}%
\ifnum\gluestretchorder\LWR@tempwidth>0%
\setlength{\LWR@tempwidth}{2em}%
\fi%
@@ -14366,16 +14422,7 @@ color:\LWR@origpound\LWR@tempcolor%
\LWR@minipagestartpars%
}{}% width greater than 0
}%
-}
-\newcommand{\LWR@select@html@nohspace}{%
- \RenewDocumentCommand{\hspace}{s m}{}%
-}
-
-\newcommand*{\LWR@select@print@hspace}{%
- \renewrobustcmd\hspace{\@ifstar\@hspacer\@hspace}%
-}
-
-\LWR@select@html@hspace
+\LWR@formatted{hspace}
\NewDocumentCommand{\LWR@HTML@vspace}{s m}{}