-
Notifications
You must be signed in to change notification settings - Fork 1
/
biber.conf
92 lines (92 loc) · 3.72 KB
/
biber.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version = "1.0" encoding="UTF-8"?>
<config>
<sourcemap>
<maps datatype="bibtex" map_overwrite="1">
<map>
<!-- Cut DOI link prefix and fix underscore escapes (damn CICM) -->
<map_step map_field_source="doi" map_match="http(s)?://dx.doi.org/" map_replace=""/>
<map_step map_field_source="doi" map_match="(.*)\\_(.*)" map_replace="$1_$2"/>
</map>
<map>
<!--
If DOI is available and entry is not primary (personal publications)
remove URL field (for primary pubs, I want both, DOI and URL)
-->
<map_step map_field_source="doi" map_final="1"/>
<map_step map_field_source="keywords" map_notmatch=".*primary.*" map_final="1"/>
<map_step map_field_set="url" map_null="1"/>
<map_step map_field_set="urldate" map_null="1"/>
</map>
<map>
<!--
If keywords does not exist, the previous map does not work. So here
is an extra map to remove URL if DOI exists (no keyword set so it
cannot be a primary pub)
-->
<map_step map_field_source="doi" map_final="1"/>
<map_step map_notfield="keywords" map_final="1"/>
<map_step map_field_set="url" map_null="1"/>
<map_step map_field_set="urldate" map_null="1"/>
</map>
<map>
<!-- Just make submissions (not yet accepted) bold -->
<map_step map_field_source="note" map_match="(Submitted for publication)" map_replace="\\textbf{$1}"/>
</map>
<map>
<!-- Nobody is interested in editors and especially not editorb -->
<map_step map_field_set="editor" map_null="1"/>
<map_step map_field_set="editorb" map_null="1"/>
</map>
<map>
<!-- Dont need event title and series -->
<per_type>INPROCEEDINGS</per_type>
<map_step map_field_set="eventtitle" map_null="1"/>
<map_step map_field_set="series" map_null="1"/>
</map>
<map>
<!-- If we have DOI, we do not need ISBN and ISSN in proceedings -->
<per_type>INPROCEEDINGS</per_type>
<map_step map_field_source="doi" map_final="1"/>
<map_step map_field_set="isbn" map_null="1"/>
<map_step map_field_set="issn" map_null="1"/>
</map>
<map>
<!-- Set NTCIR pubs location field to Tokyo, Japan -->
<map_step map_field_source="booktitle"
map_match=".*NTCIR.*"
map_final="1"/>
<map_step map_field_set="location" map_field_value="Tokyo, Japan"/>
</map>
<map>
<!--
If ISSN does not contain hyphen, add it and also ignore
multiple ISSN (just take the first)
-->
<map_step map_field_source="issn"
map_match="\A(\d{4})(\d{3}[0-9xX]).*"
map_replace="$1-$2"/>
</map>
<map>
<!-- Short book titles for good -->
<map_step map_field_source="booktitle"
map_match=".*Intelligent.*Computer.*Mathematics.*"
map_replace="Proc. Conf. Intelligent Computer Mathematics ({CICM})"/>
<map_step map_field_source="booktitle"
map_match=".*NAACL.*"
map_replace="Proc. Conf. North American Chapter Association for Computaitonal Linguistics: Human Language Technology ({NAACL-HLT})"/>
<map_step map_field_source="booktitle"
map_match=".*Association.*for.*Computational.*Linguistics.*"
map_replace="Proc. Ann. Meeting Association for Computational Linguistics ({ACL})"/>
<map_step map_field_source="booktitle"
map_match=".*Neural.*Information.*Processing.*Systems.*"
map_replace="Proc. Ann. Conf. Neural Information Processing Systems ({NeurIPS})"/>
<map_step map_field_source="booktitle"
map_match=".*(\d{2})th.*NTCIR.*"
map_replace="Proc. Conf. Evaluation of Information Access Technologies ({{NTCIR}}-$1)"/>
<map_step map_field_source="booktitle"
map_match=".*BIRNDL.*"
map_replace="Proc. Workshop on Bibliometric-Enhanced Information Retrieval and Natural Language Processing (BIRNDL\@SIGIR)"/>
</map>
</maps>
</sourcemap>
</config>