[xep-support] different layout in region-body for even/odd pages

Lars Weinrich weinrich at bpanet.de
Wed Dec 10 08:48:17 PST 2003


Hello Alexander,

I have a similar problem but the use of margin notes does not solve it.

The job is to create a document which consists of tables.
Depending on the position of these tables (even or odd page) some table-columns have to be swapped.

Is this possible using XEP?

Many thanks in advance,

Lars Weinrich


Alexander Peshkov wrote:

> Hello Oliver,
>
> In XSL FO you can have different page masters for odd and even page
> (see description of fo:conditional-page-master-reference). This allows
> you to change page format depending on its parity.
>
> As for margin notes (also known as 'marginalia') those are created in
> XEP with side floats using XEP-specific values 'inside' and 'outside'.
> Here is an example:
> http://xep.xattic.com/xep/testsuite/usecasestest.html#marginalia
>
> Hope this helps.
>
> Best regards,
> Alexander Peshkov                             mailto:peshkov at renderx.com
> RenderX
>
> OB> Hello,
>
> OB> it seems there's no construct in XSLFO to define different contents in the
> OB> region-body of a page for even and odd pages.
>
> OB> For example I want to have special blocks that extend the normal block
> OB> width. These should be vertically aligned on the inner side of the page:
>
> OB> +----------+ +----------+
> OB> |    xxxxx | | xxxxx    |
> OB> |    xxxxx | | yyyyyyyy |
> OB> | yyyyyyyy | | xxxxx    |
> OB> | yyyyyyyy | |          |
> OB> |    xxxxx | |          |
> OB> +----------+ +----------+
>
> OB> Or suppose one wants to create margin notes or icons next to a definition,
> OB> example, or note. These should be positioned left from the text on left
> OB> (even) pages and right from the text on right (odd) pages.
>
> OB> Do I miss something in XSLFO? (This could well be.)
> OB> Does XEP provide an extension for this?
>
> OB> Any pointers will be welcome.
>
> OB> Thanks,
> OB> Oliver
>
> OB> /-------------------------------------------------------------------\
> OB> |  ob|do        Dipl.Inf. Oliver Becker                             |
> OB> |  --+--        E-Mail: obecker at informatik.hu-berlin.de             |
> OB> |  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
> OB> \-------------------------------------------------------------------/
>
> OB> -------------------
> OB> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> OB> in the body of the message to majordomo at renderx.com from the address
> OB> you are subscribed from.
> OB> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
>
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo at renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list