Sign up ×
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.

This is a follow-up question to biblatex format for online sources. I have the following biblatex configuration file. Thanks to Guido for the inputs. I have also taken some code for the \MakeSentenceCase from Audrey's answer to Sentence case for titles in biblatex.



      \step[fieldsource=medium, fieldtarget=usera]
      \step[fieldsource=urlupdate, fieldtarget=extradate]

  references = {Cited References},
january = {Jan},
february = {Feb},
march = {Mar},
april = {Apr},
may = {May},
june = {Jun},
july = {Jul},
august = {Aug},
september = {Sep},
october = {Oct},
november = {Nov},
december = {Dec}


  available = {Available from},

% Redefined url+urldate macro


%    {\setunit*{\addspace}%
%     }
% Change how the publisher, location and dates are printed


% Remove parentheses around dates


% Print last name first before first name

    test {\iffieldundef{title}}
    test {\iffieldundef{subtitle}}

\DeclareNameAlias{default}{last-first} % for good measure, changes that of the editor and others



%% What actually prints the bibliography entry.



Now, consider the following MWE:



author = {John S. Kruse},
title = {Framework for Sustainable Soil Management: Literature Review and Synthesis},
year = {2007},
url = {},
publisher= {Soil and Water Conservation Society},
location={Ankeny (IA)},
urldate = {2008-08-03},
medium = {Internet},

title = {Canadian Soil Information Service},
medium = {Internet},
location = {Ottawa (ON)},
publisher = {Agriculture and Agri-Food Canada},
urldate = {2010-06-30},
url = {},




enter image description here

For the first bibliography entry, I want to be able to put a field urlupdate in my .bib file which maps to the extradate field. I want to be able to use the extradate field to come up with something like

Canadian soil information service [Internet]. 2010. Ottawa (ON): Agriculture and Agri‐Food Canada; [updated 2010 May 19; cited 2010 June 30]. Available from:

when urlupdate is declared and

Canadian soil information service [Internet]. 2010. Ottawa (ON): Agriculture and Agri‐Food Canada; [cited 2010 June 30]. Available from:

when it is not.

The answer must be somewhere in the biblatex manual but it is very hard to look for it. I have been at this problem for the past 2 hours.

share|improve this question

2 Answers 2

up vote 7 down vote accepted

Using biblatex 2.0/biber 1.0, you can change the datamodel. Simply add this to a file "biblatex-dm.cfg" somewhere latex can find it:

\DeclareDatamodelFields[type=field, datatype=date, skipout]{urlupdate}
\DeclareDatamodelFields[type=field, datatype=integer]{


Then you can use the field "urlupdate" in your .bib files just like any of the other date fields and the split fields "urlupday" etc. will be in your .bbl and you can check for these in your biblatex formatting as with any other field.

share|improve this answer
That went smoothly. That was in the manual, alright. But I wasn't able to understand it until now :) – hpesoj626 Oct 11 '12 at 14:54

A possibility would be to use urldate with a range value, i.e., YYYY-MM-dd/YYYY-MM-dd where the first date is mandatory and it is used for the cited value, and the second for the updated value. Then you can use field urlendyear, urlendmonth, urlendday to refer to the update values.

share|improve this answer

Your Answer


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.