all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Alex Fenton <alex@pressure.to>
Cc: emacs-orgmode@gnu.org
Subject: Re: table alignment tags in Org export
Date: Sat, 20 Aug 2022 15:42:20 +0800	[thread overview]
Message-ID: <874jy7nyxv.fsf@localhost> (raw)
In-Reply-To: <9ea782f0-1633-d709-488c-24c2f18c06ca@pressure.to>

Alex Fenton <alex@pressure.to> writes:

> Trying to export a table with alignment tags, e.g.
>
>
> #+caption: left-, centre- and right aligned columns
> | <l>    |   <c>    |      <r> |
> | a      |    b     |        c |
> | aaaaaa | bbbbbbbb | cccccccc |
>
> In, for example, HTML or ODT output, the columns are aligned according 
> to the tags in the first row.
>
> If exporting to Org (org-org-export-as-org), the tags disappear - i.e. 
> the table is as-was, minus the first row.

Confirmed.

> Is there a way to retain the alignment information when re-exporting to 
> Org? - either a function or some setting somewhere

No. Currently, ox-org.el currently disregards table cell alignment and width.

-- 
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92


  reply	other threads:[~2022-08-20  7:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-19 13:28 table alignment tags in Org export Alex Fenton
2022-08-20  7:42 ` Ihor Radchenko [this message]
2024-02-12 14:00   ` Ihor Radchenko
  -- strict thread matches above, loose matches on Subject: below --
2022-08-18  7:23 Alex Fenton

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874jy7nyxv.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=alex@pressure.to \
    --cc=emacs-orgmode@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.