[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] orgtbl-to-latex and orgtbl-to-html with boundaries and line
From: |
Uwe Brauer |
Subject: |
[O] orgtbl-to-latex and orgtbl-to-html with boundaries and line |
Date: |
Fri, 15 Apr 2016 21:39:37 +0000 |
User-agent: |
Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.50 (gnu/linux) |
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
- [O] orgtbl-to-latex and orgtbl-to-html with boundaries and line,
Uwe Brauer <=