emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org+table.el = mutli line cells?
@ 2010-07-01 20:14 John Hendy
  2010-07-02  4:37 ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: John Hendy @ 2010-07-01 20:14 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 703 bytes --]

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

Thanks hopefully this is not an idiotic question...


John

[-- Attachment #1.2: Type: text/html, Size: 848 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Org+table.el = mutli line cells?
  2010-07-01 20:14 Org+table.el = mutli line cells? John Hendy
@ 2010-07-02  4:37 ` Carsten Dominik
  2010-07-02 14:54   ` John Hendy
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2010-07-02  4:37 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Org+table.el = mutli line cells?
  2010-07-02  4:37 ` Carsten Dominik
@ 2010-07-02 14:54   ` John Hendy
  2010-07-06  8:41     ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: John Hendy @ 2010-07-02 14:54 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1814 bytes --]

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


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

[-- Attachment #1.2: Type: text/html, Size: 2610 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Org+table.el = mutli line cells?
  2010-07-02 14:54   ` John Hendy
@ 2010-07-06  8:41     ` Carsten Dominik
  2010-07-06 14:08       ` John Hendy
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2010-07-06  8:41 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Org+table.el = mutli line cells?
  2010-07-06  8:41     ` Carsten Dominik
@ 2010-07-06 14:08       ` John Hendy
  0 siblings, 0 replies; 5+ messages in thread
From: John Hendy @ 2010-07-06 14:08 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 2247 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 3320 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-07-06 14:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-01 20:14 Org+table.el = mutli line cells? John Hendy
2010-07-02  4:37 ` Carsten Dominik
2010-07-02 14:54   ` John Hendy
2010-07-06  8:41     ` Carsten Dominik
2010-07-06 14:08       ` John Hendy

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