具有选项的组织模式导出铸造块

时间:2014-09-11 18:01:45

标签: emacs org-mode

根据this file,如果我输出这样的内容:

#+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

如果我理解正确的话,生成的tex的相关部分应为此:

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

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

但是,导出的tex尚未获得label部分。它似乎被忽略了。

任何想法如何解决这个问题?

0 个答案:

没有答案
相关问题