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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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

Subject: Problem with user pagemaster


I am using docbook since several months and have experimented a lot
with the customization layer. Yesterday I noticed that using a user
pagemaster "deletes" the regular indentation of para/admonitions/...
after a section title.

Defining the select.user.pagemaster in my customization layer and
linking to the original body pagemaster won't cause any problems.

<xsl:template name="select.user.pagemaster">
	<xsl:param name="element"/>
	<xsl:param name="pageclass"/>
	<xsl:param name="default-pagemaster"/>
		<xsl:when test="$default-pagemaster = 'body'">
			<xsl:value-of select="'body'" />
			<xsl:value-of select="$default-pagemaster"/>

But when i replace "body" with "my-body" which is defined in the
"user.pagemasters" template i am loosing indentation.

<xsl:template name="user.pagemasters">
<!-- setup for body pages -->
    <fo:page-sequence-master master-name="my-body">
        <fo:conditional-page-master-reference master-reference="my-blank"
        <fo:conditional-page-master-reference master-reference="my-body-first"
        <fo:conditional-page-master-reference master-reference="my-body-odd"
          <xsl:attribute name="master-reference">
              <xsl:when test="$double.sided != 0">my-body-even</xsl:when>

I also tried (for problem discovery) to use the original blank,
body-first, body-odd, body-even in the my-body page-sequence-master
without success (loosing indentation too).

For workaround i tried several options I found on sagehill.net or on
some mailinglist, but they won't work... somehow the e.g.
body.start.indent is never used.

Any ideas?

Cheers, Tobias

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