On 24/10/20 4:00 am, Eric S Fraga wrote: > On Friday, 23 Oct 2020 at 15:22, Mike Gauland wrote: >> I have a number of #+LATEX directives at the top of my org file, for >> configuring the minted package. > Could you maybe post a minimal example? > This file demonstrates the problem, at least on my systems:
------start of file------ #+LATEX: \setminted{frame=single,framerule=1pt} * Section #+begin_src sh :exports code echo "This is a code block #+end_src ------end of file------ When I export the file to LaTeX, this line is inclued after \begin{document}: \setminted{frame=single,framerule=1pt} When I export only the section--either by selecting it explicitly, or by adding a "export" tag, that line is missing.