From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <8362aty921.fsf__26626.0995799259$1339703006$gmane$org@gnu.org> References: Reply-To: Eli Zaretskii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfFwj-00085p-3r for emacs-orgmode@gnu.org; Thu, 14 Jun 2012 15:43:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfFwh-0003d4-8M for emacs-orgmode@gnu.org; Thu, 14 Jun 2012 15:43:08 -0400 Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-Message-ID: In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dov Grobgeld Cc: 11710@debbugs.gnu.org > Date: Thu, 14 Jun 2012 21:20:17 +0300 > From: Dov Grobgeld > > 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
...
, 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))