This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]