From 6695585c63ab3f2215523e9eae15b172f0e42d38 Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Fri, 27 Aug 2021 14:41:32 +0200 Subject: [PATCH] Update the checks in the publications to include biorXiv. --- publications.tex | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/publications.tex b/publications.tex index 8edc68a..37fe1c0 100644 --- a/publications.tex +++ b/publications.tex @@ -1,9 +1,21 @@ -\defbibcheck{notarXiv}{% - \iffieldequalstr{journaltitle}{CoRR}{\skipentry}{} +\defbibcheck{formal}{ + \ifboolexpr{ + test {\iffieldequalstr{journaltitle}{CoRR}} + or + test {\iffieldequalstr{journaltitle}{bioRxiv}} + } + {\skipentry} + {} } -\defbibcheck{arXiv}{% - \iffieldequalstr{journaltitle}{CoRR}{}{\skipentry} +\defbibcheck{informal}{% + \ifboolexpr{ + test {\iffieldequalstr{journaltitle}{CoRR}} + or + test {\iffieldequalstr{journaltitle}{bioRxiv}} + } + {} + {\skipentry} } \defbibfilter{reports}{% @@ -25,7 +37,7 @@ mes publications, par catégorie. heading=subbibliography, title={Revues internationales}, type=article, - check=notarXiv + check=formal ] \newrefcontext[sorting=ydnt,labelprefix=c] @@ -40,7 +52,7 @@ mes publications, par catégorie. heading=subbibliography, title={Publications informelles}, type=article, - check=arXiv + check=informal ] \newrefcontext[sorting=ydnt,labelprefix=r]