1

複数のbiblatexciteマクロを含むOrgバッファーをエクスポートしようとすると、エクスポートが失敗し、次のメッセージが表示されます。

org-export-latex-preprocess:間違った型引数:stringp、nil

複数形のbiblatexマクロは、、などのマクロであり、\autocites複数\textcitesの引数を取ることができます。ここで、中括弧内の各引数は参考文献の参照であり、具体的な例は次のとおりです。

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

上記の例をOrg-bufferに配置してC-e L押すと、上記のメッセージでエクスポートが失敗します。

エクスポートを成功させるために、Org-modeに複数のbiblatex citeマクロを認識させるにはどうすればよいですか?

私はEmacs23.3.1でOrg-mode7.6を実行しています。

4

1 に答える 1

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}

したがって、すべてのケースで機能しているようです

于 2012-02-02T14:59:39.310 に答える