Skip to content

Commit

Permalink
Print prefixed publication full dates for @patents (cont. #99)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLuptak committed Mar 19, 2022
1 parent 581e95a commit 8c5abf8
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 10 deletions.
2 changes: 2 additions & 0 deletions bulgarian-iso.lbx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
{филм}},
% application = {{}%
% {}},% FIXME: missing
% publication = {{}%
% {}},% FIXME: missing
}

\endinput
2 changes: 2 additions & 0 deletions czech-iso.lbx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
{film}},
application = {{p\v{r}ihl\'{a}\v{s}ka}%
{p\v{r}ihl\adddot}},
publication = {{publikov\'{a}no}%
{publ\adddot}},
}

\endinput
2 changes: 2 additions & 0 deletions english-iso.lbx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
{film}},
application = {{application}%
{appl\adddot}},
publication = {{publication}%
{publ\adddot}},
}

\endinput
2 changes: 2 additions & 0 deletions french-iso.lbx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
{film}},
% application = {{}%
% {}},% FIXME: missing
% publication = {{}%
% {}},% FIXME: missing
}

\endinput
2 changes: 2 additions & 0 deletions german-iso.lbx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
{Film}},
application = {{Anmeldung}%
{Anmeldung}},
% publication = {{}%
% {}},% FIXME: missing
}

\endinput
30 changes: 20 additions & 10 deletions iso.bbx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
\DeclareLanguageMappingSuffix{-iso}
% Currently needed the following additional language strings:
\NewBibliographyString{at,bysupervisor,urlalso,
director,bydirector,inventor,byinventor,online,film,application}
director,bydirector,inventor,byinventor,online,film,application,publication}

% PACKAGE OPTIONS

Expand Down Expand Up @@ -585,14 +585,6 @@
}


% EDITION INFO MACROS

% Application date
\newbibmacro{applicationdate}{%
\iffieldundef{origyear}
{}
{\mainlangbibstring{application}\addcolon\space\printorigdate}
}


% PUBLICATION INFO MACROS
Expand Down Expand Up @@ -650,6 +642,24 @@
\usebibmacro{location+publisher+dateform}{full}}



% ADDITIONAL DATE MACROS FOR PATENTS

% Application date
\newbibmacro{applicationdate}{%
\iffieldundef{origyear}
{}
{\mainlangbibstring{application}\addcolon\space\printorigdate}
}

% Publication date
\newbibmacro{publicationdate}{%
\iffieldundef{year}
{}
{\mainlangbibstring{publication}\addcolon\space\usebibmacro{fulldate}}
}


% NUMERATION MACROS

\newbibmacro*{serial:numeration}{%
Expand Down Expand Up @@ -1499,7 +1509,7 @@
\newunit\newblock
\usebibmacro{patentinventor}%
\newunit
\printdate%
\usebibmacro{publicationdate}%
\newunit
\usebibmacro{applicationdate}%
\newunit
Expand Down
2 changes: 2 additions & 0 deletions polish-iso.lbx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
% {}},% FIXME: missing
% application = {{}%
% {}},% FIXME: missing
% publication = {{}%
% {}},% FIXME: missing
}

\endinput
2 changes: 2 additions & 0 deletions slovak-iso.lbx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
{film}},
application = {{prihl\'{a}\v{s}ka}%
{prihl\adddot}},
publication = {{publikovan\'{e}}%
{publ\adddot}},
}

\endinput
2 changes: 2 additions & 0 deletions spanish-iso.lbx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
% if not, y col. will be used instead of et al.
% application = {{}%
% {}},% FIXME: missing
% publication = {{}%
% {}},% FIXME: missing
}

\endinput

0 comments on commit 8c5abf8

Please sign in to comment.