diff options
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.bbx | 89 |
1 files changed, 45 insertions, 44 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 e992b3799cd..34f78653b75 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx @@ -25,8 +25,13 @@ %% This work has the LPPL maintenance status "author-maintained". %% \ProvidesFile{philosophy-standard.bbx} -[2020/05/24 v1.9.8b A set of styles for biblatex] +[2020/09/30 v1.9.8c A set of styles for biblatex] + \RequireBiber[3] +\@ifpackagelater{biblatex}{2020/08/23} + {} + {\PackageError{biblatex-philosophy} + {Package biblatex is too old. Please update your LaTeX distribution}} \RequireBibliographyStyle{standard} \def\optionerror#1{% \ClassError{biblatex-philosophy} @@ -90,10 +95,10 @@ \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}} +\blx@kv@defkey{blx@bib1}{annotation}[]{} +\blx@kv@defkey{blx@bib2}{annotation}[true]{\settoggle{bbx:annotation}{#1}} +\blx@kv@defkey{blx@biblist1}{annotation}[]{} +\blx@kv@defkey{blx@biblist2}{annotation}[true]{\settoggle{bbx:annotation}{#1}} \ExecuteBibliographyOptions{% publocformat = publocyear, volnumformat = plain, @@ -158,7 +163,6 @@ \newcommand*{\volnumpunct}{\addcomma\space} \renewcommand*{\newunitpunct}{\addcomma\space} \renewcommand*{\subtitlepunct}{\addperiod\space} -\renewcommand*{\intitlepunct}{\nopunct\addspace} \renewcommand*{\relatedpunct}{\addsemicolon\space} \DeclareDelimFormat{editorstrgdelim}{\addspace} \newrobustcmd*{\mkpureparens}[1]{% @@ -173,6 +177,8 @@ \blx@setsfcodes \bibleftbracket#1\bibrightbracket% \endgroup} +\def\mkrelatedparens{\mkpureparens} +\def\mkrelatedbrackets{\mkpurebrackets} \newcommand*{\annotationfont}{\footnotesize} \newcommand*{\libraryfont}{} \newcommand*{\editionfont}{% @@ -340,15 +346,15 @@ {\optionerror{volumeformat}}}}}}{#1}} \DeclareFieldFormat{related}{% \ifdefstring{\bbx@relatedformat}{parens}% - {\mkpureparens{#1}}% - {\ifdefstring{\bbx@relatedformat}{brackets}% - {\mkpurebrackets{#1}}% - {\ifdefstring{\bbx@relatedformat}{semicolon}% - {#1}% - {\optionerror{relatedformat}}}}}% + {\mkrelatedparens{#1}}% + {\ifdefstring{\bbx@relatedformat}{brackets}% + {\mkrelatedbrackets{#1}}% + {\ifdefstring{\bbx@relatedformat}{semicolon}% + {#1}% + {\optionerror{relatedformat}}}}}% \DeclareFieldAlias{related:origpubin}{related} \DeclareFieldAlias{related:origpubas}{related} -\DeclareFieldFormat{relatedstring:default}{#1\addspace}%\addspace needed +\DeclareFieldFormat{relatedstring:default}{#1\addspace} \renewbibmacro*{translatorstrg}{% \printtext[editortype]{% \ifboolexpr{ @@ -421,18 +427,6 @@ \setunit{\addcomma\space}% \printfield{eid}} -\renewbibmacro*{journal}{% - \ifboolexpr{ - test {\iffieldundef{journaltitle}} - and - test {\iffieldundef{journalsubtitle}} - } - {} - {\printtext[journaltitle]{% - \printfield[titlecase]{journaltitle}% - \setunit{\subtitlepunct}% - \printfield[titlecase]{journalsubtitle}}}} - \renewbibmacro*{periodical}{% \ifboolexpr{ test {\iffieldundef{title}} @@ -668,6 +662,8 @@ {\setunit{\addperiod\par\nobreak\vspace*{.5ex}}% \printtext[annotation]{\printfield{annotation}\finentry\par}}}% {\finentry}} +\renewbibmacro*{in:}{% + \bibstring{in}\addspace} \newbibmacro*{relateddate}{% \setunit*{\addspace}% \printdate} @@ -684,30 +680,35 @@ \renewbibmacro*{editor}{\usebibmacro{bbx:savehash}}% \renewcommand*{\labelnamepunct}{}}% \DeclareCiteCommand{\relatedcite} - {}% - {\usedriver - {\DeclareNameAlias{sortname}{default}% - \usebibmacro{related:clearauthors}% - \renewbibmacro*{relateddate}{% - \setunit*{\addspace}\printdate}% - \renewbibmacro*{commarelateddate}{% - \setunit*{\addcomma\space}\printdate}}% - {\thefield{entrytype}}}% - {}% - {}% +{}% +{\usedriver +{\DeclareNameAlias{sortname}{default}% +\ifbibmacroundef{date+extradate} +{} +{%\renewbibmacro*{date+extradate}{}% +\renewbibmacro*{bbx:ifmergeddate}{\@secondoftwo}}% +\usebibmacro{related:clearauthors}% +\renewbibmacro*{relateddate}{% +\setunit*{\addspace}\printdate}% +\renewbibmacro*{commarelateddate}{% +\setunit*{\addcomma\space}\printdate}% +}% +{\thefield{entrytype}}}% +{}% +{}% \renewbibmacro*{related:default}[1]{% - \togglefalse{bbx:annotation}% + \togglefalse{bbx:annotation}% \ifboolexpr{ - test {\iffieldundef{relatedtype}} - and - test {\iffieldundef{relatedstring}} + test {\iffieldundef{relatedtype}} + and + test {\iffieldundef{relatedstring}} } {\printtext{\bibstring{translationas}}}{}% - \printtext{\addspace}% - \relatedcite{\thefield{related}}} + \printtext{\addspace}% + \relatedcite{\thefield{related}}} \renewbibmacro*{begrelatedloop}{% - \renewrobustcmd*{\mkpureparens}{\relatedpunct}% - \renewrobustcmd*{\mkpurebrackets}{\relatedpunct}} + \renewrobustcmd*{\mkrelatedparens}{\relatedpunct}% + \renewrobustcmd*{\mkrelatedbrackets}{\relatedpunct}} \newbibmacro*{phil:related}{% \iftoggle{bbx:related} {\iffieldequalstr{relatedtype}{multivolume}% |