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] Docbook XSL to HTMLHelp Question: Article title does not appear in the left side tab list contents window


Hi Scott,
I think the basic problem is that article is not a valid child of section 
(or even of chapter). In the DocBook DTD, article can be a child of book or 
part.  An XSL processor does not do validation, so perhaps you thought it 
was valid because it did not report it as invalid.  But the stylesheets are 
not written to handle invalid content, although sometimes they may work, 
just not quite as expected.  Perhaps your article content could be put into 
a sidebar instead, which is a valid child of section.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Scott Moses" <smoses@goldengate.net>
To: "'Jirka Kosek'" <jirka@kosek.cz>
Cc: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, April 26, 2006 6:27 PM
Subject: RE: [docbook-apps] Docbook XSL to HTMLHelp Question: Article title 
does not appear in the left side tab list contents window


Jirka
Thanks for your prompt reply.  Here is the doc structure:

<set><title>FP Notebook</title>
<book><title>Cardiovascular Medicine</title>
<chapter><title>Arrhythmia</title>
<section><title>Miscellaneous</title>
<article><title>Sudden Cardiac Death</title>
<section><title>See Also</title>

I have tried use chapter as the top level and eliminating the sections, but
this hasn't seemed to make a difference in the transformation.  I have also
tried shifting the hierarchy up by moving "chapter" up to "part" and
"section" up to "chapter."  Finally, I've tried using sect1 and sect2
instead of section.  No luck.

By the way, do you recommend one of those other structure options instead 
of
the one I have above (4700 articles in ~2000 sub-chapters in 640 chapters 
in
31 books)?

-Scott

Scott Moses
www.fpnotebook.com


-----Original Message-----
From: Jirka Kosek [mailto:jirka@kosek.cz]
Sent: Wednesday, April 26, 2006 1:24 PM
To: Scott Moses
Cc: docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] Docbook XSL to HTMLHelp Question: Article title
does not appear in the left side tab list contents window

Scott Moses wrote:

> When transforming docbook to htmlhelp, I have been unable to get article
> titles to appear in the left-hand side contents tab window of the Windows
> help file.  I have tried to modify most of what I believe are related
> parameters (generate.toc, generate.section.toc.level, toc.section.depth,
> toc.max.depth), but this does not seem to work.  Is it possible to have
> article titles appear in this window?

What is the structure of your document? What element encloses your 
articles?

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbližší termíny školení:
      ** XSLT 13.-16.3.2006 ** XML schémata 24.-26.4.2006 **
        ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
------------------------------------------------------------------
   http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------




---------------------------------------------------------------------
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]