From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-todo-keywords-1 detection in asyn export Date: Thu, 17 Apr 2014 22:18:57 +0200 Message-ID: <87a9bj3e1a.fsf@gmail.com> References: <87ppl1o9ok.fsf@gmail.com> <87sipc8me6.fsf@bzg.ath.cx> <87ha5scjdx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wasla-0007E1-Tz for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 16:18:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WaslR-0008KF-Re for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 16:18:38 -0400 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:43967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaslR-0008KB-Jr for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 16:18:29 -0400 Received: by mail-we0-f179.google.com with SMTP id x48so882987wes.38 for ; Thu, 17 Apr 2014 13:18:28 -0700 (PDT) In-Reply-To: <87ha5scjdx.fsf@gmail.com> (zwz's message of "Thu, 17 Apr 2014 18:58:34 +0800") 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: zwz Cc: emacs-orgmode@gnu.org Hello, zwz writes: > 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) `org-latex-pdf-process' can be a function. You could send it a message telling it what functions to use. For example, a hook could find out what LaTeX class you're using and send the appropriate message to the function. > However I found it does not work in asyn export. Is is not related to async export. A few variables live outside the scope of BIND keywords. `org-latex-pdf-process' is one of them. Though, you can always define it as a file local variable. Regards, -- Nicolas Goaziou