* orgtbl-to-latex and orgtbl-to-html with boundaries and line
@ 2016-04-15 21:39 Uwe Brauer
2016-04-16 8:16 ` Uwe Brauer
0 siblings, 1 reply; 3+ messages in thread
From: Uwe Brauer @ 2016-04-15 21:39 UTC (permalink / raw
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: orgtbl-to-latex and orgtbl-to-html with boundaries and line
2016-04-15 21:39 orgtbl-to-latex and orgtbl-to-html with boundaries and line Uwe Brauer
@ 2016-04-16 8:16 ` Uwe Brauer
2016-04-16 9:46 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Uwe Brauer @ 2016-04-16 8:16 UTC (permalink / raw
To: emacs-orgmode
>>> "Uwe" == Uwe Brauer <oub@mat.ucm.es> writes:
> <!-- BEGIN RECEIVE ORGTBL this -->
> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
This seem to be the problematic line. I would like that
orgtbl-to-html would generate
<table border="2" cellspacing="0" cellpadding="6" rules="all" frame="border">
How can I achieve that?
Uwe Brauer
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: orgtbl-to-latex and orgtbl-to-html with boundaries and line
2016-04-16 8:16 ` Uwe Brauer
@ 2016-04-16 9:46 ` Nicolas Goaziou
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2016-04-16 9:46 UTC (permalink / raw
To: emacs-orgmode
Hello,
Uwe Brauer <oub@mat.ucm.es> writes:
>>>> "Uwe" == Uwe Brauer <oub@mat.ucm.es> writes:
>
>
> > <!-- BEGIN RECEIVE ORGTBL this -->
> > <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
>
> This seem to be the problematic line. I would like that
> orgtbl-to-html would generate
>
> <table border="2" cellspacing="0" cellpadding="6" rules="all" frame="border">
>
> How can I achieve that?
You could play with :tstart parameter. See `orgtbl-to-generic'
docstring.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-04-16 9:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-15 21:39 orgtbl-to-latex and orgtbl-to-html with boundaries and line Uwe Brauer
2016-04-16 8:16 ` Uwe Brauer
2016-04-16 9:46 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.