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 | 624 |
1 files changed, 327 insertions, 297 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 e81084caa64..73f2df0c4e6 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx @@ -5,48 +5,38 @@ %% The original source files were: %% %% biblatex-philosophy.dtx (with options: `standard-bbx') -%% ______________________________________________________ -%% The biblatex-philosophy package -%% Copyright (C) 2009-2017 Ivan Valbusa -%% All rights reserved +%% ______________________________________________________ +%% The biblatex-philosophy package +%% Copyright (C) 2009-2017 Ivan Valbusa +%% All rights reserved %% -%% License information appended +%% License information appended %% \ProvidesFile{philosophy-standard.bbx} - [2017/02/16 v1.9.1 A set of styles for biblatex] +[2017/03/14 v1.9.2 A set of styles for biblatex] - - -\def\optionerror#1{% -\ClassError{biblatex-philosophy} -{\MessageBreak**** Unknown value for '#1' option} -{\MessageBreak**** Unknown value for '#1' option} -} - \RequireBiber[3] \RequireBibliographyStyle{standard} + +\def\optionerror#1{% + \ClassError{biblatex-philosophy} + {\MessageBreak**** Unknown value for '#1' option} + {\MessageBreak**** Unknown value for '#1' option}} \DeclareLanguageMapping{italian}{italian-philosophy} \DeclareLanguageMapping{english}{english-philosophy} \DeclareLanguageMapping{spanish}{spanish-philosophy} \newtoggle{bbx:annotation} \newtoggle{bbx:library} -\newtoggle{bbx:scauthors} -\newtoggle{bbx:scauthorsbib} \newtoggle{bbx:inbeforejournal} \newtoggle{bbx:classical} \newtoggle{bbx:lowscauthors} \newtoggle{cbx:shorthandintro} - \DeclareBibliographyOption{annotation}[true]{% \settoggle{bbx:annotation}{#1}} \DeclareBibliographyOption{library}[true]{% \settoggle{bbx:library}{#1}} -\DeclareBibliographyOption{scauthors}[true]{% - \settoggle{bbx:scauthors}{#1}} -\DeclareBibliographyOption{scauthorsbib}[true]{% - \settoggle{bbx:scauthorsbib}{#1}} \DeclareBibliographyOption{inbeforejournal}[true]{% \settoggle{bbx:inbeforejournal}{#1}} \DeclareBibliographyOption{classical}[true]{% @@ -55,14 +45,12 @@ \settoggle{bbx:lowscauthors}{#1}} \DeclareBibliographyOption{shorthandintro}[true]{% \settoggle{cbx:shorthandintro}{#1}} - \newcommand{\bbx@publocformat}{} \newcommand{\bbx@volnumformat}{} \newcommand{\bbx@relatedformat}{} -\newcommand{\bbx@origfields}{} \newcommand{\bbx@editionformat}{} \newcommand{\bbx@volumeformat}{} - +\newcommand{\bbx@scauthors}{} \DeclareBibliographyOption{publocformat}[publocyear]{% \renewcommand{\bbx@publocformat}{#1}} \DeclareBibliographyOption{volnumformat}[plain]{% @@ -77,81 +65,57 @@ \renewcommand{\bbx@editionformat}{#1}} \DeclareBibliographyOption{volumeformat}[arabic]{% \renewcommand{\bbx@volumeformat}{#1}} - +\DeclareBibliographyOption{scauthors}[all]{% + \renewcommand{\bbx@scauthors}{#1}} +\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}} \ExecuteBibliographyOptions{% - lowscauthors = false, publocformat = publocyear, - annotation = false, - library = true, - scauthors = false, - scauthorsbib = false, origfieldsformat = semicolon, - inbeforejournal = false, volnumformat = plain, editionformat = arabic, volumeformat = arabic, - classical = false, + shorthandintro = true, + library = true, useprefix = true, maxcitenames = 2, mincitenames = 1, maxbibnames = 999, - minbibnames = 999, - shorthandintro = true} + minbibnames = 999} \setcounter{biburlnumpenalty}{9000} \setcounter{biburlucpenalty}{9000} \setcounter{biburllcpenalty}{9000} \newcounter{maxnamesincross} \newcounter{minnamesincross} \AtBeginDocument{% +\ifdefstring{\bbx@scauthors}{all} +{% + \toggletrue{bbx:scauthorsbib}% + \toggletrue{cbx:scauthorscite}% +}% +{}% +\ifdefstring{\bbx@scauthors}{bib} +{% + \toggletrue{bbx:scauthorsbib}% +}% +{}% +\ifdefstring{\bbx@scauthors}{cite} +{% + \toggletrue{cbx:scauthorscite}% +}% +{}% \iftoggle{bbx:lowscauthors}% {\newrobustcmd*{\mkbibsc}[1]{\textsc{\MakeLowercase{#1}}}}% {\newrobustcmd*{\mkbibsc}[1]{\textsc{#1}}}% -\iftoggle{bbx:scauthors}{% - \toggletrue{bbx:scauthorsbib}% - \toggletrue{cbx:scauthorscite}}% -{}} -\AtBeginBibliography{% -\iftoggle{bbx:scauthorsbib}{% -\DeclareNameFormat{sortname}{% - \let\mkbibnamefamily\mkbibsc% - \let\mkbibnamegiven\mkbibsc% - \let\mkbibnameprefix\mkbibsc% - \let\mkbibnameaffix\mkbibsc% - \nameparts{#1}% - \ifnumequal{\value{listcount}}{1} - {\ifgiveninits - {\usebibmacro{name:family-given} - {\namepartfamily} - {\namepartgiveni} - {\namepartprefix} - {\namepartsuffix}} - {\usebibmacro{name:family-given} - {\namepartfamily} - {\namepartgiven} - {\namepartprefix} - {\namepartsuffix}}% - \ifboolexpe{% - test {\ifdefvoid\namepartgiven} - and - test {\ifdefvoid\namepartprefix}} - {} - {\usebibmacro{name:revsdelim}}} - {\ifgiveninits - {\usebibmacro{name:given-family} - {\namepartfamily} - {\namepartgiveni} - {\namepartprefix} - {\namepartsuffix}} - {\usebibmacro{name:given-family} - {\namepartfamily} - {\namepartgiven} - {\namepartprefix} - {\namepartsuffix}}}% - \usebibmacro{name:andothers}}}% - {}}% +} +\AtBeginBibliography{\togglefalse{cbx:scauthorscite}}% \renewcommand*{\newunitpunct}{\addcomma\space} \renewcommand*{\subtitlepunct}{\addperiod\space} \renewcommand*{\intitlepunct}{\nopunct\addspace} @@ -159,42 +123,97 @@ \newcommand*{\volnumpunct}{\addcomma\space} \newrobustcmd*{\mkpureparens}[1]{% \begingroup - \blx@blxinit - \blx@setsfcodes - \blx@postpunct(#1\blx@postpunct)\midsentence% + \blx@blxinit + \blx@setsfcodes + \blx@postpunct(#1\blx@postpunct)\midsentence% \endgroup} \newrobustcmd*{\mkpurebrackets}[1]{% -\begingroup -\blx@blxinit -\blx@setsfcodes -\blx@postpunct[#1\blx@postpunct]\midsentence% -\endgroup} -\renewbibmacro*{citeindex}{% -\ifciteindex{\indexnames{labelname}}{}}% -\renewbibmacro*{bibindex}{% -\ifbibindex{\indexnames{author}% -\indexnames{editor}% -\indexnames{editora}% -\indexnames{editorb}% -\indexnames{editorc}}% -{}}% + \begingroup + \blx@blxinit + \blx@setsfcodes + \blx@postpunct[#1\blx@postpunct]\midsentence% + \endgroup} \newcommand*{\annotationfont}{\footnotesize} \newcommand*{\libraryfont}{} \newcommand*{\editionfont}{% - \ifdefstring{\bbx@editionformat}{Roman} - {\uppercase}% - {\ifdefstring{\bbx@editionformat}{romansc} - {\scshape}% - {\relax}}% - }% + \ifdefstring{\bbx@editionformat}{Roman} + {\uppercase}% + {\ifdefstring{\bbx@editionformat}{romansc} + {\scshape}% + {\relax}}}% \newrobustcmd*{\edfnt}[1]{% \begingroup - \expandafter\editionfont + \expandafter\editionfont% \expandafter{\romannumeral#1}% \endgroup} +\DeclareNameFormat{sortname}{% + \iftoggle{bbx:scauthorsbib}{% + \let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% + \let\mkbibnameprefix\mkbibsc% + \let\mkbibnamesuffix\mkbibsc}{}% + \nameparts{#1}% + \ifnumequal{\value{listcount}}{1} + {\ifgiveninits + {\usebibmacro{name:family-given} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefix} + {\namepartsuffix}} + {\usebibmacro{name:family-given} + {\namepartfamily} + {\namepartgiven} + {\namepartprefix} + {\namepartsuffix}}% + \ifboolexpe{% + test {\ifdefvoid\namepartgiven} + and + test {\ifdefvoid\namepartprefix}} + {} + {\usebibmacro{name:revsdelim}}} + {\ifgiveninits + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefix} + {\namepartsuffix}} + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiven} + {\namepartprefix} + {\namepartsuffix}}}% + \usebibmacro{name:andothers}}% +\DeclareNameFormat{labelname}{% + \nameparts{#1}% + \bibhyperref{\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}}} \DeclareFieldFormat[bookinbook,thesis]{title}{\mkbibemph{#1}} -\DeclareFieldFormat[review]{title}{\bibcpstring{reviewof}\addspace#1} -\DeclareFieldFormat[review]{citetitle}{\bibcpstring{reviewof}\addspace#1} +\DeclareFieldFormat[review]{title}{\bibcplstring{reviewof}\addspace#1} +\DeclareFieldFormat[review]{citetitle}{\bibcplstring{reviewof}\addspace#1} \DeclareFieldFormat[inreference,article]{title}{\mkbibquote{#1}} \DeclareFieldFormat[bookinbook,thesis]{citetitle}{\mkbibemph{#1}} \DeclareFieldFormat{origtitle}{\mkbibemph{#1}} @@ -209,30 +228,6 @@ \DeclareFieldFormat{pureparens}{\mkpureparens{#1}} \DeclareFieldFormat{editortype}{\mkpureparens{#1}} \DeclareFieldFormat{backrefparens}{\mkpureparens{#1}} -\DeclareFieldFormat{volume}{% - \bibstring{volume}~% - \ifinteger{#1}{% - \ifdefstring{\bbx@volumeformat}{arabic}% - {#1}% - {\ifdefstring{\bbx@volumeformat}{Roman}% - {\RN{#1}}% - {\ifdefstring{\bbx@volumeformat}{romansc}% - {\textsc{\Rn{#1}}}% - {\ifdefstring{\bbx@volumeformat}{roman}% - {\Rn{#1}}{\optionerror{volumeformat}}}}}}{#1}} -\DeclareFieldFormat[article]{volume}{% -\ifdefstring{\bbx@volnumformat}{strings} - {\bibstring{volume}~}% - {}% - \ifinteger{#1}{% - \ifdefstring{\bbx@volumeformat}{arabic}% - {#1}% - {\ifdefstring{\bbx@volumeformat}{Roman}% - {\RN{#1}}% - {\ifdefstring{\bbx@volumeformat}{romansc}% - {\textsc{\Rn{#1}}}% - {\ifdefstring{\bbx@volumeformat}{roman}% - {\Rn{#1}}{\optionerror{volumeformat}}}}}}{#1}} \DeclareFieldFormat*{number}{% \ifdefstring{\bbx@volnumformat}{strings}{% \bibstring{number}~#1}{#1}} @@ -256,138 +251,53 @@ available only for philosophy-verbose style} {\MessageBreak**** Option 'editionformat=superscript' available only for philosophy-verbose style}}{}}}}}}{#1}}%\isdot?? +\DeclareFieldFormat{volume}{% + \bibstring{volume}~% + \ifinteger{#1}{% + \ifdefstring{\bbx@volumeformat}{arabic}% + {#1}% + {\ifdefstring{\bbx@volumeformat}{Roman}% + {\RN{#1}}% + {\ifdefstring{\bbx@volumeformat}{romansc}% + {\textsc{\Rn{#1}}}% + {\ifdefstring{\bbx@volumeformat}{roman}% + {\Rn{#1}}% + {\optionerror{volumeformat}}}}}}{#1}} +\DeclareFieldFormat[article]{volume}{% + \ifdefstring{\bbx@volnumformat}{strings} + {\bibstring{volume}~}% + {}% + \ifinteger{#1}{% + \ifdefstring{\bbx@volumeformat}{arabic}% + {#1}% + {\ifdefstring{\bbx@volumeformat}{Roman}% + {\RN{#1}}% + {\ifdefstring{\bbx@volumeformat}{romansc}% + {\textsc{\Rn{#1}}}% + {\ifdefstring{\bbx@volumeformat}{roman}% + {\Rn{#1}}x% + {\optionerror{volumeformat}}}}}}{#1}} \DeclareFieldFormat{related}{% \ifdefstring{\bbx@relatedformat}{parens}% - {\mkpureparens{#1}}% - {\ifdefstring{\bbx@relatedformat}{brackets}% - {\mkpurebrackets{#1}}% - {\ifdefstring{\bbx@relatedformat}{semicolon}% - {#1}{\optionerror{relatedformat}}}}}% + {\mkpureparens{#1}}% + {\ifdefstring{\bbx@relatedformat}{brackets}% + {\mkpurebrackets{#1}}% + {\ifdefstring{\bbx@relatedformat}{semicolon}% + {#1}% + {\optionerror{relatedformat}}}}}% \DeclareFieldAlias{related:origpubin}{related} \DeclareFieldAlias{related:origpubas}{related} \DeclareFieldFormat{relatedstring:default}{#1\addspace} -\newbibmacro*{origpublisher+origlocation+origdate}{% -\ifdefstring{\bbx@publocformat}{loccolonpub} -{\usebibmacro{origloccolonpub}\setunit{\bibpagespunct}% - \printfield{userc}}{\ifdefstring{\bbx@publocformat}{locpubyear} -{\usebibmacro{origlocpubyear}\setunit{\bibpagespunct}% - \printfield{userc}} -{\usebibmacro{origpublocyear}\setunit{\bibpagespunct}% - \printfield{userc}}}} - -\newbibmacro*{origpublocyear}{% -\iflistundef{origpublisher}% -{\printlist{origlocation}% -\setunit*{\addspace}% - \printorigdate}% -{\printlist{origpublisher}% - \setunit*{\addcomma\space}% -\printlist{origlocation}% -\setunit*{\addspace}% - \printorigdate}% - \newunit} - -\newbibmacro*{origloccolonpub}{% -\iflistundef{origlocation}{}% - {\printlist{origlocation}}% - \iflistundef{origpublisher}% - {\setunit*{\addspace}% -\printorigdate}% - {\setunit*{\addcolon\space}% - \printlist{origpublisher}% - \setunit*{\addcomma\space}% - \printorigdate}% - \newunit} - -\newbibmacro*{origlocpubyear}{% -\iflistundef{origlocation}{}% - {\printlist{origlocation}}% - \iflistundef{origpublisher}% - {\setunit*{\addspace}% -\printorigdate}% - {\setunit*{\addcomma\space}% - \printlist{origpublisher}% - \setunit*{\addcomma\space}% - \printorigdate}% - \newunit} - -\newbibmacro*{reprinttitle}{% - \iffieldundef{reprinttitle}{}{% - \iffieldsequal{reprinttitle}{title}{}{% - \printfield[title]{reprinttitle}% - \setunit{\addcomma\space}}}% -\iffieldundef{userb}{}{% - \printfield{userb}}}% - -\newbibmacro*{transorigstring}{% -\iffieldundef{reprinttitle}% -{\printtext{\ifdefstring{\bbx@origfields}{origed} -{\bibstring{origed}}% -{\bibstring{translationas}}}\nopunct}% -{\printtext{\bibstring{reprint}}}\nopunct} - -\newbibmacro*{origtitle:book}{% - \iffieldundef{origtitle}{}{ - \printfield[origtitle]{origtitle}% - \setunit{\addcomma\space}} -\iffieldundef{userb}{}{% - \printfield{userb}}}% - -\newbibmacro*{origtitledata:book}{% -\usebibmacro{transorigstring}% -\iffieldundef{reprinttitle}% -{\usebibmacro{origtitle:book}}% -{\usebibmacro{reprinttitle}}% -\newunit\newblock - \usebibmacro{origpublisher+origlocation+origdate}} - -\newbibmacro*{origdata:book}{% - \ifboolexpr{% - test {\iffieldundef{origtitle}} - and - test {\iffieldundef{origlocation}} - and - test {\iffieldundef{origpublisher}} - and - test {\iffieldundef{origyear}} - }% - {}% - {\ifdefstring{\bbx@relatedformat}{parens} - {\nopunct\printtext[pureparens]{\usebibmacro{origtitledata:book}}} - {\ifdefstring{\bbx@relatedformat}{brackets} - {\nopunct\printtext[brackets]{\usebibmacro{origtitledata:book}}} - {\setunit{\addsemicolon\space}% - \printtext{\usebibmacro{origtitledata:book}}}}}} - -\newbibmacro*{origtitle:article-inbook-incoll}{% - \iffieldundef{origtitle}{}{% - \printfield[origtitle]{origtitle}% -\setunit{\addcomma\space}}% -\iffieldundef{usera}{}{% -\usebibmacro{in:}% -\printfield{usera}% - \setunit{\addcomma\space}}% -\iffieldundef{userb}{}{% - \printfield{userb}% - \newunit}} - -\newbibmacro*{origtitledata:article-inbook-incoll}{% - \usebibmacro{transorigstring}% - \setunit{\addspace}% - \usebibmacro{origtitle:article-inbook-incoll}% - \usebibmacro{origpublisher+origlocation+origdate}} +\renewbibmacro*{citeindex}{% + \ifciteindex{\indexnames{labelname}}{}}% +\renewbibmacro*{bibindex}{% + \ifbibindex{\indexnames{author}% + \indexnames{editor}% + \indexnames{editora}% + \indexnames{editorb}% + \indexnames{editorc}}% + {}}% -\newbibmacro*{origdata:article-inbook}{% - \iflistundef{origlocation}{}{% - \ifdefstring{\bbx@relatedformat}{parens} - {\nopunct\printtext[pureparens]{% - \usebibmacro{origtitledata:article-inbook-incoll}}}% - {\ifdefstring{\bbx@relatedformat}{brackets} - {\nopunct\printtext[brackets]{% - \usebibmacro{origtitledata:article-inbook-incoll}}}% - {\setunit{\addsemicolon\space}% - \printtext{% - \usebibmacro{origtitledata:article-inbook-incoll}}}}}} \renewbibmacro*{addendum+pubstate}{% \printfield{addendum}% \newunit\newblock @@ -437,7 +347,7 @@ \renewbibmacro*{periodical}{% \iffieldundef{title} - {} + {}% {\printtext[title]{% \printfield[titlecase]{title}% \midsentence% @@ -448,7 +358,7 @@ \usebibmacro{journal}% \setunit*{\addspace}% \iffieldundef{series} - {} + {}% {\newunit% \printfield{series}\setunit{\addspace}\midsentence}% \newunit% @@ -463,7 +373,7 @@ \usebibmacro{periodical}% \setunit*{\addspace}% \iffieldundef{series} - {} + {}% {\newunit \printfield{series}% \setunit{\addspace}\midsentence}% @@ -497,7 +407,7 @@ \usebibmacro{date}}}% \newunit} -\renewbibmacro*{event+venue+date}{%v0.8 +\renewbibmacro*{event+venue+date}{% \printfield{eventtitle}% \ifboolexpr{% test {\iffieldundef{venue}} @@ -555,8 +465,8 @@ {\setunit{\addperiod\space}% \printtext[backrefparens]{% \ifnumgreater{\value{pageref}}{1} - {\bibstring{backrefpages}\ppspace}% - {\bibstring{backrefpage}\ppspace}% + {\bibcpstring{backrefpages}\ppspace}% + {\bibcpstring{backrefpage}\ppspace}% \printlist[pageref][-\value{listtotal}]{pageref}\adddot}\nopunct}}% \renewbibmacro*{finentry}{% @@ -676,26 +586,149 @@ {}% {}% \renewbibmacro*{related:default}[1]{% -\togglefalse{cbx:scauthorscite}% -\togglefalse{bbx:annotation}% -\ifboolexpr{ -test {\iffieldundef{relatedtype}} -and -test {\iffieldundef{relatedstring}} -} -{\printtext{\bibstring{translationas}}}{}% -\printtext{\addspace}% -\relatedcite{\thefield{related}}} + \togglefalse{bbx:annotation}% + \ifboolexpr{ + test {\iffieldundef{relatedtype}} + and + test {\iffieldundef{relatedstring}} + } + {\printtext{\bibstring{translationas}}}{}% + \printtext{\addspace}% + \relatedcite{\thefield{related}}} \renewbibmacro*{begrelatedloop}{% \renewrobustcmd*{\mkpureparens}{\relatedpunct}% \renewrobustcmd*{\mkpurebrackets}{\relatedpunct}} \newbibmacro*{phil:related}{% \iftoggle{bbx:related} - {\ifdefstring{\bbx@relatedformat}{semicolon}% - {\setunit{\relatedpunct}}% - {\setunit{\addspace}}% - \usebibmacro{related:init}% - \usebibmacro{related}}{}} + {\iffieldequalstr{relatedtype}{multivolume}% + {\setunit{\addperiod}}% + {\ifdefstring{\bbx@relatedformat}{semicolon}% + {\setunit{\relatedpunct}}% + {\setunit{\addspace}}}% + \usebibmacro{related:init}% + \usebibmacro{related}}{}} +\newbibmacro*{origpublisher+origlocation+origdate}{% + \ifdefstring{\bbx@publocformat}{loccolonpub} + {\usebibmacro{origloccolonpub}\setunit{\bibpagespunct}% + \printfield{userc}}{\ifdefstring{\bbx@publocformat}{locpubyear} + {\usebibmacro{origlocpubyear}\setunit{\bibpagespunct}% + \printfield{userc}} + {\usebibmacro{origpublocyear}\setunit{\bibpagespunct}% + \printfield{userc}}}} + +\newbibmacro*{origpublocyear}{% + \iflistundef{origpublisher}% + {\printlist{origlocation}% + \setunit*{\addspace}% + \printorigdate}% + {\printlist{origpublisher}% + \setunit*{\addcomma\space}% + \printlist{origlocation}% + \setunit*{\addspace}% + \printorigdate}% + \newunit} + +\newbibmacro*{origloccolonpub}{% + \iflistundef{origlocation}{}% + {\printlist{origlocation}}% + \iflistundef{origpublisher}% + {\setunit*{\addspace}% + \printorigdate}% + {\setunit*{\addcolon\space}% + \printlist{origpublisher}% + \setunit*{\addcomma\space}% + \printorigdate}% + \newunit} + +\newbibmacro*{origlocpubyear}{% + \iflistundef{origlocation}{}% + {\printlist{origlocation}}% + \iflistundef{origpublisher}% + {\setunit*{\addspace}% + \printorigdate}% + {\setunit*{\addcomma\space}% + \printlist{origpublisher}% + \setunit*{\addcomma\space}% + \printorigdate}% + \newunit} + +\newbibmacro*{reprinttitle}{% + \iffieldundef{reprinttitle}{}{% + \iffieldsequal{reprinttitle}{title}{}{% + \printfield[title]{reprinttitle}% + \setunit{\addcomma\space}}}% + \iffieldundef{userb}{}{% + \printfield{userb}}}% + +\newbibmacro*{transorigstring}{% + \iffieldundef{reprinttitle}% + {\printtext{\ifdefstring{\bbx@origfields}{origed} + {\bibstring{origpubas}}% + {\bibstring{translationas}}}\nopunct}% + {\printtext{\bibstring{reprint}}}\nopunct} + +\newbibmacro*{origtitle:book}{% + \iffieldundef{origtitle}{}{ + \printfield[origtitle]{origtitle}% + \setunit{\addcomma\space}} + \iffieldundef{userb}{}{% + \printfield{userb}}}% + +\newbibmacro*{origtitledata:book}{% + \usebibmacro{transorigstring}% + \iffieldundef{reprinttitle}% + {\usebibmacro{origtitle:book}}% + {\usebibmacro{reprinttitle}}% + \newunit\newblock + \usebibmacro{origpublisher+origlocation+origdate}} + +\newbibmacro*{origdata:book}{% + \ifboolexpr{% + test {\iffieldundef{origtitle}} + and + test {\iffieldundef{origlocation}} + and + test {\iffieldundef{origpublisher}} + and + test {\iffieldundef{origyear}} + }% + {}% + {\ifdefstring{\bbx@relatedformat}{parens} + {\nopunct\printtext[pureparens]{\usebibmacro{origtitledata:book}}} + {\ifdefstring{\bbx@relatedformat}{brackets} + {\nopunct\printtext[brackets]{\usebibmacro{origtitledata:book}}} + {\setunit{\addsemicolon\space}% + \printtext{\usebibmacro{origtitledata:book}}}}}} + +\newbibmacro*{origtitle:article-inbook-incoll}{% + \iffieldundef{origtitle}{}{% + \printfield[origtitle]{origtitle}% + \setunit{\addcomma\space}}% + \iffieldundef{usera}{}{% + \usebibmacro{in:}% + \printfield{usera}% + \setunit{\addcomma\space}}% + \iffieldundef{userb}{}{% + \printfield{userb}% + \newunit}} + +\newbibmacro*{origtitledata:article-inbook-incoll}{% + \usebibmacro{transorigstring}% + \setunit{\addspace}% + \usebibmacro{origtitle:article-inbook-incoll}% + \usebibmacro{origpublisher+origlocation+origdate}} + +\newbibmacro*{origdata:article-inbook}{% + \iflistundef{origlocation}{}{% + \ifdefstring{\bbx@relatedformat}{parens} + {\nopunct\printtext[pureparens]{% + \usebibmacro{origtitledata:article-inbook-incoll}}}% + {\ifdefstring{\bbx@relatedformat}{brackets} + {\nopunct\printtext[brackets]{% + \usebibmacro{origtitledata:article-inbook-incoll}}}% + {\setunit{\addsemicolon\space}% + \printtext{% + \usebibmacro{origtitledata:article-inbook-incoll}}}}}} \DeclareBibliographyDriver{article}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% @@ -854,7 +887,6 @@ test {\iffieldundef{relatedstring}} \usebibmacro{finentry}} \DeclareBibliographyDriver{inbook}{% -\togglefalse{cbx:scauthorscite}% \usebibmacro{bibindex}% \usebibmacro{begentry}% \usebibmacro{author/translator+others}% @@ -913,7 +945,6 @@ test {\iffieldundef{relatedstring}} \usebibmacro{finentry}} \DeclareBibliographyDriver{incollection}{% -\togglefalse{cbx:scauthorscite}% \usebibmacro{bibindex}% \usebibmacro{begentry}% \usebibmacro{author/translator+others}% @@ -970,7 +1001,6 @@ test {\iffieldundef{relatedstring}} \usebibmacro{finentry}} \DeclareBibliographyDriver{inproceedings}{% -\togglefalse{cbx:scauthorscite}% \usebibmacro{bibindex}% \usebibmacro{begentry}% \usebibmacro{author/translator+others}% @@ -1345,13 +1375,13 @@ test {\iffieldundef{relatedstring}} \usebibmacro{finentry}} \DeclareBibliographyDriver{set}{% -\savefield{annotation}{\@phil@nnote}% -\clearfield{annotation}% -\entryset{}{}% -\newunit\newblock -\restorefield{annotation}{\@phil@nnote}% -\usebibmacro{pageref}% -\usebibmacro{finentry}} + \savefield{annotation}{\@phil@nnote}% + \clearfield{annotation}% + \entryset{}{}% + \newunit\newblock + \restorefield{annotation}{\@phil@nnote}% + \usebibmacro{pageref}% + \usebibmacro{finentry}} \renewbibmacro*{bybookauthor}{% \ifnamesequal{author}{bookauthor}% @@ -1422,7 +1452,7 @@ test {\iffieldundef{relatedstring}} \iffieldundef{bookpagination}{#1}{\mkpageprefix[bookpagination]{#1}}} \DeclareFieldFormat[jurisdiction]{title}{% \iffieldequalstr{entrysubtype}{international}{\emph{#1}}{#1}} -\DeclareFieldFormat[jurisdiction]{notacomm}{nt\adddotspace#1} % \end{macrocode} +\DeclareFieldFormat[jurisdiction]{notacomm}{nt\adddotspace#1}% \end{macrocode} \newbibmacro*{juris:author}{% \DeclareNameAlias{sortname}{default}% \ifboolexpr{% @@ -1438,7 +1468,7 @@ test {\iffieldundef{relatedstring}} \iffieldundef{authortype} {} {\setunit{\addcomma\space}% -\usebibmacro{authorstrg}}} + \usebibmacro{authorstrg}}} {}% \iffieldequalstr{type}{conclusions}{% \setunit{\addspace}% @@ -1481,9 +1511,9 @@ test {\iffieldundef{relatedstring}} \usebibmacro{maintitle+booktitle}% \newunit\newblock \printtext{% - \printfield{labelyear}% - \printfield{extrayear}} - \usebibmacro{byeditor+others}% + \printfield{labelyear}% + \printfield{extrayear}} + \usebibmacro{byeditor+others}% \newunit\newblock \printfield{edition}% \newunit @@ -1537,16 +1567,16 @@ test {\iffieldundef{relatedstring}} \DeclareFieldAlias[jurisdiction]{author}[jurisdiction]{court} %% -%% Copyright 2009-2017 by Ivan Valbusa +%% Copyright 2009-2017 by Ivan Valbusa %% -%% This program is provided under the terms of the -%% LaTeX Project Public License distributed from CTAN -%% archives in directory macros/latex/base/lppl.txt. +%% This program is provided under the terms of the +%% LaTeX Project Public License distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt. %% -%% Author: Ivan Valbusa -%% ivan dot valbusa at univr dot it +%% Author: Ivan Valbusa +%% ivan dot valbusa at univr dot it %% -%% This work has the LPPL maintenance status "author-maintained". +%% This work has the LPPL maintenance status "author-maintained". %% %% %% End of file `philosophy-standard.bbx'. |