From mboxrd@z Thu Jan 1 00:00:00 1970 From: zwz Subject: org-todo-keywords-1 detection in asyn export Date: Tue, 01 Apr 2014 14:17:31 +0800 Message-ID: <87ppl1o9ok.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUsOC-0006NO-43 for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 02:41:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUsO4-0006cS-Jk for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 02:41:40 -0400 Received: from plane.gmane.org ([80.91.229.3]:44224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUsO4-0006c7-CK for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 02:41:32 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WUsO2-0007Ze-LO for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 08:41:30 +0200 Received: from 115.236.9.82 ([115.236.9.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Apr 2014 08:41:30 +0200 Received: from zhangweize by 115.236.9.82 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Apr 2014 08:41:30 +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 Before I adopt asyn export, I config in an org file #+TODO: XeTeX to locally set xelatex for org-latex-pdf-process by: (if (member "XeTeX" org-todo-keywords-1) (setq org-latex-default-packages-alist (remove '("AUTO" "inputenc" t) org-latex-default-packages-alist) org-latex-pdf-process '("latexmk -xelatex -pdf -silent -f %f"))) But when I move the config to my org-export-async-init-file, it does not take effect in asyn export. The default org-latex-pdf-process pdflatex runs instead of xelatex. How to locally set org-latex-pdf-process?