使用 natbib 在参考书目中显示“numpages”

使用 natbib 在参考书目中显示“numpages”

我没有论文的页码,想添加“numpages”以便它们以 PDF 形式呈现。我正在使用natbib\bibliographystyle{abbrvnat}。是否有地方可以指定仅对未指定页面的 bibentries 使用“numpages”?

\begin{filecontents}{shortbib.bib}
@inproceedings{supercurve,
     AUTHOR={Santara Xia},
     TITLE={Image Registration by "Super-Curves"},
     booktitle={IEEE Transactions on Image Processing},
     YEAR={2000},
     numpages = {10}
}
\end{filecontents}

\documentclass{article}
\usepackage[square, numbers, comma, sort&compress]{natbib}

\title{A Silly Article}
\begin{document}
\maketitle
My favorite article is \cite{supercurve}.
\bibliographystyle{abbrvnat}
\bibliography{shortbib}
\end{document}

答案1

如何添加此信息note?如果您想引入新字段,biblatex 将更容易定制。

\begin{filecontents}{shortbib.bib}
@inproceedings{supercurve,
     AUTHOR={Santara Xia},
     TITLE={Image Registration by "Super-Curves"},
     booktitle={IEEE Transactions on Image Processing},
     YEAR={2000},
     note = {10 pages}
}
\end{filecontents}

\documentclass{article}
\usepackage[square, numbers, comma, sort&compress]{natbib}

\title{A Silly Article}
\begin{document}
\maketitle
My favorite article is \cite{supercurve}.
\bibliographystyle{abbrvnat}
\bibliography{shortbib}
\end{document}

相关内容