I'd like to know if someone ported the bibliography styles used in revtex 4.1 (like apsrev4-1.bst) so they can be used in other classes, like book.
Thanks in advance!
I'd like to know if someone ported the bibliography styles used in revtex 4.1 (like apsrev4-1.bst) so they can be used in other classes, like book.
Thanks in advance!
It looks if the revtex bst's are highly customized for for the class file. I have found that the following gives more or less the same output with a standard class
\usepackage[sort&compress,numbers]{natbib}
\bibliographystyle{apsrev4-1}
\usepackage{doi}%<----------
\usepackage{hyperref}
It also needs an additional bibtex file with a custom setup especially if you want the full article names included (the longbibliography option in revtex4-1). Create the following file, say revtex-custom.bib with contents
@CONTROL{REVTEX41Control}
@CONTROL{apsrev41Control,author="48",editor="1",pages="1",title="0",year="0"}
Define your bib then as follows:
\nocite{apsrev41Control}
\bibliography{my-bib,revtex-custom}
I found out that the problem was in my .bib file. ISI Web of Knowledge generates dome weird bibliography entries with double braces for years and volumes and apsrev.bst doesn't swallow that very well.
– Elton Carvalho Apr 13 '11 at 19:09@control in your answer but there are several subtle points that caused me problems. 1) You need to "cite" "apsrev41Control" somehow to make sure that the @CONTROL block gets processed, and 2) title="-1" will fail to disable the titles (for reasons I do not understand yet, title=-1 will work...). If you know how to fix these simply, could you ammend your answer? (Perhaps I should ask another question, but your answer is so close...). Thanks.
– mforbes
Dec 21 '11 at 11:24
I haven't been able to make the @CONTROL sequences work as above, but I found a way to tweak apsrev4-1.bst to output what you want. First, copy apsrev4-1.bst to a new file named, for example, apsrev4-1_custom.bst, and put it in the same directory as your tex file. In it, find the function control.init, and modify any options you'd like -- #0 is false, #1 is true. To get the titles to display, change the #0 above control.title to #1. Use this newly modified by running \bibliographystyle{apsrev4-1custom}.
bookclass with\bibliographystyle{apsrev4-1}and everything worked OK. Have you had any problems? – Gonzalo Medina Apr 13 '11 at 01:10`(./main.bbl (./main.brf)) Runaway argument? \BibitemOpen \bibfield {author} {\bibinfo {author} {\bibfnamefont {R.\ETC. ! File ended while scanning use of \BR@@lbibitem.