summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx67
1 files changed, 37 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx
index d2ce3f8b2ad..e88d2f76c29 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-classic.bbx}
- [2013/04/13 v0.8e valbusa beta]
+ [2013/06/20 v0.8f valbusa beta]
\RequireBibliographyStyle{authoryear}
@@ -41,10 +41,10 @@
\renewcommand{\labelnamepunct}{\addcomma\space}%
\renewbibmacro*{relateddate}{%
\setunit*{\addspace}%
- \printdate}
+ \printdate}%
\renewbibmacro*{commarelateddate}{%
\setunit*{\addcomma\space}%
- \printdate}
+ \printdate}%
\DeclareCiteCommand{\bbx@crossref@inbook}
{}%
{\iffieldundef{shorthand}{%
@@ -59,7 +59,7 @@
{\usebibmacro{cite:shorthand}}}%
{}%
{}%
-\DeclareCiteCommand{\bbx@crossref@incollection}
+\DeclareCiteCommand{\bbx@crossref@incollection}%
{}%
{\iffieldundef{shorthand}{%
\usebibmacro{citeindex}%
@@ -76,41 +76,42 @@
\newbibmacro*{date+extrayear:crossref}{%
\begingroup%
\clearfield{month}%
- \ifboolexpr{
+ \clearfield{day}%
+ \ifboolexpr{%
test {\iffieldundef{date}}
and
test {\iffieldundef{year}}
}%
{\iftoggle{bbx:nodate}{\printtext[parens]{%
- \midsentence\bibstring{nodate}}}{}}
+ \midsentence\bibstring{nodate}}}{}}%
{\printtext[parens]{\printdateextra}}%
\endgroup}%
\newbibmacro*{date+extrayear}{}%
-}
+}%
\AtBeginDocument{%
\iftoggle{bbx:square}
{\renewcommand{\bibopenparen}{\bibopenbracket}%
\renewcommand{\bibcloseparen}{\bibclosebracket}}%
- {}
+ {}%
\setcounter{maxnamesincross}{\value{maxnames}}%
\setcounter{minnamesincross}{\value{minnames}}%
-}
+}%
\AtEveryBibitem{%
\iffieldequalstr{entrysubtype}{classic}{%
- \togglefalse{bbx:nodate}}}
+ \togglefalse{bbx:nodate}}}%
\renewbibmacro*{relateddate}{}
\renewbibmacro*{commarelateddate}{}
\renewbibmacro*{issue+date}{%
- \ifboolexpr{
+ \ifboolexpr{%
test {\iffieldundef{issue}}
and
test {\iffieldundef{month}}
- }
+ }%
{}%
- {\ifdefstring{\bbx@volnumformat}{parens}
+ {\ifdefstring{\bbx@volnumformat}{parens}%
{\printtext{%
\printfield{issue}\setunit*{\addspace}%
\printdate}}%
@@ -121,63 +122,64 @@
\renewbibmacro*{date+extrayear}{%
\begingroup%
\clearfield{month}%
- \ifboolexpr{
+ \clearfield{day}%
+ \ifboolexpr{%
test {\iffieldundef{date}}
and
test {\iffieldundef{year}}
}%
{\iftoggle{bbx:nodate}{\printtext[parens]{%
- \midsentence\bibstring{nodate}}}{}}
+ \midsentence\bibstring{nodate}}}{}}%
{\printtext[parens]{\printdateextra}}%
\endgroup}%
\renewbibmacro*{author}{%
- \ifboolexpr{
+ \ifboolexpr{%
test \ifuseauthor
and
not test {\ifnameundef{author}}
}%
- {\usebibmacro{bbx:dashcheck}
- {\bibnamedash}
+ {\usebibmacro{bbx:dashcheck}%
+ {\bibnamedash}%
{\usebibmacro{bbx:savehash}%
\printnames{author}%
\iffieldundef{nameaddon}{}%
{\setunit{\addspace}%
\printtext[brackets]{\printfield{nameaddon}}}%
-\iffieldundef{authortype}
- {\setunit{\addspace}}
+\iffieldundef{authortype}%
+ {\setunit{\addspace}}%
{\setunit{\addcomma\space}}}%
- \iffieldundef{authortype}
+ \iffieldundef{authortype}%
{}%
{\usebibmacro{authorstrg}%
\setunit{\addspace}}}%
- {\global\undef\bbx@lasthash
+ {\global\undef\bbx@lasthash%
\usebibmacro{labeltitle}%
\setunit*{\addspace}}%
\usebibmacro{date+extrayear}}%
\renewbibmacro*{editor}{%
- \usebibmacro{bbx:editor}{editorstrg}}
+ \usebibmacro{bbx:editor}{editorstrg}}%
\renewbibmacro*{editor+others}{%
- \usebibmacro{bbx:editor}{editor+othersstrg}}
+ \usebibmacro{bbx:editor}{editor+othersstrg}}%
\renewbibmacro*{bbx:editor}[1]{%
- \ifboolexpr{
+ \ifboolexpr{%
test \ifuseeditor
and
not test {\ifnameundef{editor}}
}%
- {\usebibmacro{bbx:dashcheck}
- {\bibnamedash}
+ {\usebibmacro{bbx:dashcheck}%
+ {\bibnamedash}%
{\printnames{editor}%
\setunit{\addspace}%
\usebibmacro{bbx:savehash}}%
\usebibmacro{#1}%
\clearname{editor}%
\setunit{\addspace}}%
- {\global\undef\bbx@lasthash
+ {\global\undef\bbx@lasthash%
\usebibmacro{labeltitle}%
\setunit*{\addspace}}%
\usebibmacro{date+extrayear}}%
-\DeclareCiteCommand{\bbx@crossref@inbook}
+\DeclareCiteCommand{\bbx@crossref@inbook}%
{}%
{\usebibmacro{citeindex}%
\ifuseeditor{%
@@ -190,7 +192,7 @@
{}%
{}%
-\DeclareCiteCommand{\bbx@crossref@incollection}
+\DeclareCiteCommand{\bbx@crossref@incollection}%
{}%
{\usebibmacro{citeindex}%
\ifuseeditor{%
@@ -204,6 +206,11 @@
{}%
\define@key{blx@bib1}{restoreclassic}[]{}
\define@key{blx@bib2}{restoreclassic}[true]{}
+\define@key{blx@bib1}{nodate}[]{}%
+\define@key{blx@bib2}{nodate}[true]{%
+ \ifstrequal{#1}{false}{%
+ \togglefalse{bbx:nodate}%
+}{}}%
%%
%% Copyright 2009-2013 by Ivan Valbusa
%%