[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RTL lines
From: |
tomas |
Subject: |
Re: RTL lines |
Date: |
Thu, 28 Oct 2021 09:03:11 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Oct 28, 2021 at 08:08:53AM +0200, Alexandre Garreau wrote:
[...]
> Oh ok, but do they define what a paragraph is?
This is... complicated. See [0], especially [1], and the references
from there. My take (but note that I'm an analphabet here) is that
there usually will be a surrounding level of "markup" (e.g. XML,
HTML, something else) which decides what a paragraph is. The usual
convention of an empty line separating paragraphs is fine as that
"surrounding level", too. Unicode also has a "paragraph separator",
\u2029, in case you need one.
However that separation is done, the BIDI algorithm doesn't care.
It works exclusively whithin one paragraph, whatever happens in one
paragraph doesn't touch the others, and thus it wants to be fed
single paragraphs.
Read the refs. Very instructive (and you'll learn to appreciate a
bit more what a labour of love Eli has been doing before he became
our maintainer).
Cheers
[0] https://www.unicode.org/reports/tr9/
[1] https://www.unicode.org/reports/tr9/#Basic_Display_Algorithm
- t
signature.asc
Description: Digital signature
Verticality and future of display engine and lines (bis) [Was: Re: RTL lines], Alexandre Garreau, 2021/10/27
- Re: Verticality and future of display engine and lines (bis) [Was: Re: RTL lines], Eli Zaretskii, 2021/10/27
- Re: Verticality and future of display engine and lines (bis) [Was: Re: RTL lines], Alexandre Garreau, 2021/10/27
- Re: Verticality and future of display engine and lines (bis) [Was: Re: RTL lines], Eli Zaretskii, 2021/10/27
- Re: Verticality and future of display engine and lines (bis) [Was: Re: RTL lines], Alexandre Garreau, 2021/10/27
- Re: Verticality and future of display engine and lines (bis) [Was: Re: RTL lines], Eli Zaretskii, 2021/10/28
- Re: Verticality and future of display engine and lines (bis) [Was: Re: RTL lines], Alexandre Garreau, 2021/10/28
- Re: Verticality and future of display engine and lines (bis) [Was: Re: RTL lines], Eli Zaretskii, 2021/10/28
- Re: Verticality and future of display engine and lines (bis) [Was: Re: RTL lines], Alexandre Garreau, 2021/10/28