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] Html: suppressing separate titlepage for book/article


> If you can edit the stylesheets directly, you only need to 
> make a one-line change:

That worked a charm - exactly what I wanted.

I have been working on the basis of using a customised layer, which didn't 
work at all.

But - I'd like to know why it didn't.  I assume that the order in which the 
stylesheets get imported is important, so why can't I do something like this:

<?xml version="1.0"?> <!-- -*- sgml -*- -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 

<xsl:import href="my-chunk-code.xsl"/>

and have 'my-chunk-code.xsl' contain just this:

<!-- Dec. 1 2005: edited to removed 'article' and 'refentry -->
<!-- so that no separate titlepage gets generated -->
<xsl:template match="set|book|part|preface|chapter|appendix
    <xsl:when test="$onechunk != 0 and parent::*">
      <xsl:call-template name="process-chunk-element"/>

To my mind, this _should_ work - but in fact what I get is: nothing!
No pages at all :(



There is not a shred of evidence to suggest 
that life should be taken seriously

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