2

.bbl ファイルの参考文献情報を .tex ソース ファイルに埋め込む必要があります。これは、Google の多くの場所によると、\bibliography{} コマンドを置き換えて、.bbl ファイルの内容を .tex ファイルにコピーするのと同じくらい簡単なはずです。

ただし、これを行うと、次のエラーが発生します。

./Witmer.tex:82: Undefined control sequence.
<argument> \@listctr 

l.82 \bibitem{bhole-ner_over_time}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

./source.tex:82: You can't use `\relax' after \the.
<recently read> \c@ 

l.82 \bibitem{bhole-ner_over_time}

I'm forgetting what you said and using zero instead.

この時点で何が問題なのかわかりません。cite パッケージを含めていますが、.bbl ファイルを使用するとすべて問題ありません。

私はbibtexでbblファイルを生成しています。ドキュメントの関連セクション:

\bibliographystyle{plain}
\begin{thebibliography}{9}
...trimmed for size...

\bibitem{geo-spatialexpressions}
Annette Herskovits.
\newblock {\em Representation and processing of spatial expressions}.
\newblock Lawrence Erlbaum Associates, Inc., Mahwah, NJ, USA, 1998.

\end{thebibliography}

アップデート:

問題と提案された修正は次のとおりです: エラーは基本的に、参考文献生成コードが各 \bibitem にいくつかの引数があることを期待していることを意味します:

\bibitem[\protect\citeauthoryear{Herskovits}{1998}]{geo-spatialexpressions}
Herskovits, A.
\newblock 1998.
\newblock {\em Representation and processing of spatial expressions}.
\newblock Mahwah, NJ, USA: Lawrence Erlbaum Associates, Inc.

私は実際に \cite の定義と参考文献の生成をいじっているスタイル ファイルを使用しようとしていました。

4

2 に答える 2

2

そうです、うまくいくはずです。

cite パッケージがここに影響を与えるとは思いません。comp.text.tex には、適切な参考文献スタイルなしで jurabib を使用した同様のエラーについて言及している投稿がありますが、問題を解決するにはさらに情報が必要だと思います


あなたの編集の後、私はもう一度見ました。あなたが最初に書いたものに基づいて、これはうまくいきます:

\documentclass[12pt]{article}
\usepackage{cite}
\begin{document}
\bibliographystyle{plain}
\begin{thebibliography}{1}
\bibitem{geo-spatialexpressions}
Annette Herskovits.
\newblock {\em Representation and processing of spatial expressions}.
\newblock Lawrence Erlbaum Associates, Inc., Mahwah, NJ, USA, 1998.
\end{thebibliography}
\end{document}

したがって、ロードしているパッケージと使用している書誌スタイルを質問で提供する必要性を強調しています。

とにかく、問題を解決できたのは良いことです:)

于 2009-01-21T05:33:12.940 に答える
1

で囲まれた .bbl ファイルの内容です。

\begin{thebibliography}
 ...
\end{thebibliography}

環境?参考文献のエントリを直接含める場合は、これが必要だと思います。(私は常にbibtexを使用しているため、その環境にはあまり慣れていません)

于 2009-01-21T05:20:19.253 に答える