emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: orgtbl-to-latex  and orgtbl-to-html with boundaries and line
Date: Fri, 15 Apr 2016 21:39:37 +0000	[thread overview]
Message-ID: <87r3e6blgm.fsf@mat.ucm.es> (raw)

Hello

Thanks to advice received in this list orgtbl-to-latex does precisely
what I want, it generates a latex table with boundaries and hlines. Here
is an example

% BEGIN RECEIVE ORGTBL this
\begin{tabular}{|l|l|}
this & that\\ \hline
this & that\\ \hline
\end{tabular}
% END RECEIVE ORGTBL this
\begin{comment}
#+ORGTBL: SEND this orgtbl-to-latex  :lend "\\\\ \\hline" :environment tabular
| / | <>   | <>   |
|   | this | that |
|   | this | that |
\end{comment}


Now I would like to have the same for  orgtbl-to-html
but the standard configuration gives

<!-- BEGIN RECEIVE ORGTBL this -->
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="org-left" />
</colgroup>

<colgroup>
<col  class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left">this</td>
<td class="org-left">that</td>
</tr>

<tr>
<td class="org-left">this</td>
<td class="org-left">that</td>
</tr>
</tbody>
</table>
<!-- END RECEIVE ORGTBL this -->
<!--
#+ORGTBL: SEND this orgtbl-to-html :splice nil :skip 0
| / | <>   | <>   |
|   | this | that |
|   | this | that |
-->

However the produced table did not contain outer boundaries nor
horizonal lines. I presume I have to change
#+ORGTBL: SEND this orgtbl-to-html :splice nil :skip 0

to something else, but what? I googled for quite a while.

thanks

Uwe Brauer 

             reply	other threads:[~2016-04-15 21:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-15 21:39 Uwe Brauer [this message]
2016-04-16  8:16 ` orgtbl-to-latex and orgtbl-to-html with boundaries and line Uwe Brauer
2016-04-16  9:46   ` Nicolas Goaziou

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=87r3e6blgm.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --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).