summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-13 22:55:37 +0000
committerKarl Berry <karl@freefriends.org>2013-04-13 22:55:37 +0000
commitbf689f9057fa5b4deab72d085b6e483c480aefa7 (patch)
tree3ca895a3099338054fe382a6efe2c7d7ba8c2619 /Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx
parenta3027590d416e99da1de28c8669669614850c97e (diff)
biblatex-philosophy (13apr13)
git-svn-id: svn://tug.org/texlive/trunk@29893 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx29
1 files changed, 22 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx
index 2b08fd82a90..54327309a79 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-modern.bbx}
- [2013/03/30 v0.8d valbusa beta]
+ [2013/04/13 v0.8e valbusa beta]
\RequireBibliographyStyle{philosophy-classic}
@@ -45,8 +45,13 @@
\begingroup%
\clearfield{month}%
\makebox[\bibhang][r]{\printtext{%
- \iffieldundef{labelyear}%
- {\printtext{\midsentence\bibstring{nodate}}}%
+ \ifboolexpr{
+ test {\iffieldundef{date}}
+ and
+ test {\iffieldundef{year}}
+ }%
+ {\iftoggle{bbx:nodate}{\printtext{%
+ \midsentence\bibstring{nodate}}}{}}%
{\printtext{\printdateextra}}%
\hskip\yeartitle}}%
\endgroup}%
@@ -132,8 +137,13 @@
\newbibmacro*{classic:date+extrayear}{%
\begingroup%
\clearfield{month}%
- \iffieldundef{labelyear}
- {\printtext[parens]{\midsentence\bibstring{nodate}}}%
+ \ifboolexpr{
+ test {\iffieldundef{date}}
+ and
+ test {\iffieldundef{year}}
+ }%
+ {\iftoggle{bbx:nodate}{\printtext[parens]{%
+ \midsentence\bibstring{nodate}}}{}}%
{\printtext[parens]{%
\printfield{labelyear}%
\printfield{extrayear}}}%
@@ -146,8 +156,13 @@
\renewbibmacro*{date+extrayear}{%
\begingroup%
\clearfield{month}%
- \iffieldundef{labelyear}
- {\printtext[parens]{\midsentence\bibstring{nodate}}}%
+ \ifboolexpr{
+ test {\iffieldundef{date}}
+ and
+ test {\iffieldundef{year}}
+ }%
+ {\iftoggle{bbx:nodate}{\printtext[parens]{%
+ \midsentence\bibstring{nodate}}}{}}%
{\printtext[parens]{\printdateextra}}%
\endgroup}%
\renewbibmacro*{author}{%