‘#+SETUPFILE: file’
This line defines a file that holds more in-buffer setup. Normally
this is entirely ignored. Only when the buffer is parsed for
option-setting lines (i.e., when starting Org mode for a file, when
pressing ‘C-c C-c’ in a settings line, or when exporting), then the
contents of this file are parsed as if they had been included in
the buffer. In particular, the file can be any other Org mode file
with internal setup. You can visit the file the cursor is in the
line with ‘C-c '’.
But I did not find anything that explains which "#+" lines from SETUPFILE are ignored.
I thought of using #+SETUPFILE as a clean way to import a common org setup for exports. But should #+INCLUDE be used in this case instead?
Or what method would you guys suggest (may be using some elisp) so that I do not need to manually enter the below in all my org files.
#+LaTeX: \BeforeBeginEnvironment{minted}{\begin{mdframed}}
#+LaTeX: \AfterEndEnvironment{minted}{\end{mdframed}}
--
Kaushal Modi