This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
[docbook] Problems with ldp.dsl
- From: Nei <neig at terra dot com dot br>
- To: <docbook at lists dot oasis-open dot org>
- Date: Thu, 26 Jun 2003 21:37:01 -0300
- Subject: [docbook] Problems with ldp.dsl
- Reply-to: neig at terra dot com dot br
Dear friends,
I can convert sgml file with docbook.dsl but it don't work with ldp.dsl.
Any suggestions?
Thanks in advance,
Nei
bash-2.05a$ openjade -t sgml -d
/usr/local/sgml/dsssl/docbook-dsssl-1.76/html/ldp.dsl#html test.sgml
openjade:test.sgml:3:13:E: "INFO" is not a member of a group specified for any
attribute
openjade:test.sgml:3:13:E: document type does not allow element "ARTICLE" here
openjade:test.sgml:5:7:E: document type does not allow element "AUTHOR" here;
missing one of "COMMENT", "TITLEABBREV", "SUBTITLE", "ARTHEADER", "SYNOPSIS",
"LITERALLAYOUT", "PROGRAMLISTING", "SCREEN", "PARA", "SIMPARA", "BRIDGEHEAD"
start-tag
openjade:test.sgml:15:19:E: document type does not allow element "REVHISTORY"
here; missing one of "COMMENT", "TITLEABBREV", "SUBTITLE", "ARTHEADER",
"SYNOPSIS", "LITERALLAYOUT", "PROGRAMLISTING", "SCREEN", "PARA", "SIMPARA",
"BRIDGEHEAD" start-tag
openjade:test.sgml:27:13:E: end tag for element "ARTICLEINFO" which is not
open
openjade:test.sgml:71:11:E: "ARTICLE" not finished but document ended
openjade:test.sgml:71:11:E: end tag for "ARTICLE" omitted, but OMITTAG NO was
specified
openjade:test.sgml:2:0: start tag was here
openjade:/usr/local/sgml/dsssl/docbook-dsssl-1.76/html/ldp.dsl:355:18:E:
reference to undefined variable "$table-width$"
openjade:/usr/local/sgml/dsssl/docbook-dsssl-1.76/html/ldp.dsl:320:28:E:
reference to undefined variable "$verbatim-line-by-line$"
The test.sgml is
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<article lang="en">
<article info>
<title>Teste de geração de documento.</title>
<author>
<firstname>Nei</firstname>
<surname>Marcos</surname>
<othername role="mi">L</othername>
<affiliation>
<address>
<email>neig@terra dot com dot br</email>
</address>
</affiliation>
</author>
<revhistory>
<revision>
<revnumber>v1.0</revnumber>
<date>2000-12-30</date>
<authorinitials>jld</authorinitials>
</revision>
</revhistory>
<abstract>
<para>
Este é um documento DocBook.
</para>
</abstract>
</articleinfo>
<sect1 id="test1">
<title>Test 1</title>
<para>
Test section 1.
<figure>
<title>Inclusão de Figura</title>
<graphic fileref="exemplo.jpg"></graphic>
</figure>
</para>
<sect2>
<title>Test 1.1</title>
<para>
Test section 1.1
</para>
</sect2>
<sect2>
<title>Test 1.2</title>
<para>
<screen>
-- Test section 1.2
openjade -t sgml -d $DSLFILE test.sgml
</screen>
</para>
</sect2>
</sect1>
<sect1 id="test2">
<title>Test 2</title>
<para>
Test section 2.
</para>
<sect2>
<title>Test 2.1</title>
<para>
Test section 2.1
</para>
</sect2>
<sect2>
<title>Test 2.2</title>
<para>
Test section 2.2
</para>
</sect2>
</sect1>
</article>
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org