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] Margin notes and double.sided=1


Hi Marco,
When you say you want margin notes with double sided output, I presume you
mean you want them either on the inside or the outside of each page.  There
seems to be no standard way of doing this kind of margin notes, which is why
I haven't added support for them to the stylesheets.  The RenderX and
Antenna House processors have methods for accomplishing this feature, using
tricks with margins, start and end indents, and sometimes zero-width block
containers. But they do it differently, so your customization will only work
with one processor.   Antenna House provides an example of how it is done in
XSL-FO:

http://www.antennahouse.com/XSLsample/fo-v32/marginal-notes-1.fo

You might ask their support department for more information about it.

Then the challenge is to adapt the example to a customization for DocBook
templates.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Marco Baumgartl" <Marco_Baumgartl@yahoo.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, June 07, 2005 12:13 PM
Subject: [docbook-apps] Margin notes and double.sided=1


> Hi,
>
> I try to get margin notes to work for documents that should be printed
> double sided using the Antenna Formatter.
>
> If I would do this using simple XSL-FO (without docbook) than I would
> define a page-sequence-master that uses two different pages for odd and
> even pages. The two different simple-page-masters used there would have
> different definitions for xsl-region-body which allows me set
> start-indent and end-indent to appropriate values and give me the
> expected result with margin notes.
>
> To cut a long story: Where do I have to make chances to get this stuff
> working with the stylesheets?
>
> I've read that the set.flow.properties template would be the right place
> to set attributes for fo:flow. But I don't have any information about
> about the page sequence (odd or even) in this template. (I think it's
> impossible at this point of time because this is first known to the
> renderer when rendering the fo file)
>
> I think the only changes I have to make is to swap the values for
> body.start.indent and body.end.indent dependent on the page (odd or
> even). But where can I make this changes?
>
> regards
> Marco
>
>
>
>
>
>
> ___________________________________________________________
> Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier
anmelden: http://mail.yahoo.de
>
> ---------------------------------------------------------------------
> 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]