From af1c5ec0fcd3f25234cfe2986c873ff2e5ed63a0 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 11 Dec 2021 04:16:00 +0100 Subject: [PATCH] Fix bibtex-biblatex-entry-alist sorting when using latex * lisp/textmodes/bibtex.el (bibtex-biblatex-entry-alist): Sort PhdThesis and TechReport correctly when using the latex variant (bug#52354). --- lisp/textmodes/bibtex.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index c06e8bfa1bb..2dd4e8e7af0 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el @@ -839,6 +839,24 @@ for a new entry." ("eprint") ("eprintclass" nil nil 4) ("primaryclass" nil nil -4) ("eprinttype" nil nil 5) ("archiveprefix" nil nil -5) ("url") ("urldate"))) + ("PhdThesis" "PhD Thesis" + (("author") + ("title" "Title of the PhD thesis") + ("school" "School where the PhD thesis was written") + ("year")) + nil + (("type" "Type of the PhD thesis") + ("address" "Address of the school (if not part of field \"school\") or country") + ("month") ("note"))) + ("TechReport" "Technical Report" + (("author") + ("title" "Title of the technical report (BibTeX converts it to lowercase)") + ("institution" "Sponsoring institution of the report") + ("year")) + nil + (("type" "Type of the report (if other than \"technical report\")") + ("number" "Number of the technical report") + ("address") ("month") ("note"))) ("Unpublished" "Unpublished" (("author") ("title") ("date" nil nil 1) ("year" nil nil -1)) nil -- 2.39.2