diff options
author | Karl Berry <karl@freefriends.org> | 2008-05-10 00:31:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-05-10 00:31:48 +0000 |
commit | 3affd633834494c279f96078e95831935ea51ca7 (patch) | |
tree | d18cbef6ade390df34099bff78c593f00e9d7971 /Master/texmf-dist/tex/generic/tex4ht/docbook.4ht | |
parent | 78d169458ffb8d121d56a1345471b5dbe3f17a2a (diff) |
tex4ht-1.0.2008_05_07_2048
git-svn-id: svn://tug.org/texlive/trunk@8000 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/docbook.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/docbook.4ht | 678 |
1 files changed, 589 insertions, 89 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/docbook.4ht b/Master/texmf-dist/tex/generic/tex4ht/docbook.4ht index 28ae1b46f1f..b5eb664e642 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/docbook.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/docbook.4ht @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% docbook.4ht 2007-01-03-22:30 % -% Copyright (C) 2000--2007 Eitan M. Gurari % +% docbook.4ht 2008-02-22-10:03 % +% Copyright (C) 2000--2008 Eitan M. Gurari % % % % This work may be distributed and/or modified under the % % conditions of the LaTeX Project Public License, either % @@ -24,7 +24,7 @@ % gurari@cse.ohio-state.edu % % http://www.cse.ohio-state.edu/~gurari % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2007-01-03-22:30} +\immediate\write-1{version 2008-02-22-10:03} \exit:ifnot{Preamble,% algorithmic,% @@ -42,11 +42,13 @@ dcolumn,% fancyvrb,% fontmath,% graphics,% +index,% jurabib,% latex,% listings,% llncs,% makeidx,% +multind,% multirow,% pgf,% plain,% @@ -320,6 +322,31 @@ texinfo} \no:dupl{#1}{\expand:after{\input hebtex.4ht}}\fi \fi} {hebtex} +\Configure{InsertTitle}{\let\label=\lb:l + \let\ref=\o:ref \Configure{ref}{}{}{}} +\Configure{AfterTitle}{\let\index=\:index + \let\ref=\:ref \let\label=\lb:l } +\Configure{NoSection} + {\let\sv:index=\index \let\sv:label=\label + \let\sv:newline=\newline \def\newline{ }% + \let\sv:setfontsize=\@setfontsize \let\@setfontsize=\:gobbleIII + \let\index=\@gobble \let\label=\@gobble + \let\sva:rEfLiNK=\a:rEfLiNK +\let\svb:rEfLiNK=\b:rEfLiNK +\let\svc:rEfLiNK=\c:rEfLiNK +\expandafter\let\expandafter\svC:rEfLiNK\c:rEfLiNK +\Configure{ref}{}{}{}% \let\sv:ref=\ref \let\ref=\@gobble +% + } + {\let\index=\sv:index \let\label=\sv:label + \let\a:rEfLiNK=\sva:rEfLiNK +\let\b:rEfLiNK=\svb:rEfLiNK +\let\c:rEfLiNK=\svc:rEfLiNK +\expandafter\let\c:rEfLiNK\svC:rEfLiNK % \let\ref\sv:ref +% + \let\newline=\sv:newline \let\@setfontsize=\sv:setfontsize + } + \ConfigureEnv{center} {\EndP}{\par \ShowPar} {}{} \ConfigureList{center} @@ -434,6 +461,29 @@ texinfo} {} \Configure{hline}{} \Configure{//[]}{} +\Configure{HBorder} + {<row\Hnewline role="hline">} + {<entry rowsep="1"></entry>} + {</row>} + {<row\Hnewline role="cline">} + {<entry rowsep="0"></entry>} + {<entry rowsep="1"></entry>} + {</row>} + {<row\Hnewline role="vspace">} + {<entry rowsep="1"\Hnewline></entry>} + {</row>} +\Configure{putHBorder}{\HCode{\HBorder}} +\Configure{hline}{\ifx \ar:cnt\:UnDef\else + \o:noalign:{\append:def\hline:s{\a:HBorder}% +\def\:tempb{\ifnum \tmp:cnt<\ar:cnt + \advance\tmp:cnt by 1 \append:def\hline:s{\b:HBorder}% + \expandafter\:tempb + \fi }% +\tmp:cnt=0 \:tempb +\append:def\hline:s{\c:HBorder}\global\let\hline:s=\hline:s +}% + \expandafter\ignoreEndTr + \fi} \Configure{ref}{\refLink}{\EndLink}{} \def\refLink#1#2#3\EndLink{ @@ -444,7 +494,7 @@ texinfo} \else \Link{#1}{#2}\expandafter\ifx \csname RefArg\endcsname\relax\else \Tg<!--ref: \RefArg-->\fi\EndLink \fi} -\Configure{newline}{\HCode{<!--br/-->}} +\Configure{newline}{\HCode{<!--br\Hnewline/-->}} \Configure{newtheorem} {\IgnorePar\EndP\HCode{<blockquote role="newtheorem"><title>}} {\HCode{</title>}\ShowPar\par} @@ -560,22 +610,6 @@ texinfo} {\HCode{</emphasis>}\egroup \RecallEndP } \Configure{idxmake}{\Beforeentry} -\def\:temp{\HCode{<indexterm role="printindex" />}} -\HLet\printindex\:temp -\let\db:index=\index -\def\index{\bgroup - \HRestore\printindex - \def\gobble##1{}% - \gHAdvance\index:N by 1 - \leavevmode \let\par=\empty - \printindex - \egroup \db:index} -\def\comNum#1{\tmp:cnt=} -\def\brange#1{\HCode{<remark role="start">}\Link{to-#1}{from-#1}\EndLink - \HCode{</remark>}} -\def\erange#1{\HCode{<remark role="to">}\Link{from-#1}{to-#1}\EndLink - \HCode{</remark>}} -\HAssign\index:N = 0 \Configure{textcircled} {\@use@text@encoding \@curr@enc c} {\leavevmode \special{t4ht@+\string&\#x00A9;}c} @@ -616,7 +650,24 @@ texinfo} {\HCode{\Hnewline<tocentry role="lotToc">}} {\ }{} {\HCode{</tocentry>}} -\Configure{theindex} +\def\DB:index#1\indNum#2{% + \ifnum #2=\index:N + \let\DB:index=\relax #1\long\def\item##1\end{\end}% + \else \expandafter\gob:item \fi +} +\long\def\gob:item#1\item{\DB:index} +\let\indNum=\:gobble +\HAssign\index:N = 0 +\def\comNum#1{\tmp:cnt=} +\let\db:index=\index +\def\index{% + \immediate\openin15=\jobname.ind + \ifeof15 \else + \immediate\closein15 + \bgroup + \def\gobble##1{}% + \gHAdvance\index:N by 1 + \Configure{theindex} {\let\end:theidx=\empty \HCode{<indexterm>}} {\HCode{</indexterm>}} {\HCode{<primary>}% @@ -651,13 +702,16 @@ texinfo} }% } {} -\def\DB:index#1\indNum#2{% - \ifnum #2=\index:N - \let\DB:index=\relax #1\long\def\item##1\end{\end}% - \else \expandafter\gob:item \fi -} -\long\def\gob:item#1\item{\DB:index} -\let\indNum=\:gobble +% + \leavevmode \let\par=\empty + \input{\jobname.ind}% + \egroup + \fi + \db:index} +\Configure{theindex} + {\special{t4ht@[}} + {\special{t4ht@]}} + {}{}{}{}{}{}{} \def\:gobbleM#1->{} @@ -666,9 +720,9 @@ texinfo} \Hnewline by TeX4ht (http://www.cse.ohio-state.edu/\string ~gurari/TeX4ht/) \expandafter\:gobbleM\meaning\Preamble\space-->\Hnewline} -\:CheckOption{-xttl} \if:Option - \Log:Note{Use the `-xttl' command line option to - avoid xttl post processing} +\:CheckOption{-xtpipes} \if:Option + \Log:Note{Use the `-xtpipes' command line option to + avoid xtpipes post processing} \else \HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline} \fi @@ -906,7 +960,24 @@ texinfo} {\HCode{\Hnewline<tocentry role="lotToc">}} {\ }{} {\HCode{</tocentry>}} -\Configure{theindex} +\def\DB:index#1\indNum#2{% + \ifnum #2=\index:N + \let\DB:index=\relax #1\long\def\item##1\end{\end}% + \else \expandafter\gob:item \fi +} +\long\def\gob:item#1\item{\DB:index} +\let\indNum=\:gobble +\HAssign\index:N = 0 +\def\comNum#1{\tmp:cnt=} +\let\db:index=\index +\def\index{% + \immediate\openin15=\jobname.ind + \ifeof15 \else + \immediate\closein15 + \bgroup + \def\gobble##1{}% + \gHAdvance\index:N by 1 + \Configure{theindex} {\let\end:theidx=\empty \HCode{<indexterm>}} {\HCode{</indexterm>}} {\HCode{<primary>}% @@ -941,13 +1012,16 @@ texinfo} }% } {} -\def\DB:index#1\indNum#2{% - \ifnum #2=\index:N - \let\DB:index=\relax #1\long\def\item##1\end{\end}% - \else \expandafter\gob:item \fi -} -\long\def\gob:item#1\item{\DB:index} -\let\indNum=\:gobble +% + \leavevmode \let\par=\empty + \input{\jobname.ind}% + \egroup + \fi + \db:index} +\Configure{theindex} + {\special{t4ht@[}} + {\special{t4ht@]}} + {}{}{}{}{}{}{} \def\:gobbleM#1->{} @@ -956,9 +1030,9 @@ texinfo} \Hnewline by TeX4ht (http://www.cse.ohio-state.edu/\string ~gurari/TeX4ht/) \expandafter\:gobbleM\meaning\Preamble\space-->\Hnewline} -\:CheckOption{-xttl} \if:Option - \Log:Note{Use the `-xttl' command line option to - avoid xttl post processing} +\:CheckOption{-xtpipes} \if:Option + \Log:Note{Use the `-xtpipes' command line option to + avoid xtpipes post processing} \else \HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline} \fi @@ -1203,7 +1277,24 @@ texinfo} {\HCode{\Hnewline<tocentry role="lotToc">}} {\ }{} {\HCode{</tocentry>}} -\Configure{theindex} +\def\DB:index#1\indNum#2{% + \ifnum #2=\index:N + \let\DB:index=\relax #1\long\def\item##1\end{\end}% + \else \expandafter\gob:item \fi +} +\long\def\gob:item#1\item{\DB:index} +\let\indNum=\:gobble +\HAssign\index:N = 0 +\def\comNum#1{\tmp:cnt=} +\let\db:index=\index +\def\index{% + \immediate\openin15=\jobname.ind + \ifeof15 \else + \immediate\closein15 + \bgroup + \def\gobble##1{}% + \gHAdvance\index:N by 1 + \Configure{theindex} {\let\end:theidx=\empty \HCode{<indexterm>}} {\HCode{</indexterm>}} {\HCode{<primary>}% @@ -1238,13 +1329,16 @@ texinfo} }% } {} -\def\DB:index#1\indNum#2{% - \ifnum #2=\index:N - \let\DB:index=\relax #1\long\def\item##1\end{\end}% - \else \expandafter\gob:item \fi -} -\long\def\gob:item#1\item{\DB:index} -\let\indNum=\:gobble +% + \leavevmode \let\par=\empty + \input{\jobname.ind}% + \egroup + \fi + \db:index} +\Configure{theindex} + {\special{t4ht@[}} + {\special{t4ht@]}} + {}{}{}{}{}{}{} \def\:gobbleM#1->{} \Configure{BODY} @@ -1252,9 +1346,9 @@ texinfo} \Hnewline by TeX4ht (http://www.cse.ohio-state.edu/\string ~gurari/TeX4ht/) \expandafter\:gobbleM\meaning\Preamble\space-->\Hnewline} -\:CheckOption{-xttl} \if:Option - \Log:Note{Use the `-xttl' command line option to - avoid xttl post processing} +\:CheckOption{-xtpipes} \if:Option + \Log:Note{Use the `-xtpipes' command line option to + avoid xtpipes post processing} \else \HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline} \fi @@ -1514,7 +1608,6 @@ texinfo} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsart} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1524,9 +1617,9 @@ texinfo} \Hnewline by TeX4ht (http://www.cse.ohio-state.edu/\string ~gurari/TeX4ht/) \expandafter\:gobbleM\meaning\Preamble\space-->\Hnewline} -\:CheckOption{-xttl} \if:Option - \Log:Note{Use the `-xttl' command line option to - avoid xttl post processing} +\:CheckOption{-xtpipes} \if:Option + \Log:Note{Use the `-xtpipes' command line option to + avoid xtpipes post processing} \else \HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline} \fi @@ -1622,6 +1715,60 @@ texinfo} \HCode{</para><!--urladdr-title--><para role="urladdr">}} {\HCode{</para><!--urladdr-->}} +\def\:temp{\HCode{<indexterm role="printindex" />}} +\HLet\printindex\:temp +\expandafter\ifx \csname db:index\endcsname\realx + \let\db:index=\index +\fi +\def\index{\bgroup + \HRestore\printindex + \def\gobble##1{}% + \gHAdvance\index:N by 1 + \Configure{theindex} + {\let\end:theidx=\empty \HCode{<indexterm>}} + {\HCode{</indexterm>}} + {\HCode{<primary>}% +% + \def\end:cur{\HCode{</primary>}\hfil\break +\let\end:cur=\empty}% + \DB:index + } + {\end:cur \let\chain:subitem=\empty} + {\chain:subitem \HCode{<secondary>}% +% + \def\end:cur{\HCode{</secondary>}\hfil\break +\let\end:cur=\empty}% + } + {\end:cur \def\chain:subitem{% + \HCode{<primary>}% +\HCode{</primary>}\hfil\break +}% + \let\chain:subsubitem=\empty + } + {\chain:subsubitem\HCode{<tertiary>}% +% + \def\end:cur{\HCode{</tertiary>}\hfil\break +\let\end:cur=\empty}% + } + {\end:cur \def\chain:subsubitem{% + \HCode{<primary>}% +\HCode{</primary>}\hfil\break +% + \HCode{<secondary>}% +\HCode{</secondary>}\hfil\break +}% + } + {} +% + \leavevmode \let\par=\empty + \printindex + \egroup \db:index} +\def\comNum#1{\tmp:cnt=} +\def\brange#1{\HCode{<remark role="start">}\Link{to-#1}{from-#1}\EndLink + \HCode{</remark>}} +\def\erange#1{\HCode{<remark role="to">}\Link{from-#1}{to-#1}\EndLink + \HCode{</remark>}} + \ifx \deferred@thm@head\:UnDef\else \Configure{proof} {\IgnorePar\EndP\HCode{<blockquote role="proof"><title>}\IgnorePar} @@ -1733,6 +1880,7 @@ texinfo} \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsbook} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1742,9 +1890,9 @@ texinfo} \Hnewline by TeX4ht (http://www.cse.ohio-state.edu/\string ~gurari/TeX4ht/) \expandafter\:gobbleM\meaning\Preamble\space-->\Hnewline} -\:CheckOption{-xttl} \if:Option - \Log:Note{Use the `-xttl' command line option to - avoid xttl post processing} +\:CheckOption{-xtpipes} \if:Option + \Log:Note{Use the `-xtpipes' command line option to + avoid xtpipes post processing} \else \HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline} \fi @@ -1840,6 +1988,60 @@ texinfo} \HCode{</para><!--urladdr-title--><para role="urladdr">}} {\HCode{</para><!--urladdr-->}} +\def\:temp{\HCode{<indexterm role="printindex" />}} +\HLet\printindex\:temp +\expandafter\ifx \csname db:index\endcsname\realx + \let\db:index=\index +\fi +\def\index{\bgroup + \HRestore\printindex + \def\gobble##1{}% + \gHAdvance\index:N by 1 + \Configure{theindex} + {\let\end:theidx=\empty \HCode{<indexterm>}} + {\HCode{</indexterm>}} + {\HCode{<primary>}% +% + \def\end:cur{\HCode{</primary>}\hfil\break +\let\end:cur=\empty}% + \DB:index + } + {\end:cur \let\chain:subitem=\empty} + {\chain:subitem \HCode{<secondary>}% +% + \def\end:cur{\HCode{</secondary>}\hfil\break +\let\end:cur=\empty}% + } + {\end:cur \def\chain:subitem{% + \HCode{<primary>}% +\HCode{</primary>}\hfil\break +}% + \let\chain:subsubitem=\empty + } + {\chain:subsubitem\HCode{<tertiary>}% +% + \def\end:cur{\HCode{</tertiary>}\hfil\break +\let\end:cur=\empty}% + } + {\end:cur \def\chain:subsubitem{% + \HCode{<primary>}% +\HCode{</primary>}\hfil\break +% + \HCode{<secondary>}% +\HCode{</secondary>}\hfil\break +}% + } + {} +% + \leavevmode \let\par=\empty + \printindex + \egroup \db:index} +\def\comNum#1{\tmp:cnt=} +\def\brange#1{\HCode{<remark role="start">}\Link{to-#1}{from-#1}\EndLink + \HCode{</remark>}} +\def\erange#1{\HCode{<remark role="to">}\Link{from-#1}{to-#1}\EndLink + \HCode{</remark>}} + \ifx \deferred@thm@head\:UnDef\else \Configure{proof} {\IgnorePar\EndP\HCode{<blockquote role="proof"><title>}\IgnorePar} @@ -1951,7 +2153,6 @@ texinfo} \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsproc} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1961,9 +2162,9 @@ texinfo} \Hnewline by TeX4ht (http://www.cse.ohio-state.edu/\string ~gurari/TeX4ht/) \expandafter\:gobbleM\meaning\Preamble\space-->\Hnewline} -\:CheckOption{-xttl} \if:Option - \Log:Note{Use the `-xttl' command line option to - avoid xttl post processing} +\:CheckOption{-xtpipes} \if:Option + \Log:Note{Use the `-xtpipes' command line option to + avoid xtpipes post processing} \else \HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline} \fi @@ -2059,6 +2260,60 @@ texinfo} \HCode{</para><!--urladdr-title--><para role="urladdr">}} {\HCode{</para><!--urladdr-->}} +\def\:temp{\HCode{<indexterm role="printindex" />}} +\HLet\printindex\:temp +\expandafter\ifx \csname db:index\endcsname\realx + \let\db:index=\index +\fi +\def\index{\bgroup + \HRestore\printindex + \def\gobble##1{}% + \gHAdvance\index:N by 1 + \Configure{theindex} + {\let\end:theidx=\empty \HCode{<indexterm>}} + {\HCode{</indexterm>}} + {\HCode{<primary>}% +% + \def\end:cur{\HCode{</primary>}\hfil\break +\let\end:cur=\empty}% + \DB:index + } + {\end:cur \let\chain:subitem=\empty} + {\chain:subitem \HCode{<secondary>}% +% + \def\end:cur{\HCode{</secondary>}\hfil\break +\let\end:cur=\empty}% + } + {\end:cur \def\chain:subitem{% + \HCode{<primary>}% +\HCode{</primary>}\hfil\break +}% + \let\chain:subsubitem=\empty + } + {\chain:subsubitem\HCode{<tertiary>}% +% + \def\end:cur{\HCode{</tertiary>}\hfil\break +\let\end:cur=\empty}% + } + {\end:cur \def\chain:subsubitem{% + \HCode{<primary>}% +\HCode{</primary>}\hfil\break +% + \HCode{<secondary>}% +\HCode{</secondary>}\hfil\break +}% + } + {} +% + \leavevmode \let\par=\empty + \printindex + \egroup \db:index} +\def\comNum#1{\tmp:cnt=} +\def\brange#1{\HCode{<remark role="start">}\Link{to-#1}{from-#1}\EndLink + \HCode{</remark>}} +\def\erange#1{\HCode{<remark role="to">}\Link{from-#1}{to-#1}\EndLink + \HCode{</remark>}} + \ifx \deferred@thm@head\:UnDef\else \Configure{proof} {\IgnorePar\EndP\HCode{<blockquote role="proof"><title>}\IgnorePar} @@ -2186,7 +2441,6 @@ texinfo} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsmath} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2207,6 +2461,7 @@ texinfo} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{plain} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2328,9 +2583,9 @@ texinfo} \Hnewline by TeX4ht (http://www.cse.ohio-state.edu/\string ~gurari/TeX4ht/) \expandafter\:gobbleM\meaning\Preamble\space-->\Hnewline} -\:CheckOption{-xttl} \if:Option - \Log:Note{Use the `-xttl' command line option to - avoid xttl post processing} +\:CheckOption{-xtpipes} \if:Option + \Log:Note{Use the `-xtpipes' command line option to + avoid xtpipes post processing} \else \HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline} \fi @@ -2380,6 +2635,7 @@ texinfo} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{array} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2416,6 +2672,29 @@ texinfo} {} \Configure{hline}{} \Configure{//[]}{} +\Configure{HBorder} + {<row\Hnewline role="hline">} + {<entry rowsep="1"></entry>} + {</row>} + {<row\Hnewline role="cline">} + {<entry rowsep="0"></entry>} + {<entry rowsep="1"></entry>} + {</row>} + {<row\Hnewline role="vspace">} + {<entry rowsep="1"\Hnewline></entry>} + {</row>} +\Configure{putHBorder}{\HCode{\HBorder}} +\Configure{hline}{\ifx \ar:cnt\:UnDef\else + \o:noalign:{\append:def\hline:s{\a:HBorder}% +\def\:tempb{\ifnum \tmp:cnt<\ar:cnt + \advance\tmp:cnt by 1 \append:def\hline:s{\b:HBorder}% + \expandafter\:tempb + \fi }% +\tmp:cnt=0 \:tempb +\append:def\hline:s{\c:HBorder}\global\let\hline:s=\hline:s +}% + \expandafter\ignoreEndTr + \fi} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2437,6 +2716,9 @@ texinfo} + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{fancyvrb} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2458,6 +2740,7 @@ texinfo} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{color} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2509,6 +2792,138 @@ texinfo} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{index} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \def\:temp{\HCode{<indexterm role="printindex" />}} +\HLet\printindex\:temp +\expandafter\ifx \csname db:index\endcsname\realx + \let\db:index=\index +\fi +\def\index{\bgroup + \HRestore\printindex + \def\gobble##1{}% + \gHAdvance\index:N by 1 + \Configure{theindex} + {\let\end:theidx=\empty \HCode{<indexterm>}} + {\HCode{</indexterm>}} + {\HCode{<primary>}% +% + \def\end:cur{\HCode{</primary>}\hfil\break +\let\end:cur=\empty}% + \DB:index + } + {\end:cur \let\chain:subitem=\empty} + {\chain:subitem \HCode{<secondary>}% +% + \def\end:cur{\HCode{</secondary>}\hfil\break +\let\end:cur=\empty}% + } + {\end:cur \def\chain:subitem{% + \HCode{<primary>}% +\HCode{</primary>}\hfil\break +}% + \let\chain:subsubitem=\empty + } + {\chain:subsubitem\HCode{<tertiary>}% +% + \def\end:cur{\HCode{</tertiary>}\hfil\break +\let\end:cur=\empty}% + } + {\end:cur \def\chain:subsubitem{% + \HCode{<primary>}% +\HCode{</primary>}\hfil\break +% + \HCode{<secondary>}% +\HCode{</secondary>}\hfil\break +}% + } + {} +% + \leavevmode \let\par=\empty + \printindex + \egroup \db:index} +\def\comNum#1{\tmp:cnt=} +\def\brange#1{\HCode{<remark role="start">}\Link{to-#1}{from-#1}\EndLink + \HCode{</remark>}} +\def\erange#1{\HCode{<remark role="to">}\Link{from-#1}{to-#1}\EndLink + \HCode{</remark>}} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{multind} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \def\:temp{\HCode{<indexterm role="printindex" />}} +\HLet\printindex\:temp +\expandafter\ifx \csname db:index\endcsname\realx + \let\db:index=\index +\fi +\def\index{\bgroup + \HRestore\printindex + \def\gobble##1{}% + \gHAdvance\index:N by 1 + \Configure{theindex} + {\let\end:theidx=\empty \HCode{<indexterm>}} + {\HCode{</indexterm>}} + {\HCode{<primary>}% +% + \def\end:cur{\HCode{</primary>}\hfil\break +\let\end:cur=\empty}% + \DB:index + } + {\end:cur \let\chain:subitem=\empty} + {\chain:subitem \HCode{<secondary>}% +% + \def\end:cur{\HCode{</secondary>}\hfil\break +\let\end:cur=\empty}% + } + {\end:cur \def\chain:subitem{% + \HCode{<primary>}% +\HCode{</primary>}\hfil\break +}% + \let\chain:subsubitem=\empty + } + {\chain:subsubitem\HCode{<tertiary>}% +% + \def\end:cur{\HCode{</tertiary>}\hfil\break +\let\end:cur=\empty}% + } + {\end:cur \def\chain:subsubitem{% + \HCode{<primary>}% +\HCode{</primary>}\hfil\break +% + \HCode{<secondary>}% +\HCode{</secondary>}\hfil\break +}% + } + {} +% + \leavevmode \let\par=\empty + \printindex + \egroup \db:index} +\def\comNum#1{\tmp:cnt=} +\def\brange#1{\HCode{<remark role="start">}\Link{to-#1}{from-#1}\EndLink + \HCode{</remark>}} +\def\erange#1{\HCode{<remark role="to">}\Link{from-#1}{to-#1}\EndLink + \HCode{</remark>}} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + @@ -2574,6 +2989,7 @@ texinfo} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{multirow} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2589,10 +3005,66 @@ texinfo} + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{makeidx} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \Configure{see} + \def\:temp{\HCode{<indexterm role="printindex" />}} +\HLet\printindex\:temp +\expandafter\ifx \csname db:index\endcsname\realx + \let\db:index=\index +\fi +\def\index{\bgroup + \HRestore\printindex + \def\gobble##1{}% + \gHAdvance\index:N by 1 + \Configure{theindex} + {\let\end:theidx=\empty \HCode{<indexterm>}} + {\HCode{</indexterm>}} + {\HCode{<primary>}% +% + \def\end:cur{\HCode{</primary>}\hfil\break +\let\end:cur=\empty}% + \DB:index + } + {\end:cur \let\chain:subitem=\empty} + {\chain:subitem \HCode{<secondary>}% +% + \def\end:cur{\HCode{</secondary>}\hfil\break +\let\end:cur=\empty}% + } + {\end:cur \def\chain:subitem{% + \HCode{<primary>}% +\HCode{</primary>}\hfil\break +}% + \let\chain:subsubitem=\empty + } + {\chain:subsubitem\HCode{<tertiary>}% +% + \def\end:cur{\HCode{</tertiary>}\hfil\break +\let\end:cur=\empty}% + } + {\end:cur \def\chain:subsubitem{% + \HCode{<primary>}% +\HCode{</primary>}\hfil\break +% + \HCode{<secondary>}% +\HCode{</secondary>}\hfil\break +}% + } + {} +% + \leavevmode \let\par=\empty + \printindex + \egroup \db:index} +\def\comNum#1{\tmp:cnt=} +\def\brange#1{\HCode{<remark role="start">}\Link{to-#1}{from-#1}\EndLink + \HCode{</remark>}} +\def\erange#1{\HCode{<remark role="to">}\Link{from-#1}{to-#1}\EndLink + \HCode{</remark>}} + +\Configure{see} {\csname end:cur\endcsname \HCode{<seealso role="see">}} {\HCode{</seealso>}% \futurelet\:next\remove:comma} @@ -2654,6 +3126,7 @@ texinfo} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{texinfo} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2918,7 +3391,24 @@ texinfo} {\HCode{\Hnewline<tocentry role="lotToc">}} {\ }{} {\HCode{</tocentry>}} -\Configure{theindex} +\def\DB:index#1\indNum#2{% + \ifnum #2=\index:N + \let\DB:index=\relax #1\long\def\item##1\end{\end}% + \else \expandafter\gob:item \fi +} +\long\def\gob:item#1\item{\DB:index} +\let\indNum=\:gobble +\HAssign\index:N = 0 +\def\comNum#1{\tmp:cnt=} +\let\db:index=\index +\def\index{% + \immediate\openin15=\jobname.ind + \ifeof15 \else + \immediate\closein15 + \bgroup + \def\gobble##1{}% + \gHAdvance\index:N by 1 + \Configure{theindex} {\let\end:theidx=\empty \HCode{<indexterm>}} {\HCode{</indexterm>}} {\HCode{<primary>}% @@ -2953,13 +3443,16 @@ texinfo} }% } {} -\def\DB:index#1\indNum#2{% - \ifnum #2=\index:N - \let\DB:index=\relax #1\long\def\item##1\end{\end}% - \else \expandafter\gob:item \fi -} -\long\def\gob:item#1\item{\DB:index} -\let\indNum=\:gobble +% + \leavevmode \let\par=\empty + \input{\jobname.ind}% + \egroup + \fi + \db:index} +\Configure{theindex} + {\special{t4ht@[}} + {\special{t4ht@]}} + {}{}{}{}{}{}{} \def\:gobbleM#1->{} @@ -2968,9 +3461,9 @@ texinfo} \Hnewline by TeX4ht (http://www.cse.ohio-state.edu/\string ~gurari/TeX4ht/) \expandafter\:gobbleM\meaning\Preamble\space-->\Hnewline} -\:CheckOption{-xttl} \if:Option - \Log:Note{Use the `-xttl' command line option to - avoid xttl post processing} +\:CheckOption{-xtpipes} \if:Option + \Log:Note{Use the `-xtpipes' command line option to + avoid xtpipes post processing} \else \HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline} \fi @@ -3286,6 +3779,9 @@ texinfo} + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{llncs} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3319,6 +3815,7 @@ texinfo} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{jurabib} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3338,7 +3835,6 @@ texinfo} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{prosper} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3357,7 +3853,6 @@ texinfo} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{beamer} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3367,9 +3862,9 @@ texinfo} \Hnewline by TeX4ht (http://www.cse.ohio-state.edu/\string ~gurari/TeX4ht/) \expandafter\:gobbleM\meaning\Preamble\space-->\Hnewline} -\:CheckOption{-xttl} \if:Option - \Log:Note{Use the `-xttl' command line option to - avoid xttl post processing} +\:CheckOption{-xtpipes} \if:Option + \Log:Note{Use the `-xtpipes' command line option to + avoid xtpipes post processing} \else \HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline} \fi @@ -3605,7 +4100,6 @@ texinfo} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{pgf} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3637,6 +4131,13 @@ texinfo} + + + + + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{algorithmic} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3683,6 +4184,8 @@ texinfo} + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{listings} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3796,8 +4299,5 @@ texinfo} - - - \endinput |