forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joao Araujo <j...@wireless-networks.com>
Subject Re: Forrest docbook
Date Tue, 23 Mar 2004 13:24:32 GMT
Juan,

> Dave Brondsema wrote:
>
>>
>> Done!
>>
>> The doctype will have to be:
>> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
>> "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
>>
>
> If these new elements are part of version 4.1.2 and Simplified DocBook 
> 1.0 then you can use it.
>
> on forrest.xmap you can see this:
>
>  <map:when test="docbook-v4.1.2">
>             <map:transform 
> src="{forrest:stylesheets}/docbook2document.xsl" />
>           </map:when>
>           <map:when test="docbook-v4.2">
>             <map:transform 
> src="{forrest:stylesheets}/docbook2document.xsl" />
>           </map:when>
>           <map:when test="sdocbook-v1.0">
>             <map:transform 
> src="{forrest:stylesheets}/docbook2document.xsl" />
>           </map:when>
>
>
    That's the problem. It works only for simple elements. I used 
manpage elements with docbook.
    I have more than 50 pages. I want to include those pages with the 
docs I already have, just
    the way it is for now. Unfortunately, It is not working. I dropped 
the docbook.xsl and everything else into
    a directory. Then, I did  the following .

       <sourcetype name="docbook-v4.1">
          <document-declaration public-id="-//OASIS//DTD DocBook XML 
V4.1//EN" />
        </sourcetype>

         <map:when test="docbook-v4.1">
                <map:transform 
src="resources/stylesheets/docbook-1.60.1/html/docbook.xsl" />
          </map:when>

       I also changed the catalog.

       In my xml page I have :

        <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1//EN"
                            
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">  
   
          Thjis is how it is now. Cause I tried many combinations.

       Maybe I messed up the sitemap somehow. I will read everything 
again to see if I find anything wrong.
       In case you have a clue,  please, let me know.

       Thanks
   
Joao,

>
>
>


Mime
View raw message