summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/europecv/templates/europecv_biber.conf
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/europecv/templates/europecv_biber.conf')
-rw-r--r--macros/latex/contrib/europecv/templates/europecv_biber.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/macros/latex/contrib/europecv/templates/europecv_biber.conf b/macros/latex/contrib/europecv/templates/europecv_biber.conf
new file mode 100644
index 0000000000..b6bad03e9f
--- /dev/null
+++ b/macros/latex/contrib/europecv/templates/europecv_biber.conf
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<config>
+ <sourcemap>
+ <maps datatype="bibtex" bmap_overwrite="1">
+ <!-- Remove URL if ∃ DOI -->
+ <map>
+ <map_step map_field_source="DOI" map_final="1"/>
+ <map_step map_field_set="URL" map_null="1"/>
+ </map>
+
+ <!-- Categories -->
+ <map>
+ <per_datasource>thesis.bib</per_datasource>
+ <map_step map_field_set="KEYWORDS" map_field_value="thesis" map_append="1"/>
+ </map>
+ <map>
+ <per_datasource>pub.bib</per_datasource>
+ <map_step map_field_set="KEYWORDS" map_field_value="pub" map_append="1"/>
+ </map>
+ </maps>
+ </sourcemap>
+</config>