Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

While trying the different biblatex referencing styles in texlive 2012, I came upon what I think might be a bug in biblatex-chicago. The access phrase "Visited on" was repeated. Has anyone had the same experience?

Here is the code

\documentclass{article}

\usepackage[style=chicago-authordate,backend=bibtex,]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@online{fat,
author = {},
title = {Fat Secret},
date = {2012},
urldate = {2012-02-24},
url = {http://www.fatsecret.com/Diary.aspx?pa=fjrd&rid=2647991}
}
\end{filecontents}

\addbibresource{\jobname.bib}

\nocite{*}

\begin{document}


\printbibliography

\end{document}

Sorry but I can't post pictures yet according to moderator. :)

share|improve this question
2  
You can add the picture with the button; just remove the ! in front of the first [ bracket: a user with enough privileges will reinstate it. I can confirm the "double" "visited on" and also that the output is different if one uses TeX Live 2011 or 2012; with TeX Live 2010 it's correct (and different from the other two). –  egreg Jul 23 '12 at 7:40
2  
I get the same thing. The problem seems to be that a call to \printurldate is adding the "visited", but a fieldformat (urldate) is doing it too. Whether it's related to the recent updating of biblatex, I couldn't say. Anyway, it does look like a bug, and would best be reported as such to David Fussner, since it may affect other things too. –  Paul Stanley Jul 23 '12 at 14:23
 
@egreg, thanks for the tip. –  hpesoj626 Jul 24 '12 at 0:51
add comment

1 Answer

up vote 5 down vote accepted

As mentioned in the comment the bibliography driver online prints the string \urlseen twice. The error occurs by the following line:

\printtext[urldate]{\printurldate}

which is used very often. biblatex v1.6 or newer uses a special field formatting for printdate and printurldate. That means \pinttext[urldate] and \printurldate are printing the string urlseen. So the easiest way to fix this issue is clearing definition. This can be done with the help of the package xpatch.

I think PLK will fix this in the next release:

\usepackage{xpatch}
\xpatchbibdriver{online}{urldate}{}{}{}

Here the complete MWE:

\documentclass{article}
\usepackage[style=chicago-authordate,backend=bibtex,]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@online{fat,
author = {},
title = {Fat Secret},
date = {2012},
urldate = {2012-02-24},
url = {http://www.fatsecret.com/Diary.aspx?pa=fjrd&rid=2647991}
}
\end{filecontents}

\addbibresource{\jobname.bib}
\usepackage{xpatch}
\xpatchbibdriver{online}{urldate}{}{}{}
\nocite{*}
\begin{document}
\printbibliography
\end{document}

If you want to change the file chicago-authordate.bbx you can simple replace

\printtext[urldate]{\printurldate} 

by

\printurldate

enter image description here

share|improve this answer
 
thank you very much. At this point I have completely given up trying to understand the source files for the packages. I noticed that the syntax in those files appear like they were written in TeX so I am trying to learn it but it seems it will not be an easy task. Your answer is one less problem for me. Thanks! –  hpesoj626 Aug 6 '12 at 2:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
http://tex.stackexchange.com/questions/64347/repeated-access-statement-visited-on-in-biblatex-chicago
tex.stackexchange.com
crawl=CC-MAIN-2014-10
68698
application/http; msgtype=response
sha1:PRDFC2Q5PMLKWC5Q4ZVA43PPOLZ7QN4C
<urn:uuid:24345f0f-03bb-4913-817a-31a6016acb67>
2014-03-15T22:10:53Z
198.252.206.140
sha1:YIF4H7KWK24VOBDESCEHDYMFPGIGZTXW
<urn:uuid:ecd046e0-54e3-476f-a369-f8e03a33ecda>
http://tex.stackexchange.com/questions/64347/repeated-access-statement-visited-on-in-biblatex-chicago
response
<urn:uuid:934ecd3d-b225-4474-a21b-3ad97bea23ba>
robots: classic
hostname: ip-10-183-142-35.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-10
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for March 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf