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
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
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
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
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
zwz writes:
> How to locally set org-latex-pdf-process?
#+BIND: org-latex-pdf-process ...
should work.
--
Bastien
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