From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Using #+INCLUDE for a .tex file Date: Fri, 4 Mar 2016 07:25:16 +0000 Message-ID: <87k2lid7s3.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abkM8-0003rN-NH for emacs-orgmode@gnu.org; Fri, 04 Mar 2016 02:41:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abkM5-0007Kl-CA for emacs-orgmode@gnu.org; Fri, 04 Mar 2016 02:41:00 -0500 Received: from mail-am1on0139.outbound.protection.outlook.com ([157.56.112.139]:64928 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abkM5-0007Ka-4F for emacs-orgmode@gnu.org; Fri, 04 Mar 2016 02:40:57 -0500 In-Reply-To: (Nooreen Dabbish's message of "Thu, 3 Mar 2016 17:13:31 -0500") 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: Nooreen Dabbish Cc: emacs-orgmode@gnu.org On Thursday, 3 Mar 2016 at 17:13, Nooreen Dabbish wrote: [...] > I am now resorting to > > #BEGIN_LATEX > \include{file} > #+END_LATEX > > But I am unhappy with this solution because I would like to generate the > include line as the raw results of a code block. You could ":wrap export latex" the results of the src block that generates the "\include{}" bit to get the above (noting that the syntax has changed recently -- old syntax would require :wrap latex, I believe). -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.4-626-gb62d55