Skip to content

Commit

Permalink
Fix iso-authortitle sorting (patent holder and origyear) (rel. #99)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLuptak committed Mar 19, 2022
1 parent 4d55f0b commit 3d60586
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions iso-authortitle.bbx
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,37 @@
sorting=nty,
}

% Sorting based on the default definition, but adding
% holder and origyear to work with patent entry types.
\DeclareSortingTemplate{nty}{
\sort{
\field{presort}
}
\sort[final]{
\field{sortkey}
}
\sort{
\field{sortname}
\field{holder}
\field{author}
\field{editor}
\field{translator}
\field{sorttitle}
\field{title}
}
\sort{
\field{sorttitle}
\field{title}
}
\sort{
\field{sortyear}
\field{origyear}
\field{year}
}
\sort{
\field{volume}
\literal{0}
}
}

\endinput

0 comments on commit 3d60586

Please sign in to comment.