0

I have a bibtex entry that includes a numpages field, like this:

@article{dummy-article,
  author = {Author1, Author2 and Author3},
  title = {Dummy Title},
  year = {2022},
  publisher = {Dummy Publisher},
  journal = {Dummy Journal},
  numpages = {39}
}

However, when I compile my LaTeX document, the numpages field is not showing up in the bibliography.

How can I fix this problem and get the numpages field to display correctly?

I have:

"\markright{\it Bibliography}
\begin{spacing}{0.1}
\bibliographystyle{abbrv}
\cleardoublepage
\addcontentsline{toc}{chapter}{Bibliography}
\bibliography{[anonymized]}
\end{spacing}"

I also tried with changing the line \bibliographystyle{abbrv} to \bibliographystyle{plain} in my LaTeX document.

7
  • 1
    how or if a field is used depends on the bibtex style you have specified. Jan 8, 2023 at 1:14
  • @DavidCarlisle updated question.
    – Exploring
    Jan 8, 2023 at 3:19
  • 1
    Not a lot of BibTeX styles appear to support a numpages field. A quick search suggests ACM-Reference-Format does, as do styles of the chembst family as well as apsrev and apsrmp from RevTeX. I might have missed a few that do, but most other styles will not support this field.
    – moewe
    Jan 8, 2023 at 8:06
  • In most cases the number of pages of an article or book is probably not very relevant. In the olden days you could read off the number of pages of an article by subtracting the start from the end page in the pages field. Is there any particular reason why you need to show numpages?
    – moewe
    Jan 8, 2023 at 8:07
  • my professor told me to add num pages.
    – Exploring
    Jan 8, 2023 at 10:46

0

You must log in to answer this question.

Browse other questions tagged .