[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [bug] Tables in lists not exported to ODT

From: Jambunathan K
Subject: Re: [O] [bug] Tables in lists not exported to ODT
Date: Fri, 20 Jan 2012 09:48:26 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (windows-nt)

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]