From mboxrd@z Thu Jan 1 00:00:00 1970 From: zwz Subject: Re: org-todo-keywords-1 detection in asyn export Date: Thu, 17 Apr 2014 18:58:34 +0800 Message-ID: <87ha5scjdx.fsf@gmail.com> References: <87ppl1o9ok.fsf@gmail.com> <87sipc8me6.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WakO8-0001y0-FO for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 07:21:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WakO2-0002pP-FV for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 07:21:52 -0400 Received: from plane.gmane.org ([80.91.229.3]:58610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WakO2-0002pB-8F for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 07:21:46 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WakO1-0000Pf-4m for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 13:21:45 +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 ; Thu, 17 Apr 2014 13:21:45 +0200 Received: from zhangweize by 115.236.9.82 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Apr 2014 13:21:45 +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 Bastien writes: > zwz writes: > >> How to locally set org-latex-pdf-process? > > #+BIND: org-latex-pdf-process ... > > should work. Thank you, Bastien. Sometimes my org-latex-pdf-process is quite complicated, as I will set or add-to-list some extra process, for example: if "XeTeX" is a member of org-todo-keywords-1, I would set the local org-latex-pdf-process to use xelatex instead of pdflatex; if "handout" is a member of org-todo-keywords-1, I would add-to-list some preprocessing steps and even "pdfnup" into org-latex-pdf-process to generate a ready-for-print version at the same time; ... So here what I mean by "locally" is to adjust the org-latex-pdf-process by some keywords, instead of binding it with some specific code/value (which is difficult for modification) However I found it does not work in asyn export.