我正在使用 RevTeX4-1。
当我排版原始文件、编译参考书目,然后尝试再次排版原始文件时,出现错误:
“!未定义的控制序列。<参数>@bibitemShut。”
下面是我遇到错误的最小文件,后面是.bib
我使用的测试文件,然后是.bbl
它输出的文件。有人能帮忙吗?
(我正在使用 PcTeX,我购买了多年前并且似乎不再提供太多支持,但我已经非常习惯了。也许这是我的问题,但我希望不是,因为我不想习惯一个全新的界面。)
我还要提一下,在编制参考书目时,我确实收到了警告,但我猜这不是问题所在。警告如下:
Warning--jnrlst (dependency: not reversed) set 1 merlin.mbs apsrev4-1.bst 2010-07-25 4.21a (PWD, AO, DPC) hacked Control: key (0) Control: author (8) initials jnrlst Control: editor formatted (1) identically to author Control: production of article title (-1) disabled Control: page (0) single Control: year (1) truncated Control: production of eprint (0) enabled (There was 1 warning)
这是我的最小 tex 文件:
\documentclass[pra]{revtex4-1}
\begin{document}
\maketitle
Here's one citation \cite{Ref1}, and now another one \cite{Ref2}.
\bibliography{Testrefs}
\end{document}
这是我的 bib 文件:
@ARTICLE{Ref1,
AUTHOR={Someone1a and Someone1b},
TITLE={Title1},
JOURNAL={Journal1},
VOLUME={44},
PAGES={5555},
YEAR={1999}
}
@ARTICLE{Ref2,
AUTHOR={Someone2a and Someone2b},
TITLE={Title2},
JOURNAL={Journal2},
VOLUME={55},
PAGES={7777},
YEAR={2000}
}
为了以防万一,这是我编译参考书目时创建的 bbl 文件:
%merlin.mbs apsrev4-1.bst 2010-07-25 4.21a (PWD, AO, DPC) hacked
%Control: key (0)
%Control: author (8) initials jnrlst
%Control: editor formatted (1) identically to author
%Control: production of article title (-1) disabled
%Control: page (0) single
%Control: year (1) truncated
%Control: production of eprint (0) enabled
\begin{thebibliography}{2}%
\makeatletter
\providecommand \@ifxundefined [1]{%
\@ifx{#1\undefined}
}%
\providecommand \@ifnum [1]{%
\ifnum #1\expandafter \@firstoftwo
\else \expandafter \@secondoftwo
\fi
}%
\providecommand \@ifx [1]{%
\ifx #1\expandafter \@firstoftwo
\else \expandafter \@secondoftwo
\fi
}%
\providecommand \natexlab [1]{#1}%
\providecommand \enquote [1]{``#1''}%
\providecommand \bibnamefont [1]{#1}%
\providecommand \bibfnamefont [1]{#1}%
\providecommand \citenamefont [1]{#1}%
\providecommand \href@noop [0]{\@secondoftwo}%
\providecommand \href [0]{\begingroup \@sanitize@url \@href}%
\providecommand \@href[1]{\@@startlink{#1}\@@href}%
\providecommand \@@href[1]{\endgroup#1\@@endlink}%
\providecommand \@sanitize@url [0]{\catcode `\\12\catcode `\$12\catcode
`\&12\catcode `\#12\catcode `\^12\catcode `\_12\catcode `\%12\relax}%
\providecommand \@@startlink[1]{}%
\providecommand \@@endlink[0]{}%
\providecommand \url [0]{\begingroup\@sanitize@url \@url }%
\providecommand \@url [1]{\endgroup\@href {#1}{\urlprefix }}%
\providecommand \urlprefix [0]{URL }%
\providecommand \Eprint [0]{\href }%
\providecommand \doibase [0]{http://dx.doi.org/}%
\providecommand \selectlanguage [0]{\@gobble}%
\providecommand \bibinfo [0]{\@secondoftwo}%
\providecommand \bibfield [0]{\@secondoftwo}%
\providecommand \translation [1]{[#1]}%
\providecommand \BibitemOpen [0]{}%
\providecommand \bibitemStop [0]{}%
\providecommand \bibitemNoStop [0]{.\EOS\space}%
\providecommand \EOS [0]{\spacefactor3000\relax}%
\providecommand \BibitemShut [1]{\csname bibitem#1\endcsname}%
\let\auto@bib@innerbib\@empty
%</preamble>
\bibitem [{\citenamefont {Someone1a}\ and\ \citenamefont
{Someone1b}(1999)}]{Ref1}%
\BibitemOpen
\bibfield {author} {\bibinfo {author} {\bibnamefont {Someone1a}}\ and\
\bibinfo {author} {\bibnamefont {Someone1b}},\ }\href@noop {} {\bibfield
{journal} {\bibinfo {journal} {Journal1}\ }\textbf {\bibinfo {volume}
{44}},\ \bibinfo {pages} {5555} (\bibinfo {year} {1999})}\BibitemShut
{NoStop}%
\bibitem [{\citenamefont {Someone2a}\ and\ \citenamefont
{Someone2b}(2000)}]{Ref2}%
\BibitemOpen
\bibfield {author} {\bibinfo {author} {\bibnamefont {Someone2a}}\ and\
\bibinfo {author} {\bibnamefont {Someone2b}},\ }\href@noop {} {\bibfield
{journal} {\bibinfo {journal} {Journal2}\ }\textbf {\bibinfo {volume}
{55}},\ \bibinfo {pages} {7777} (\bibinfo {year} {2000})}\BibitemShut
{NoStop}%
\end{thebibliography}%