From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: org->odt/html table export: adjusting default behaviour? Date: Fri, 26 Aug 2011 03:31:26 +0530 Message-ID: <81liuhqhft.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwi0I-0004Fk-Qd for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 18:02:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qwi0H-0003xM-P5 for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 18:02:26 -0400 Received: from mail-pz0-f44.google.com ([209.85.210.44]:39606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwi0H-0003xG-JD for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 18:02:25 -0400 Received: by pzk36 with SMTP id 36so3756971pzk.17 for ; Thu, 25 Aug 2011 15:02:24 -0700 (PDT) In-Reply-To: (Matt Price's message of "Thu, 25 Aug 2011 11:12:16 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matt Price Cc: Org Mode Matt Price 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. --