@@ -184,23 +184,23 @@ def ref_to_link(txt):
184184 elif ref .startswith ("doi" ):
185185 ref = ref .replace (":" , "" ) # could be doi:: or doi: or doi
186186 the_doi = ref [3 :] # remove the "doi"
187- this_link = '{{ LINK_EXT("' + the_doi + '","https://doi.org/' + the_doi + '")| safe }}'
187+ this_link = '{{ LINK_EXT("DOI: ' + the_doi + '","https://doi.org/' + the_doi + '")| safe }}'
188188 elif ref .lower ().startswith ("mr" ):
189189 ref = ref .replace (":" , "" )
190190 the_mr = ref [2 :] # remove the "MR"
191- this_link = '{{ LINK_EXT("' + ' MR:' + the_mr + '", '
191+ this_link = '{{ LINK_EXT("MR:' + the_mr + '", '
192192 this_link += '"https://mathscinet.ams.org/mathscinet-getitem?mr='
193193 this_link += the_mr + '") | safe}}'
194194 elif ref .lower ().startswith ("arxiv" ):
195195 ref = ref .replace (":" , "" )
196196 the_arx = ref [5 :] # remove the "arXiv"
197- this_link = '{{ LINK_EXT("' + ' arXiv:' + the_arx + '", '
197+ this_link = '{{ LINK_EXT("arXiv:' + the_arx + '", '
198198 this_link += '"https://arxiv.org/abs/'
199199 this_link += the_arx + '")| safe}}'
200200 elif ref .lower ().startswith ("zbl" ):
201201 ref = ref .replace (":" , "" )
202202 the_zbl = ref [3 :] # remove the "Zbl"
203- this_link = '{{ LINK_EXT("' + ' Zbl:' + the_zbl + '", '
203+ this_link = '{{ LINK_EXT("Zbl:' + the_zbl + '", '
204204 this_link += '"https://zbmath.org/?q=an:'
205205 this_link += the_zbl + '")| safe}}'
206206
0 commit comments