* exporting radio tables longtabular
@ 2018-05-21 12:45 Uwe Brauer
2018-05-21 13:11 ` [partially solved] (was: exporting radio tables longtabular) Uwe Brauer
0 siblings, 1 reply; 2+ messages in thread
From: Uwe Brauer @ 2018-05-21 12:45 UTC (permalink / raw)
To: emacs-orgmode
Hi
In a latex file the following radio table does precisely what I want
% BEGIN RECEIVE ORGTBL this
\begin{longtabu}{|l|l|}
\hline
hallo & this\\ \hline
\end{longtabu}
% END RECEIVE ORGTBL this
\begin{comment}
#+ORGTBL: SEND this orgtbl-to-latex :lend "\\\\ \\hline" :environment longtabu
| / | <> | <> |
|---+-------+------|
| | hallo | this |
\end{comment}
However when I try to work with an org file and exporting the table to a
latex file via
| / | <> | <> | <> | <> | <> | <> | <> | <> |
| | Apellido, Nombre | DNI | E1 | E2 | E3 | E4 | E5 | Res |
|---+------------------------------------+-----------+----+----+----+----+----+-----|
| | Brauer | | 1 | 1 | 2 | 3 | 3 | 10 |
# ATTR_LaTeX: :environment longtabu
It is not exported as a lontabu environment.
What do I miss?
Thanks
Uwe Brauer
^ permalink raw reply [flat|nested] 2+ messages in thread
* [partially solved] (was: exporting radio tables longtabular)
2018-05-21 12:45 exporting radio tables longtabular Uwe Brauer
@ 2018-05-21 13:11 ` Uwe Brauer
0 siblings, 0 replies; 2+ messages in thread
From: Uwe Brauer @ 2018-05-21 13:11 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1416 bytes --]
>>> "Uwe" == Uwe Brauer <oub@mat.ucm.es> writes:
> Hi
> | / | <> | <> | <> | <> | <> | <> | <> | <> |
> | | Apellido, Nombre | DNI | E1 | E2 | E3 | E4 | E5 | Res |
> |---+------------------------------------+-----------+----+----+----+----+----+-----|
> | | Brauer | | 1 | 1 | 2 | 3 | 3 | 10 |
> # ATTR_LaTeX: :environment longtabu
It seems that the following works:
#+LATEX_HEADER_EXTRA: \usepackage{longtable}
#+ATTR_LATEX: :environment longtable
| / | <> | <> | <> | <> | <> | <> | <> | <> |
| | Apellido, Nombre | DNI | E1 | E2 | E3 | E4 | E5 | Res |
|---+------------------------------------+-----------+----+----+----+----+----+-----|
| | Brauer | | 1 | 1 | 2 | 3 | 3 | 10 |
However a bit strange table is generated in the latex file:
\begin{longtable}{|l|l|r|r|r|r|r|r|}
Apellido, Nombre & DNI & E1 & E2 & E3 & E4 & E5 & Res\\ \hline
\hline
\endfirsthead
\multicolumn{8}{l}{Continued from previous page} \\ \hline
\hline
Apellido, Nombre & DNI & E1 & E2 & E3 & E4 & E5 & Res \\ \hline
\hline
\endhead
\hline\multicolumn{8}{r}{Continued on next page} \\ \hline
\endfoot
\endlastfoot
\hline
Why that?
Uwe Brauer
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5025 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-21 13:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-21 12:45 exporting radio tables longtabular Uwe Brauer
2018-05-21 13:11 ` [partially solved] (was: exporting radio tables longtabular) Uwe Brauer
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.