Export printed Org-mode block with options

According to this file , if I export something like this:

#+LaTeX_CLASS: tufte

#+ATTR_LaTeX: :options label={asdf}
#+begin_src c
#include <iostream>
using namespace std;

int main() {
    cout << "Hello world!" << endl;
    return 0;
}
#+end_src

      

The relevant part of the generated tex

should be like this, if I understand correctly:

\begin{minted}[frame=lines,linenos=true, label={asdf}]{c}
#include <iostream>
using namespace std;

int main() {
    cout << "Hello world!" << endl;
    return 0;
}
\end{minted}

      

However, the exported tex

did not receive the part label

. It seems to be ignored.

Any ideas how to fix this?

+3


source to share





All Articles