Consider the following example:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{csquotes}
\usepackage[american]{babel}
\usepackage[backend=biber]{biblatex}
\DeclareBibliographyDriver{unpublished}{%
\printtext{%
\printfield{location}\addcomma\space%
\printfield{year}\addcomma\space%
\printfield{month}\addcomma\space%
\printfield{day}}%
}
\addbibresource{my.bib}
\begin{document}
\fullcite{something}
\end{document}
and the respective bib file:
@unpublished{something,
author = {Me C. and You K.},
title = {Some Awesome Work},
eventtitle = {Workshop on Awesome Stuff},
location = {Some County in the U.S.},
year = {2018},
month = {9},
day = {7},
howpublished = {http://www.someurl.com}
}
Compiling the above gives ", 2018, Sept.,".
Indeed the field day is not in the list of available fields given on page 12 of the biblatex manual. However, location is the list of optional fields, and is still not showing.
Are there any rules that govern this behavior, or is this a bug? Moreover, how can I display fields such as day above?
I am using the latest update of the 2017 mactex distribution.
locationis a list, so you have to use\printlist{location}. See also https://tex.stackexchange.com/q/122095/35864 and https://tex.stackexchange.com/q/430833/35864 – moewe Sep 07 '18 at 20:41\printfield{day}or\printfield{month}. Instead you should use\printdateand customise the date format accordingly (if necessary). – moewe Sep 07 '18 at 20:44\printtextis unnecessary (though it could be more useful if it applied additional formatting). You should also consider using the punctuation tracker and\setunit{\addcomma\space}instead of putting\addcomma\spacedirectly. Have a look at §4.11.7 Using the Punctuation Tracker of the manual. – moewe Sep 07 '18 at 20:46dayis not a problem of your code, it is a problem of your input.dayis not a valid input field.yearandmonthare supported for backwards compatibility reasons, but day-precision dates must be given in thedatefield in the formYYYY-MM-DD. Things should work when you saydate = {2018-09-07},in thebibfile. – moewe Sep 07 '18 at 20:54\newunitpunct. All this works well, but I am having trouble with\newblockpunctand\finentrypunct, as\newblockand\finentrydon't print anything. Any suggestions? – dow Sep 07 '18 at 21:19\newblockand\finentry. Can be more specific? (Though I must say that this is probably going to be a new question.) – moewe Sep 07 '18 at 21:21