From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1339702999 10763 80.91.229.3 (14 Jun 2012 19:43:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jun 2012 19:43:19 +0000 (UTC) Cc: 11710@debbugs.gnu.org To: Dov Grobgeld Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 14 21:43:18 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SfFwo-0004BL-Fk for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jun 2012 21:43:14 +0200 Original-Received: from localhost ([::1]:58689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfFwo-0008Au-DH for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jun 2012 15:43:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfFwm-000867-7s for bug-gnu-emacs@gnu.org; Thu, 14 Jun 2012 15:43:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfFwk-0003do-Iu for bug-gnu-emacs@gnu.org; Thu, 14 Jun 2012 15:43:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfFwh-0003cu-5N; Thu, 14 Jun 2012 15:43:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SfFzV-0004Wk-Gy; Thu, 14 Jun 2012 15:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Thu, 14 Jun 2012 19:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11710 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: Original-Received: via spool by 11710-submit@debbugs.gnu.org id=B11710.133970311217340 (code B ref 11710); Thu, 14 Jun 2012 19:46:01 +0000 Original-Received: (at 11710) by debbugs.gnu.org; 14 Jun 2012 19:45:12 +0000 Original-Received: from localhost ([127.0.0.1]:42658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfFyh-0004Vd-W9 for submit@debbugs.gnu.org; Thu, 14 Jun 2012 15:45:12 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:45498) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfFyf-0004VV-Ti for 11710@debbugs.gnu.org; Thu, 14 Jun 2012 15:45:10 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M5M00F00H6GN400@a-mtaout22.012.net.il> for 11710@debbugs.gnu.org; Thu, 14 Jun 2012 22:42:13 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M5M00FIVHEDNV00@a-mtaout22.012.net.il>; Thu, 14 Jun 2012 22:42:13 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60985 Archived-At: > 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))