← Prev in month ← Prev in thread

Newbie: Problems with ldp.dsl

From
@ei
Date
2003-06-27T23:50:59+00:00
ID
Thread
Newbie: Problems with ldp.dsl
Dear friends,

I can convert sgml file with docbook.dsl but it don't work with ldp.dsl.

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:12:E: element "ARTICLEINFO" undefined
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$"
Teste de geração de documento.Teste de geração de documento.Teste de geração 
de documento.Nei L Marcos                   neig@terra dot com dot br
                         Revision HistoryRevision v1.02000-12-30Revised by: 
jld        Este é um documento DocBook.
        Table of Contents1. Test 1.1.1. Test 1.1.1.2. Test 1.2.2. Test 2.2.1. 
Test 2.1.2.2. Test 2.2.1. Test 1Test section 1.
Figure 1. Inclusão de Figura1.1. Test 1.1        Test section 1.1
        1.2. Test 1.2
        2. Test 2Test section 2.2.1. Test 2.1        Test section 2.1
        2.2. Test 2.2        Test section 2.2

And  the path is:

bash-2.05a$ echo $SGML_CATALOG_FILES
/usr/local/sgml/dsssl/docbook-dsssl-1.76/catalog:/usr/local/openjade-1.3.2/dsssl/catalog:/usr/local/sgml/docbook/3.1/docbook.cat

Any suggestions?

Thanks in advance,
Nei

The test.sgml is

<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<article lang="en">
<articleinfo>
<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>
← Prev in month ← Prev in thread