[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11710: 24.1.50; Bidi attributes are not exported in org-mode html ou
From: |
Eli Zaretskii |
Subject: |
bug#11710: 24.1.50; Bidi attributes are not exported in org-mode html output |
Date: |
Thu, 14 Jun 2012 22:42:30 +0300 |
> Date: Thu, 14 Jun 2012 21:20:17 +0300
> From: Dov Grobgeld <dov.grobgeld@gmail.com>
>
> When using bidi (bi-direction) reordering together with org-mode, all
> paragraphs automatically become either RTL or LTR according to the
> emacs' Bidi heuristic algorithm.
Did you customize Emacs to dynamically determine the paragraph
direction in Org buffers? By default they are forced to be
left-to-right.
> But when exporting to HTML, the resolved paragraph direction is not
> included. In HTML the paragraph directions must be set explicitly,
> e.g. by <div dir="RTL">...</div>, and they should be set according
> to the directions resolved by emacs.
To the Org maintainers: the resolved paragraph direction at character
position N in the current buffer can be retrieved like this:
(save-excursion
(goto-char N)
(current-bidi-paragraph-direction))