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 <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 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