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


----- Original Message ----- 
From: "Thomas, Ludger" <Ludger.Thomas@iese.fraunhofer.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Friday, April 22, 2005 2:04 AM
Subject: [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.

I'm glad to hear it worked for you.

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

"indented to be this way"
One of the best inversions I've seen in a long time.  8^)

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

This is a bug.  I'll fix it in the stylesheets.

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

For the above three items, you might be able to accomplish some of them
by customizing the 'set.flow.properties' template in fo/pagesetup.xsl.  That
template determines which page-sequences get the body.start.indent and
body.end.indent.  The default is just for 'body' pages, preface, and
appendix.
It works on whole page-sequences, so it might not work for your abstract.

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

You might get this in set.flow.properties if you select
$master-reference='lot'.

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

 This is a style customization, I think.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


>
> Thanks and best wishes
> Ludger Thomas
>




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