From: Nathaniel Wesley Filardo Date: Sat, 9 Nov 2019 19:54:52 +0000 (+0000) Subject: bib: add hintcol to override date X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=6016261719b5bfeefecd2ec317910f87d108d02c;p=mcv-academic bib: add hintcol to override date --- diff --git a/cv.bbx b/cv.bbx index 8efa93a..ef3e91a 100644 --- a/cv.bbx +++ b/cv.bbx @@ -43,9 +43,7 @@ \DeclareBibliographyDriver{cventry}{% \usebibmacro{begentry}% \usebibmacro{cvitem}% - {% print the date or the list-of-dates - \usebibmacro{dates}% - }% + {\iffieldundef{hintcol}{\usebibmacro{range-date}}{\printfield{hintcol}}}% {% \ifnameundef{author}{}{\usebibmacro{author}\newunit}% \printmlfield{title}% diff --git a/cv.dbx b/cv.dbx index 9e98b8a..38aa278 100644 --- a/cv.dbx +++ b/cv.dbx @@ -6,6 +6,9 @@ number% } +\DeclareDatamodelEntryfields{hintcol} +\DeclareDatamodelFields[type=field, datatype=literal]{hintcol} + \DeclareDatamodelFields[type=field, datatype=datepart]{ year,% endyear,%