[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: docbook css questions



Maybe on a diffrent wave length here.
I was looking for a way to write ps/pdf docs in Arabic for my project
documetation, but all I found was ArabTex.

assuming it works as promised (  I couldn't test it ...) it should
write/typeset Arabic and output some neat LaTeX, and thus DVI files.

the catch ? well, your document should be written in "LATIN" characters,
something like transliteration, with a specific set of characters.

Now it should be easy to do a one-on-one translation of the Arabic
characters into the needed Latin charachter table.

I don't know if that helps!
on my side, I might start doing the translation table when I'm done here. If
I don't find another solution that is ...

----- Original Message -----
From: "Hicham Amaoui" <amaoui at altern dot org>
To: <developer at arabeyes dot org>
Sent: Monday, September 02, 2002 9:59 PM
Subject: Re: docbook css questions


> Hi all,
>
> Mohammed Elzubeir wrote:
>
> >On Sun, Sep 01, 2002 at 03:20:49AM +0300, Alaa The Great wrote:
> >
> >
> >
> >>Hi all,
> >>
> >>I know that this is not the right place for my question but developer
> >>is the only active list.
> >>
> >>I'm trying to write Arabic documents using LyX and Docbook, it is
> >>working fine so far, LyX needs a bit of tweak for the SGML output to
> >>be valid though.
> >>problems start when producing output from the SGML source, I failed to
> >>find a way to specify RTL paragraphs, no my question is can we use a
> >>cascading style sheet to force paragraph direction??
> >>a typical docbook.css looks something like this
> >>
> >>..BOOK .TITLE          { text-align: center }
> >>..BOOK .SUBTITLE       { text-align: center }
> >>..BOOK .CORPAUTHOR     { text-align: center }
> >>..BOOK .AUTHOR         { text-align: center }
> >>..BOOK .AFFILIATION    { text-align: center }
> >>..BOOK .EDITEDBY       { text-align: center }
> >>..BOOK .EDITOR         { text-align: center }
> >>..BOOK .GRAPHIC        { text-align: center }
> >>
> >>so I assume these translate into tags eventually, if HTML supports
> >>BIDI
> >>tags then surely we can put them somewhere in a css file.
> >>
> >>
> >
> >I don't think HTML has anything to do with bidi (and when we refer
> >to bidi here, we refer to the unicode bidi algorithm uax#9).
> >The only thing html has that is related and I'm aware of is
> >"dir=rtl".
> >
> Not true. A browser that displays RTL characters must use
> the Unicode bidi algorithm. See chapter 8 "Language information
> and text direction " of HTML4 specification on:
> http://www.w3.org/TR/html4/struct/dirlang.html
>
> >
> >
> >
> >>I really know nothing about all this stuff, I'm just trying to come up
> >>with a working solution, hopefully I won't have to learn SGML, XML,
> >>DSSSL, HTML CSS and all these lovely letters just to be able  to
> >>produce a single sourced Arabic document.
> >>
> >>
> >>
> >
> >To tell you the truth, I have tried to do that in the past (skipping
> >the LyX part).. and ended up running circles around myself with
> >no luck whatsoever... so I put that on indefinite hold. The idea
> >was to get something setup to standardize Arabic documentation
> >for the project.
> >
> >Anyone have any ideas? If you find answers elsewhere, please do
> >share ;)
> >
> >later
> >
> Regards,
> Hicham
>
> >
> >
>
> _______________________________________________
> Developer mailing list
> Developer at arabeyes dot org
> http://arabeyes.org/mailman/listinfo/developer