From c4ec1b7c49b0baff3738fbeb5dce4de9476beb73 Mon Sep 17 00:00:00 2001 From: m-kro Date: Fri, 6 Dec 2024 11:36:25 +0100 Subject: [PATCH] update bibtex entry keys ref #13811 Signed-off-by: m-kro --- docs/sumo.bib | 12 ++++++------ tools/build_config/bibtexUpdate.py | 4 +--- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/docs/sumo.bib b/docs/sumo.bib index 8ecffc46daad..56b1934bf79a 100644 --- a/docs/sumo.bib +++ b/docs/sumo.bib @@ -3271,7 +3271,7 @@ @Article{BiekerEtAl2015 } -@Article{CodecàEtAl2015, +@Article{CodecaEtAl2015, author = {Lara Codecà and Raphaël Frank and T. Engel}, year = {2015}, title = {Luxembourg SUMO Traffic (LuST) Scenario: 24 hours of mobility for vehicular networking research}, @@ -3323,7 +3323,7 @@ @Article{SainiEtAl2015 } -@Article{GuériauEtAl2016, +@Article{GueriauEtAl2016, author = {Maxime Guériau and Romain Billot and Nour-Eddin El Faouzi and Julien Monteil and Frederic Armetta and S. Hassas}, year = {2016}, title = {How to assess the benefits of connected vehicles? A simulation framework for the design of cooperative traffic management strategies}, @@ -3408,7 +3408,7 @@ @Article{AminiEtAl2017 } -@Article{D'AndreaAndMarcelloni2017, +@Article{DAndreaAndMarcelloni2017, author = {Eleonora D'Andrea and F. Marcelloni}, year = {2017}, title = {Detection of traffic congestion and incidents from GPS trace analysis}, @@ -3537,7 +3537,7 @@ @Article{LiangEtAl2018 } -@Article{LópezEtAl2018, +@Article{LopezEtAl2018, author = {Pablo Álvarez López and M. Behrisch and Laura Bieker-Walz and J. Erdmann and Y. Flötteröd and Robert Hilbrich and L. Lücken and Johannes Rummel and P. Wagner and Evamarie WieBner}, year = {2018}, title = {Microscopic Traffic Simulation using SUMO}, @@ -3613,7 +3613,7 @@ @Article{LuEtAl2019_0 } -@Article{Millard‐Ball2019, +@Article{MillardBall2019, author = {A. Millard‐Ball}, year = {2019}, title = {The autonomous vehicle parking problem}, @@ -3865,7 +3865,7 @@ @Article{YuanAndLi2021 } -@Article{ChenAndKrähenbühl2022, +@Article{ChenAndKrahenbuhl2022, author = {Dian Chen and Philipp Krähenbühl}, year = {2022}, title = {Learning from All Vehicles}, diff --git a/tools/build_config/bibtexUpdate.py b/tools/build_config/bibtexUpdate.py index bcfc0fb465d3..ed03c1430058 100644 --- a/tools/build_config/bibtexUpdate.py +++ b/tools/build_config/bibtexUpdate.py @@ -219,7 +219,7 @@ def main(options): def formatName(name): - return u"".join([unicodedata.normalize("NFD", x)[0] for x in name if x not in ("'", "‐")]) + return u"".join([unicodedata.normalize("NFKD", x)[0] for x in name if x not in ("'", "‐")]) def getRelevantKeyWords(paper, keywords): @@ -241,8 +241,6 @@ def toBibTexBlock(paper, groups=""): authors = [a["name"].strip() for a in paper["authors"]] lastNames = [a[a.rindex(" ")+1:] for a in [formatName(author) for author in authors]] citKey = "%s%d" % ("%sEtAl" % lastNames[0] if len(lastNames) > 2 else "And".join(lastNames), paper["year"]) - # authors = [" ".join(["{%s}" % name if name[0].isupper() else name for name in author.split(" ")]) - # for author in authors] entry = bibtexparser.model.Entry(getBibtexType(paper["publicationTypes"]), citKey, []) entry.set_field(bibtexparser.model.Field("author", " and ".join(authors))) entry.set_field(bibtexparser.model.Field("year", paper["year"]))