diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/html4.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/html4.4ht | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht index 10d40601a01..ec7d0a22de0 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht @@ -1,4 +1,4 @@ -% html4.4ht (2019-03-13-15:05), generated from tex4ht-html4.tex +% html4.4ht (2019-03-25-13:44), generated from tex4ht-html4.tex % Copyright 2009-2019 TeX Users Group % Copyright 1997-2009 Eitan M. Gurari % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2019-03-13-15:05} +\immediate\write-1{version 2019-03-25-13:44} \exit:ifnot{8859-6,% CJK,% @@ -3236,23 +3236,26 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% \fi \let\^^_\v \Configure{marginpar} - {\ifvmode - \IgnorePar\EndP\HCode{<div class="marginpar">}% + {% + \def\marginpar:class{marginpar}% + \if@reversemargin\def\marginpar:class{reversemarginpar}\fi% + \ifvmode\IgnorePar\EndP\HCode{<div class="\marginpar:class">}% \def\end:margp{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}% \par \else \SaveEndP - \HCode{<span class="marginpar">}% + \HCode{<span class="\marginpar:class">}% \bgroup \Configure{HtmlPar}{\HCode{<br />}}{\HCode{<br />}}{}{}% \def\end:margp{\egroup\HCode{</span>}\RecallEndP}% \fi } {\end:margp} -\Css{.marginpar {width:20\%; float:right; text-align:left; +\Css{.marginpar,.reversemarginpar {width:20\%; float:right; text-align:left; margin-left:auto; margin-top:0.5em; font-size:85\%; text-decoration:underline;}} -\Css{.marginpar p{margin-top:0.4em; margin-bottom:0.4em;}} +\Css{.marginpar p,.reversemarginpar p{margin-top:0.4em; margin-bottom:0.4em;}} +\Css{.reversemarginpar{float:left;}} \:CheckOption{fonts} \if:Option \Configure{textbf}{\Protect\HCode{<span class="textbf">}\NoFonts} {\EndNoFonts\Protect\HCode{</span>}} |