emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Does html table export require that the top row be treated as a header?
Date: Mon, 27 Aug 2012 09:37:42 +0200	[thread overview]
Message-ID: <87y5l0yed5.fsf@altern.org> (raw)
In-Reply-To: <CA+M2ft-BTySKbtZGht6aa4HibcidX0ggUhB81w2OTt+k0Q77XA@mail.gmail.com> (John Hendy's message of "Fri, 24 Aug 2012 17:47:39 -0500")

Hi John,

John Hendy <jw.hendy@gmail.com> 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	other threads:[~2012-08-27  7:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-24 22:47 Does html table export require that the top row be treated as a header? John Hendy
2012-08-27  7:37 ` Bastien [this message]

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=87y5l0yed5.fsf@altern.org \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=jw.hendy@gmail.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).