summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/docbook.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-20 23:02:43 +0000
committerKarl Berry <karl@freefriends.org>2009-04-20 23:02:43 +0000
commit3ea86bef2e63ca77c8fbfe4e3b4617804de11855 (patch)
tree1e0e750a74f9564e0c70869bcb018ee010518e50 /Master/texmf-dist/tex/generic/tex4ht/docbook.4ht
parentee53eac199e12fb91859fd18a43dd506ff75e3a9 (diff)
tex4ht-1.0.2009_04_18_1145
git-svn-id: svn://tug.org/texlive/trunk@12767 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.4ht299
1 files changed, 216 insertions, 83 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/docbook.4ht b/Master/texmf-dist/tex/generic/tex4ht/docbook.4ht
index 15a263a2cf1..f40bda762b8 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 2008-08-20-13:01 %
-% Copyright (C) 2000--2008 Eitan M. Gurari %
+% docbook.4ht 2009-04-13-13:09 %
+% Copyright (C) 2000--2009 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 2008-08-20-13:01}
+\immediate\write-1{version 2009-04-13-13:09}
\exit:ifnot{Preamble,%
algorithmic,%
@@ -66,6 +66,11 @@ texinfo}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Configure{ext}{xml}
\edef\Preamble{\Preamble,refcaption}
+\:CheckOption{debug-} \if:Option
+ \def\IgnoreDebug#1{}
+\else
+ \def\IgnoreDebug#1{#1}
+\fi
\Configure{PROLOG}{VERSION,DOCTYPE,*XML-STYLESHEET}
\:CheckOption{no-DOCTYPE} \if:Option
\Configure{PROLOG}{VERSION,*XML-STYLESHEET}
@@ -103,18 +108,22 @@ texinfo}
\fi
\fi
\Configure{HTML}{}{}
-\Configure{HEAD}{}{}
+\Configure{HEAD}{\bgroup \Configure{TITLE}{}{}}{\egroup}
\Configure{BODY}{}{}
-\Configure{TITLE} {}{}
\Configure{TITLE+} {}
+\ifx \a:TITLE\:UnDef
+ \Configure{TITLE}{\Protect\IgnorePar
+ \HCode{<title>}}{\HCode{</title>\Hnewline}}
+\fi
\Configure{HtmlPar}
{\EndP\HCode{<!--l. \the\inputlineno--><para>}}
{\EndP\HCode{<!--l. \the\inputlineno--><para>}}
{\HCode{</para>}} {\HCode{</para>}}
-\LinkCommand\DBLink{ulink, url}
-\LinkCommand\Anchor{anchor,, id,,,\empty}
+%\LinkCommand\DBLink{ulink, url}
+\LinkCommand\DBLink{link, xlink:href}
+\LinkCommand\Anchor{anchor,, xml:id,,,\empty}
\Odef\Link[#1]#2#3{%
\global\let\EndLink=\empty
\if ]#3]\else \Anchor{}{#3}\EndAnchor
@@ -129,17 +138,18 @@ texinfo}
\else\expandafter\do:Link\fi}
\def\minus:Link#1{\do:Link}
-\Configure{Link}{anchor}{linkend=}{id=}{}
+\Configure{Link}{anchor}{linkend=}{xml:id=}{}
\newif\ifHCond
\Configure{Picture+}{}{}
\Configure{Picture*}{}{}
\Configure{IMG}
- {\ht:special{t4ht=<graphic\Hnewline fileref="}}
+ {\ht:special{t4ht=<inlinemediaobject><imageobject><imagedata\Hnewline
+ fileref="}}
{\ht:special{t4ht="}}
{}
{}
- {\ht:special{t4ht=></graphic>}}
+ {\ht:special{t4ht=></imagedata></imageobject></inlinemediaobject>}}
\Configure{pic-halign}{}
\Configure{PictureAlt*+}
{\let\sv:HtmlPar=\HtmlPar \let\HtmlPar=\empty
@@ -215,6 +225,22 @@ texinfo}
\expandafter\ifx \csname aa:Css\endcsname\relax
\Configure{Css}{Css: ##1}
\fi
+\:CheckOption{jpg} \if:Option
+ \Configure{Picture}{.jpg}
+\else
+ \Log:Note{for jpg bitmaps of pictures, use the `jpg'
+ command line option. (Character bitmaps are controled only by `g' records of tex4ht.env and `-g'
+switches of tex4ht.c)
+}
+\fi
+\:CheckOption{gif} \if:Option
+ \Configure{Picture}{.gif}
+\else
+ \Log:Note{for gif bitmaps of pictures, use the `gif'
+ command line option. (Character bitmaps are controled only by `g' records of tex4ht.env and `-g'
+switches of tex4ht.c)
+}
+\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -434,7 +460,21 @@ texinfo}
\Configure{tabular}
{\IgnorePar\EndP \halignTB{tabular}%
- \HCode{<informaltable><tgroup cols="\ar:cnt"><tbody>}}
+ \HCode{<informaltable><tgroup cols="\ar:cnt">}%
+ \tmp:cnt = 0
+\loop
+\ifnum \tmp:cnt < \ar:cnt
+ \advance\tmp:cnt by 1
+ {\HAssign\HCol=\tmp:cnt
+ \HCode{<colspec colname="c\HCol"
+ \expandafter\expandafter\expandafter\ifx
+ \HColWidth\relax\else
+ colwidth="\HColWidth"
+ \fi
+ />}}%
+\repeat
+%
+ \HCode{<tbody>}}
{\HCode{</tbody></tgroup></informaltable>}\ShowPar}
{\HCode{<row>}}
{\HCode{</row>}}
@@ -442,9 +482,9 @@ texinfo}
\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{><para>}}
- {\HCode{</para></entry>}}
+ \HCode{ namest="c\HCol" \IgnoreDebug{nameend="c\the\tmp:cnt"}}\fi
+ \HCode{>}\par\ShowPar}
+ {\ifvmode\IgnorePar\fi \EndP \HCode{</entry>}}
\HAssign\tabularN=0
\Configure{halignTB<>}{tabular}{<>\HAlign}
\Configure{halignTB}
@@ -731,7 +771,14 @@ texinfo}
\else
\HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline}
\fi
-\HCode{<article role="book">}\par\ShowPar}
+%
+ \HCode{<article role="book" xmlns="http://docbook.org/ns/docbook" \Hnewline
+xmlns:xlink="http://www.w3.org/1999/xlink" \Hnewline
+version="5.0" \Hnewline
+ >}%
+ \a:TITLE\bgroup \:TITLE: \c:TITLE \egroup \b:TITLE
+ \par\ShowPar
+ }
{\IgnorePar\EndP\HCode{</article>}}
\immediate\write-1{TeX4ht package options:
\expandafter\:gobbleM\meaning\Preamble}
@@ -739,15 +786,13 @@ texinfo}
\Configure{VERSION}
{\HCode{<?xml version="1.0"?>\Hnewline}}
\Configure{DOCTYPE}
- {\HCode{<!DOCTYPE article [<!ENTITY \% docbook.dtd PUBLIC\Hnewline
- "-//OASIS//DTD DocBook XML V4.2CR1//\expandafter
+ {\HCode{<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V5.0//\expandafter
\ifx \csname a:dtd-lang\endcsname\relax EN\else
\csname a:dtd-lang\endcsname
\fi
"\Hnewline
- "http://www.oasis-open.org/docbook/xml/4.2CR1/docbookx.dtd">
-\Hnewline \%docbook.dtd; \Hnewline
-] >\Hnewline }}
+ "http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd"
+ >\Hnewline }}
\Configure{maketitle}
{\HCode{<para role="maketitle">}}
@@ -1041,7 +1086,13 @@ texinfo}
\else
\HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline}
\fi
-\HCode{<article role="report">}\par\ShowPar}
+%
+ \HCode{<article role="report" xmlns="http://docbook.org/ns/docbook" \Hnewline
+xmlns:xlink="http://www.w3.org/1999/xlink" \Hnewline
+version="5.0" \Hnewline
+ >}%
+ \a:TITLE\bgroup \:TITLE: \c:TITLE \egroup \b:TITLE
+ \par\ShowPar}
{\IgnorePar\EndP\HCode{</article>}}
\immediate\write-1{TeX4ht package options:
\expandafter\:gobbleM\meaning\Preamble}
@@ -1049,15 +1100,13 @@ texinfo}
\Configure{VERSION}
{\HCode{<?xml version="1.0"?>\Hnewline}}
\Configure{DOCTYPE}
- {\HCode{<!DOCTYPE article [<!ENTITY \% docbook.dtd PUBLIC\Hnewline
- "-//OASIS//DTD DocBook XML V4.2CR1//\expandafter
+ {\HCode{<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V5.0//\expandafter
\ifx \csname a:dtd-lang\endcsname\relax EN\else
\csname a:dtd-lang\endcsname
\fi
"\Hnewline
- "http://www.oasis-open.org/docbook/xml/4.2CR1/docbookx.dtd">
-\Hnewline \%docbook.dtd; \Hnewline
-] >\Hnewline }}
+ "http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd"
+ >\Hnewline }}
\Configure{maketitle}
{\HCode{<para role="maketitle">}}
@@ -1357,7 +1406,14 @@ texinfo}
\else
\HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline}
\fi
-\HCode{<article>}\par\ShowPar}
+%
+ \HCode{<article xmlns="http://docbook.org/ns/docbook" \Hnewline
+xmlns:xlink="http://www.w3.org/1999/xlink" \Hnewline
+version="5.0" \Hnewline
+ >}%
+ \a:TITLE\bgroup \:TITLE: \c:TITLE \egroup \b:TITLE
+ \par\ShowPar
+ }
{\IgnorePar\EndP\HCode{</article>}}
\immediate\write-1{TeX4ht package options:
\expandafter\:gobbleM\meaning\Preamble}
@@ -1365,15 +1421,13 @@ texinfo}
\Configure{VERSION}
{\HCode{<?xml version="1.0"?>\Hnewline}}
\Configure{DOCTYPE}
- {\HCode{<!DOCTYPE article [<!ENTITY \% docbook.dtd PUBLIC\Hnewline
- "-//OASIS//DTD DocBook XML V4.2CR1//\expandafter
+ {\HCode{<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V5.0//\expandafter
\ifx \csname a:dtd-lang\endcsname\relax EN\else
\csname a:dtd-lang\endcsname
\fi
"\Hnewline
- "http://www.oasis-open.org/docbook/xml/4.2CR1/docbookx.dtd">
-\Hnewline \%docbook.dtd; \Hnewline
-] >\Hnewline }}
+ "http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd"
+ >\Hnewline }}
\Configure{maketitle}
{\HCode{<para role="maketitle">}}
@@ -1600,9 +1654,31 @@ texinfo}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Configure{graphics}
{}
- {\HCode{<graphic width="\the\Gin@req@width" fileref="\Gin@base\Gin@ext"
- ></graphic>}%
+ {\HCode{<inlinemediaobject><imageobject><imagedata
+ width="\the\Gin@req@width"
+ fileref="\Gin@base\Gin@ext"
+ ></imagedata></imageobject></inlinemediaobject>}%
}
+\Configure{graphics*}
+ {gif}
+ {{\Configure{Needs}{File: \Gin@base.gif}\Needs{}}%
+ \Picture[\a:GraphicsAlt]{\Gin@base.gif \csname a:Gin-dim\endcsname
+}}
+\Configure{graphics*}
+ {png}
+ {{\Configure{Needs}{File: \Gin@base.png}\Needs{}}%
+ \Picture[\a:GraphicsAlt]{\Gin@base.png \csname a:Gin-dim\endcsname
+}}
+\Configure{graphics*}
+ {jpg}
+ {{\Configure{Needs}{File: \Gin@base.jpg}\Needs{}}%
+ \Picture[\a:GraphicsAlt]{\Gin@base.jpg \csname a:Gin-dim\endcsname
+}}
+\Configure{graphics*}
+ {jpeg}
+ {{\Configure{Needs}{File: \Gin@base.jpeg}\Needs{}}%
+ \Picture[\a:GraphicsAlt]{\Gin@base.jpeg \csname a:Gin-dim\endcsname
+}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1613,6 +1689,9 @@ texinfo}
+
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{amsart}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1628,7 +1707,14 @@ texinfo}
\else
\HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline}
\fi
-\HCode{<article>}\par\ShowPar}
+%
+ \HCode{<article xmlns="http://docbook.org/ns/docbook" \Hnewline
+xmlns:xlink="http://www.w3.org/1999/xlink" \Hnewline
+version="5.0" \Hnewline
+ >}%
+ \a:TITLE\bgroup \:TITLE: \c:TITLE \egroup \b:TITLE
+ \par\ShowPar
+ }
{\IgnorePar\EndP\HCode{</article>}}
\immediate\write-1{TeX4ht package options:
\expandafter\:gobbleM\meaning\Preamble}
@@ -1636,15 +1722,13 @@ texinfo}
\Configure{VERSION}
{\HCode{<?xml version="1.0"?>\Hnewline}}
\Configure{DOCTYPE}
- {\HCode{<!DOCTYPE article [<!ENTITY \% docbook.dtd PUBLIC\Hnewline
- "-//OASIS//DTD DocBook XML V4.2CR1//\expandafter
+ {\HCode{<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V5.0//\expandafter
\ifx \csname a:dtd-lang\endcsname\relax EN\else
\csname a:dtd-lang\endcsname
\fi
"\Hnewline
- "http://www.oasis-open.org/docbook/xml/4.2CR1/docbookx.dtd">
-\Hnewline \%docbook.dtd; \Hnewline
-] >\Hnewline }}
+ "http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd"
+ >\Hnewline }}
\def\OpenDiv#1{%
\IgnorePar\EndP \HCode{<!--l.
@@ -1901,7 +1985,14 @@ texinfo}
\else
\HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline}
\fi
-\HCode{<article>}\par\ShowPar}
+%
+ \HCode{<article xmlns="http://docbook.org/ns/docbook" \Hnewline
+xmlns:xlink="http://www.w3.org/1999/xlink" \Hnewline
+version="5.0" \Hnewline
+ >}%
+ \a:TITLE\bgroup \:TITLE: \c:TITLE \egroup \b:TITLE
+ \par\ShowPar
+ }
{\IgnorePar\EndP\HCode{</article>}}
\immediate\write-1{TeX4ht package options:
\expandafter\:gobbleM\meaning\Preamble}
@@ -1909,15 +2000,13 @@ texinfo}
\Configure{VERSION}
{\HCode{<?xml version="1.0"?>\Hnewline}}
\Configure{DOCTYPE}
- {\HCode{<!DOCTYPE article [<!ENTITY \% docbook.dtd PUBLIC\Hnewline
- "-//OASIS//DTD DocBook XML V4.2CR1//\expandafter
+ {\HCode{<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V5.0//\expandafter
\ifx \csname a:dtd-lang\endcsname\relax EN\else
\csname a:dtd-lang\endcsname
\fi
"\Hnewline
- "http://www.oasis-open.org/docbook/xml/4.2CR1/docbookx.dtd">
-\Hnewline \%docbook.dtd; \Hnewline
-] >\Hnewline }}
+ "http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd"
+ >\Hnewline }}
\def\OpenDiv#1{%
\IgnorePar\EndP \HCode{<!--l.
@@ -2173,7 +2262,14 @@ texinfo}
\else
\HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline}
\fi
-\HCode{<article>}\par\ShowPar}
+%
+ \HCode{<article xmlns="http://docbook.org/ns/docbook" \Hnewline
+xmlns:xlink="http://www.w3.org/1999/xlink" \Hnewline
+version="5.0" \Hnewline
+ >}%
+ \a:TITLE\bgroup \:TITLE: \c:TITLE \egroup \b:TITLE
+ \par\ShowPar
+ }
{\IgnorePar\EndP\HCode{</article>}}
\immediate\write-1{TeX4ht package options:
\expandafter\:gobbleM\meaning\Preamble}
@@ -2181,15 +2277,13 @@ texinfo}
\Configure{VERSION}
{\HCode{<?xml version="1.0"?>\Hnewline}}
\Configure{DOCTYPE}
- {\HCode{<!DOCTYPE article [<!ENTITY \% docbook.dtd PUBLIC\Hnewline
- "-//OASIS//DTD DocBook XML V4.2CR1//\expandafter
+ {\HCode{<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V5.0//\expandafter
\ifx \csname a:dtd-lang\endcsname\relax EN\else
\csname a:dtd-lang\endcsname
\fi
"\Hnewline
- "http://www.oasis-open.org/docbook/xml/4.2CR1/docbookx.dtd">
-\Hnewline \%docbook.dtd; \Hnewline
-] >\Hnewline }}
+ "http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd"
+ >\Hnewline }}
\def\OpenDiv#1{%
\IgnorePar\EndP \HCode{<!--l.
@@ -2473,7 +2567,6 @@ texinfo}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{plain}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2601,7 +2694,12 @@ texinfo}
\else
\HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline}
\fi
-\HCode{<article>}\par\ShowPar}
+%
+ \HCode{<article xmlns="http://docbook.org/ns/docbook" \Hnewline
+xmlns:xlink="http://www.w3.org/1999/xlink" \Hnewline
+version="5.0" \Hnewline
+ >}%
+ \par\ShowPar}
{\IgnorePar\EndP\HCode{</article>}}
\immediate\write-1{TeX4ht package options:
\expandafter\:gobbleM\meaning\Preamble}
@@ -2609,15 +2707,13 @@ texinfo}
\Configure{VERSION}
{\HCode{<?xml version="1.0"?>\Hnewline}}
\Configure{DOCTYPE}
- {\HCode{<!DOCTYPE article [<!ENTITY \% docbook.dtd PUBLIC\Hnewline
- "-//OASIS//DTD DocBook XML V4.2CR1//\expandafter
+ {\HCode{<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V5.0//\expandafter
\ifx \csname a:dtd-lang\endcsname\relax EN\else
\csname a:dtd-lang\endcsname
\fi
"\Hnewline
- "http://www.oasis-open.org/docbook/xml/4.2CR1/docbookx.dtd">
-\Hnewline \%docbook.dtd; \Hnewline
-] >\Hnewline }}
+ "http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd"
+ >\Hnewline }}
\Configure{underline}
{\HCode{<emphasis role="underline">}\hbox\bgroup \:gobble}
@@ -2649,13 +2745,30 @@ texinfo}
+
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{array}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Configure{tabular}
{\IgnorePar\EndP \halignTB{tabular}%
- \HCode{<informaltable><tgroup cols="\ar:cnt"><tbody>}}
+ \HCode{<informaltable><tgroup cols="\ar:cnt">}%
+ \tmp:cnt = 0
+\loop
+\ifnum \tmp:cnt < \ar:cnt
+ \advance\tmp:cnt by 1
+ {\HAssign\HCol=\tmp:cnt
+ \HCode{<colspec colname="c\HCol"
+ \expandafter\expandafter\expandafter\ifx
+ \HColWidth\relax\else
+ colwidth="\HColWidth"
+ \fi
+ />}}%
+\repeat
+%
+ \HCode{<tbody>}}
{\HCode{</tbody></tgroup></informaltable>}\ShowPar}
{\HCode{<row>}}
{\HCode{</row>}}
@@ -2663,9 +2776,9 @@ texinfo}
\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{><para>}}
- {\HCode{</para></entry>}}
+ \HCode{ namest="c\HCol" \IgnoreDebug{nameend="c\the\tmp:cnt"}}\fi
+ \HCode{>}\par\ShowPar}
+ {\ifvmode\IgnorePar\fi \EndP \HCode{</entry>}}
\HAssign\tabularN=0
\Configure{halignTB<>}{tabular}{<>\HAlign}
\Configure{halignTB}
@@ -2731,7 +2844,7 @@ texinfo}
\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{ namest="c\HCol" \IgnoreDebug{nameend="c\the\tmp:cnt"}}\fi
\HCode{\Hnewline role="td}%
\HCode{">}\SaveEndP
%
@@ -2786,9 +2899,6 @@ texinfo}
-
-
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{color}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2902,6 +3012,7 @@ texinfo}
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{multind}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3018,6 +3129,8 @@ texinfo}
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{dcolumn}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3168,7 +3281,6 @@ texinfo}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{texinfo}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3234,7 +3346,8 @@ texinfo}
{\let\sv:Link=\Link \let\sv:EndLink=\EndLink
\let\Link=\U:Link
\def\EndLink{\EndU:Link\let\Link=\sv:Link \let\EndLink=\sv:EndLink}}
-\LinkCommand\U:Link{ulink, url,,,,}
+%\LinkCommand\U:Link{ulink, url,,,,}
+\LinkCommand\U:Link{link, xlink:href,,,,}
\Configure{group}
{\IgnorePar\EndP\HCode{<blockquote
role="group"><title></title>}\ShowPar\par}
@@ -3509,7 +3622,14 @@ texinfo}
\else
\HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline}
\fi
-\HCode{<article role="book">}\par\ShowPar}
+%
+ \HCode{<article role="book" xmlns="http://docbook.org/ns/docbook" \Hnewline
+xmlns:xlink="http://www.w3.org/1999/xlink" \Hnewline
+version="5.0" \Hnewline
+ >}%
+ \a:TITLE\bgroup \:TITLE: \c:TITLE \egroup \b:TITLE
+ \par\ShowPar
+ }
{\IgnorePar\EndP\HCode{</article>}}
\immediate\write-1{TeX4ht package options:
\expandafter\:gobbleM\meaning\Preamble}
@@ -3517,15 +3637,13 @@ texinfo}
\Configure{VERSION}
{\HCode{<?xml version="1.0"?>\Hnewline}}
\Configure{DOCTYPE}
- {\HCode{<!DOCTYPE article [<!ENTITY \% docbook.dtd PUBLIC\Hnewline
- "-//OASIS//DTD DocBook XML V4.2CR1//\expandafter
+ {\HCode{<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V5.0//\expandafter
\ifx \csname a:dtd-lang\endcsname\relax EN\else
\csname a:dtd-lang\endcsname
\fi
"\Hnewline
- "http://www.oasis-open.org/docbook/xml/4.2CR1/docbookx.dtd">
-\Hnewline \%docbook.dtd; \Hnewline
-] >\Hnewline }}
+ "http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd"
+ >\Hnewline }}
\Configure{maketitle}
{\HCode{<para role="maketitle">}}
@@ -3823,7 +3941,6 @@ texinfo}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{llncs}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3877,6 +3994,7 @@ texinfo}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{prosper}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3895,6 +4013,7 @@ texinfo}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{beamer}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -3910,7 +4029,14 @@ texinfo}
\else
\HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline}
\fi
-\HCode{<article>}\par\ShowPar}
+%
+ \HCode{<article xmlns="http://docbook.org/ns/docbook" \Hnewline
+xmlns:xlink="http://www.w3.org/1999/xlink" \Hnewline
+version="5.0" \Hnewline
+ >}%
+ \a:TITLE\bgroup \:TITLE: \c:TITLE \egroup \b:TITLE
+ \par\ShowPar
+ }
{\IgnorePar\EndP\HCode{</article>}}
\immediate\write-1{TeX4ht package options:
\expandafter\:gobbleM\meaning\Preamble}
@@ -3918,15 +4044,13 @@ texinfo}
\Configure{VERSION}
{\HCode{<?xml version="1.0"?>\Hnewline}}
\Configure{DOCTYPE}
- {\HCode{<!DOCTYPE article [<!ENTITY \% docbook.dtd PUBLIC\Hnewline
- "-//OASIS//DTD DocBook XML V4.2CR1//\expandafter
+ {\HCode{<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V5.0//\expandafter
\ifx \csname a:dtd-lang\endcsname\relax EN\else
\csname a:dtd-lang\endcsname
\fi
"\Hnewline
- "http://www.oasis-open.org/docbook/xml/4.2CR1/docbookx.dtd">
-\Hnewline \%docbook.dtd; \Hnewline
-] >\Hnewline }}
+ "http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd"
+ >\Hnewline }}
\Configure{titlepage}
{\ifvmode \IgnorePar\fi \EndP \HCode{<para role="titlepage">}%
@@ -4142,6 +4266,9 @@ texinfo}
+
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{pgf}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -4173,6 +4300,13 @@ texinfo}
+
+
+
+
+
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{subeqnarray}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -4250,7 +4384,6 @@ texinfo}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{listings}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%