[daisy] Daisy and right-to-left scripts

Paul Focke paul at outerthought.org
Fri Mar 14 17:51:16 CET 2008


Hi

I had a quick look at the page. It looks like you simply aligned the
text on paragraphs to the right. What I'd suggest is checking the
document language for arabic. Then when you detect an arabic document
you'd set a css property on the div with id "content". A bit like this
#content {
  direction : rtl;
}
The best place to do the check & rtl switch would be the layout.xsl but
I'm not 100% sure that you have knowledge of the document language what
the layout.xsl is processed. 

Paul

On Fri, 2008-03-14 at 16:14 +0000, A Rocha Webmaster wrote:
> Hello,
> 
> Has anyone used Daisy with right-to-left scripts? I've tried a page in
> Arabic, and the characters are all there of course since the encoding is
> UTF-8. The text direction is wrong though: badly-placed parentheses,
> final periods, bullets. See
> http://daisy.arocha.org/arocha/495-DSY.html?branch=main&language=ar
> 
> I see there's nothing filed in JIRA on "arabic", "text direction", or
> "right to left".
> 
> Júlio.
> 
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy


More information about the daisy mailing list