Version 4.16 will now process 'date' with all reference types. It looks like the biblatex documentation that I've been using is either out of date or simply wrong. Thanks for the heads up.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Great. You probably know that in biblatex date ranges are allowed, too. The format is "YYYY-MM-DD/YYYY-MM-DD". At least for "article" entries, biblatex2xml gives, e.g., "<dateissued>2012-07-23/2012-08-27</dateissued>", which looks ok to me. [EDIT: No, it doesn’t. See post below.]
citeproc-hs or pandoc apparently cannot handle date ranges yet, but I’ll ask for a fix there …
In biblatex, however, the fields year and month should only be considered if no date field can be found (for backwards compatibility with traditional BibTeX). Only in this case, year and month fields should be considered; they should of course be converted to an ISO 8601 representation of the form YYYY-MM.
Last edit: Nick Bart 2013-01-09
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
biblatex2xml's conversion of "date" fields, as discussed previously in, e.g., https://groups.google.com/forum/?fromgroups=#!topic/pandoc-discuss/uzxF4AGaoUM, is still broken:
Using biblatex2xml, "book" entries with "date" fields (whether YYYY, YYYY-MM, or YYYY-MM-DD) do not produce ANY any kind of date output at all.
("book" entries with "year" fields produce, e.g., "
<dateIssued>2012</dateIssued>
", as expected.)"article" entries with "date" fields, however, do produce output that looks ok, e.g., "
<dateIssued>2012-07-23</dateIssued>
".Could you please look into this? I assume it's an easy fix, and it would be much appreciated.
Last edit: Nick Bart 2012-11-13
Version 4.16 will now process 'date' with all reference types. It looks like the biblatex documentation that I've been using is either out of date or simply wrong. Thanks for the heads up.
Great. You probably know that in biblatex date ranges are allowed, too. The format is "YYYY-MM-DD/YYYY-MM-DD". At least for "article" entries, biblatex2xml gives, e.g., "<dateissued>2012-07-23/2012-08-27</dateissued>", which looks ok to me. [EDIT: No, it doesn’t. See post below.]
citeproc-hs or pandoc apparently cannot handle date ranges yet, but I’ll ask for a fix there …
The latest biblatex manual is http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf (currently v 2.3).
Last edit: Nick Bart 2013-01-09
Simply copying a date range in the biblatex format over to MODS might not be correct, however.
It should probably done like this:
Last edit: Nick Bart 2013-01-09
One more detail: Presently, a biblatex
article
entry containingis converted by biblatex2xml to an entry containing
In biblatex, however, the fields
year
andmonth
should only be considered if nodate
field can be found (for backwards compatibility with traditional BibTeX). Only in this case,year
andmonth
fields should be considered; they should of course be converted to an ISO 8601 representation of the formYYYY-MM
.Last edit: Nick Bart 2013-01-09