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.bbx35
1 files changed, 22 insertions, 13 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 5e9dbd373cc..0e1a001a44e 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-standard.bbx}
- [2014/03/28 v0.9f valbusa beta]
+ [2015/01/14 v0.9h valbusa beta]
\RequireBiber[2]
\RequireBibliographyStyle{standard}
@@ -26,6 +26,7 @@
\newtoggle{bbx:scauthorsbib}
\newtoggle{bbx:inbeforejournal}
\newtoggle{bbx:classical}
+\newtoggle{bbx:lowscauthors}
\DeclareBibliographyOption{annotation}[true]{%
\settoggle{bbx:annotation}{#1}}
@@ -39,6 +40,8 @@
\settoggle{bbx:inbeforejournal}{#1}}
\DeclareBibliographyOption{classical}[true]{%
\settoggle{bbx:classical}{#1}}
+\DeclareBibliographyOption{lowscauthors}[true]{%
+ \settoggle{bbx:lowscauthors}{#1}}
\newcommand{\bbx@publocformat}{}
\newcommand{\bbx@volnumformat}{}
@@ -66,6 +69,7 @@
\renewcommand{\bbx@origfields}{origed}}
\ExecuteBibliographyOptions{%
+ lowscauthors = false,
publocformat = publocyear,
annotation = false,
library = true,
@@ -87,13 +91,21 @@
\setcounter{biburllcpenalty}{9000}
\newcounter{maxnamesincross}
\newcounter{minnamesincross}
+\AtBeginDocument{%
+\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}{%
-\renewcommand{\mkbibnamefirst}{\textsc}%
-\renewcommand{\mkbibnamelast}{\textsc}%
-\renewcommand{\mkbibnameprefix}{\textsc}%
-\renewcommand{\mkbibnameaffix}{\textsc}%
+ \let\mkbibnamelast\mkbibsc%
+ \let\mkbibnamefirst\mkbibsc%
+ \let\mkbibnameprefix\mkbibsc%
+ \let\mkbibnameaffix\mkbibsc
\ifnumequal{\value{listcount}}{1}
{\iffirstinits
{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}%
@@ -106,17 +118,11 @@
{\usebibmacro{name:first-last}{#1}{#3}{#5}{#7}}}%
\usebibmacro{name:andothers}}}%
{}}%
-
-\AtBeginDocument{%
-\iftoggle{bbx:scauthors}{%
- \toggletrue{bbx:scauthorsbib}%
- \toggletrue{cbx:scauthorscite}}%
-{}}
\renewcommand*{\newunitpunct}{\addcomma\space}
\renewcommand*{\subtitlepunct}{\addperiod\space}
\renewcommand*{\intitlepunct}{\nopunct\addspace}
\newcommand*{\volnumpunct}{\addcomma\space}
-\newrobustcmd{\mkpureparens}[1]{%
+\newrobustcmd*{\mkpureparens}[1]{%
\begingroup
\blx@blxinit
\blx@setsfcodes
@@ -605,7 +611,7 @@
\iffieldundef{relatedstring}%
{\bibstring{translationas}\space}%
{\setunit{\bibstring{translationas}\space}}%
- \renewcommand{\mkpureparens}{}%
+ \renewcommand*{\mkpureparens}{}%
\renewcommand*{\mkbibbrackets}{}%
\relatedcite{\thefield{related}}}
\DeclareBibliographyDriver{article}{%
@@ -778,6 +784,7 @@
\usebibmacro{finentry}}
\DeclareBibliographyDriver{inbook}{%
+\togglefalse{cbx:scauthorscite}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%
@@ -839,6 +846,7 @@
\usebibmacro{finentry}}
\DeclareBibliographyDriver{incollection}{%
+\togglefalse{cbx:scauthorscite}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%
@@ -898,6 +906,7 @@
\usebibmacro{finentry}}
\DeclareBibliographyDriver{inproceedings}{%
+\togglefalse{cbx:scauthorscite}%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%