josephwright / biblatex-phys

A biblatex implementation of the AIP and APS bibliography style
LaTeX Project Public License v1.3c
25 stars 6 forks source link

Position of DOI link #2

Closed josephwright closed 11 years ago

josephwright commented 11 years ago

[Reported by Christoph Bersch]

I had a look at the APS and AIP styles and could not find any hints about the format and position of URL/DOI links. In the current implementation of biblatex-phys the DOI is placed before the year for the article type, whereas it is after the year for the online type. I would suggest to move the DOI-link behind the year, as it is done e.g. in the numeric-comp style.

josephwright commented 11 years ago

Demo:

\listfiles
\documentclass{article}
\usepackage[backend=bibtex, style=phys, doi]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{Arduengo1991,
  hyphenation = {american},
  author      = {Arduengo, III, Anthony J. and Harlow, 
    Richard L. and Kline, Michael},
  title       = {{A} stable crystalline carbene},
  journaltitle= {J.~Am. Chem. Soc.},
  date        = {1991},
  volume      = {113},
  pages       = {361-363},
  number      = {1},
  doi         = {10.1021/ja00001a054},
}
@Online{Lancaster2003,
  author   = {Lancaster, Simon J.},
  title    = {Alkylation of boron trifluoride with 
    pentafluorophenyl Grignard reagent},
  date     = {2003},
  urldate  = {2008-10-08},
  url      = {http://www.syntheticpages.org/pages/215}
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}  
\nocite{*}
\printbibliography
\end{document}
josephwright commented 11 years ago

Fixed by aed3f428b672570015e689f6479c00ebe8e2b02e.