5

I am using the "authoryear" style in biblatex. In the bibliography, the journal name is abbreviated using dots (e.g. "Am. J. Epidemiol."). Is there a way to get rid of the dots to obtain "Am J Epidemiol"? Thank you!

EDIT: here is a MWE. What I want to get is Am J Epidemiol, without the dots. Thanks.

\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage[backend=biber, style=authoryear, terseinits=TRUE, isbn=false, url=false, doi=false]{biblatex}

\addbibresource{test.bib}
\begin{filecontents*}{test.bib}
@article{kim2013,
title = {Prediction of Severe, Persistent Activity-of-Daily-Living Disability in Older Adults},
volume = {178},
issn = {0002-9262, 1476-6256},
url = {http://aje.oxfordjournals.org/content/178/7/1085},
doi = {10.1093/aje/kwt097},
language = {en},
number = {7},
urldate = {2016-01-28},
journal = {Am. J. Epidemiol.},
author = {Kim, Dae Hyun and Newman, Anne B. and Lipsitz, Lewis A.},
month = oct,
year = {2013}
}
\end{filecontents*}

\begin{document}
This is just a filler \parencite{kim2013}.
\printbibliography
\end{document}
Claudio
  • 445
  • A full minimal working example would be most comfortable for users, but you should show at least the bib-entry. – Johannes_B Feb 04 '16 at 12:04
  • I guess you have too many files to do clear the dots by hand in all journal fields? – Johannes_B Feb 04 '16 at 12:37
  • My actual bib files contains about 100 citations. If it were a one-time issue I would not bother, but it will replicate everytime I will need to use a bib file generated from a collection in Zotero (a reference management software). – Claudio Feb 04 '16 at 13:13

1 Answers1

7

biber can be used to on the fly modification of the data in the bibtex entries.

Thus a possible solution is to use a map that uses regular expression to remove ., namely:

\DeclareSourcemap{ 
    \maps[datatype=bibtex]{
      \map{
           \step[fieldsource=journal, match=\regexp{\.}, replace={ }]
          }
    }      
}

With the provided MWE we obtain:

enter image description here

Guido
  • 30,740