From: Vikas Rawal <vikaslists@agrarianresearch.org>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Tables in HTML export
Date: Sat, 8 Dec 2018 05:39:34 +0530 [thread overview]
Message-ID: <CAFVt51Kc9Z2cf6tXo9e7fB5HxFoJwtSVjKzhAKFJ2Ro3p5-f9Q@mail.gmail.com> (raw)
In-Reply-To: <87in058n9h.fsf@nicolasgoaziou.fr>
[-- Attachment #1: Type: text/plain, Size: 553 bytes --]
> 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
[-- Attachment #2: Type: text/html, Size: 1095 bytes --]
prev parent reply other threads:[~2018-12-08 0:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-07 1:29 Tables in HTML export Vikas Rawal
2018-12-07 13:44 ` Nicolas Goaziou
2018-12-08 0:09 ` Vikas Rawal [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=CAFVt51Kc9Z2cf6tXo9e7fB5HxFoJwtSVjKzhAKFJ2Ro3p5-f9Q@mail.gmail.com \
--to=vikaslists@agrarianresearch.org \
--cc=emacs-orgmode@gnu.org \
/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).