Closed josephwright closed 11 years ago
I'll take the points one at a time. On point 1, D.~M
. is wrong: BibTeX's name formatting system does not understand ~
as a space, so treats this as a single name. As such, this is not a bug in biblatex-phys
.
Further on point 1, this shows up as biblatex-phy
s prints initials and surnames, not just 'whatever was in the database'. Most physical science reference styles seem to work that way: full first names tend not to be given. I'm not sure if REVTeX deliberately prints full names or simply expects that the database will be set up without them!
Point 5 looks to me like one that could be argued either way. Certainly the full stop is wrong in REVTeX! On the colon part, without some official statement from one of the journals I'm minded to leave alone.
Re point 1, REVTeX doesn't show the full name, e.g. Stamper-Kurn, Dan.~M gets typeset as D. M. Stamper-Kurn, so it is recognising the non-breaking space rather than showing the full "name". Checking through my arXiv preprints, it seems that for all of them, if authors have two initials, then there is a ~
between them. I think that the ADS database puts the ~ in there (and ADS is the source for arXiv bibtex entries). I have found a workaround though, I added the following to my .tex file to sanitise the author (I also sanitised the title (issue #4), putting { }
around any inline maths):
\DeclareSourcemap{
\maps[datatype=bibtex,overwrite=true]{
\map{
\step[fieldsource=author,
match=\regexp{([^\\])\~},
replace=\regexp{$1\x20}]
\step[fieldsource=title,
match=\regexp{(\$[^\$]*\$)},
replace=\regexp{\{$1\}}]
}
}
}
but I'm sure I'm missing something. I should try to sanitise the author for diacritics (issue #6), but that could be a bit messier.
Re point 5, the APS (Table I) and AIP (Table II) style guides don't have many examples and none that cover arXiv preprints in this detail. Looking at some articles (e.g. this one, open access), the style seems to be [authors], arXiv:1203.0948v1. So there is no ArXiv e-prints (2012), and no arXiv class. To get this behaviour from REVTeX4-1, I need to delete the fields Year, Primaryclass and Journal from the .bib
file (I don't think it's easy to do automatically without biblatex
since published and arXiv are all covered by the same FUNCTION {article} in the .bst
). I then get the same result from REVTex4-1 and biblatex-phys
, except that biblatex-phys
has a space after the colon and doesn't hyperlink the arXiv:, neither of which is of any consequence.
I've taken another look at point 1: it looks like a biber
versus BIbTeX thing. I've raised this with PLK (who writes biber
).
Point two is due to a hard-coded \texttt
in the standard definition: I'll alter this to \UrlFont
.
On point 5, I'll remove the space after :
, as this looks intention, but will not add the one before .
(which must I think be wrong).
Point 3: I've removed the link from the first part and added it to the "arXiv:" part (1822bbfb7701a429d956598b2fb9e69e84db8968).
Point 6: I've added a hyperlink for all book titles (f9c9afe946a508bd8d33e191bceebca7092e1291).
I've had confirmation from PLK that point 1 is a Biber bug, so this should be fixed 'up stream' soon-ish.
There are minor formatting differences between revtex4-1 and
biblatex-phys
:D.~M
., thenbiblatex
treats this as a first name and uses only the first initial D., whereas revtex4-1 showsD. M.
in the reference. A non-breaking space is common for arXiv references obtained from the ADS database, e.g. this one.biblatex-phys
,\urlstyle{rm}
changes theeprint
reference (e.g. 1205.1888) from monospaced(textt
t?) to roman, but the arXiv class (e.g.cond-mat.quant-ga
s) is still typeset as monospaced. revtex4-1 usesrm
by default for theeprint
reference and the arXiv class.eprint
option (necessary to get close to revtex4-1 behaviour) for Arxiv e-prints (2012), arXiv: 1205.1888 [cond-mat.quant-gas].,biblatex-phys
has a hyperlink on all but , arXiv: whereas the hyperlink from revtex4-1 starts at arXiv: a goes up to the last period, i.e. all of arXiv:1205.1888 [cond-mat.quant-gas].inbook
references,biblatex-phys
puts a comma after the in and before the page number (e.g. Condensates", in, Coherent ... (2001), p. 139., whereas revtex4-1 does not (e.g. Condensates,” in Coherent ... (2001) p. 139.).biblatex-phys
has a space after the colon and no space before the final period arXiv: 1205.1888 [cond-mat.quant-gas]. whereas the opposite is true for revtex4-1: arXiv:1205.1888 [cond-mat.quant-gas] . Trivial and thebiblatex-phys
looks better.inbook
reference (e.g. using the doi from this one)) whereas revtex4-1 does make a hyperlink. I've made a comment on issue #5.The following example illustrates all of the above behaviour for revtex4-1. Uncomment
%\biblatextrue
forbiblatex-phys
behaviour.