@@ -924,7 +924,7 @@ def test_rest(self):
924
924
("Uhlmann1973_EdDMII" , Entry ("article" , persons = {"author" : [Person ("Uhlmann, Armin" )],}, fields = {
925
925
"file" : ":path/to/Mendeley/Uhlmann - 1973 - Endlich-dimensionale Dichtematrizen II.pdf:pdf" ,
926
926
"journal" : "Wiss. Z. Karl-Marx-Univ. Leipzig, Math.-Naturwiss." ,
927
- "pages" : "139-- 177" ,
927
+ "pages" : "139-177" ,
928
928
"title" : "{Endlich-dimensionale Dichtematrizen II}" ,
929
929
"url" : "http://www.physik.uni-leipzig.de/$\\ sim$uhlmann/papers.html" ,
930
930
"volume" : "22" ,
@@ -939,7 +939,7 @@ def test_rest(self):
939
939
"mendeley-tags" : "thermo" ,
940
940
"month" : "November" ,
941
941
"number" : "11-12" ,
942
- "pages" : "840-- 856" ,
942
+ "pages" : "840{–} 856" ,
943
943
"publisher" : "Springer Berlin / Heidelberg" ,
944
944
"title" : "{\\ \" {U}ber die Entropieverminderung in einem thermodynamischen System bei Eingriffen intelligenter Wesen}" ,
945
945
"url" : "http://www.springerlink.com/index/10.1007/BF01341281" ,
@@ -979,7 +979,7 @@ def test_rest(self):
979
979
"mendeley-tags" : "thermo" ,
980
980
"month" : "March" ,
981
981
"number" : "1" ,
982
- "pages" : "1-- 40" ,
982
+ "pages" : r"1{\textendash} 40" ,
983
983
"title" : "Exorcist XIV: The Wrath of Maxwell\u2019 s Demon. Part II. From Szilard to Landauer and Beyond" ,
984
984
"url" : "http://linkinghub.elsevier.com/retrieve/pii/S1355219898000264" ,
985
985
"volume" : "30" ,
@@ -993,7 +993,7 @@ def test_rest(self):
993
993
"journal" : "Physical Review A" ,
994
994
"month" : "nov" ,
995
995
"number" : "5" ,
996
- "pages" : "4247--4247" ,
996
+ "pages" : "4247-x -4247" ,
997
997
"title" : "Reply to ``Comment on `Optical coherence: A convenient fiction'''" ,
998
998
"extrafield" : "Reply to “Comment on ‘Optical coherence: A convenient fiction’”" ,
999
999
"url" : "http://link.aps.org/doi/10.1103/PhysRevA.58.4247" ,
@@ -1019,7 +1019,9 @@ def test_rest(self):
1019
1019
convert_dbl_quotes = True ,
1020
1020
convert_sgl_quotes = ['title' ,'abstract' ,'booktitle' ,'series' ,'extrafield' ],
1021
1021
dbl_quote_macro = r'\enquote' ,
1022
- sgl_quote_macro = r'\enquote*' )
1022
+ sgl_quote_macro = r'\enquote*' ,
1023
+ fix_pages_range = True ,
1024
+ )
1023
1025
1024
1026
for k ,e in entries :
1025
1027
e .key = k
@@ -1274,7 +1276,7 @@ def test_rest(self):
1274
1276
"journal" : "Physical Review A" ,
1275
1277
"month" : "nov" ,
1276
1278
"number" : "5" ,
1277
- "pages" : "4247--4247" ,
1279
+ "pages" : "4247-x -4247" , # didn't match page range, should leave it alone
1278
1280
"title" : "Reply to \\ enquote{Comment on \\ enquote*{Optical coherence: {A} convenient fiction}}" ,
1279
1281
"extrafield" : "Reply to “Comment on \\ enquote*{Optical coherence: A convenient fiction}”" ,
1280
1282
"url" : "http://link.aps.org/doi/10.1103/PhysRevA.58.4247" ,
0 commit comments