From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: #+LINK abbrevs possible in #+INCLUDEs ? Date: Thu, 30 Apr 2015 13:30:45 +0200 Message-ID: References: <20150427165913.76b92acc@gaia> <874mo1bmhb.fsf@selenimh.mobile.lan> <20150427195542.6f7ecdff@linux-w3xx.localdomain> <87wq0x9zod.fsf@selenimh.mobile.lan> <87k2wvotz2.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnmgB-0002t3-Q8 for emacs-orgmode@gnu.org; Thu, 30 Apr 2015 07:30:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ynmg8-0001sJ-IV for emacs-orgmode@gnu.org; Thu, 30 Apr 2015 07:30:55 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:43644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynmg8-0001sD-Bm for emacs-orgmode@gnu.org; Thu, 30 Apr 2015 07:30:52 -0400 In-Reply-To: <87k2wvotz2.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Wed, 29 Apr 2015 17:05:37 +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 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015-04-29 17:05, Nicolas Goaziou writes: > Hello, > > Alan Schmitt writes: > >> Does this mean that #+INCLUDE is now a superset of #+SETUPFILE (I've had >> some cases where I needed to do both)? > > No, it isn't.=20 > > INCLUDE are expanded only during export. SETUPFILE are read whenever you > open a document or use C-c C-c on a keyword. I see. So is this a correct characterization: SETUPFIL=CE=95 behaves as if all the "#+" lines of the pointed file were in the current file. INCLUDE behaves as if all the lines of the pointed file were in the current file during export. Hence if a file only has "#+" lines, as in: =2D-8<---------------cut here---------------start------------->8--- #+author: Programmation Fonctionnelle #+date: Ann=C3=A9e 2014-2015 #+options: toc:nil d:RESULTS #+property: header-args:ocaml :tangle yes #+LaTeX_CLASS_OPTIONS: [a4paper] #+latex_header: \usepackage{color} #+latex_header: \usepackage{minted} =2D-8<---------------cut here---------------end--------------->8--- then I only need to SETUPFILE it (but I cannot just INCLUDE it because of the tangle property that needs to be set when the file is opened). Thanks, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJVQhJqAAoJEAQNCjtO0uXHDywH/ia3wmbZ0ckq8K3j7eGwpKq9 OcG7a+hWJzSnjoILJ4AFwGyWHS9skczSrm7BKgqp6eK2fLbhF/N2+ARzb3UGUqfm +XIOSRRWP/jjJQaT3HOPL85ZUiwUK3HbbgCyHW0M55tiAIKfEgyxTm8P2peUmDgp VbrdGOs4gm4VD7DorqN4jEOXHxa3epH/ggOpTl05MK8Sa8GEmMl4H79yw2rXhgNR woSrlOb93KGujKvmvqrqtWSwRYhc9UNFoJQ3g6+yZNiw43g7v/J42sY9Qqxvw7Ks Dyc8fcLi6Y0BLxLLPvYrKtn25goKMcvrxD0TbL7dgajWcWqnEIsqp0DN4Z+DLKw= =g0RD -----END PGP SIGNATURE----- --=-=-=--