summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib/biblatex-iso690/iso-authortitle.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-iso690/iso-authortitle.bbx')
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-iso690/iso-authortitle.bbx35
1 files changed, 34 insertions, 1 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-iso690/iso-authortitle.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-iso690/iso-authortitle.bbx
index ab683014ce..298c5a04e7 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-iso690/iso-authortitle.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-iso690/iso-authortitle.bbx
@@ -1,9 +1,42 @@
\ProvidesFile{iso-authortitle.bbx}
- [2020/03/25 v0.4.0 ISO 690 biblatex bibliography style]
+ [2022/03/20 v0.4.1 ISO 690 biblatex bibliography style]
\RequireBibliographyStyle{iso}
\ExecuteBibliographyOptions{%
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