我有一个如下的 latex 文件。我有document.bib
、natbib.bst
和natbib.sty
在同一个目录中。当我使用命令时,latex 文件会编译,pdflatex
但引用出现在?
非常感谢您的帮助。
\documentclass{article}
\usepackage{graphicx}
\usepackage[square, numbers, comma, sort&compress]{natbib} % Use the "Natbib" style for the references in the Bibliography
\usepackage{verbatim} % Needed for the "comment" environment to make LaTeX comments
\usepackage{colortbl}
\usepackage{lscape}
\bibliographystyle{plos2015}
\usepackage{vector} % Allows "\bvec{}" and "\buvec{}" for "blackboard" style bold vectors in maths
\usepackage{multirow}
\usepackage{longtable}
\usepackage{pbox}
\usepackage{bmpsize}
\begin{document}
\begin{longtable}{|c | p{4cm} |p{8cm}|} % centered columns (4 columns)
\caption{The list of cell line specific keywords}
\label{cell line-specific terms Table}\\
\hline
Tissue & keyword & definition \\ \hline
\multirow{21}{*}{\rotatebox[origin=c]{90}{B}} & ne
nal & n. \\ \cline{2-3}
& gluttac & Glu (\citet{Mel2000}, \citet{RiePlaMic2003}). \\ \cline{2-3}
& olyte & Oles (also k (\citet{SchWilDar2005}). \\ \cline{2-3}
& ite & De. \\ \cline{2-3}
& syc & Synap (\citet{Lyn2004}). \\ \cline{2-3}
& denus& ital coding. \\
\cline{2-3}
& behaf left & Important f \\ \cline{2-3}
& bin & in. \\ \cline{2-3}
& micre & miap \\ \cline{2-3}
& spi & T ner \\ \cline{2-3}
& gamutyric & Gamma-. \\ \cline{2-3}
& ceral, cerem & n (\citet{WolRapSch2009}) \\ \cline{2-3}
& prepulse inhibition & \\ \cline{2-3}
& Myein&Myen shea. \\ \cline{2-3}
& ascyte & Asn (\citet{PieVarSyk2004}) \\ \cline{2-3}
& olfactolb & Olfacto (\citet{SobPraDes1998}). \\ \cline{2-3}
& eph rtor & - \\ \cline{2-3}
& dne & Dopac(\citet{MarBer1979}), (\citet{SalBenLar2011}), and abpain (\citet{ScoHeiKoe2006}) \\ \cline{2-3}
& axonogenesis, axon & - \\ \cline{2-3}
& myelion & Mye. \\ \cline{2-3}
& ostblast & - \\
\hline
\multirow{7}{*}{\rotatebox[origin=c]{90}{Mle}} & samere & Muscleomere. \\ \cline{2-3}
& muscle, muscular & - \\ \cline{2-3}
& MPK & MAPK (mie (\citet{KerTamBen2006} \\ \cline{2-3}
& myobl& tes. \\ \cline{2-3}
& crec process & Seatine w (\citet{FitShi1966}). \\ \cline{2-3}
&glycogen&\\ \cline{2-3}
&collagen &\\
\hline
\multirow{7}{*}{\rotatebox[origin=c]{90}{heell}} & T cell & - \\ \cline{2-3}
& maage & Maaghages. \\ \cline{2-3}
& MH II & MH \\ \cline{2-3}
& MyD88 & - \\ \cline{2-3}
& tolor & To-lik (\citet{ReyMarChu2012}). \\ \cline{2-3}
& MHss I&MHof the ody. Their funune .\\ \cline{2-3}
& tumtor(TNF)& Most mand s\\
\hline
\multirow{27}{*}{\rotatebox[origin=c]{90}{Immtem}}
& phcytosis& Phas are that can. \\ \cline{2-3}
& erocytes& - \\ \cline{2-3}
& Bll& - \\ \cline{2-3}
& porphin& One of the knd cells. \\ \cline{2-3}
&heme process& Heme marrow. \\ \cline{2-3}
& toll-lior& Toll-lders. \\ \cline{2-3}
& boneation & \\ \cline{2-3}
& defense&\\ \cline{2-3}
& lipoharide&Lipopolystem \citet{Hof2003}.\\ \cline{2-3}
&phagosome&In y, a phagosome isytosis\\ \cline{2-3}
& interost&-\\ \cline{2-3}
& immsponse&-\\ \cline{2-3}
&antigen&In immunology, an antig \\ \cline{2-3}
& Interferons&Interferons (IFNs) are ls.\\ \cline{2-3}
&
Superoxide&d\citet{MarZivNev2003}. \\ \cline{2-3}
& df&s (\citet{Gun2007}, \citet{Bel1983}).\\ \cline{2-3}
& f&f\citet{HicKub2009}\\ \cline{2-3}
& v& b\\ \cline{2-3}
&c & Chemoion (\citet{Lus2001}, \citet{MatHogLuk2000}, \citet{TauOpp1994})\\ \cline{2-3}
& Macres&Maages stimul \citet{GalMat2001}.\\ \cline{2-3}
& Dendrs &Dendvers. \\ \cline{2-3}
&inteukin&Intens s ().\\ \cline{2-3}
&cytokine&They are partic \citet{Ale2002;}.\\ \cline{2-3}
& acute-ph response&Pos.\\ \cline{2-3}
&dt&\\ \cline{2-3}
&d&Tc.\\ \cline{2-3}
&chemotactic&\\
\hline
\multirow{3}{*}{\rotatebox[origin=c]{90}{hrt}} & adrent & adrenontrtions \\ \cline{2-3}
& heart & - \\ \cline{2-3}
& cardiac & - \\
\hline
\end{longtable}
\bibliography{document}
\end{document}
编辑:
plos2015.bst
我有该文件bibliographystyle
,当我编译时,命令行中的每个引用都会出现以下错误:
Package natbib Warning: Citation `TauOpp1994' on page 1 undefined on input line 87.
我使用以下内容进行编译:
latex temp
bibtex document
latex temp
latex temp
latex temp
dvipdf temp.dvi
okular temp.dvi &
其中,temp
是tex
文件,document
是bib
文件。
在该document.blg
文件中,我看到以下内容:
This is BibTeX, Version 0.99c (Web2C 7.5.6)
The top-level auxiliary file: document.aux
The style file: natbib.bst
Database file #1: document.bib.bib
You've used 40 entries,
2378 wiz_defined-function locations,
856 strings with 20470 characters,
and the built_in function-call counts, 25797 in all, are:
= -- 2055
> -- 2284
< -- 8
+ -- 717
- -- 708
* -- 2843
:= -- 4685
add.period$ -- 192
call.type$ -- 40
change.case$ -- 248
chr.to.int$ -- 39
cite$ -- 40
duplicate$ -- 783
empty$ -- 1361
format.name$ -- 764
if$ -- 4862
int.to.chr$ -- 2
int.to.str$ -- 0
missing$ -- 40
newline$ -- 203
num.names$ -- 160
pop$ -- 235
preamble$ -- 1
purify$ -- 248
quote$ -- 0
skip$ -- 496
stack$ -- 0
substring$ -- 1562
swap$ -- 151
text.length$ -- 0
text.prefix$ -- 0
top$ -- 0
type$ -- 360
warning$ -- 0
while$ -- 189
width$ -- 0
write$ -- 521
编辑:错误看起来像这样。
答案1
也许书目样式与 LaTeX 和 natbib 交互的方式有些不寻常plos2015
。无论如何,如果您将 23 个实例替换为\citet
,\cite
则您发布的文档似乎可以编译而不会出现其他错误。