Re: [O] HTML table export options essentially undocumented

2014-03-19 Thread Bastien
Hi James,

James Harkins  writes:

> It may be useful to link to this from the page on tables in HTML
> export, then.

I slightly enhance the "Tables in HTML export" section of the manual.

Thanks,

-- 
 Bastien



Re: [O] HTML table export options essentially undocumented

2014-03-19 Thread James Harkins
On Mar 18, 2014 4:45 PM, "Nicolas Goaziou"  wrote:
> Did you try column groups?
>
>   (info "(org) Column groups")
>
> It is not back-end specific.

No, I hadn't... I was in a rush and trying to do something that I thought
would be simple (and just a quick and dirty one-off export). Even given
more time, I'm not sure I would have thought to look in the tables section.

It may be useful to link to this from the page on tables in HTML export,
then.

hjh


Re: [O] HTML table export options essentially undocumented

2014-03-18 Thread Nicolas Goaziou
Hello,

James Harkins  writes:

> The documentation here seems rather un-detailed.
>
> http://orgmode.org/manual/Tables-in-HTML-export.html#Tables-in-HTML-export
>
> What I wanted to do was to have vertical rules between all columns,
> but not horizontal rules. Neither this section of the documentation,
> nor the docstring for org-html-table-default-attributes, provide any
> details on how to do this.

Did you try column groups?

  (info "(org) Column groups")

It is not back-end specific.


Regards,

-- 
Nicolas Goaziou



Re: [O] HTML table export options essentially undocumented

2014-03-17 Thread Vladimir Lomov
Hello,
** James Harkins [2014-03-18 13:52:10 +0800]:

> The documentation here seems rather un-detailed.

> http://orgmode.org/manual/Tables-in-HTML-export.html#Tables-in-HTML-export

> What I wanted to do was to have vertical rules between all columns, but not
> horizontal rules. Neither this section of the documentation, nor the
> docstring for org-html-table-default-attributes, provide any details on how
> to do this.

> It's a rather busy day and I'm not in the mood to scour through the elisp
> sources, so, could someone please enlighten (and fix the docs)?

AFAIU, in current state table decoration is hard coded into exporter.
But that doesn't mean you cannot change they style. Take a look on this
small example:
-- 8< --
#+TITLE: Table with borders
#+AUTHOR: Vladimir Lomov
#+HTML_HEAD_EXTRA: 

* Small table

| Name | Address|
|--+|
| Clifford, A. | Kensington Av. |
| Euler, G | Krechet Str.   |

* CSS Style:noexport:

#+BEGIN_SRC css :tangle tbl.css
  table {
border: solid 1px;
  }
  td {
border: solid 1px;
  }
#+END_SRC
-- 8< --

How to try: tangle the SRC block and then export the document into HTML.
Open it in any web-browser that supports CSS.

> hjh

---
WBR, Vladimir Lomov

-- 
Some people have a way about them that seems to say: "If I have
only one life to live, let me live it as a jerk."



[O] HTML table export options essentially undocumented

2014-03-17 Thread James Harkins

The documentation here seems rather un-detailed.

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

What I wanted to do was to have vertical rules between all columns, but not 
horizontal rules. Neither this section of the documentation, nor the 
docstring for org-html-table-default-attributes, provide any details on how 
to do this.


It's a rather busy day and I'm not in the mood to scour through the elisp 
sources, so, could someone please enlighten (and fix the docs)?


hjh