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.sty187
1 files changed, 125 insertions, 62 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
index bd8ecd191dd..44c58f4f4a8 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp.sty
@@ -6,7 +6,7 @@
%%
%% lwarp.dtx (with options: `package')
%% This is a generated file.
-%% Copyright 2016-2017 Brian Dunn
+%% Copyright 2016-2018 Brian Dunn
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -17,7 +17,7 @@
%% version 2005/12/01 or later.
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{lwarp}
- [2018/01/23 v0.46 Allows LaTeX to directly produce HTML5 output.]
+ [2018/01/30 v0.47 Allows LaTeX to directly produce HTML5 output.]
@@ -51,6 +51,8 @@
\newcommand*\LWR@providelength[1]{%
\ifdeflength{#1}{}{\newlength{#1}}%
}
+\newcommand*{\LWR@convertto}[2]{\strip@pt\dimexpr #2*65536/\number\dimexpr 1#1}
+
\RequirePackage{etoolbox}[2011/01/03]% v2.6 for \BeforeBeginEnvironment, etc.
\RequirePackage{xpatch}
@@ -226,12 +228,14 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{balance}
\LWR@loadafter{bigdelim}
\LWR@loadafter{bigstrut}
+\LWR@loadafter{blowup}
\LWR@loadafter{bookmark}
\LWR@notmemoirloadafter{booktabs}
\LWR@loadafter{boxedminipage}
\LWR@loadafter{boxedminipage2e}
\LWR@loadafter{breakurl}
\LWR@loadafter{cancel}
+\LWR@loadafter{caption}
\LWR@notmemoirloadafter{ccaption}
\LWR@loadafter{changebar}
\LWR@notmemoirloadafter{changepage}
@@ -251,6 +255,7 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{ellipsis}
\LWR@loadafter{emptypage}
\LWR@loadafter{endfloat}
+\LWR@loadafter{endheads}
\LWR@loadafter{endnotes}
\LWR@notmemoirloadafter{enumerate}
\LWR@loadafter{enumitem}
@@ -319,6 +324,7 @@ For a possible alternative, see package(s) #2.}
\LWR@notmemoirloadafter{moreverb}
\LWR@notmemoirloadafter{mparhack}
\LWR@loadafter{multirow}
+\LWR@loadafter{multitoc}
\LWR@loadafter{nameref}
\LWR@loadafter{natbib}
\LWR@notmemoirloadafter{needspace}
@@ -355,6 +361,7 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{scrlayer-notecolumn}
\LWR@loadafter{scrlayer-scrpage}
\LWR@loadafter{section}
+\LWR@loadafter{sectionbreak}
\LWR@loadafter{sectsty}
\LWR@notmemoirloadafter{setspace}
\LWR@loadafter{shadow}
@@ -403,6 +410,7 @@ For a possible alternative, see package(s) #2.}
\LWR@loadafter{xltxtra}
\LWR@loadafter{xmpincl}
\LWR@loadafter{xtab}
+\LWR@loadafter{xurl}
\LWR@loadafter{zwpagelayout}
@@ -507,8 +515,6 @@ top=1in,bottom=1in,%
\RequirePackage{newfloat}
-\RequirePackage{caption}
-
\end{warpHTML}
@@ -541,9 +547,7 @@ top=1in,bottom=1in,%
}
\newcommand*{\LWR@lookforpackagename}[1]{%
\LWR@findword{\LWR@requirepackagenames}{#1}[\LWR@strresult]%
-\LWR@traceinfo{LWR@lookforpackagename with blanks: !\LWR@strresult!}%
\StrSubstitute[100]{\LWR@strresult}{ }{}[\LWR@strresulttwo]%
-\LWR@traceinfo{LWR@lookforpackagename without blanks: !\LWR@strresulttwo!}%
\IfStrEq{\LWR@strresulttwo}{}%
{}% no filename
{% yes filename
@@ -612,6 +616,13 @@ top=1in,bottom=1in,%
\end{warpHTML}
+\begin{warpHTML}
+
+\RequirePackage{caption}%
+
+\end{warpHTML}
+
+
\begin{warpall}
@@ -629,9 +640,9 @@ top=1in,bottom=1in,%
\begin{warpHTML}
\def\@include#1 {%
-\immediate\openout\LWR@quickfile #1_html_inc.tex% new
-\immediate\write\LWR@quickfile{\string\input{#1.tex}}% new
-\immediate\closeout\LWR@quickfile% new
+\immediate\openout\LWR@quickfile #1_html_inc.tex% lwarp
+\immediate\write\LWR@quickfile{\string\input{#1.tex}}% lwarp
+\immediate\closeout\LWR@quickfile% lwarp
\LWR@origclearpage% \changed
\if@filesw
\immediate\write\@mainaux{\string\@input{#1_html_inc.aux}}% changed
@@ -2401,6 +2412,8 @@ div.minipage {
border-radius: 1ex ;
}
+div.framebox div.minipage {border:none ; background:none}
+
section.textbody > div.minipage {
box-shadow: 3px 3px 3px #808080 ;
}
@@ -2847,7 +2860,7 @@ src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-
-- Print the usage of the lwarpmk command:
-printversion = "v0.46"
+printversion = "v0.47"
function printhelp ()
print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ;
@@ -3123,7 +3136,7 @@ err = os.execute(
lwimgpage .. " " .. sourcename .."_html.pdf lateximagetemp-%d.pdf")
-- Crop the image:
err = os.execute(
-"pdfcrop --hires lateximagetemp-" .. lwimgpage ..".pdf lateximage-" .. lwimgnum ..".pdf")
+"pdfcrop lateximagetemp-" .. lwimgpage ..".pdf lateximage-" .. lwimgnum ..".pdf")
if ( err ~= 0 ) then print ( "lwarpmk: File error.") ; os.exit(1) ; end
-- Convert the image to svg:
err = os.execute(
@@ -3831,7 +3844,7 @@ end -- not --version
\begingroup%
\LWR@FBcancel%
\ifmmode\else\protect\LWR@origttfamily\fi%
-\LWR@origtextless{}!{-}{-}%
+\mbox{\LWR@origtextless{}!{-}{-}}%
\endgroup%
}%
}
@@ -3841,7 +3854,7 @@ end -- not --version
\begingroup%
\LWR@FBcancel%
\ifmmode\else\protect\LWR@origttfamily\fi%
-{-}{-}\LWR@origtextgreater{}%
+\mbox{{-}{-}\LWR@origtextgreater}%
\endgroup%
}%
}
@@ -3953,7 +3966,7 @@ end -- not --version
\addtocounter{LWR@thisautoidWP}{1}%
\LWR@htmltag{%
div class="#3" %
- id="autoidWP-\arabic{LWR@thisautoidWP}"%
+ id="\mbox{autoidWP-\arabic{LWR@thisautoidWP}}"%
\ifblank{#1}{}{ style="#1"}%
}%
}% FormatWP
@@ -4534,7 +4547,7 @@ end -- not --version
}
\newcommand*{\LWR@createautosec}[1]{%
-\LWR@htmltag{#1 id="autosec-\arabic{page}"}%
+\LWR@htmltag{#1 id="\mbox{autosec-\arabic{page}}"}%
}
\NewDocumentCommand{\LWR@pushoneclose}{m m}{%
@@ -4916,6 +4929,8 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}%
\LWR@htmltag{section class="textbody"}
\LWR@patchlists
\catcode`\$=\active
+\immediate\write\@mainaux{\catcode`\string$\active}%
+\LetLtxMacro\LWR@syntaxhighlightone$% balance for editor syntax highlighting
\LWR@startpars
\LWR@traceinfo{LWR@lwarpStart: done}
}
@@ -5315,7 +5330,8 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}%
\begin{warpHTML}
\newcommand*{\LWR@printcloselist}{\LWR@printcloseitemize}
-\newcommand*{\LWR@printopenlist}{ul style="list-style-type:none"}
+
+\newcommand*{\LWR@printopenlist}{ul style="\mbox{list-style-type:none}"}
\def\@mklab#1{%
@@ -5398,7 +5414,7 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}%
\newcommand*{\LWR@itemizestart}{%
\renewcommand*{\LWR@printcloselist}{\LWR@printcloseitemize}
-\renewcommand*{\LWR@printopenlist}{ul style="list-style-type:none"}
+\renewcommand*{\LWR@printopenlist}{ul style="\mbox{list-style-type:none}"}
\let\item\LWR@itemizeitem%
}
@@ -5406,7 +5422,7 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}%
\newcommand*{\LWR@enumeratestart}{%
\renewcommand*{\LWR@printcloselist}{\LWR@printcloseitemize}
-\renewcommand*{\LWR@printopenlist}{ul style="list-style-type:none"}
+\renewcommand*{\LWR@printopenlist}{ul style="\mbox{list-style-type:none}"}
\let\item\LWR@itemizeitem%
}
@@ -6036,6 +6052,7 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}%
\newlength{\LWR@templengthone}%
\newlength{\LWR@templengthtwo}%
+\newlength{\LWR@templengththree}%
\newboolean{LWR@tdhavecellstyle}
@@ -6100,7 +6117,7 @@ link rel="stylesheet" type="text/css" href="\LWR@currentcss" /}%
\newcommand*{\LWR@WPcell}[2]{%
\LWR@tdaddstyle%
-text-align:#1; vertical-align:#2%
+\mbox{text-align:#1}; \mbox{vertical-align:#2}%
}
\newcommand*{\LWR@addformatwpalignment}[1]{%
@@ -6226,8 +6243,8 @@ text-align:#1; vertical-align:#2%
\IfValueT{#2}{ % rows?
rowspan="#2" %
\IfValueT{#1}{% vpos?
-\ifstrequal{#1}{b}{style="vertical-align:bottom" }{}%
-\ifstrequal{#1}{t}{style="vertical-align:top" }{}%
+\ifstrequal{#1}{b}{style="\mbox{vertical-align:bottom}" }{}%
+\ifstrequal{#1}{t}{style="\mbox{vertical-align:top}" }{}%
}% vpos?
}% rows?
class="td%
@@ -6713,16 +6730,16 @@ rowspan="#2" %
{% pars allowed
\ifbool{LWR@doingapar}%
{% par started
- \LWR@htmltag{a id="\LWR@sanitized"}\LWR@htmltag{/a}%
+ \LWR@htmltag{a \mbox{id="\LWR@sanitized"}}\LWR@htmltag{/a}%
}% par started
{% par not started
\LWR@stoppars%
- \LWR@htmltag{a id="\LWR@sanitized"}\LWR@htmltag{/a}%
+ \LWR@htmltag{a \mbox{id="\LWR@sanitized"}}\LWR@htmltag{/a}%
\LWR@startpars%
}% par not started
}% pars allowed
{% pars not allowed
- \LWR@htmltag{a id="\LWR@sanitized"}\LWR@htmltag{/a}%
+ \LWR@htmltag{a \mbox{id="\LWR@sanitized"}}\LWR@htmltag{/a}%
}% pars not allowed
}% not lateximage
}
@@ -6746,7 +6763,7 @@ rowspan="#2" %
\LWR@traceinfo{LWR@startref A: !#1!}%
\LWR@htmltag{a href="%
\LWR@traceinfo{LWR@startref B}%
-\LWR@htmlrefsectionfilename{#1}%
+\mbox{\LWR@htmlrefsectionfilename{#1}}%
\LWR@traceinfo{LWR@startref C}%
\#%
\LWR@traceinfo{LWR@startref D: !#1!}%
@@ -6764,7 +6781,7 @@ rowspan="#2" %
}%
{%
\LWR@traceinfo{LWR@startref D3}%
- \LWR@sanitized%
+ \mbox{\LWR@sanitized}%
}%
}%
\LWR@traceinfo{LWR@startref E}%
@@ -6793,14 +6810,14 @@ rowspan="#2" %
{(\cpageref{#2})}%
}
-\DeclareRobustCommand*{\nameref}[1]{%
-\LWR@traceinfo{nameref A}%
+\newrobustcmd*{\nameref}[1]{%
+\LWR@traceinfo{nameref}%
\LWR@startref{#1}%
\LWR@traceinfo{nameref B}%
\LWR@nameref{#1}%
\LWR@traceinfo{nameref C}%
\LWR@htmltag{/a}%
-\LWR@traceinfo{nameref D}%
+\LWR@traceinfo{nameref: done}%
}
\LetLtxMacro\Nameref\nameref
@@ -6880,7 +6897,7 @@ autopage-\theLWR@currentautosec%
\booltrue{LWR@freezethisautoid}%
\begingroup%
\LWR@origraggedright%
-\LWR@htmltag{figure id="autoid-\arabic{LWR@thisautoid}" class="#1"}%
+\LWR@htmltag{figure id="\mbox{autoid-\arabic{LWR@thisautoid}}" class="#1"}%
\ifbool{FormatWP}{%
\LWR@orignewline%
\LWR@BlockClassWP{}{}{wp#1}%
@@ -6923,7 +6940,7 @@ autopage-\theLWR@currentautosec%
\newcommand*{\LWR@newautoidanchor}{%
\ifbool{LWR@freezethisautoid}{}{%
\addtocounter{LWR@thisautoid}{1}%
- \LWR@htmltag{a id="autoid-\arabic{LWR@thisautoid}"}\LWR@htmltag{/a}%
+ \LWR@htmltag{a id="\mbox{autoid-\arabic{LWR@thisautoid}}"}\LWR@htmltag{/a}%
}%
}
@@ -6932,7 +6949,12 @@ autopage-\theLWR@currentautosec%
\AtBeginDocument{\providecommand*{\CaptionSeparator}{:~}}
-\AtBeginDocument{\renewcommand{\@makecaption}[2]{#1\CaptionSeparator#2}}
+\AtBeginDocument{\renewcommand{\@makecaption}[2]{%
+ \LWR@traceinfo{@makecaption}%
+ #1\CaptionSeparator#2%
+ \LWR@traceinfo{@makecaption: done}%
+}%
+}
\newcounter{LWR@nextautoid}
@@ -6947,22 +6969,26 @@ autopage-\theLWR@currentautosec%
\newenvironment*{LWR@figcaption}
{%
+\LWR@traceinfo{LWR@figcaption env start}%
\LWR@htmlblocktag{figcaption}
\ifbool{FormatWP}{%
\begin{BlockClass}[font-style:italic]{italic}
\LWR@origvspace*{\baselineskip}
}{}%
+\LWR@traceinfo{LWR@figcaption env start: done}%
}
{%
+\LWR@traceinfo{LWR@figcaption env end}%
\ifbool{FormatWP}{\end{BlockClass}}{}%
\LWR@htmlblocktag{/figcaption}%
+\LWR@traceinfo{LWR@figcaption env end: done}%
}
\let\LWR@origcaption@begin\caption@begin
\let\LWR@origcaption@end\caption@end
\let\LWR@orig@@par\@@par
-\newcommand{\LWR@caption@begin}
+\newcommand{\LWR@caption@begin}[1]
{
\LWR@traceinfo{LWR@caption@begin}%
\begingroup%
@@ -6970,11 +6996,14 @@ autopage-\theLWR@currentautosec%
\RenewDocumentEnvironment{minipage}{O{t} o O{t} m}{}{}%
\RenewDocumentCommand{\parbox}{O{t} o O{t} m +m}{##5}%
\LWR@figcaption%
-\LWR@origcaption@begin%
+\LWR@traceinfo{LWR@caption@begin: about to LWR@origcaption@begin}%
+\LWR@origcaption@begin{#1}%
+\LWR@traceinfo{LWR@caption@begin: done}%
}
\newcommand{\LWR@caption@end}
{%
+\LWR@traceinfo{LWR@caption@end}%
\LWR@origcaption@end%
\LWR@origvspace*{\baselineskip}%
\endLWR@figcaption%
@@ -6996,7 +7025,7 @@ autopage-\theLWR@currentautosec%
\def\LWR@LTcaptionlistentry{%
\LWR@ensuredoingapar%
-\LWR@htmltag{a id="autoid-\arabic{LWR@thisautoid}"}\LWR@htmltag{/a}%
+\LWR@htmltag{a id="\mbox{autoid-\arabic{LWR@thisautoid}}"}\LWR@htmltag{/a}%
\bgroup
\@ifstar{\egroup\LWR@LT@captionlistentry}% gobble *
{\egroup\LWR@LT@captionlistentry}}%
@@ -7168,7 +7197,7 @@ autopage-\theLWR@currentautosec%
\ifthenelse{\cnttest{#1}{<=}{\value{tocdepth}}}{%
\LWR@startpars%
\LWR@subhyperrefclass{%
- \LWR@htmlrefsectionfilename{autopage-#4}\#autosec-#4%
+ \LWR@htmlrefsectionfilename{autopage-#4}\#\mbox{autosec-#4}%
}{#3}{toc#2}%
\LWR@stoppars%
}
@@ -7197,7 +7226,7 @@ autopage-\theLWR@currentautosec%
\LWR@startpars%
\LWR@subhyperrefclass{%
\LWR@htmlrefsectionfilename{autopage-\arabic{LWR@nextautopage}}%
- \#autoid-\arabic{LWR@nextautoid}}%
+ \#\mbox{autoid-\arabic{LWR@nextautoid}}}%
{#4}{toc#2}%
\LWR@stoppars%
}{}%
@@ -7439,30 +7468,64 @@ autopage-\theLWR@currentautosec%
}% not mathjax
}%
+\newlength{\LWR@singledollarwidth}
+\newlength{\LWR@singledollarheight}
+\newlength{\LWR@singledollardepth}
+
\protected\gdef\LWR@subsingledollar#1{%
+\begingroup%
+\normalsize%
\ifboolexpr{bool{mathjax} or ( bool{FormatWP} and bool{WPMarkMath} ) }%
{%
- {\textbackslash(\LWR@HTMLsanitize{#1}\textbackslash)}%
+ {\textbackslash(\LWR@HTMLsanitize{#1}\textbackslash)}%
}% mathjax
{% not mathjax
- \begin{lateximage}%
- [\textbackslash( \LWR@HTMLsanitize{#1} \textbackslash)]%
+ \LWR@restoreorigformatting%
+ \LWR@orignormalsize%
+ \global\setlength{\LWR@singledollardepth}{\depthof{%
\LWR@origdollar#1\LWR@origdollar%
- \end{lateximage}%
+ }*\real{.8}}%
+ \global\setlength{\LWR@singledollarwidth}{\widthof{%
+ \LWR@origdollar#1\LWR@origdollar%
+ }*\real{.8}}%
+ \global\setlength{\LWR@singledollarheight}{\totalheightof{%
+ \LWR@origdollar#1\LWR@origdollar%
+ }*\real{.8}}%
+ \def\LWR@singledollarstyle{%
+ height:\LWR@convertto{em}{\the\LWR@singledollarheight }em%
+ }%
+ \ifdimless{\LWR@singledollarheight}{.3em}%
+ {%
+ \def\LWR@singledollarstyle{%
+ width:\LWR@convertto{em}{\the\LWR@singledollarwidth} em%
+ }%
+ }%
+ {}%
+ \ifdimgreater{\LWR@singledollardepth}{0.01em}{%
+ \def\LWR@singledollardepthstyle{%
+ \ ; \mbox{vertical-align:-\LWR@convertto{em}{\the\LWR@singledollardepth} em} %
+ }%
+ }{%
+ \def\LWR@singledollardepthstyle{}%
+ }%
+ \begin{lateximage}%
+ [\textbackslash( \LWR@HTMLsanitize{#1} \textbackslash)]%
+ [\LWR@singledollarstyle \LWR@singledollardepthstyle]%
+ \LWR@origdollar#1\LWR@origdollar%
+ \end{lateximage}%
}%
+\endgroup%
}
\protected\gdef\LWR@singledollar#1${%
\LWR@subsingledollar{#1}%
}
-\protected\gdef\(#1\){%
-$#1$}
+\protected\gdef\(#1\){$#1$}
\protected\gdef\[#1\]{$$#1$$}
\endgroup
-
\LetLtxMacro\LWR@origensuredmath\@ensuredmath
\renewcommand{\@ensuredmath}[1]{%
@@ -7978,7 +8041,7 @@ $#1$}
\catcode`\$=\active%
-\NewDocumentEnvironment{lateximage}{O{image}}
+\NewDocumentEnvironment{lateximage}{O{image}O{}}
{%
\LWR@traceinfo{lateximage: starting on \jobname.pdf page \arabic{page}}%
\ifthenelse{\cnttest{\value{LWR@lateximagedepth}}{>}{0}}%
@@ -8000,7 +8063,7 @@ $#1$}
\setcounterpageref{LWR@LIpage}{LWRlateximage\arabic{LWR@lateximagenumber}}%
\LWR@traceinfo{lateximage: LWR@LIpage is \arabic{LWR@LIpage}}%
\LWR@htmltag{span id="lateximage\arabic{LWR@lateximagenumber}" %
- class="lateximagesource"} \LWR@orignewline
+ class="lateximagesource"}%
\LWR@traceinfo{lateximage: about to write to lateximages.txt}%
\immediate\write\LWR@lateximagesfile{|\arabic{LWR@LIpage}|\arabic{LWR@externalfilecnt}|}%
\LWR@traceinfo{lateximage: about to create open comment}%
@@ -8037,10 +8100,10 @@ $#1$}
\LWR@orignewpage%
\LWR@origscriptsize%
\LWR@origvspace*{.5\baselineskip}%
- \LWR@htmlclosecomment{}\LWR@orignewline%
+ \LWR@htmlclosecomment%
\LWR@traceinfo{lateximage: The page after the image is \arabic{page}}%
\LWR@subinlineimage[#1]{lateximage}%
- {lateximages\OSPathSymbol{}lateximage-\theLWR@externalfilecnt}{svg}{}%
+ {lateximages\OSPathSymbol{}\mbox{lateximage-\theLWR@externalfilecnt}}{svg}{#2}%
\LWR@ensuredoingapar%
\LWR@htmltag{/span}%
\ifbool{HTMLDebugComments}{%
@@ -8054,7 +8117,7 @@ $#1$}
\end{warpHTML}
\begin{warpprint}
-\newenvironment{lateximage}[1][]{}{}
+\NewDocumentEnvironment{lateximage}{O{image}O{}}{}{}
\end{warpprint}
@@ -8064,7 +8127,7 @@ $#1$}
{
\LWR@forcenewpage
\ifbool{FormatWP}
-{\BlockClass[text-align:center]{center}}
+{\BlockClass[\mbox{text-align:center}]{center}}
{\BlockClass{center}}
}
{\endBlockClass}
@@ -8073,7 +8136,7 @@ $#1$}
{
\LWR@forcenewpage
\ifbool{FormatWP}
-{\BlockClass[text-align:right]{flushright}}
+{\BlockClass[\mbox{text-align:right}]{flushright}}
{\BlockClass{flushright}}
}
{\endBlockClass}
@@ -8082,7 +8145,7 @@ $#1$}
{
\LWR@forcenewpage
\ifbool{FormatWP}
-{\BlockClass[text-align:left]{flushleft}}
+{\BlockClass[\mbox{text-align:left}]{flushleft}}
{\BlockClass{flushleft}}
}
{\endBlockClass}
@@ -8324,18 +8387,18 @@ $#1$}
\ifbool{FormatWP}{%
\addtocounter{LWR@thisautoidWP}{1}%
-\LWR@htmltag{div id="autoidWP-\arabic{LWR@thisautoidWP}" class="wpminipage"}%
+\LWR@htmltag{div id="\mbox{autoidWP-\arabic{LWR@thisautoidWP}}" class="wpminipage"}%
}{}%
\LWR@traceinfo{minipage: creating div class}%
\LWR@htmltag{div class="minipage" style="%
-\ifthenelse{\equal{#1}{t}}{vertical-align:bottom ; }{}%
-\ifthenelse{\equal{#1}{c}}{vertical-align:middle ; }{}%
-\ifthenelse{\equal{#1}{b}}{vertical-align:top ; }{}%
-\ifthenelse{\equal{#3}{t}}{justify-content:flex-start ; }{}%
-\ifthenelse{\equal{#3}{c}}{justify-content:center ; }{}%
-\ifthenelse{\equal{#3}{b}}{justify-content:flex-end ; }{}%
-\ifthenelse{\equal{#3}{s}}{justify-content:space-between ; }{}%
+\ifthenelse{\equal{#1}{t}}{\mbox{vertical-align:bottom} ; }{}%
+\ifthenelse{\equal{#1}{c}}{\mbox{vertical-align:middle} ; }{}%
+\ifthenelse{\equal{#1}{b}}{\mbox{vertical-align:top} ; }{}%
+\ifthenelse{\equal{#3}{t}}{\mbox{justify-content:flex-start} ; }{}%
+\ifthenelse{\equal{#3}{c}}{\mbox{justify-content:center} ; }{}%
+\ifthenelse{\equal{#3}{b}}{\mbox{justify-content:flex-end} ; }{}%
+\ifthenelse{\equal{#3}{s}}{\mbox{justify-content:space-between} ; }{}%
\LWR@traceinfo{minipage: about to print the width of \rndprintlength{\LWR@minipagewidth}}%
\uselengthunit{PT}%
\ifbool{LWR@minipagefullwidth}%
@@ -8407,8 +8470,8 @@ $#1$}
\setlength{\LWR@tempwidth}{#2}%
\uselengthunit{PT}%
\InlineClass[%
- display:inline-block ; %
- text-align:\LWR@align\ ; %
+ \mbox{display:inline-block} ; %
+ \mbox{text-align}:\LWR@align\ ; %
width:\rndprintlength{\LWR@tempwidth}%
]%
{makebox}%