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] | [Elist Home]


Subject: DOCBOOK-APPS: simplesect


Sorry if this has been covered before -- I'm not on the list, but I didn't
find it in the archive.

Should section chunking for html/chunk-common.xsl chunk by simplesect as
well? It doesn't appear to right now.

I added it for my server on the xsl sheets version 1.41:

122a123,128
>     <xsl:when test="$chunk.sections != 0
>                     and name($node)='simplesect'
>                     and ($chunk.first.sections != 0
>                          or count($node/preceding-sibling::simplesect) >
0)">
>       <xsl:text>1</xsl:text>
>     </xsl:when>
328c334
<     <xsl:when test="name(.)='sect1' or name(.)='section'">
---
>     <xsl:when test="name(.)='sect1' or name(.)='section' or
name(.)='simplesect'">
714a721
>              |preceding::simplesect[name(preceding-sibling::*[1]) =
'simplesect'][1]
739a747
>              |following::simplesect[1]
778a787
>              |preceding::simplesect[1]
803a813
>              |following::simplesect[1]
965c975,976
<                      |section[local-name(parent::*) != 'section']">
---
>                      |section[local-name(parent::*) != 'section']
>                    |simplesect">
976c987,988
<                         or count(preceding-sibling::sect1) > 0">
---
>                         or count(preceding-sibling::sect1) > 0
>                       or count(preceding-sibling::simplesect) > 0">

Let me know how this looks, or if it even makes sense.

Thanks,
Jack Cushman



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


Powered by eList eXpress LLC