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.bbx66
1 files changed, 60 insertions, 6 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 6d9a7f58922..9c96745039f 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}
-[2017/03/17 v1.9.3 A set of styles for biblatex]
+[2017/03/21 v1.9.4 A set of styles for biblatex]
@@ -139,7 +139,6 @@
\AtEveryBibitem{%
\iffieldequalstr{entrysubtype}{classic}{%
\togglefalse{bbx:nodate}}}%
-
\renewbibmacro*{relateddate}{}
\renewbibmacro*{commarelateddate}{}
\renewbibmacro*{issue+date}{%
@@ -217,6 +216,64 @@
\usebibmacro{labeltitle}%
\setunit*{\addspace}}%
\usebibmacro{date+extrayear}}%
+
+\renewbibmacro*{translator}{%
+\usebibmacro{bbx:translator}{translatorstrg}}%
+\renewbibmacro*{translator+others}{%
+\usebibmacro{bbx:translator}{translator+othersstrg}}%
+\renewbibmacro*{bbx:translator}[1]{%
+\ifboolexpr{%
+test \ifusetranslator
+and
+not test {\ifnameundef{translator}}
+}%
+{\usebibmacro{bbx:dashcheck}%
+{\bibnamedash}%
+{\printnames{translator}%
+\setunit{\addspace}%
+\usebibmacro{bbx:savehash}}%
+\usebibmacro{#1}%
+\clearname{translator}%
+\setunit{\addspace}}%
+{\global\undef\bbx@lasthash%
+\usebibmacro{labeltitle}%
+\setunit*{\addspace}}%
+\usebibmacro{date+extrayear}}%
+\renewbibmacro*{translatorstrg}{%
+\printtext[editortype]{%
+\ifboolexpr{
+test {\ifnumgreater{\value{translator}}{1}}
+or
+test {\ifandothers{translator}}
+}
+{\bibstring{translators}}
+{\bibstring{translator}}}}
+\renewbibmacro*{translator+othersstrg}{%
+\ifboolexpr{
+test {\ifnumgreater{\value{translator}}{1}}
+or
+test {\ifandothers{translator}}
+}
+{\def\abx@tempa{translators}}
+{\def\abx@tempa{translator}}%
+\ifnamesequal{translator}{commentator}
+{\appto\abx@tempa{co}%
+\clearname{commentator}}
+{\ifnamesequal{translator}{annotator}
+{\appto\abx@tempa{an}%
+\clearname{annotator}}
+{}}%
+\ifnamesequal{translator}{introduction}
+{\appto\abx@tempa{in}%
+\clearname{introduction}}
+{\ifnamesequal{translator}{foreword}
+{\appto\abx@tempa{fo}%
+\clearname{foreword}}
+{\ifnamesequal{translator}{afterword}
+{\appto\abx@tempa{af}%
+\clearname{afterword}}
+{}}}%
+\printtext[editortype]{\bibstring{\abx@tempa}}}
\DeclareCiteCommand{\bbx@crossref@inbook}%
{}%
{\usebibmacro{citeindex}%
@@ -229,7 +286,6 @@
\usebibmacro{date+extrayear}}%
{}%
{}%
-
\DeclareCiteCommand{\bbx@crossref@incollection}%
{}%
{\usebibmacro{citeindex}%
@@ -246,9 +302,7 @@
\define@key{blx@bib2}{restoreclassic}[true]{}
\define@key{blx@bib1}{nodate}[]{}%
\define@key{blx@bib2}{nodate}[true]{%
- \ifstrequal{#1}{false}{%
- \togglefalse{bbx:nodate}%
-}{}}%
+ \ifstrequal{#1}{false}{\togglefalse{bbx:nodate}}{}}%
%%
%% Copyright 2009-2017 by Ivan Valbusa
%%