OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] glossary missing from xhtml output


I've had the same problem as Brett, and we've always attempted to
xinclude the glossary. Perhaps there's a problem with xincluding the
glossary that causes it disappear from the xhtml output. I haven't tried
stuffing it directly into the book.

cheri 

-----Original Message-----
From: Mauritz Jeanson [mailto:mj@johanneberg.com] 
Sent: Saturday, August 11, 2007 4:28 AM
To: 'Brett Leber'; docbook-apps@lists.oasis-open.org
Subject: RE: [docbook-apps] glossary missing from xhtml output

> -----Original Message-----
> From: Brett Leber
> 
> Is there any obvious (or not-so-obvious) reason that my glossary is 
> missing (blank) from XHTML chunked output? I see a glossary section 
> and glossary page in the output, but no glosslist or glossentries. My 
> <glossary> is a child of <book>.
> 
> I've tried both the 1.72.0 and 1.73.0 stylesheets, with no difference.
> FO/PDF output shows the glossary just fine.
> 
> My customization layer is here:
> http://pastebin.com/me635a7


I can't reproduce this. When I use your customization + 1.73.0 (or
1.72.0) to process the following file (with xsltproc), 

<book xmlns="http://docbook.org/ns/docbook"; version="5.0">
  <title>Book title</title>   
 
  <chapter>
    <title>Chapter 1 title</title>
    <para>chapter 1 para</para>
  </chapter>

  <chapter>
    <title>Chapter 2 title</title>
    <para>chapter 2 para</para>
  </chapter>
  
 <glossary>
   <glossentry>
     <glossterm>XML</glossterm>
     <glossdef>
       <para>Extensible Markup Language</para>
     </glossdef>
   </glossentry>
 </glossary>
</book>,

there are four output files: index.html, ch01.html, ch02.html,
go01.html.
The glossary chunk looks fine.

By the way, the recommended way of setting up a proper chunking
customization is a little complicated. See
http://www.sagehill.net/docbookxsl/ChunkingCustomization.html. The text
is not completely up-to-date with respect to changes in 1.73.0 (but I
think Bob has a new version in the works).

/MJ



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]