Hi Carsten,
Carsten Dominik <[email protected]> writes:
> Have I overlooked an easy way to do this, or would this be
> something others would like to use as well.
Can't you identify it by the folder name? Or with a
special #+DESCRIPTION or #+KEYWORDS?
Like this:
#+TITLE: MySpecialFile.org
#+begin_src emacs-lisp
(defun rasmus/match-buffer (text backend info)
"Match only some buffers identified by "
(if (and
(string-match "MySpecialFile" (plist-get info :input-file))
(org-export-derived-backend-p backend 'latex))
"Match!" text))
(add-to-list 'org-export-filter-final-output-functions
'rasmus/match-buffer)
#+end_src
Otherwise I'd also bind the value locally and maintain the code in a
SETUPFILE or in a * lisp :noexport: heading.
–Rasmus
--
I almost cut my hair, it happened just the other day