From: Uwe Brauer <oub@mat.ucm.es>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: RLT (hebrew) tables and org-odt-export-to-odt problems
Date: Wed, 06 Nov 2013 15:51:12 +0100 [thread overview]
Message-ID: <877gcleg7z.fsf@gilgamesch.quim.ucm.es> (raw)
In-Reply-To: 87ob60pum7.fsf@gmail.com
[-- Attachment #1: Type: text/plain, Size: 1542 bytes --]
>> "Jambunathan" == Jambunathan K <Jambunathan> writes:
> 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...
Hi
I tried to analyze the unzipped odt files, either generated by the
exporter or by OO. It seems to me that odt, does not support that within
*one* table, one can have one row R2L and the other L2L, but I am
not sure. If this were the case, maybe OO inserts one row visual not
logical?
So the following simple function[1] does reverse one row of a table in
org-mode and then the export function works as expected.
hten (defun my-org-table-reverse-cells-in-row ()
"Simple function to reverse cells in one row. This might be useful in tables with R2L and L2R text."
(interactive)
(save-excursion
(newline 1)
(end-of-line 1)
(newline 1)
(goto-char (org-table-begin))
(org-table-transpose-table-at-point)
(let* ((beg (org-table-begin))
(end (org-table-end)))
(goto-char beg)
(reverse-region beg end))
(org-table-transpose-table-at-point)
(kill-line nil)
(goto-char (org-table-begin))
(previous-line 1)
(kill-line nil)))
Uwe
Footnotes:
[1] thanks to Michael Brand for the main idea.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5556 bytes --]
prev parent reply other threads:[~2013-11-06 14:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-23 13:33 RLT (hebrew) tables and org-odt-export-to-odt problems Uwe Brauer
2013-10-30 20:41 ` Jambunathan K
2013-10-30 23:17 ` Uwe Brauer
2013-10-30 23:27 ` NOT SOLVED " Uwe Brauer
2013-10-30 23:37 ` org-odt-export-to-odt, tables bug in OO Uwe Brauer
2013-10-31 10:41 ` RLT (hebrew) tables and org-odt-export-to-odt problems Uwe Brauer
2013-11-04 6:08 ` Jambunathan K
2013-11-04 22:54 ` Uwe Brauer
2013-11-04 22:57 ` Uwe Brauer
2013-11-06 14:51 ` Uwe Brauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877gcleg7z.fsf@gilgamesch.quim.ucm.es \
--to=oub@mat.ucm.es \
--cc=emacs-orgmode@gnu.org \
--cc=kjambunathan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).