Re: [xep-support] Marginals in a multi-column document

From: Gabriel Flepp <gabriel@reichardt.ch>
Date: Mon Jun 08 2009 - 00:51:19 PDT

Hi,

Thanks but sorry, that's not it. I need to place marginalis in a
two-column document. The float="outside" places the marginals on the
outside for odd and even pages. It doesn't work with columns.

This is what I need:
        txttxttxt txttxttxt
   mar txttxttxt txttxttxt
        txttxttxt txttxttxt mar
   mar txttxttxt txttxttxt
        txttxttxt txttxttxt mar
        txttxttxt txttxttxt
        txttxttxt txttxttxt

I either need to find out in wich column I am or I have to
find a function like fo:change-bar wich has a "placement='alternate'"
parameter. But with fo:change-bar I only have bars and no text:(

Regards
Gabriel Flepp

Am Fri, 5 Jun 2009 08:57:08 -0700
schrieb "Kevin Brown" <kevin@renderx.com>:

> Isn't this what you want:
>
> http://xep.xattic.com/xep/testsuite/usecases/marginalia.pdf
>
> This uses <fo:float float="outside>...</fo:float>
>
> It is on this page:
>
> http://renderx.net/usecasestest.html
>
> Under the heading "Creating marginalia using side floats".
>
> -----Original Message-----
> From: owner-xep-support@renderx.com
> [mailto:owner-xep-support@renderx.com] On Behalf Of Gabriel Flepp
> Sent: Friday, June 05, 2009 7:54 AM
> To: xep-support@renderx.com
> Subject: Re: [xep-support] Marginals in a multi-column document
>
> Am Wed, 20 May 2009 09:28:29 +0200
> schrieb Gabriel Flepp <gabriel@reichardt.ch>:
>
> > Am Mon, 18 May 2009 13:16:44 +0200
> > schrieb Gabriel Flepp <gabriel@reichardt.ch>:
> >
> > > Hi Everyone,
> > >
> > > I need to place marginals in a two column document. That is, I
> > > have to place the marginals on the left side of the document for
> > > the left column and on the right side for the right column. How
> > > do i determine in which column I am at the time, when I have to
> > > place the marginal?
> > >
> > > Regards
> > > Gabriel
> > >
> >
> > Hi,
> >
> > I nearly found a solution. I managed to include the xalan classes.
> > There is a class called NodeInfo. And this class has a method
> > columnNumber(). That would be it. Now I have to set an attribute in
> > the TransformerFactory to get this thing to work. How/where do I set
> > the source_location attribute to true?? I didn't find any
> > instructions/tutorials/howtos/examples on how to do this. Can
> > anybody help?
> >
> > Regards
> > Gabriel
> >
> >
> Hi,
>
> Still no solution. But I found out that there is a getColumnNumber()
> method in the saxon.jar as well. Can someone point to an example on
> how to use this? It seems, I have trouble to understand on how this
> whole xmlns/java classes/extention thing works :(
>
> Regards
> Gabriel
>

-- 
Gabriel Flepp
Reichardt Informatik AG
Hoehenweg 22
CH-4142 Muenchenstein
gabriel@reichardt.ch
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@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/terms-of-service.html
Received on Mon Jun 8 01:37:22 2009

This archive was generated by hypermail 2.1.8 : Mon Jun 08 2009 - 01:37:29 PDT