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] aligned left-right sidebar


Lily,

I presume you mean right-aligned text and left-aligned
text.  If so, this is pretty difficult to do automatically.
I had a situation where I wanted to put a vertical bar
to the inside of a sidebar (left on recto and right on
verso). Since I had just a few sidebars to deal with,
I explicitly marked up each one with a role that said
verso or recto and handled the differences explicitly.

The folks at RenderX were good enough to give me some
fo code that would let you make this differentiation
automatically, but I was running up against a deadline
and never put it into production use. It might take a
day or so, but I'd be glad to see if I can round up
that code and send it to you if you are interested.

Regards,
Dick Hamilton
http://managingwriters.com

> -----Original Message-----
> From: Lily Galle [mailto:lily.galle@gmx.net] 
> Sent: Friday, November 21, 2008 5:09 AM
> To: docbook-apps@lists.oasis-open.org
> Subject: [docbook-apps] aligned left-right sidebar
> 
> 
> Hi,
> 
> In “myStylesheet.xsl: 
> <xsl:param name="double.sided">1</xsl:param>
> 
> In “myDocbook.xml”
>   <sidebar>
>             <?dbfo sidebar-width="1.6in"?>
>           <?dbfo float-type="outside"?>          
>    </sidebar>
> 
> For my work I would like the following: 
> 
> “right-aligned” in sidebar text on the even pages, 
> “left-aligned” in the sidebar text on the odd pages
> 
> Is it possible to manage it? How? Thanks for any help!!!
> 
> Lily
> 
> -- 
> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s 
> mit allen: http://www.gmx.net/de/go/multimessenger
> 
> ---------------------------------------------------------------------
> 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]