Re: [O] Tables in HTML export

2018-12-07 Thread Vikas Rawal
> My specific use case is that I have a multi-row table header created in an
> > R code block. I do not have a way of creating a horizontal line, and
> > without that the header is not being recognised as the header in html
> > export.
>

I defined the following macro.

#+MACRO: hlmacro (eval (org-table-insert-hline))

Then, inserting {{{hlmacro}}} in a table cell (I can do that in a table
generated by a code block) results in insertion of an hline below the cell
at the beginning of export. The header is then correctly identified.

Thanks,

Vikas


Re: [O] Tables in HTML export

2018-12-07 Thread Nicolas Goaziou
Hello,

Vikas Rawal  writes:

> How does org identify which table rows should be exported with header tags?
> It seems rows above a horizontal line are automatically converted using
>  tags. Is there a way of controlling this?

All rows above the first separator (or the second one if ) are
considered to be part of the header.

> My specific use case is that I have a multi-row table header created in an
> R code block. I do not have a way of creating a horizontal line, and
> without that the header is not being recognised as the header in html
> export.

See `org-html-table-row-open-tag', probably.

Regards,

-- 
Nicolas Goaziou



[O] Tables in HTML export

2018-12-06 Thread Vikas Rawal
How does org identify which table rows should be exported with header tags?
It seems rows above a horizontal line are automatically converted using
 tags. Is there a way of controlling this?

My specific use case is that I have a multi-row table header created in an
R code block. I do not have a way of creating a horizontal line, and
without that the header is not being recognised as the header in html
export.

Would be grateful for any pointers.

Vikas