In the bellow bst of latex, sort by year and only then by authors (as currently…
- User
In the bellow bst of latex, sort by year and only then by authors (as currently done)FUNCTION {presort} { calc.label label sortify " " * type "inbook" = or 'author.editor.sort { type "proceedings" = 'editor.organization.sort { type "manual" = 'author.organization.sort 'author.sort if } if } if * #1 entry.max 'sort.label := sort.label * #1 entry.max 'sort.key$ := }
Assistant
I'll help you modify the presort function to sort primarily by year and then by authors (or other specified criteria) when years are the same. Here's an updated version: latexFUNCTION {presort} { calc.label label sortify " " * type "inbook" = or 'author.editor.sort { type "manual" = 'author.organization.sort 'author.sort if } if "book" = type "proceedings" = 'editor.organization.sort { type } if * " " * cite substring substring := } The key changes are: