emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [bug] Tables in lists not exported to ODT
Date: Fri, 20 Jan 2012 09:48:26 +0530	[thread overview]
Message-ID: <814nvr57n1.fsf@gmail.com> (raw)
In-Reply-To: <87obu24s2d.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Tue, 17 Jan 2012 09:05:46 +0000")


> One comment: for tables that are indented, it probably makes sense to
> have the table take up 100% of the width available to it?  

Do you want to maximize the real-estate available for tables - indented
or otherwise.

Indentation for tables consume some real estate. Are you saying that you
want no indentation for tables AND have them occupy 100% of paper-width
(save for margins).

> In any case, is there an easy way to customise this from within
> LibreOffice?  I note that, in etc/styles/OrgOdtContentTemplate.xml,
> you have defined OrgTable with 96% for the width but I have no idea
> how to change that value from within LibreOffice.  

I am open to bumping the number to 100% by default, if that makes the
exporter more usable.

Btw, I was trying to make the tables cute-looking (i.e., have them
occupy just the right amount of space) There is no easy way to do it
from within org-odt + LibreOffice combo.

> This OrgTable "style" does not appear anywhere in the style chooser
> (F11).

Tables and table related things are not cusotmizable through the
LibreOffice stylist. The OASIS spec does allow for "common styles" for
tables - styles that you typically see in the LibreOffice stylist or
OrgOdtStyles.xml. Since LibreOffice's implementation doesn't honor
common styles for tables and totally ignore those, I have no option but
to put them in the OrgOdtContentTemplate.xml file as automatic styles.

The only easiest way is to modify the XML file directly.

> By the way, I was surprised, upon reading your comments in the git log,
> that OpenDocument doesn't support tables within lists.  This seems like
> a silly restriction?  Given that OpenDocument uses XML for its encoding,
> I would have thought that a hierarchical structure in a document would
> be trivial to represent.  Do you know what the reasoning was?  Just
> curious!

I have no clue.

To my untrained eye, OASIS spec seems more like a documentation of an
existing system (as an after-thought) and doesn't provide any
commentaries on underlying design principle. So the user is left with
his own (subjective) judgments.

Based on your (LaTeX) experience, what is the best way to typeset
tables. Should they be put in a frame and configurable as floats?

> Thanks again,
> eric

  reply	other threads:[~2012-01-20  4:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-13 11:54 [bug] Tables in lists not exported to ODT Eric S Fraga
2012-01-13 13:06 ` Eric S Fraga
2012-01-16 21:24   ` Jambunathan K
2012-01-17  9:05     ` Eric S Fraga
2012-01-20  4:18       ` Jambunathan K [this message]
2012-01-20  8:44         ` Eric S Fraga
2012-01-23  7:05           ` Jambunathan K
2012-01-23  7:00         ` Jambunathan K
2012-01-23 10:48           ` Andreas Leha
2012-01-23 11:06             ` Christian Moe
2012-01-20 19:42       ` Achim Gratz
2012-01-21 13:49         ` Eric S Fraga

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=814nvr57n1.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --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 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).