From mboxrd@z Thu Jan 1 00:00:00 1970 From: Colin Baxter Subject: Re: latex export creates "auto" directory Date: Fri, 03 Mar 2017 16:37:06 +0000 Message-ID: <871sue5nbh.fsf@jetstar> References: <28f0284b-716f-7b11-4ffd-4fd77bb96100@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjqCl-00015g-3B for emacs-orgmode@gnu.org; Fri, 03 Mar 2017 11:37:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjqCi-0004l1-0x for emacs-orgmode@gnu.org; Fri, 03 Mar 2017 11:37:19 -0500 Received: from forward1o.cmail.yandex.net ([37.9.109.84]:51551) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cjqCh-0004jn-KS for emacs-orgmode@gnu.org; Fri, 03 Mar 2017 11:37:15 -0500 In-Reply-To: <28f0284b-716f-7b11-4ffd-4fd77bb96100@gmail.com> (Takeshi Teshima's message of "Sat, 4 Mar 2017 00:55:52 +0900") 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: Takeshi Teshima Cc: emacs-orgmode@gnu.org Hello Takeshi, On Sat, Mar 04 2017, Takeshi Teshima wrote: > I have a question regarding latex export. > > When I export an org-mode to a latex file, a directory named "auto" is > created in the same folder as the tex file. > > However, I couldn't find what line in the source code of org-mode > creates this directory. > > Does anyone know what causes this, or what variables can be used to > control where the directory is created? It allows AUCTeX to be aware of style files and multi-files. The default is "auto/" in the working directory. However you set the directory yourself. I have the settings: (setq TeX-auto-local "/path/to/auto/dir") ;; Sets /auto/ directory. (setq TeX-auto-save t) ;; Also sets lisp files to save in /auto/. If you want to switch it off then try (setq TeX-auto-save nil). I have never used that myself, so I don't know how successful it might be. Best wishes Colin.