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. > > 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Ε 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: --8<---------------cut here---------------start------------->8--- #+author: Programmation Fonctionnelle #+date: Année 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} --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 -- OpenPGP Key ID : 040D0A3B4ED2E5C7