When using the alpha bibliography style, the page numbers are listed differently in inproceedings and article: While article just lists the page numbers, inproceedings writes "pages...". How can I make both handle page numbers the same way (optimally, both should just omit the word "pages" like in article).
Where the bib file is:
@inproceedings{salam,
author = {Salam, Abdus},
editor = {Svartholm, Nils},
title = {Weak and Electromagnetic Interactions},
date = {1968},
location = {Stockholm},
pages = {367-377},
}
@article{morris1984early,
title={An early program proof by Alan Turing},
author={Morris, F Lockwood and Jones, Cliff B},
journal={Annals of the History of Computing},
volume={6},
number={2},
pages={139--143},
year={1984},
publisher={IEEE}
}
And the tex file for reproduction of this problem: \documentclass[english]{article}
\usepackage{natbib}
\begin{document}
test
\cite{morris1984early}
\cite{salam}
\bibliographystyle{alpha}
\bibliography{mybib}
\end{document}

pagesfield across two entry types --@articleand@inproceedings-- is neither a problem nor something worth fixing (say, by modifying the code in theinproceedingsfunction in the filealpha.bst). To the contrary, there's an excellent reason for why theinproceedingsfunction prefixes the string "pages" to thepagesfield: to resolve ambiguity over what the numbers might mean. For instances, for entries of types@inproceedings, one might also find information about chapters and volume numbers. – Mico Mar 24 '21 at 07:54booktitle = {Elementary Particle Physics}in thesalamentry. Observe that in your screenshot, theeditorisn't shown because the entry is currently lacking thebooktitlefield. Finally, do changelocationtoaddress. – Mico Mar 24 '21 at 08:14volume(number):firstpage-lastpagesyntax while other entry types use the stringpagesorpp.. You will find this in other published papers that usenatbib(i.e., a lot of published papers), so you will be in good company when you keep the defaults. – Marijn Mar 24 '21 at 10:19