We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0e26fc commit 347ef01Copy full SHA for 347ef01
main.py
@@ -232,7 +232,10 @@ def main():
232
233
with open(args.bib_file, "r", encoding="utf-8") as bib_file:
234
references = LiteratureRef.parse(bib_file)
235
+
236
+ # sort and deduplicate references
237
references.sort()
238
+ references = list(dict.fromkeys(references))
239
240
# Convert kebab case to title case for the output title
241
title = pathlib.Path(args.bib_file).stem.replace("-", " ").title()
0 commit comments