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
emacs org-mode


source to share


No one has answered this question yet

Check out similar questions:

79
Inline code in org mode
58
Disabling underscore to index in Emacs Org-Mode exports
sixteen
in org-mode is there a function to export the (current) subtree to HTML?
8
How to evaluate all blocks of code when exporting in emacs org mode
7
Setting up export in org-mode
five
org-mode html export
3
Org-mode: mark table as "no export"
2
org-mode: visible mailbox export
2
Org export options like ODT, beamer
0
Unusual Org mode with org-export-with-sub-inserscript



All Articles
Loading...
X
Show
Funny
Dev
Pics