From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Kappel Subject: Re: Create a longtable in LaTeX from orgtbl Date: Wed, 18 Jun 2014 19:40:43 +0200 Message-ID: References: <20140618.081132.282414798.tkk@misasa.okayama-u.ac.jp> <87mwdauw2h.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxJs8-00021N-I7 for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 13:42:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxJry-0007BS-W8 for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 13:42:08 -0400 Received: from plane.gmane.org ([80.91.229.3]:45246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxJry-0007BK-PG for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 13:41:58 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WxJrx-0002Hp-6v for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 19:41:57 +0200 Received: from tmo-108-47.customers.d1-online.com ([80.187.108.47]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jun 2014 19:41:57 +0200 Received: from ngreply by tmo-108-47.customers.d1-online.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jun 2014 19:41:57 +0200 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 Am 18.06.2014 um 16:33 schrieb Nick Dokos: > Oliver Kappel writes: > >> >> I'm just using: >> >> #+CAPTION: Table headline shown in \listoftables >> #+NAME: tab:name_for_ref_to >> #+ATTR_LATEX: :environment longtable :align |l|l|l| >> |-------+-------+-------| >> | Col 1 | Col 2 | Col 3 | >> |-------+-------+-------| >> >> >>> >>> Can you show how to create a longtable in LaTeX from orgtbl? >>> > > "orgtbl" is the operative word here: the OP is *not* talking about an > org file, but about a LaTeX file with a radio table. See > > (info "(org) Radio tables") > > for details. > > Nick Ah, I've missed that and sorry for double posting. Isn't pretty, but working: #+BEGIN_SRC LaTeX \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{longtable} \usepackage{comment} \begin{document} \begin{longtable}{rll} % BEGIN RECEIVE ORGTBL my-long-table % END RECEIVE ORGTBL my-long-table \end{longtable} % \begin{comment} #+ORGTBL: SEND my-long-table orgtbl-to-latex :splice t :escape t |---------------------+---------+--------| | date | session | remark | |---------------------+---------+--------| | \endhead 2014-06-18 | s140618 | | \end{comment} % \end{document} #+END_SRC Regards, Oliver