Skip to content

Commit

Permalink
Update comments in the code (rel. #99)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLuptak committed Mar 19, 2022
1 parent 8c5abf8 commit 4d55f0b
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions iso.bbx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

\DeclareBibliographyOption{thesisinfoinnotes}[true]{%
\settoggle{bbx:thesisinfoinnotes}{#1}%
\isoblx@info@noline{Printing thesis info at the end enabled: #1}}
\isoblx@info@noline{Thesis info in the notes section enabled: #1}}

\DeclareBibliographyOption{url}[true]{%
\settoggle{bbx:url}{#1}%
Expand Down Expand Up @@ -335,15 +335,16 @@
% preventing printing url seen date in place of the year
% of a publication.
\DeclareLabeldate{%
\field{origdate}
\field{origdate}% <----- used by patents
\field{date}
\field{year}
\field{dateaddon}% <---- biblatex-iso690 data model extension
\field{eventdate}
\literal{nodate}
}

% Sorting
% Sorting based on the default definition, but adding
% holder and origyear to work with patent entry types.
\DeclareSortingTemplate{nyt}{
\sort{
\field{presort}
Expand Down Expand Up @@ -416,9 +417,14 @@
% given (first) name followed by last (family) name,
% so it may sound more naturally in this order
\DeclareNameAlias{supervisor}{given-family}
% For patents the author field is supposed to be the inventor
% of the patent, which we want to be reverse name order
% For patents, the author field is supposed to be the inventor
% of the patent, which we want to have in reverse name order,
% since it may sound more naturally in this order
\DeclareNameAlias[patent]{author}{given-family}
% However, if there is no holder field for a patent,
% author field should be in the default order since it acts
% as a primary creator of the patent at the beginning
% of the bib reference (consistency rule)
\DeclareStyleSourcemap{
\maps[datatype=bibtex]{
\map{
Expand Down

0 comments on commit 4d55f0b

Please sign in to comment.