Re: [O] org-todo-keywords-1 detection in asyn export

2014-04-19 Thread zwz
Nicolas Goaziou writes: > zwz writes: > >> Can you give me some example code? > > I was thinking about something like this (untested): > > (let (template) > (defun ngz-set-template (new) > (setq template new)) > (defun ngz-latex-process (file) > (case template > (a (do-somethin

Re: [O] org-todo-keywords-1 detection in asyn export

2014-04-18 Thread Nicolas Goaziou
zwz writes: > Can you give me some example code? I was thinking about something like this (untested): --8<---cut here---start->8--- (let (template) (defun ngz-set-template (new) (setq template new)) (defun ngz-latex-process (file) (case template

Re: [O] org-todo-keywords-1 detection in asyn export

2014-04-18 Thread zwz
Nicolas Goaziou writes: > 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

Re: [O] org-todo-keywords-1 detection in asyn export

2014-04-17 Thread Nicolas Goaziou
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 fun

Re: [O] org-todo-keywords-1 detection in asyn export

2014-04-17 Thread zwz
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 membe

Re: [O] org-todo-keywords-1 detection in asyn export

2014-04-17 Thread Bastien
zwz writes: > How to locally set org-latex-pdf-process? #+BIND: org-latex-pdf-process ... should work. -- Bastien

[O] org-todo-keywords-1 detection in asyn export

2014-03-31 Thread zwz
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