summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx504
1 files changed, 325 insertions, 179 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
index 3f31d086d44..97b5324528b 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
@@ -13,8 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-standard.bbx}
-[2017/03/21 v1.9.4 A set of styles for biblatex]
-
+[2017/04/13 v1.9.5 A set of styles for biblatex]
\RequireBiber[3]
@@ -26,12 +25,18 @@
\DeclareLanguageMapping{italian}{italian-philosophy}
\DeclareLanguageMapping{english}{english-philosophy}
\DeclareLanguageMapping{spanish}{spanish-philosophy}
+\DeclareLanguageMapping{french}{french-philosophy}
\newtoggle{bbx:annotation}
\newtoggle{bbx:library}
\newtoggle{bbx:inbeforejournal}
\newtoggle{bbx:classical}
\newtoggle{bbx:lowscauthors}
\newtoggle{cbx:shorthandintro}
+\newtoggle{cbx:scauthorscite}
+\newtoggle{bbx:scauthorsbib}
+\newtoggle{cbx:scauthorscitefn}
+\newtoggle{cbx:latinemph}
+
\DeclareBibliographyOption{annotation}[true]{%
\settoggle{bbx:annotation}{#1}}
\DeclareBibliographyOption{library}[true]{%
@@ -44,6 +49,8 @@
\settoggle{bbx:lowscauthors}{#1}}
\DeclareBibliographyOption{shorthandintro}[true]{%
\settoggle{cbx:shorthandintro}{#1}}
+\DeclareBibliographyOption{latinemph}[true]{%
+ \settoggle{cbx:latinemph}{#1}}
\newcommand{\bbx@publocformat}{}
\newcommand{\bbx@volnumformat}{}
\newcommand{\bbx@relatedformat}{}
@@ -69,20 +76,31 @@
\newcommand{\bbx@origfields}{}
\DeclareEntryOption{origed}[true]{%
\renewcommand{\bbx@origfields}{origed}}
-\newtoggle{cbx:scauthorscite}
-\newtoggle{bbx:scauthorsbib}
\DeclareBibliographyOption{scauthorsbib}[true]{%
\settoggle{bbx:scauthorsbib}{#1}}
\DeclareBibliographyOption{scauthorscite}[true]{%
\settoggle{cbx:scauthorscite}{#1}}
+\define@key{blx@bib1}{annotation}[]{}
+\define@key{blx@bib2}{annotation}[true]{\settoggle{bbx:annotation}{#1}}
+\define@key{blx@biblist1}{annotation}[]{}
+\define@key{blx@biblist2}{annotation}[true]{\settoggle{bbx:annotation}{#1}}
\ExecuteBibliographyOptions{%
publocformat = publocyear,
- origfieldsformat = semicolon,
volnumformat = plain,
+ origfieldsformat = semicolon,
+ relatedformat = semicolon,
+ editionformat = arabic,
+ volumeformat = arabic,
+ scauthors = false,
editionformat = arabic,
volumeformat = arabic,
shorthandintro = true,
library = true,
+ annotation = false,
+ latinemph = false,
+ classical = false,
+ inbeforejournal = false,
+ lowscauthors = false,
useprefix = true,
maxcitenames = 2,
mincitenames = 1,
@@ -94,7 +112,7 @@
\newcounter{maxnamesincross}
\newcounter{minnamesincross}
\AtBeginDocument{%
-\ifdefstring{\bbx@scauthors}{all}
+\ifdefstring{\bbx@scauthors}{bibcite}
{%
\toggletrue{bbx:scauthorsbib}%
\toggletrue{cbx:scauthorscite}%
@@ -110,24 +128,52 @@
\toggletrue{cbx:scauthorscite}%
}%
{}%
+\ifdefstring{\bbx@scauthors}{citefn}
+{%
+ \toggletrue{cbx:scauthorscitefn}%
+}%
+{}%
+\ifdefstring{\bbx@scauthors}{bibcitefn}
+{%
+ \toggletrue{bbx:scauthorsbib}%
+ \toggletrue{cbx:scauthorscitefn}%
+}%
+{}%
+\ifdefstring{\bbx@scauthors}{all}
+{%
+ \usebibmacro{scswitch}
+}%
+{}%
+}
+\AtBeginBibliography{%
+ \togglefalse{cbx:scauthorscite}%
+ \togglefalse{cbx:shorthandintro}%
}
-\AtBeginBibliography{\togglefalse{cbx:scauthorscite}}%
+\AtBeginShorthands{%
+ \togglefalse{bbx:annotation}%
+ \togglefalse{cbx:shorthandintro}%
+}
+\AtEveryCite{%
+ \togglefalse{bbx:annotation}%
+}
+\providecommand*{\mkibid}[1]{\iftoggle{cbx:latinemph}{\emph{#1}}{#1}}
+\newcommand*{\volnumpunct}{\addcomma\space}
\renewcommand*{\newunitpunct}{\addcomma\space}
\renewcommand*{\subtitlepunct}{\addperiod\space}
\renewcommand*{\intitlepunct}{\nopunct\addspace}
\renewcommand*{\relatedpunct}{\addsemicolon\space}
-\newcommand*{\volnumpunct}{\addcomma\space}
+\DeclareDelimFormat{editorstrgdelim}{\addspace}
\newrobustcmd*{\mkpureparens}[1]{%
\begingroup
\blx@blxinit
\blx@setsfcodes
- \blx@postpunct(#1\blx@postpunct)\midsentence%
+ \bibleftparen#1\bibrightparen%
\endgroup}
\newrobustcmd*{\mkpurebrackets}[1]{%
\begingroup
\blx@blxinit
\blx@setsfcodes
- \blx@postpunct[#1\blx@postpunct]\midsentence%
+ \bibleftbracket#1\bibrightbracket%
\endgroup}
\newcommand*{\annotationfont}{\footnotesize}
\newcommand*{\libraryfont}{}
@@ -135,8 +181,8 @@
\ifdefstring{\bbx@editionformat}{Roman}
{\uppercase}%
{\ifdefstring{\bbx@editionformat}{romansc}
- {\scshape}%
- {\relax}}}%
+ {\scshape}%
+ {\relax}}}%
\newrobustcmd*{\edfnt}[1]{%
\begingroup
\expandafter\editionfont%
@@ -147,13 +193,12 @@
\textsc{\MakeLowercase{#1}}}%
{\textsc{#1}}}
\newbibmacro*{scswitch}{%
-\let\mkbibnamefamily\mkbibsc%
-\let\mkbibnamegiven\mkbibsc%
-\let\mkbibnameprefix\mkbibsc%
-\let\mkbibnamesuffix\mkbibsc}
+ \let\mkbibnamefamily\mkbibsc%
+ \let\mkbibnamegiven\mkbibsc%
+ \let\mkbibnameprefix\mkbibsc%
+ \let\mkbibnamesuffix\mkbibsc}
\DeclareNameFormat{sortname}{%
- \iftoggle{bbx:scauthorsbib}{%
- \usebibmacro{scswitch}}{}%
+ \iftoggle{bbx:scauthorsbib}{\usebibmacro{scswitch}}{}%
\nameparts{#1}%
\ifnumequal{\value{listcount}}{1}
{\ifgiveninits
@@ -185,6 +230,61 @@
{\namepartprefix}
{\namepartsuffix}}}%
\usebibmacro{name:andothers}}%
+\DeclareNameFormat{labelname}{%
+ \iftoggle{cbx:scauthorscite}{\usebibmacro{scswitch}}{}%
+ \iftoggle{cbx:scauthorscitefn}{\iffootnote{\usebibmacro{scswitch}}{}}{}%
+ \bibhyperref{\nameparts{#1}%
+ \ifcase\value{uniquename}%
+ \usebibmacro{name:family}%
+ {\namepartfamily}%
+ {\namepartgiven}%
+ {\namepartprefix}%
+ {\namepartsuffix}%
+ \or
+ \ifuseprefix
+ {\usebibmacro{name:given-family}%
+ {\namepartfamily}%
+ {\namepartgiveni}%
+ {\namepartprefix}%
+ {\namepartsuffixi}}%
+ {\usebibmacro{name:given-family}%
+ {\namepartfamily}%
+ {\namepartgiveni}%
+ {\namepartprefixi}%
+ {\namepartsuffixi}}%
+ \or
+ \usebibmacro{name:given-family}%
+ {\namepartfamily}%
+ {\namepartgiven}%
+ {\namepartprefix}%
+ {\namepartsuffix}%
+ \fi
+ \usebibmacro{name:andothers}}}%
+\DeclareNameFormat{scdefault}{%
+\usebibmacro{scswitch}%
+ \nameparts{#1}%
+ \ifgiveninits
+ {\usebibmacro{name:given-family}%
+ {\namepartfamily}%
+ {\namepartgiveni}%
+ {\namepartprefix}%
+ {\namepartsuffix}}%
+ {\usebibmacro{name:given-family}%
+ {\namepartfamily}%
+ {\namepartgiven}%
+ {\namepartprefix}%
+ {\namepartsuffix}}%
+ \usebibmacro{name:andothers}}%
+\DeclareCiteCommand{\fullcite}
+ {\usebibmacro{prenote}}
+ {\setkeys{blx@bib2}{restoreclassic}%
+ \usedriver
+ {\iftoggle{cbx:scauthorscite}%
+ {\DeclareNameAlias{sortname}{scdefault}}%
+ {\DeclareNameAlias{sortname}{default}}}%
+ {\thefield{entrytype}}}
+ {\multicitedelim}
+ {\usebibmacro{postnote}}
\DeclareFieldFormat[bookinbook,thesis]{title}{\mkbibemph{#1}}
\DeclareFieldFormat[review]{title}{\bibcplstring{reviewof}\addspace#1}
\DeclareFieldFormat[review]{citetitle}{\bibcplstring{reviewof}\addspace#1}
@@ -201,6 +301,7 @@
\DeclareFieldFormat{library}{\libraryfont #1}
\DeclareFieldFormat{pureparens}{\mkpureparens{#1}}
\DeclareFieldFormat{editortype}{\mkpureparens{#1}}
+\DeclareFieldAlias{authortype}{editortype}
\DeclareFieldFormat{backrefparens}{\mkpureparens{#1}}
\DeclareFieldFormat*{number}{%
\ifdefstring{\bbx@volnumformat}{strings}{%
@@ -212,19 +313,16 @@
\DeclareFieldFormat{edition}{%
\ifinteger{#1}{%
\ifdefstring{\bbx@editionformat}{arabic}
- {\mkbibordedition{#1}~\bibstring{edition}}
- {\ifdefstring{\bbx@editionformat}{Roman}%
- {\RN{#1}~\bibstring{edition}}%
- {\ifdefstring{\bbx@editionformat}{romansc}%
- {\textsc{\Rn{#1}}~\bibstring{edition}}%
- {\ifdefstring{\bbx@editionformat}{roman}%
- {\Rn{#1}~\bibstring{edition}}
- {\ifdefstring{\bbx@editionformat}{superscript}%
- {\ClassError{biblatex-philosophy}
- {\MessageBreak**** Option 'editionformat=superscript'
- available only for philosophy-verbose style}
- {\MessageBreak**** Option 'editionformat=superscript'
- available only for philosophy-verbose style}}{}}}}}}{#1}}%\isdot??
+ {\mkbibordedition{#1}~\bibstring{edition}}
+ {\ifdefstring{\bbx@editionformat}{Roman}%
+ {\RN{#1}~\bibstring{edition}}%
+ {\ifdefstring{\bbx@editionformat}{romansc}%
+ {\textsc{\Rn{#1}}~\bibstring{edition}}%
+ {\ifdefstring{\bbx@editionformat}{roman}%
+ {\Rn{#1}~\bibstring{edition}}
+ {\ifdefstring{\bbx@editionformat}{superscript}%
+ {\mkbibsuperscript{#1}}%
+ {\optionerror{editionformat}}}}}}}{#1}}%\isdot??
\DeclareFieldFormat{volume}{%
\bibstring{volume}~%
\ifinteger{#1}{%
@@ -261,73 +359,116 @@
{\optionerror{relatedformat}}}}}%
\DeclareFieldAlias{related:origpubin}{related}
\DeclareFieldAlias{related:origpubas}{related}
-\DeclareFieldFormat{relatedstring:default}{#1\addspace}
+\DeclareFieldFormat{relatedstring:default}{#1\addspace}%\addspace needed
+\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}}}
\renewbibmacro*{citeindex}{%
- \ifciteindex{\indexnames{labelname}}{}}%
+ \ifciteindex
+ {\indexnames{labelname}}
+ {}}
\renewbibmacro*{bibindex}{%
- \ifbibindex{\indexnames{author}%
- \indexnames{editor}%
- \indexnames{editora}%
- \indexnames{editorb}%
- \indexnames{editorc}}%
- {}}%
-
-\renewbibmacro*{addendum+pubstate}{%
- \printfield{addendum}%
- \newunit\newblock
- \printfield{pubstate}%
- \ifdefstring{\bbx@origfields}{none}{}{%
- \newunit\newblock
- \usebibmacro{origdata:book}}%
- \newunit\newblock
- \usebibmacro{library}}
-
-\newbibmacro*{addendum+pubstate:article-inbook-incoll}{%
- \printfield{addendum}%
- \newunit\newblock
- \printfield{pubstate}%
- \ifdefstring{\bbx@origfields}{none}{}{%
- \newunit\newblock
- \usebibmacro{origdata:article-inbook}}%
- \newunit\newblock
- \usebibmacro{library}}
-
+ \ifbibindex
+ {\indexnames{labelname}}
+ {}}
\newbibmacro*{volnumdefault}{%
-\printfield{volume}%
- \setunit*{\volnumpunct}%
- \printfield{number}}
+ \printfield{volume}%
+ \setunit*{\volnumpunct}%
+ \printfield{number}}
\newbibmacro*{volnumparens}{%
-\nopunct%
-\printtext[pureparens]{%
-\printfield{volume}%
- \setunit*{\volnumpunct}%
- \printfield{number}}}
+ \nopunct%
+ \printtext[pureparens]{%
+ \printfield{volume}%
+ \setunit*{\volnumpunct}%
+ \printfield{number}}}
\newbibmacro*{volnumstrings}{%
\iffieldundef{volume}{}{%
\printfield{volume}\setunit*{\volnumpunct}}%
- \iffieldundef{number}{}{%
+ \iffieldundef{number}{}{%
\printfield{number}}}
+\renewbibmacro*{volume+number+eid}{%
+ \ifdefstring{\bbx@volnumformat}{strings}
+ {\usebibmacro{volnumstrings}}%
+ {\ifdefstring{\bbx@volnumformat}{parens}
+ {\usebibmacro{volnumparens}}%
+ {\ifdefstring{\bbx@volnumformat}{plain}
+ {\usebibmacro{volnumdefault}}%
+ {\optionerror{volnumformat}}}}%
+ \setunit{\addcomma\space}%
+ \printfield{eid}}
+
\renewbibmacro*{journal}{%
- \iffieldundef{journaltitle}
+ \ifboolexpr{
+ test {\iffieldundef{journaltitle}}
+ and
+ test {\iffieldundef{journalsubtitle}}
+ }
{}
{\printtext[journaltitle]{%
\printfield[titlecase]{journaltitle}%
- \midsentence%
\setunit{\subtitlepunct}%
\printfield[titlecase]{journalsubtitle}}}}
\renewbibmacro*{periodical}{%
- \iffieldundef{title}
- {}%
+ \ifboolexpr{
+ test {\iffieldundef{title}}
+ and
+ test {\iffieldundef{subtitle}}
+ }
+ {}
{\printtext[title]{%
\printfield[titlecase]{title}%
- \midsentence%
\setunit{\subtitlepunct}%
\printfield[titlecase]{subtitle}}}}
+\renewbibmacro*{issue}{%
+ \ifboolexpr{
+ test {\iffieldundef{issuetitle}}
+ and
+ test {\iffieldundef{issuesubtitle}}
+ }
+ {}
+ {\printtext[issuetitle]{%
+ \printfield[titlecase]{issuetitle}%
+ \setunit{\subtitlepunct}%
+\printfield[titlecase]{issuesubtitle}}}}
+
+
\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{journal}%
\setunit*{\addspace}%
@@ -351,26 +492,18 @@
{\newunit
\printfield{series}%
\setunit{\addspace}\midsentence}%
- \newunit
\usebibmacro{volume+number+eid}%
- \setunit{\addcomma\space}%
- \printfield{eid}%
\setunit{\addspace}%
\usebibmacro{issue+date}%
\setunit{\addcolon\space}%
\usebibmacro{issue}%
\newunit}
-\renewbibmacro*{volume+number+eid}{%
- \ifdefstring{\bbx@volnumformat}{strings}
- {\usebibmacro{volnumstrings}}%
- {\ifdefstring{\bbx@volnumformat}{parens}
- {\usebibmacro{volnumparens}}%
- {\ifdefstring{\bbx@volnumformat}{plain}
- {\usebibmacro{volnumdefault}}%
- {\optionerror{volnumformat}}}}%
- \setunit{\addcomma\space}%
- \printfield{eid}}
+\renewbibmacro*{series+number}{%
+ \printfield{series}%
+ \setunit*{\addcomma\space}%
+ \printfield{number}%
+ \newunit}
\renewbibmacro*{issue+date}{%
\printtext[pureparens]{%
@@ -388,7 +521,7 @@
and
test {\iffieldundef{eventyear}}
}%
- {}
+ {}%
{\setunit*{\addspace}%
\printtext{%
\printfield{venue}%
@@ -396,12 +529,6 @@
\printeventdate}}%
\newunit}
-\renewbibmacro*{series+number}{%
- \printfield{series}%
- \setunit*{\addcomma\space}%
- \printfield{number}%
- \newunit}
-
\renewbibmacro*{publisher+location+date}{%
\ifdefstring{\bbx@publocformat}{loccolonpub}
{\usebibmacro{loccolonpub}}
@@ -426,31 +553,6 @@
{\ifdefstring{\bbx@publocformat}{publocyear}%
{\usebibmacro{orgpublocyear}}{\optionerror{publocformat}}}}}
-\newbibmacro*{library}{%
-\iftoggle{bbx:library}{%
- \iffieldundef{library}%
- {}%
- {\setunit{\addperiod\space}%
- {\printfield{library}}}}%
- {}}
-\renewbibmacro*{pageref}{%
- \iflistundef{pageref}
- {}%
- {\setunit{\addperiod\space}%
- \printtext[backrefparens]{%
- \ifnumgreater{\value{pageref}}{1}
- {\bibcpstring{backrefpages}\ppspace}%
- {\bibcpstring{backrefpage}\ppspace}%
- \printlist[pageref][-\value{listtotal}]{pageref}\adddot}\nopunct}}%
-
-\renewbibmacro*{finentry}{%
- \iftoggle{bbx:annotation}%
- {\iffieldundef{annotation}%
- {\finentry}%
- {\setunit{\addperiod\par\nobreak\vspace*{.5ex}}%
- \printtext[annotation]{\printfield{annotation}\finentry\par}}}%
- {\finentry}}
-
\newbibmacro*{publocyear}{%
\iflistundef{publisher}%
{}%
@@ -531,6 +633,52 @@
\printlist{organization}%
\usebibmacro{commarelateddate}%
\newunit}
+
+\renewbibmacro*{addendum+pubstate}{%
+ \printfield{addendum}%
+ \newunit\newblock
+ \printfield{pubstate}%
+ \ifdefstring{\bbx@origfields}{none}{}{%
+ \newunit\newblock
+ \usebibmacro{origdata:book}}%
+ \newunit\newblock
+ \usebibmacro{library}}
+
+\newbibmacro*{addendum+pubstate:article-inbook-incoll}{%
+ \printfield{addendum}%
+ \newunit\newblock
+ \printfield{pubstate}%
+ \ifdefstring{\bbx@origfields}{none}{}{%
+ \newunit\newblock
+ \usebibmacro{origdata:article-inbook}}%
+ \newunit\newblock
+ \usebibmacro{library}}
+
+\newbibmacro*{library}{%
+ \iftoggle{bbx:library}{%
+ \iffieldundef{library}%
+ {}%
+ {\setunit{\addperiod\space}%
+ {\printfield{library}}}}%
+ {}}
+
+\renewbibmacro*{pageref}{%
+ \iflistundef{pageref}
+ {}%
+ {\setunit{\addperiod\space}%
+ \printtext[backrefparens]{%
+ \ifnumgreater{\value{pageref}}{1}
+ {\bibcpstring{backrefpages}\ppspace}%
+ {\bibcpstring{backrefpage}\ppspace}%
+ \printlist[pageref][-\value{listtotal}]{pageref}\adddot}\nopunct}}%
+
+\renewbibmacro*{finentry}{%
+ \iftoggle{bbx:annotation}%
+ {\iffieldundef{annotation}%
+ {\finentry}%
+ {\setunit{\addperiod\par\nobreak\vspace*{.5ex}}%
+ \printtext[annotation]{\printfield{annotation}\finentry\par}}}%
+ {\finentry}}
\newbibmacro*{relateddate}{%
\setunit*{\addspace}%
\printdate}
@@ -539,8 +687,7 @@
\printdate}
\newbibmacro*{related:clearauthors}{%
\renewbibmacro*{author/translator+others}{\usebibmacro{bbx:savehash}}%
- \renewbibmacro*{author/editor+others/translator+others}{%
- \usebibmacro{bbx:savehash}}%
+ \renewbibmacro*{author/editor+others/translator+others}{\usebibmacro{bbx:savehash}}%
\renewbibmacro*{editor+others}{\usebibmacro{bbx:savehash}}%
\renewbibmacro*{author/translator+others}{\usebibmacro{bbx:savehash}}%
\renewbibmacro*{author/editor}{\usebibmacro{bbx:savehash}}%
@@ -567,8 +714,8 @@
test {\iffieldundef{relatedstring}}
}
{\printtext{\bibstring{translationas}}}{}%
- \printtext{\addspace}%
- \relatedcite{\thefield{related}}}
+ \printtext{\addspace}%
+ \relatedcite{\thefield{related}}}
\renewbibmacro*{begrelatedloop}{%
\renewrobustcmd*{\mkpureparens}{\relatedpunct}%
\renewrobustcmd*{\mkpurebrackets}{\relatedpunct}}
@@ -582,63 +729,63 @@
\usebibmacro{related:init}%
\usebibmacro{related}}{}}
\renewbibmacro*{bybookauthor}{%
-\ifnamesequal{author}{bookauthor}%
-{}%
-{\printnames[default]{bookauthor}}}
+ \ifnamesequal{author}{bookauthor}%
+ {}%
+ {\printnames[default]{bookauthor}}}
\newbibmacro*{xrefdata}{%
-\iffieldundef{volume}
-{}%
-{\printfield{volume}%
-\printfield{part}%
-\setunit{\addcolon\space}%
-\printfield{booktitle}}%
-\newunit\newblock
-\usebibmacro{byeditor+others}%
-\newunit\newblock
-\printfield{edition}%
-\newunit
-\printfield{volumes}%
-\newunit\newblock
-\usebibmacro{series+number}%
-\newunit\newblock
-\printfield{note}%
-\newunit\newblock
-\usebibmacro{publisher+location+date}%
-\newunit\newblock
-\usebibmacro{chapter+pages}%
-\newunit\newblock
-\iftoggle{bbx:isbn}
-{\printfield{isbn}}
-{}%
-\newunit\newblock
-\usebibmacro{doi+eprint+url}%
-\newunit\newblock
-\usebibmacro{addendum+pubstate:article-inbook-incoll}%
-\newblock
-\usebibmacro{phil:related}%
-\newunit\newblock
-\usebibmacro{pageref}%
-\usebibmacro{finentry}}
+ \iffieldundef{volume}
+ {}%
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addcolon\space}%
+ \printfield{booktitle}}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate:article-inbook-incoll}%
+ \newblock
+ \usebibmacro{phil:related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
\newbibmacro*{crossrefdata}{%
-\iffieldundef{maintitle}
-{\printfield{volume}%
-\printfield{part}}
-{}%
-\newunit\newblock
-\usebibmacro{chapter+pages}%
-\newunit\newblock
-\iftoggle{bbx:isbn}
-{\printfield{isbn}}
-{}%
-\newunit\newblock
-\usebibmacro{doi+eprint+url}%
-\newblock
-\usebibmacro{phil:related}%
-\newunit\newblock
-\usebibmacro{pageref}%
-\usebibmacro{finentry}}
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newblock
+ \usebibmacro{phil:related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
\newbibmacro*{origpublisher+origlocation+origdate}{%
\ifdefstring{\bbx@publocformat}{loccolonpub}
{\usebibmacro{origloccolonpub}\setunit{\bibpagespunct}%
@@ -1405,11 +1552,11 @@
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}}
-
\DeclareBibliographyDriver{set}{%
\savefield{annotation}{\@phil@nnote}%
\clearfield{annotation}%
- \entryset{}{}%
+ \entryset{\ifnumgreater{\thefield{entrysetcount}}{1}%
+ {\setkeys{blx@bib2}{restoreclassic}}{}}{}%
\newunit\newblock
\restorefield{annotation}{\@phil@nnote}%
\usebibmacro{pageref}%
@@ -1535,7 +1682,6 @@
\DeclareFieldAlias[jurisdiction]{usera}[jurisdiction]{notacomm}
\DeclareFieldAlias[jurisdiction]{nameadddon}[jurisdiction]{section}
\DeclareFieldAlias[jurisdiction]{author}[jurisdiction]{court}
-
%%
%% Copyright 2009-2017 by Ivan Valbusa
%%