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: doubled-sided output with margin notes


Dear all,
I work on realizing my double-sided PDF-output with marginalia using the XSL
Stylesheets (latest Snapshot) and Xep (4.3). It works fine after I did some
further customizations on the fo-stylesheets. Most of the stuff I had to
customize - apart from the pagesetup - is in my opinion related to the new
body-start-indent and body-end-indent parameters.
It is up to you to judge whether it is a bug or indented to be this way.
BTW: 3.5 cm is the value of my body-indention.

<!-- added end-indent="0pt", otherwise the table-cells have some kind of
right margin -->
<xsl:template match="tbody">
*snip*
      <fo:table-body start-indent="0pt" end-indent="0pt">
*snap*

<!-- added indention parameters-->
<xsl:attribute-set name="abstract.properties">
	<xsl:attribute name="start-indent">3.5cm</xsl:attribute>
    	<xsl:attribute name="end-indent">3.5cm</xsl:attribute>
</xsl:attribute-set>

<!-- added indention parameters-->
<xsl:attribute-set name="toc.margin.properties">
	<xsl:attribute name="start-indent">3.5cm</xsl:attribute>
	<xsl:attribute name="end-indent">3.5cm</xsl:attribute>
</xsl:attribute-set>

<!-- added indention parameters-->
<xsl:attribute-set name="index.entry.properties">
	<xsl:attribute name="start-indent">3.5cm</xsl:attribute>
	<xsl:attribute name="end-indent">3.5cm</xsl:attribute>
</xsl:attribute-set>

<!-- added end-indent -->
<xsl:template name="toc.line">
*snip*
        <fo:block text-align-last="justify" end-indent="3.5cm"
*snap*

<!-- added end-indent -->
<xsl:template match="qandadiv">
*snip*
	<fo:block start-indent="3.5cm+{count(ancestor::qandadiv)*2}pc">
*snap*


Thanks and best wishes
Ludger Thomas

smime.p7s



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