[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook] Re: Announce: DocBook V5.0CR5
> -----Original Message-----
> From: Norman Walsh
>
> | 2. In DocBook 5, cmdsynopsis is not allowed in glossterm
> and methodsynopsis
> | is not allowed in term.
>
> Right. I think that's correct. What is the DB4 markup that uses it?
1. This is allowed in DocBook 4.4/4.5
(/trunk/testdocs/tests/cmdsynopsis.002.xml):
<glossterm>
<cmdsynopsis>
<command>command</command>
<arg choice="req">req</arg>
<arg choice="req" rep="repeat">repeatandreq</arg>
<arg rep="repeat">repeat</arg>
<arg>optional</arg>
</cmdsynopsis>
</glossterm>
2. This is also allowed in DocBook 4.4/4.5
(/trunk/testdocs/tests/variablelist.002.xml):
<term>
<methodsynopsis>
<modifier>static</modifier>
<modifier>public</modifier>
<type>void</type>
<methodname>import</methodname>
<methodparam>
<type>HttpServletRequest</type>
<parameter>req</parameter>
</methodparam>
</methodsynopsis>
</term>
Both 1. and 2. are disallowed in DocBook 5.0CR5.
> | 4. In DocBook 5, tocdiv is used instead of several
> discarded lot*/toc*
> | elements.
> |
> | toc.001.xml:11:17: error: unknown element "tocchap" from namespace
> | "http://docbook.org/ns/docbook"
> | toc.001.xml:24:14: error: unknown element "tocpart" from namespace
> | "http://docbook.org/ns/docbook"
>
> So that's probably just a bug in the conversion script. Can you send
> us the original ToC?
Yes, there should be a template converting discarded toc*/lot* elements to
tocdiv in db4-upgrade.xsl.
The original ToC file is /trunk/testdocs/tests/toc.001.xml in the
repository.
Mauritz
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]