I'm using nar.bst here (http://schneider.ncifcrf.gov/ftp/nar.bst). However when I include my bibliography in the following manner :-
\bibliographystyle{nar}
\bibliography{main}
However the resulting bbl file seems to have some unclosed braces. For example, I get the following bibitem where the \bf brace is unclosed.
\bibitem{chang2013temporal}
Chang, K.~N., Zhong, S., Weirauch, M.~T., Hon, G., Pelizzola, M., Li, H.,
Huang, S.-s.~C., Schmitz, R.~J., Urich, M.~A., Kuo, D., et al. (2013)
{\em Elife} {\bf 2.
which is generated from the bibtex
@article{chang2013temporal,
title={Temporal transcriptional response to ethylene gas drives growth hormone cross-regulation in Arabidopsis},
author={Chang, Katherine Noelani and Zhong, Shan and Weirauch, Matthew T and Hon, Gary and Pelizzola, Mattia and Li, Hai and Huang, Shao-shan Carol and Schmitz, Robert J and Urich, Mark A and Kuo, Dwight and others},
journal={Elife},
volume={2},
year={2013},
publisher={eLife Sciences Publications Limited}
}
I think (but not sure at all) that the function
format.vol.num.pages
is the culprit but not sure how to fix it.
Any help would be appreciated :)
PS :- Fixing the open braces which seem to only happen when \bf is present fixes the problem.
Edit (Edit 3 -- removed NAR cls -- that doesn't change anything for me): Minimal example below. Compiling using pdflatex and then running bibtex gives the wrongly formatted bibitem (as shown above) in the bbl file
\documentclass{article}
\begin{document}
\title{Sample}
\author{Sample}
\maketitle
Example~\cite{chang2013temporal}
\bibliographystyle{nar}
\bibliography{main}
\end{document}
I have the @article in the file main.bib and name the MWE as main.tex. Then I run pdflatex main.tex 2 times and after that bibtex main to get main.bbl which has the wrong formatting.
\documentclass{article} \usepackage{cite} \begin{document} \nocite{*}\bibliographystyle{nar} \bibliography{main} \end{document}
. Please provide a complete, but minimal example that shows the problem.NAR
document class, I usedarticle
in your MWE and got the correct formatting:\begin{thebibliography}{1} \bibitem{chang2013temporal} Chang, K.~N., Zhong, S., Weirauch, M.~T., Hon, G., Pelizzola, M., Li, H., Huang, S.-s.~C., Schmitz, R.~J., Urich, M.~A., Kuo, D., et al. (2013) Temporal transcriptional response to ethylene gas drives growth hormone cross-regulation in Arabidopsis. {\em Elife,} {\bf 2}. \end{thebibliography}
Do you have a link toNAR.cls
to test if the problem comes from there? (It's a remote possibility, but I want to make sure).