diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/docbook.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/docbook.4ht | 73 |
1 files changed, 68 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/docbook.4ht b/Master/texmf-dist/tex/generic/tex4ht/docbook.4ht index b5eb664e642..7302889ac5e 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/docbook.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/docbook.4ht @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% docbook.4ht 2008-02-22-10:03 % +% docbook.4ht 2008-06-26-10:51 % % Copyright (C) 2000--2008 Eitan M. Gurari % % % % This work may be distributed and/or modified under the % @@ -24,7 +24,7 @@ % gurari@cse.ohio-state.edu % % http://www.cse.ohio-state.edu/~gurari % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2008-02-22-10:03} +\immediate\write-1{version 2008-06-26-10:51} \exit:ifnot{Preamble,% algorithmic,% @@ -47,6 +47,7 @@ jurabib,% latex,% listings,% llncs,% +longtable,% makeidx,% multind,% multirow,% @@ -56,6 +57,7 @@ prosper,% report,% scrbook,% splitidx,% +subeqnarray,% tex4ht,% texinfo} @@ -129,6 +131,7 @@ texinfo} \Configure{Link}{anchor}{linkend=}{id=}{} +\newif\ifHCond \Configure{Picture+}{}{} \Configure{Picture*}{}{} \Configure{IMG} @@ -473,6 +476,7 @@ texinfo} {<entry rowsep="1"\Hnewline></entry>} {</row>} \Configure{putHBorder}{\HCode{\HBorder}} +\HAssign\Next:TableNo=0 \global\let\TableNo=\Next:TableNo \Configure{hline}{\ifx \ar:cnt\:UnDef\else \o:noalign:{\append:def\hline:s{\a:HBorder}% \def\:tempb{\ifnum \tmp:cnt<\ar:cnt @@ -2446,6 +2450,13 @@ texinfo} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\:temp{{\protect\AmSfont AMS}} \HLet\AmS\:temp +\ConfigureEnv{subequations} + {\ifvmode \IgnorePar\fi \EndP + \HCode{<blockquote role="subequations">}% + } + {\ifvmode \IgnorePar\fi\EndP \HCode{</blockquote>}\par + \ShowPar} + {}{} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2636,6 +2647,7 @@ texinfo} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{array} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2684,6 +2696,7 @@ texinfo} {<entry rowsep="1"\Hnewline></entry>} {</row>} \Configure{putHBorder}{\HCode{\HBorder}} +\HAssign\Next:TableNo=0 \global\let\TableNo=\Next:TableNo \Configure{hline}{\ifx \ar:cnt\:UnDef\else \o:noalign:{\append:def\hline:s{\a:HBorder}% \def\:tempb{\ifnum \tmp:cnt<\ar:cnt @@ -2702,6 +2715,40 @@ texinfo} \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{longtable} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \Configure{longtable} + {\IgnorePar\EndP + \HCode{<informaltable}\halignTB{longtable}% + \HCode{><tgroup cols="\ar:cnt"><tbody>}} + {\HCode{</tbody></tgroup></informaltable>}\ShowPar} + {\HCode{<row \Hnewline}\halignTR\HCode{>}} + {\r:HA} + {\HCode{<entry}% + \halignTD + \ifnum \HMultispan>1 + \tmp:cnt=\HCol \advance\tmp:cnt by \HMultispan + \advance\tmp:cnt by -1 + \HCode{ namest="\HCol" nameend="\the\tmp:cnt"}\fi + \HCode{\Hnewline role="td}% + \HCode{">}\SaveEndP +% + \par \ShowPar +\PushStack\Table:Stck\TableNo} + {\PopStack\Table:Stck\TableNo \IgnorePar \EndP +\d:HA} +\Configure{halignTB<>}{longtable}{\HCode{role="longtable"\Hnewline + }<>\HAlign} +\Configure{longtableparbox}{\IgnorePar\leavevmode\ShowPar\par} +\def\r:HA{\HCode{</row>}} +\def\d:HA{\ifvmode \IgnorePar \fi \EndP\HCode{</entry>}\RecallEndP +} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2791,7 +2838,6 @@ texinfo} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{index} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2974,8 +3020,6 @@ texinfo} - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{dcolumn} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -4127,6 +4171,23 @@ texinfo} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{subeqnarray} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureEnv{subeqnarray} + {\ifvmode \IgnorePar\fi \EndP + \HCode{<blockquote role="subeqnarray">}} + {\ifvmode \IgnorePar\fi \EndP \HCode{</blockquote>}} + {}{} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + @@ -4186,6 +4247,7 @@ texinfo} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{listings} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -4299,5 +4361,6 @@ texinfo} + \endinput |