emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Does html table export require that the top row be treated as a


From: Bastien
Subject: Re: [O] Does html table export require that the top row be treated as a header?
Date: Mon, 27 Aug 2012 09:37:42 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)

Hi John,

John Hendy <address@hidden> writes:

> I have a document I will export via pdf and html. My table is like so:
>
> #+attr_latex: align={lp{0.8\textwidth}}
> #+attr_html: width="600px"
> | *R1* | stuff            |
> |------+------------------|
> | *R2* | more stuff       |
> |------+------------------|
> | *R2* | some third stuff |
>
> I'd like horizontal separators in LaTeX and don't care one way or the
> other for html so since there didn't seem to be a way to have them in
> one and not the other I inserted them. When I export the html, it
> looks as though since I have separators it exports the top row as
> class=th instead of tr like a normal row. This bolds and centers it.
>
> Any way to have it treat the top row as a regular row in the presence
> of midlines?

#+BIND: org-export-table-header-tags ("<tr>" . "</tr>")

HTH,

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]