emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Does html table export require that the top row be treated as a header?
Date: Fri, 24 Aug 2012 17:47:39 -0500	[thread overview]
Message-ID: <CA+M2ft-BTySKbtZGht6aa4HibcidX0ggUhB81w2OTt+k0Q77XA@mail.gmail.com> (raw)

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?


Thanks,
John

             reply	other threads:[~2012-08-24 22:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-24 22:47 John Hendy [this message]
2012-08-27  7:37 ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+M2ft-BTySKbtZGht6aa4HibcidX0ggUhB81w2OTt+k0Q77XA@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Does html table export require that the top row be treated as a header?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this 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).