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] Body Start Indent and Chapter/Section Title Indent


The start-indent="$body.start.indent" property is applied to the fo:flow 
within each page-sequence.  In is an inherited property, so every block in 
the flow inherits it.  In the case of the chapter and section titles, there 
is a local attribute setting that counteracts it.  You can change that back 
in a couple of attribute-sets:

<xsl:attribute-set name="component.title.properties">
  <xsl:attribute name="start-indent"><xsl:value-of 
select="$body.start.indent"/></xsl:attribute>
</xsl:attribute-set>

<xsl:attribute-set name="section.title.properties">
  <xsl:attribute name="start-indent"><xsl:value-of 
select="$body.start.indent"/></xsl:attribute>
</xsl:attribute-set>

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Mykone Saunders" <mykone@i3dvr.com>
To: "Docbook Mailing List" <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, March 20, 2007 12:36 PM
Subject: [docbook-apps] Body Start Indent and Chapter/Section Title Indent


> Hello I was wondering if anyone can give me a little help. I
> am using admonitions as custom margin notes. I have indented  the Body
> text with "xsl:param body.start.indent", which looks good however I need 
> the Chapter/Section titles to be
> the same indentation. Whenever I use both "body.start.indent" with
> "title.left.margin" I get some weird results, nothing close to my
> intention.
>
> Is there another way to get the chapters/section tiles aligned with the 
> same indentation as body.start.indent?
> I am using Docbook DTD 4.4, Docbook XSL 1.69.1, and RenderX XEP 4.9. See 
> my formatted PDF file (Starting
> at Page5), also attached is the book.xml and the customization layer XSL
> file.
>
> Thanks again, and I'm awaiting your any help patiently.
>


--------------------------------------------------------------------------------


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