From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Berry, Charles" Subject: Re: Painfully Slow Export Date: Tue, 12 Jun 2018 15:51:16 +0000 Message-ID: <73844D54-30A4-48CB-8303-6DA3C932A444@ucsd.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSlZs-0006rJ-W7 for emacs-orgmode@gnu.org; Tue, 12 Jun 2018 11:51:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSlZp-0008Nf-UT for emacs-orgmode@gnu.org; Tue, 12 Jun 2018 11:51:25 -0400 Received: from iport-acv1-out.ucsd.edu ([132.239.0.176]:52553) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSlZp-0008Lv-Eg for emacs-orgmode@gnu.org; Tue, 12 Jun 2018 11:51:21 -0400 In-Reply-To: Content-Language: en-US Content-ID: <451D43D374131B4692008C72F389D66C@AD.UCSD.EDU> 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" To: Ken Mankoff Cc: emacs-org > On Jun 12, 2018, at 7:01 AM, Ken Mankoff wrote: >=20 > I'm trying to export a file to LaTeX. It takes about one minute. The > file is 12000 lines long and has 200 code blocks. I have set: >=20 > #+PROPERTY: header-args :eval never-export >=20 That is the right idiom. Of course, you have to refresh the local setup af= ter typing that (C-c C-c with point in the PROPERTY line) or it will have n= o effect until you save and re-open the file. It is good to check that you have refreshed and that there are no typos or = hidden chars in the line, so go to a src block and type C-c C-v C-i and verify that you see something like this ,---- | Lang: R | Properties: | :header-args :eval never-export | :header-args:R nil | Header Arguments: | :cache no | :eval never-export | :exports code | :hlines no | :noweb no | :results replace | :session none | :tangle no `---- You should see both the :header-args line as you typed it and the :eval lin= e showing never-export. > which means, I think, no babel blocks should evaluate. >=20 > (setq org-export-use-babel t) seems to be the culprit.=20 Leave it set to `t'. Chuck