From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: RLT (hebrew) tables and org-odt-export-to-odt problems Date: Mon, 04 Nov 2013 11:38:00 +0530 Message-ID: <87ob60pum7.fsf@gmail.com> References: <87y55kun5y.fsf@gilgamesch.quim.ucm.es> <87wqku5w66.fsf@gmail.com> <87li194ta6.fsf@gilgamesch.quim.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdDJc-0002sv-Uf for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 01:07:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdDJY-00006G-GO for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 01:07:08 -0500 Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]:61047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdDJY-000067-6B for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 01:07:04 -0500 Received: by mail-pa0-f52.google.com with SMTP id bj1so6471981pad.25 for ; Sun, 03 Nov 2013 22:07:03 -0800 (PST) In-Reply-To: <87li194ta6.fsf@gilgamesch.quim.ucm.es> (Uwe Brauer's message of "Thu, 31 Oct 2013 11:41:05 +0100") 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: Uwe Brauer Cc: emacs-orgmode@gnu.org Uwe > r2ltableorg.org is the org file and displays the text as > intended. However not all of the text was written in logical order by > GNU emacs, but copied from some other sources. I am venturing in to the wild here and it will take multiple iterations for me to even get a "feel" for what needs to be happen. I am not even sure what is right or wrong here. Anyways... ---------------------------------------------------------------- Further to our exchange on the emacs-devel list, http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00134.html I see that the file you passed me has no bi-directional markers whatsoever. I think presence of markers would affect how libreoffice would layout the table. I suggest that you pass me an Org file, that has the right bidi-paragraph-direction (as a local variable) and has the right set of bidi markers. (Furthermore, explicitly mark the org file as utf-8 coded. I am not sure what coding system the attachment is coded to. When I view the attachment in Gnus, I only see the latin characters.) ---------------------------------------------------------------- As for getting the table cells laid right, try this out. 1. Export a hebrew.org file to hebrew.odt 2. Open the .odt file in LibreOffice. F11->Page Style->Default Page Style->Page->Text Direction->Set it to "Right to Left". I think that this would set the predominant direction of your document. I believe, it would correspond to bidi-paragraph-direction setting. 3. File->Save as->somefile.ott Now in your hebrew.org file, add this directive #+ODT_STYLES_FILE: "hebrew.ott" This will make the exported document an R2L document. 4. Export again. See what happens ---------------------------------------------------------------- (The process is the same for setting your preferred font.)