| 1 |
% multicol.4ht (2022-04-29-14:33), generated from tex4ht-4ht.tex |
| 2 |
% Copyright 1997-2009 Eitan M. Gurari |
| 3 |
% Copyright 2009-2022 TeX Users Group |
| 4 |
% |
| 5 |
% This work may be distributed and/or modified under the |
| 6 |
% conditions of the LaTeX Project Public License, either |
| 7 |
% version 1.3c of this license or (at your option) any |
| 8 |
% later version. The latest version of this license is in |
| 9 |
% http://www.latex-project.org/lppl.txt |
| 10 |
% and version 1.3c or later is part of all distributions |
| 11 |
% of LaTeX version 2005/12/01 or later. |
| 12 |
% |
| 13 |
% This work has the LPPL maintenance status "maintained". |
| 14 |
% |
| 15 |
% The Current Maintainer of this work |
| 16 |
% is the TeX4ht Project <http://tug.org/tex4ht>. |
| 17 |
% |
| 18 |
% If you modify this program, changing the |
| 19 |
% version identification would be appreciated. |
| 20 |
\immediate\write-1{version 2022-04-29-14:33} |
| 21 |
|
| 22 |
|
| 23 |
\append:def\set@floatcmds{\let\end@dblfloat\end@float} |
| 24 |
\def\slocitlum#1{\let\endslocitlum\empty |
| 25 |
\end{slocitlum}} |
| 26 |
\def\mcolnum{1} |
| 27 |
\def\multicols#1{% |
| 28 |
\bgroup \par \col@number=#1 |
| 29 |
\def\mcolnum{#1} |
| 30 |
\@ifnextchar[{\mult@cols}{\mult@cols[]}%] |
| 31 |
} |
| 32 |
|
| 33 |
\def\mult@@cols#1[#2]{#1\ignorespaces\mult:cols} |
| 34 |
\def\endmulticols{\egroup\par } |
| 35 |
|
| 36 |
\def\columnbreak{\a:columnbreak} |
| 37 |
\NewConfigure{columnbreak}{1} |
| 38 |
\Configure{columnbreak}{auto} |
| 39 |
|
| 40 |
% break-before, break-after, break-inside |
| 41 |
%----------------------------------------- |
| 42 |
% auto always avoid left right page column avoid-page |
| 43 |
% avoid-column |
| 44 |
|
| 45 |
\def\columngap{\a:columngap} |
| 46 |
\NewConfigure{columngap}{1} |
| 47 |
\Configure{columngap}{\the\columnsep} |
| 48 |
|
| 49 |
% dimen normal (1em) |
| 50 |
|
| 51 |
\def\columnrulewidth{\a:columnrulewidth} |
| 52 |
\NewConfigure{columnrulewidth}{1} |
| 53 |
\Configure{columnrulewidth}{\the\columnseprule} |
| 54 |
|
| 55 |
% thin medium thick dimen |
| 56 |
|
| 57 |
\def\columnrulecolor{\a:columnrulecolor} |
| 58 |
\NewConfigure{columnrulecolor}{1} |
| 59 |
\Configure{columnrulecolor}{\#555} |
| 60 |
|
| 61 |
% legal color |
| 62 |
|
| 63 |
\def\columnrulestyle{\a:columnrulestyle} |
| 64 |
\NewConfigure{columnrulestyle}{1} |
| 65 |
\Configure{columnrulestyle}{outset} |
| 66 |
|
| 67 |
% none |
| 68 |
% No border. |
| 69 |
% *hidden |
| 70 |
% Same as 'none', but in the collapsing border model, also inhibits |
| 71 |
% any other border (see the section on border conflicts). |
| 72 |
% dotted |
| 73 |
% The border is a series of dots. |
| 74 |
% dashed |
| 75 |
% The border is a series of short line segments. |
| 76 |
% solid |
| 77 |
% The border is a single line segment. |
| 78 |
% double |
| 79 |
% The border is two solid lines. The sum of the two lines and the |
| 80 |
% space between them equals the value of 'border-width'. |
| 81 |
% groove |
| 82 |
% The border looks as though it were carved into the canvas. |
| 83 |
% ridge |
| 84 |
% The opposite of 'groove': the border looks as though it were |
| 85 |
% coming out of the canvas. |
| 86 |
% *inset |
| 87 |
% In the separated borders model, the border makes the entire box |
| 88 |
% look as though it were embedded in the canvas. In the collapsing |
| 89 |
% border model, drawn the same as 'ridge'. |
| 90 |
% *outset |
| 91 |
% In the separated borders model, the border makes the entire box |
| 92 |
% look as though it were coming out of the canvas. In the collapsing |
| 93 |
% border model, drawn the same as 'groove'. |
| 94 |
|
| 95 |
\def\columnspan{\a:columnspan} |
| 96 |
\NewConfigure{columnspan}{1} |
| 97 |
\Configure{columnspan}{none} |
| 98 |
|
| 99 |
% none all |
| 100 |
|
| 101 |
\def\columnfill{\a:columnfill} |
| 102 |
\NewConfigure{columnfill}{1} |
| 103 |
\Configure{columnfill}{balance} |
| 104 |
|
| 105 |
% auto balance |
| 106 |
|
| 107 |
\NewConfigure{multicols}{1} |
| 108 |
\Configure{multicols}{columns} |
| 109 |
|
| 110 |
% CSS needs to be written for every column count |
| 111 |
\NewConfigure{multicolscss}{1} |
| 112 |
\def\:wr:mcol:css{\a:multicolscss } |
| 113 |
|
| 114 |
% this configuration should configure HTML code inserted for multicols environment |
| 115 |
\NewConfigure{multicolscolumn}{2} |
| 116 |
|
| 117 |
\def\mult:cols{\a:multicolscolumn% |
| 118 |
\expandafter\ifx\csname .\a:multicols-\mcolnum\endcsname\relax% |
| 119 |
\:wr:mcol:css |
| 120 |
\expandafter\gdef\csname .\a:multicols-\mcolnum\endcsname{1}% |
| 121 |
\fi\ShowPar\par} |
| 122 |
\append:def\endmulticols{\b:multicolscolumn} |
| 123 |
|
| 124 |
\Hinput{multicol} |
| 125 |
\endinput |
| 126 |
|