From 097ae730f07bc8b7c3af6dfc17a5eb5b84916cdd Mon Sep 17 00:00:00 2001
From: Jannik Dunkelau <jannik.dunkelau@hhu.de>
Date: Tue, 26 Nov 2019 12:23:02 +0100
Subject: [PATCH] Keep DOI entries when using bibtool

---
 .bibtoolrsc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.bibtoolrsc b/.bibtoolrsc
index f85337b..bf42ce2 100644
--- a/.bibtoolrsc
+++ b/.bibtoolrsc
@@ -7,8 +7,10 @@ print.parentheses = true
 
 
 % sort order for fields
-sort.order {* = author # title # school # type # year # month # day # journal # booktitle # volume # pages # publisher # adress # url # urlaccessdate}
+sort.order {* = author # title # school # type # year # month # day # journal # booktitle # volume # pages # publisher # adress # url # urlaccessdate # doi}
 
+% Keep DOI entries
+keep.field {doi}
 
 % Remove double braces around titles.
 rewrite.rule { title # "^\{[\{]\([^#]*\)[\}]\}$" # "{\1}" }
-- 
GitLab