[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LaTeX Headers not in partial export
From: |
Michael Gauland |
Subject: |
Re: LaTeX Headers not in partial export |
Date: |
Sun, 25 Oct 2020 15:38:50 +1300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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.