Bibtex:解析页面错误

Bibtex:解析页面错误

我有以下 bibtex 条目:

@inproceedings{kriegler1969preprocessing,
    title={Preprocessing transformations and their effects on multispectral recognition},
    author={Kriegler, FJ and Malila, WA and Nalepka, RF and Richardson, W},
    booktitle={Remote Sensing of Environment, VI},
    volume={1},
    pages={97},
    year={1969}
}

在我的参考书目 (apalike2) 中,这显示为 围兜 如何删除 9 上方的“~”?仅当我引用单个页面时才会出现此错误

梅威瑟:

\documentclass{article}

\usepackage{filecontents}

\begin{filecontents}{bib.bib}
@inproceedings{kriegler1969preprocessing,
    title={Preprocessing transformations and their effects on multispectral recognition},
    author={Kriegler, FJ and Malila, WA and Nalepka, RF and Richardson, W},
    booktitle={Remote Sensing of Environment, VI},
    volume={1},
    pages={97},
    year={1969}
}

\end{filecontents}

\begin{document}

    \cite{kriegler1969preprocessing}

    \bibliographystyle{apalike2}
    \bibliography{bib}
\end{document}

答案1

有一个错误apalike2.bst;第 510 行显示

510         { "(pp.\" pages tie.or.space.connect }

.bbl(添加了行号以供参考)因此,当文件中只有一个页码而没有范围时

pp.\~97

就像你的情况一样。这当然是非常错误的。

在工作目录中复制一份apalike2.bst,命名fixed-apalike2.bst并将第 510 行更改为

         { "(p." pages tie.or.space.connect }

将您的通话改为

\bibliographystyle{fixed-apalike2}

文件中的条目.bbl将变为

\bibitem[Kriegler et~al., 1969a]{kriegler1969preprocessing}
Kriegler, F., Malila, W., Nalepka, R., \& Richardson, W. (1969a).
\newblock Preprocessing transformations and their effects on multispectral
  recognition.
\newblock In {\em Remote Sensing of Environment, VI}, volume~1  (p.~97).

相关内容