From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org export to latex tables, with hlines and | Date: Thu, 10 Mar 2016 10:28:03 +0100 Message-ID: <87pov2lm1o.fsf@nicolasgoaziou.fr> References: <87mvq7k943.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adwr0-0007g2-AQ for emacs-orgmode@gnu.org; Thu, 10 Mar 2016 04:25:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adwqz-0007XQ-2X for emacs-orgmode@gnu.org; Thu, 10 Mar 2016 04:25:58 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:37411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adwqy-0007XM-Sk for emacs-orgmode@gnu.org; Thu, 10 Mar 2016 04:25:56 -0500 Received: from selenimh (unknown [IPv6:2a03:a0a0:0:4301::2de]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 62904A8115 for ; Thu, 10 Mar 2016 10:25:56 +0100 (CET) In-Reply-To: <87mvq7k943.fsf@mat.ucm.es> (Uwe Brauer's message of "Wed, 09 Mar 2016 14:40:28 +0000") 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 Hello, Uwe Brauer writes: > When I use > orgtab radio tables in latex files with orgtbl minor mode enabled > the following template > > > > '(orgtbl-radio-table-templates > (quote > ((latex-mode "% BEGIN RECEIVE ORGTBL %n > % END RECEIVE ORGTBL %n > \\begin{comment} > #+ORGTBL: SEND %n orgtbl-to-latex :lend \"\\\\\\\\ \\\\hline\" :environment tabular > |/|<>| > | | | > \\end{comment} > ") > > > Does precisely what I want. Now I want the same behavior if I edit a > table in a org buffer and export it to latex. > > Which variable needs to be set and how? IIUC you want to put a rule after every row in the table? If that's the case, the straightforward way to do it is to explicitly put the rule in your table: |/|<>| | | | |-+--| Otherwise you can use a filter, e.g., `org-export-filter-table-row-functions' and append "\\hine" there in LaTeX-related back-ends. Regards, -- Nicolas Goaziou