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 וְהָאָרֶץ הָיְתָה תֹהוּ וָבֹהוּ וְחֹשֶׁךְ עַל־פְּנֵי תְהֹום וְרוּחַ אֱלֹהִים מְרַחֶפֶת עַל־פְּנֵי הַמָּיִם׃
GENESIS Gen. 1:1 בְּרֵאשִׁית בָּרָא אֱלֹהִים אֵת הַשָּׁמַיִם וְאֵת הָאָרֶץ׃ Gen. 1:2 וְהָאָרֶץ הָיְתָה תֹהוּ וָבֹהוּ וְחֹשֶׁךְ עַל־פְּנֵי תְהֹום וְרוּחַ אֱלֹהִים מְרַחֶפֶת עַל־פְּנֵי הַמָּיִם׃
_______________________________________________ emacs-bidi mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-bidi
