summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-html4.tex
diff options
context:
space:
mode:
Diffstat (limited to 'support/TeX4ht/source/tex4ht-html4.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-html4.tex33
1 files changed, 31 insertions, 2 deletions
diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex
index 72577ab696..d21364326d 100644
--- a/support/TeX4ht/source/tex4ht-html4.tex
+++ b/support/TeX4ht/source/tex4ht-html4.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1121 2022-04-28 13:36:29Z michal_h21 $
+% $Id: tex4ht-html4.tex 1124 2022-04-29 15:04:44Z michal_h21 $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
@@ -15672,6 +15672,35 @@ IE doesn't distinguish between upper and lower case characters in css
\<configure html4 multicol\><<<
\HAssign\MultiCols=0
\ConfigureEnv{multicols}{}{}{}{}
+
+\Configure{multicolscolumn}
+{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="\a:multicols-\mcolnum">}}
+{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}}
+
+\Configure{multicolscss}{%
+ \Css{.\a:multicols-\mcolnum\space :first-child { margin-top: 0em; }}%
+ \Css{.\a:multicols-\mcolnum {%
+ -moz-column-count:\mcolnum;
+ -webkit-column-count:\mcolnum;
+ column-count:\mcolnum;
+ -moz-column-gap: \a:columngap;
+ -webkit-column-gap: \a:columngap;
+ column-gap: \a:columngap;
+ -moz-column-rule-width: \a:columnrulewidth;
+ -webkit-column-rule-width: \a:columnrulewidth;
+ column-rule-rule-width: \a:columnrulewidth;
+ -moz-column-rule-color: \a:columnrulecolor;
+ -webkit-column-rule-color: \a:columnrulecolor;
+ column-rule-color: \a:columnrulecolor;
+ -moz-column-rule-style: \a:columnrulestyle;
+ -webkit-column-rule-style: \a:columnrulestyle;
+ column-rule-style: \a:columnrulestyle;
+ -moz-column-fill: \a:columnfill;
+ -webkit-column-fill: \a:columnfill;
+ column-fill: \a:columnfill;
+ }%
+ }%
+}
% {\par\IgnorePar\EndP
% \gHAdvance\MultiCols by 1\relax
% \HCode{<table class="multicols"
@@ -16534,7 +16563,7 @@ Blue = 1-minimum(1,Yellow *(1-Black)+Black)
{\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
class="enumerate-enumitem">}\bgroup \bf}
{\egroup\EndP\HCode{</dt><dd\Hnewline class="enumerate-enumitem">}}
-\Css{dl.enumerate-enumitem{display:grid; grid-template-columns: 3ch 1fr;}}
+\Css{dl.enumerate-enumitem{display:grid; grid-template-columns: 3ch 1fr; align-items: top; row-gap:1ch;}}
>>>