emacs-bidi
[Top][All Lists]
Advanced

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

[emacs-bidi] Re: Does this sample file look right?


From: Scot Becker
Subject: [emacs-bidi] Re: Does this sample file look right?
Date: Wed, 19 May 2010 11:55:10 +0100

Note that the sample in my last email was (correctly) wrapped by
gmail, so the long Heb line doesn't wrap from bottom to top.   You'll
have to look at the attached file in a bidi-reordered buffer to see
what I mean.

sb


2010/5/19 Scot Becker <address@hidden>:
> I'd be glad to know if the way this file appears to me (attached as
> sample.txt and copied below) is the way I should expect it.
> (viewed with emacs -Q and bidi-display-reordering set to 't')
>
> What I see:  The Hebrew paragraphs are happily RTL, and vowels look
> good, depending on the font.  But the paragraphs are also
> left-aligned.  This means that the short ones start half way through
> the screen line (rather than at the right edge), and the longer ones
> wrap UPwards if the window is narrow.  E.g. two-line paragrahs start
> on the second line, and proceed leftwards till the logical end of the
> screen line, then continue on the right edge of the preceding line.
> This happens also with visual line mode on.
>
> Is the left-alignment a feature of this particular file, or of the
> Emacs bidi display algorigthm?  If it's a feature of the file
> ---perhaps a single LTR character at the start of the RTL paragraphs?
> The file is the product of an OpenOffice export of a original .doc
> file--- can someone suggest a way to regex-replace the file to make
> the Heb paragraphs right-align (as you might guess the original text
> file is somewhat longer).  I'd prefer the English left-align, but
> that's less important.  I tried to set bidi-paragraph-direction
> without success.
>
> Or is that layout just what you'd expect given that we're dealing with
> bi-directional text?
>
> Thanks,
>
> Scot
>
> Here's the snippet.  If it doesn't work here, it's also attached.
>
> GENESIS
> Gen. 1:1
> בְּרֵאשִׁית בָּרָא אֱלֹהִים אֵת הַשָּׁמַיִם וְאֵת הָאָרֶץ׃
> Gen. 1:2
> וְהָאָרֶץ הָיְתָה תֹהוּ וָבֹהוּ וְחֹשֶׁךְ עַל־פְּנֵי תְהֹום וְרוּחַ
> אֱלֹהִים מְרַחֶפֶת עַל־פְּנֵי הַמָּיִם׃
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]