当使用biblatex的复数引用宏时,组织模式无法导出

时间:2012-02-01 11:10:59

标签: emacs latex org-mode biblatex

当我尝试导出包含多个biblatex引用宏的组织缓冲区时,导出失败,我收到以下消息:

  

org-export-latex-preprocess:错误的类型参数:stringp,nil

复数biblatex宏是宏,例如\autocites\textcites,它可以采用多个参数,其中花括号中的每个参数都是参考书目参考,具体示例如下

\autocites[11]{someref}[22]{anotherref}

如果将上述示例放在组织缓冲区中并按下 C-e L ,则导出将失败并显示上面引用的消息。

如何让组织模式识别多个biblatex引用宏以便导出成功?

我在Emacs 23.3.1中运行Org-mode 7.6。

1 个答案:

答案 0 :(得分:1)

我认为现在可能有效,我刚刚测试了以下内容:

* test
  - Inline LaTeX \autocites[11]{someref}[22]{anotherref}
  - Latex single line block
    #+latex: \autocites[11]{someref}[22]{anotherref}
  - Latex code block
    #+begin_latex
      \autocites[11]{someref}[22]{anotherref}
    #+end_latex

LaTeX导出成功,但我无法将其一直推到pdf(C-c C-e d)。 LaTeX导出成功,但它无法转换为pdf(我可能没有正确配置我的序言或包)。我假设如果胶乳正确出来,应该能够在需要的时候得到pdf。

乳胶出口(缺少序言):

\section{test}
\label{sec-1}

\begin{itemize}
\item Inline \LaTeX{} \autocites[11]{someref}[22]\{anotherref\}
\item Latex single line block
  \autocites[11]{someref}[22]{anotherref}
\item Latex code block
    \autocites[11]{someref}[22]{anotherref}
\end{itemize}

假设这是您希望从该文件输出的输出,我猜这个问题已在7.6和7.8之间的某个时间点得到解决。


按要求进一步测试

- Latex code block
  #+begin_latex
    \cites[11]{someref}[22]{anotherref}
    \Cites[11]{someref}[22]{anotherref}
    \parencites[11]{someref}[22]{anotherref}
    \Parencites[11]{someref}[22]{anotherref}
    \footcites[11]{someref}[22]{anotherref}
    \footcitetexts[11]{someref}[22]{anotherref}
    \smartcites[11]{someref}[22]{anotherref}
    \Smartcites[11]{someref}[22]{anotherref}
    \textcites[11]{someref}[22]{anotherref}
    \Textcites[11]{someref}[22]{anotherref}
    \supercites[11]{someref}[22]{anotherref}
    \autocite[11]{someref}[22]{anotherref}
    \Autocites[11]{someref}[22]{anotherref}
  #+end_latex

变为

\item Latex code block
    \cites[11]{someref}[22]{anotherref}
    \Cites[11]{someref}[22]{anotherref}
    \parencites[11]{someref}[22]{anotherref}
    \Parencites[11]{someref}[22]{anotherref}
    \footcites[11]{someref}[22]{anotherref}
    \footcitetexts[11]{someref}[22]{anotherref}
    \smartcites[11]{someref}[22]{anotherref}
    \Smartcites[11]{someref}[22]{anotherref}
    \textcites[11]{someref}[22]{anotherref}
    \Textcites[11]{someref}[22]{anotherref}
    \supercites[11]{someref}[22]{anotherref}
    \autocite[11]{someref}[22]{anotherref}
    \Autocites[11]{someref}[22]{anotherref}

因此它似乎适用于所有情况