From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Org+table.el = mutli line cells? Date: Tue, 6 Jul 2010 09:08:57 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1769604664==" Return-path: Received: from [140.186.70.92] (port=50465 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OW8pZ-0003eb-US for emacs-orgmode@gnu.org; Tue, 06 Jul 2010 10:09:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OW8pX-0006wp-Py for emacs-orgmode@gnu.org; Tue, 06 Jul 2010 10:09:01 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:53244) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OW8pX-0006wa-Mg for emacs-orgmode@gnu.org; Tue, 06 Jul 2010 10:08:59 -0400 Received: by yxn35 with SMTP id 35so670659yxn.0 for ; Tue, 06 Jul 2010 07:08:58 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode --===============1769604664== Content-Type: multipart/alternative; boundary=0016364d2c9b2071be048ab89885 --0016364d2c9b2071be048ab89885 Content-Type: text/plain; charset=ISO-8859-1 Freaking awesome. What in the world *cant'* you set with Emacs/org? Incredible. John On Tue, Jul 6, 2010 at 3:41 AM, Carsten Dominik wrote: > > On Jul 2, 2010, at 4:54 PM, John Hendy wrote: > > - Thanks for the table link, though I only see how to change frames and >> borders on the provided link. Do I just need to pass some html/css option >> through #+ATTR_HTML? >> >> - Also... stupid me. I meant to specify that I'm looking to do this in >> LaTeX, not necessarily html, though I'm glad to have knowledge of both. >> >> After more reading, this seems pretty doable through the 'p{width}' >> alignment option which seems to work through #+ATTR_LaTeX to control >> automatic wrapping in a cell. My remaining question is whether or not it's >> possible to enable tabular* instead of the default environment as then I >> could limit both columns and determine table widths. I don't know that >> tabular seems to have this option? >> > > After git pull, you can do > > (setq org-export-latex-tabular-environment "tabular*") > > HTH > > - Carsten > > > >> >> Thanks, >> John >> >> On Thu, Jul 1, 2010 at 11:37 PM, Carsten Dominik < >> carsten.dominik@gmail.com> wrote: >> >> On Jul 1, 2010, at 10:14 PM, John Hendy wrote: >> >> Hi, >> >> >> I export to variable page widths and would like to be able to specify a >> limit on my tables which seem to always run on as long as they need to >> without regard for any margins or borders. I found a post here where a user >> asked the question I was looking for: >> http://www.mail-archive.com/emacs-orgmode@gnu.org/msg22353.html >> >> So... table.el (as I have since found during fiddling) does create >> multi-line cells, which is awesome. >> >> I can't find any documentation for it, though?? I am just looking for >> [hopefully] basic/easy things like: >> >> - bold a cell (*word* doesn't seem to work in table.el tables) >> - limit the overall width of the table >> >> Formatting inside table.el cells does not work because this is a >> completely >> different export mechanism. >> >> To fix the width of a table (normal Org-mode table), see >> >> http://orgmode.org/manual/Tables-in-HTML-export.html#Tables-in-HTML-export >> >> - Carsten >> >> >> > - Carsten > > > > --0016364d2c9b2071be048ab89885 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Freaking awesome. What in the world *cant'* you set with Emacs/org? Inc= redible.

John

On Tue, Jul 6, 2010 = at 3:41 AM, Carsten Dominik <carsten.dominik@gmail.com> wrote:

On Jul 2, 2010, at 4:54 PM, John Hendy wrote:

- Thanks for the table link, though I only see how to change frames and bor= ders on the provided link. Do I just need to pass some html/css option thro= ugh #+ATTR_HTML?

- Also... stupid me. I meant to specify that I'm looking to do this in = LaTeX, not necessarily html, though I'm glad to have knowledge of both.=

After more reading, this seems pretty doable through the 'p{width}'= alignment option which seems to work through #+ATTR_LaTeX to control autom= atic wrapping in a cell. My remaining question is whether or not it's p= ossible to enable tabular* instead of the default environment as then I cou= ld limit both columns and determine table widths. I don't know that tab= ular seems to have this option?

After git pull, you can do

(setq org-export-latex-tabular-environment "tabular*")

HTH

- Carsten




Thanks,
John

On Thu, Jul 1, 2010 at 11:37 PM, Carsten Dominik <carsten.dominik@gmail.com> = wrote:

On Jul 1, 2010, at 10:14 PM, John Hendy wrote:

Hi,


I export to variable page widths and would like to be able to specify a lim= it on my tables which seem to always run on as long as they need to without= regard for any margins or borders. I found a post here where a user asked = the question I was looking for: http://www.mail-archive.= com/emacs-orgmode@gnu.org/msg22353.html

So... table.el (as I have since found during fiddling) does create multi-li= ne cells, which is awesome.

I can't find any documentation for it, though?? I am just looking for [= hopefully] basic/easy things like:

- bold a cell (*word* doesn't seem to work in table.el tables)
- limit the overall width of the table

Formatting inside table.el cells does not work because this is a completely=
different export mechanism.

To fix the width of a table (normal Org-mode table), see

http://orgmode.org/manual/Tables-in-HTML-expo= rt.html#Tables-in-HTML-export

- Carsten



- Carsten




--0016364d2c9b2071be048ab89885-- --===============1769604664== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1769604664==--