emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Matt Price <moptop99@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: org->odt/html table export: adjusting default behaviour?
Date: Fri, 26 Aug 2011 03:31:26 +0530	[thread overview]
Message-ID: <81liuhqhft.fsf@gmail.com> (raw)
In-Reply-To: <CAN_Dec-8SB9Ht3iWndTArUSVn5S2+usAY-Uoeon0matT=U6DOA@mail.gmail.com> (Matt Price's message of "Thu, 25 Aug 2011 11:12:16 -0400")

Matt Price <moptop99@gmail.com> writes:

> The attached test file shows  an org file with tables whose columns
> include substantial amounts of text.  The default export to odt is
> pretty ugly in this case, and even in html (where things work to some
> extent) I would rather be able to control to some extent the way that
> long fields wrap.  is there a recommended way to do set values like
> table and column width for these two exports? I guess I am
> particularly concerned with the odt export -- can I e.g. adjust a
> default value somewhere in the styles.xml file? I doubt the problem
> will be easily solved but if someone can point me in the right
> direction I'd really appreciate it.

If you are creating big tables a better alternative would be to create
ods/xls spreadsheets from Orgmode tables. So

1. Export the table to csv format using M-x org-table-export RET etc etc
2. C-x C-f test.csv
3. C-u M-x org-lparse-convert RET 

4. When prompted for output format use TAB for completion to see the
   available formats. Pick ods or xls. (Hint: For a superior completion
   experience enable ido mode)

5. You will see the ods file opening up automagically under writer. (If
   you have not used C-u in step 4, only conversion will happen. The
   resulting file will not be opened)

Jambunathan K.

-- 

  parent reply	other threads:[~2011-08-25 22:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-25 15:12 org->odt/html table export: adjusting default behaviour? Matt Price
2011-08-25 15:36 ` Matt Price
2011-08-25 21:40 ` Jambunathan K
2011-08-26 14:24   ` Matt Price
2011-08-28 22:33     ` Jambunathan K
2011-08-28 22:40       ` [PATCH 1/2] Parse and store both col align and col width spec for later use Jambunathan K
2011-08-28 22:41       ` [PATCH 2/2] org-odt.el: Put table style and col sizes under direct user control Jambunathan K
2011-09-14  9:56   ` [odt] Support for table templates (was Re: org->odt/html table export: adjusting default behaviour?) Jambunathan K
2011-08-25 22:01 ` Jambunathan K [this message]
2011-08-26 14:13   ` org->odt/html table export: adjusting default behaviour? Matt Price

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=81liuhqhft.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=moptop99@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).