From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: format of orgtbl-insert-table: format {|l|l|} and longtabu Date: Wed, 24 Feb 2016 17:35:56 +0000 Message-ID: <874mcym2o3.fsf@mat.ucm.es> References: <87bn76m6f3.fsf@mat.ucm.es> <87d1rm59t4.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYdMD-0000fk-DQ for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 12:36:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYdM9-0001pW-AA for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 12:36:13 -0500 Received: from plane.gmane.org ([80.91.229.3]:40577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYdM9-0001pJ-3F for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 12:36:09 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYdM8-0004TE-0s for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 18:36:08 +0100 Received: from gilgamesch.quim.ucm.es ([147.96.12.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 18:36:08 +0100 Received: from oub by gilgamesch.quim.ucm.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 18:36:08 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org >>> "Nicolas" == Nicolas Goaziou writes: > Hello, > Uwe Brauer writes: >> This is the usual setting, but I would like to obtain the following >> >> % BEGIN RECEIVE ORGTBL test >> \begin{longtabu}{|l|l|} >> \hline >> Name & Date\\ \hline >> Joe Doe & «2016-02-24 Wed»\\ \hline >> \end{longtabu} >> % END RECEIVE ORGTBL test >> \begin{comment} >> #+ORGTBL: SEND test orgtbl-to-latex :lend "\\\\ \\hline" >> | Name | Date | >> | Joe Doe | «2016-02-24 Wed» | >> \end{comment} >> >> >> How can I obtain it? > #+ORGTBL: SEND test orgtbl-to-latex :lend "\\\\ \\hline" :environment longtabu > | / | <> | <> | > | | Name | Date | > | | Joe Doe | «2016-02-24 Wed» | > Regards, Thanks this is very useful, but still some tiny bit is missing. I obtain % BEGIN RECEIVE ORGTBL this \begin{longtabu}{l|l|} 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} But would prefer to obtain one | and one \hline more as in % 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} The additional \hline I can generate via % 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} But I don't know how to obtain \begin{longtabu}{|l|l|} Thanks Uwe Brauer