Hello list,

I'm new to DocBook but managed to write my first little
documentation with it. All examples about <programlisting>
shows the HTML output in a gray box with the content of
<programlisting> in it alligned left (see
http://www.docbook.org/tdg/en/html/example.html). The HTML
output of my documentation doesn't show the box and the
content of <programlisting> is aligned in center position?
Perhaps I've to give some attributes to <programlisting>?

My structure is:

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.2//EN">

<book lang="de">

<chapter>
<title> .. </title>
<para>

<programlisting>
  <![CDATA[
    case "${archive_basename}" in
      # sun 1.2
      jdk-1_2*)
        name="j2sdk1.2"
        description="Java (TM) 2 SDK 1.2 (Sun)"
      ;;
   ]]>
</programlisting>

</para>
</chapter>

</book>

An other problem: where do I have to put the <email>
Element? The DocBook Documentation says that <email>
can be a child of <author> ... that's my source:

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.2//EN">

<book lang="de">

<bookinfo>
<title> .. </title>
<author>
  <firstname> .. </firstname>
  <surname> .. </surname>
  <email> .. </email>   <-- where to put it?
  <affiliation>
    <shortaffil> .. </shortaffil>
    <jobtitle> .. </jobtitle>
    <orgname> .. </orgname>
    <orgdiv> .. </orgdiv>
  </affiliation>
</author>
<copyright>
  <year> .. </year>
  <holder> .. </holder>
</copyright>
<abstract>
  <para> .. </para>
</abstract>
</bookinfo>

</book>

db2html (jade) gives the following error:
end tag for element "AUTHOR" which is not open

Thanks for any suggestions and greetings from Germany
    Volker

--
The box said "Requires Win95, NT or better" and so I installed Linux.

Reply via email to