Skip to content

Commit

Permalink
Improve formatting when date is not given
Browse files Browse the repository at this point in the history
- Modified bibliography to use "n.d." instead of nothing when no date
  is specified
  • Loading branch information
samcole8 committed Sep 29, 2024
1 parent 88338af commit 0e5d199
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions solent-harvard.bbx
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
{\printtext{ANON}\adddot}
{\printnames{author}}%
\iffieldundef{year}
{\addcomma\space\printtext{n.d}\adddot\printtext{-}\printfield{extradate}\adddot}
{\addcomma\space\printfield{year}\printfield{extradate}\adddot}%
{\addcomma\space\printtext{n.d}\adddot\printfield{extradate}}
{\addcomma\space\printfield{year}\printfield{extradate}}%
\iffieldundef{title}
{}
{\addspace\printfield[titlecase]{title}
{\adddot\addspace\printfield[titlecase]{title}
\iffieldundef{urlyear}
{\adddot}
{}}%
Expand All @@ -65,7 +65,7 @@
{\printtext{ANON}\adddot}
{\printnames{author}}%
\iffieldundef{year}
{}
{\addcomma\space\printtext{n.d}\adddot\printfield{extradate}}
{\addcomma\addspace\printfield{year}\printfield{extradate}}%
\iffieldundef{title}
{}
Expand Down Expand Up @@ -98,7 +98,7 @@
{\printtext{ANON}\adddot}
{\printnames{author}}%
\iffieldundef{year}
{}
{\addcomma\space\printtext{n.d}\adddot\printfield{extradate}}
{\addcomma\space\printfield{year}\printfield{extradate}}%
\iffieldundef{title}
{}
Expand Down Expand Up @@ -142,7 +142,7 @@
{\printtext{ANON}\adddot}
{\printnames{author}}%
\iffieldundef{year}
{}
{\addcomma\space\printtext{n.d}\adddot\printfield{extradate}}
{\addcomma\addspace\printfield{year}\printfield{extradate}}%
\iffieldundef{title}
{}
Expand Down Expand Up @@ -174,7 +174,7 @@
{\printtext{ANON}\adddot}
{\printnames{author}}%
\iffieldundef{year}
{}
{\addcomma\space\printtext{n.d}\adddot\printfield{extradate}}
{\addcomma\space\printfield{year}\printfield{extradate}}%
\iffieldundef{title}
{}
Expand All @@ -201,7 +201,7 @@
{\printtext{ANON}\adddot}
{\printnames{author}}%
\iffieldundef{year}
{}
{\addcomma\space\printtext{n.d}\adddot\printfield{extradate}}
{\addcomma\space\printfield{year}\printfield{extradate}}%
\iffieldundef{title}
{}
Expand Down

0 comments on commit 0e5d199

Please sign in to comment.