From: adin Date: Tue, 6 Sep 2016 14:10:13 +0000 (-0300) Subject: Add filters of this style entries for the date range patch X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=f403ca04985a5a2b7d0e7704fedda15a46483e41;p=mcv-academic Add filters of this style entries for the date range patch --- diff --git a/moderncvstyleacademic.sty b/moderncvstyleacademic.sty index 16ce39a..1f364b9 100755 --- a/moderncvstyleacademic.sty +++ b/moderncvstyleacademic.sty @@ -168,6 +168,13 @@ \DeclareSourcemap{ \maps[datatype=bibtex]{ \map{ + \pertype{study} + \pertype{position} + \pertype{project} + \pertype{course} + \pertype{thesis} + \pertype{committee} + \pertype{cvmisc} \step[fieldsource=date, match=\regexp{\A([0-9]{4}-[0-9]{2}-[0-9]{2})\Z}, replace=\regexp{$1/$1}] \step[fieldsource=date, match=\regexp{\A([0-9]{4}-[0-9]{2})\Z}, replace=\regexp{$1/$1}] \step[fieldsource=date, match=\regexp{\A([0-9]{4})\Z}, replace=\regexp{$1/$1}]