diff options
author | Karl Berry <karl@freefriends.org> | 2016-03-10 23:21:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-03-10 23:21:45 +0000 |
commit | 23ceffcff36fa84c87cb45cd5cba0851311b99fd (patch) | |
tree | cf6b9ae65aca41e370089a4175394b79c58f751b /Master | |
parent | 69f5b03cb244e91d7890b23c761ec2ceb318b957 (diff) |
biblatex-philosophy (10mar16)
git-svn-id: svn://tug.org/texlive/trunk@39987 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
13 files changed, 368 insertions, 89 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-philosophy/biblatex-philosophy.pdf b/Master/texmf-dist/doc/latex/biblatex-philosophy/biblatex-philosophy.pdf Binary files differindex 54adacb7d70..df96fd4c96e 100644 --- a/Master/texmf-dist/doc/latex/biblatex-philosophy/biblatex-philosophy.pdf +++ b/Master/texmf-dist/doc/latex/biblatex-philosophy/biblatex-philosophy.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-philosophy/examples.zip b/Master/texmf-dist/doc/latex/biblatex-philosophy/examples.zip Binary files differindex 951a3708218..2096a06e2d7 100644 --- a/Master/texmf-dist/doc/latex/biblatex-philosophy/examples.zip +++ b/Master/texmf-dist/doc/latex/biblatex-philosophy/examples.zip diff --git a/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx b/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx index 1c542e21ebe..3070f50d7dc 100644 --- a/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx +++ b/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx @@ -98,7 +98,7 @@ %<english-lbx>\ProvidesFile{english-philosophy.lbx} %<spanish-lbx>\ProvidesFile{spanish-philosophy.lbx} %<*standard-bbx|classic-bbx|modern-bbx|verbose-bbx|classic-cbx|modern-cbx|verbose-cbx|italian-lbx|english-lbx|spanish-lbx> - [2015/10/09 v1.3 valbusa beta] + [2016/03/10 v1.4 valbusa beta] %</standard-bbx|classic-bbx|modern-bbx|verbose-bbx|classic-cbx|modern-cbx|verbose-cbx|italian-lbx|english-lbx|spanish-lbx> %<*driver> \documentclass[10pt]{ltxdoc} @@ -127,7 +127,6 @@ % layout \setcounter{tocdepth}{3} \usepackage{geometry} -% \geometry{hmarginratio=1:1,a4paper,margin=2cm,headheight=15pt} \geometry{paperwidth=17cm,paperheight=24cm,margin=1.4cm,top=2cm,bottom=2cm,headheight=15pt,ignoreall,heightrounded} \usepackage{sectsty} @@ -262,7 +261,7 @@ %</driver> % \fi % -% \CheckSum{3932} +% \CheckSum{4100} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -280,6 +279,7 @@ % Grave accent \` Left brace \{ Vertical bar \| % Right brace \} Tilde \~} % +% \changes{v1.4}{2016/03/10}{Maintenance release. Updated style for working with \sty{biblatex} v.3.4.} % \changes{v1.3}{2015/10/09}{Maintenance release. Corrected a spurious space in article entries.} % \changes{v1.2}{2015/09/19}{Maintenance release. New value \opt{superscript} for \opt{editionformat} option.} % \changes{v1.1}{2015/06/13}{Maintenance release. Updated documentation.} @@ -1203,22 +1203,59 @@ {}} \AtBeginBibliography{% \iftoggle{bbx:scauthorsbib}{% -\DeclareNameFormat{sortname}{% - \let\mkbibnamelast\mkbibsc% - \let\mkbibnamefirst\mkbibsc% +\ifblx@load@version@legacy +\DeclareNameFormat{family-given/given-family}{% + \let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% \let\mkbibnameprefix\mkbibsc% - \let\mkbibnameaffix\mkbibsc + \let\mkbibnameaffix\mkbibsc% \ifnumequal{\value{listcount}}{1} {\iffirstinits - {\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}% - {\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}% + {\usebibmacro{name:family-given}{#1}{#4}{#5}{#7}}% + {\usebibmacro{name:family-given}{#1}{#3}{#5}{#7}}% \ifblank{#3#5} {} {\usebibmacro{name:revsdelim}}} {\iffirstinits - {\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}} - {\usebibmacro{name:first-last}{#1}{#3}{#5}{#7}}}% - \usebibmacro{name:andothers}}}% + {\usebibmacro{name:given-family}{#1}{#4}{#5}{#7}} + {\usebibmacro{name:given-family}{#1}{#3}{#5}{#7}}}% + \usebibmacro{name:andothers}}% +\else +\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}}% + \ifempty{\namepartgiven\namepartprefix} + {} + {\usebibmacro{name:revsdelim}}} + {\ifgiveninits + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefix} + {\namepartsuffix}} + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiven} + {\namepartprefix} + {\namepartsuffix}}}% + \usebibmacro{name:andothers}} +\fi + }% {}}% % \end{macrocode} % \subsubsection{New internal commands} @@ -1452,7 +1489,7 @@ \newbibmacro*{origtitle:article-inbook-incoll}{% \iffieldundef{origtitle}{}{% \printfield[origtitle]{origtitle}% -\setunit{\addcomma\space}} +\setunit{\addcomma\space}}% \iffieldundef{usera}{}{% \usebibmacro{in:}% \printfield{usera}% @@ -2749,7 +2786,7 @@ % Define new fields for \bibtype{jurisdiction} entry types and % \opt{orig-} fields mechanism: % \begin{macrocode} -\ifblx@load@version@one +\ifblx@load@version@legacy \else \DeclareStyleSourcemap{ \maps[datatype=bibtex]{ @@ -2770,8 +2807,8 @@ } } } -\fi \DeclareDataInheritance{*}{*}{\noinherit{annotation}} +\fi \DeclareFieldAlias[jurisdiction]{usera}[jurisdiction]{notacomm} \DeclareFieldAlias[jurisdiction]{nameadddon}[jurisdiction]{section} @@ -2868,7 +2905,17 @@ {\printtext[parens]{\printdateextra}}% \endgroup}% \newbibmacro*{date+extrayear}{}% -}% +% for article entries: +\renewbibmacro*{date}{\printdate}% +\renewbibmacro*{issue+date}{% + \printtext[pureparens]{% + \iffieldundef{issue} + {\usebibmacro{date}} + {\printfield{issue}% + \setunit*{\addspace}% + \usebibmacro{date}}}% + \newunit} + }% \AtBeginDocument{% \iftoggle{bbx:square} @@ -3064,7 +3111,7 @@ \renewcommand{\labelnamepunct}{} \AtBeginShorthands{% -\renewcommand{\postsep}{}% +\renewcommand{\postsep}{\addspace}% \renewcommand{\labelnamepunct}{\newunitpunct}} % \end{macrocode} % \subsubsection{New macros} @@ -3399,10 +3446,10 @@ {\usebibmacro{nodash:editor+others}} {\usebibmacro{translator+others}}}} -\newbibmacro*{relateddate}{% +\renewbibmacro*{relateddate}{% \setunit*{\addspace}% \printdate\ifdefstring{\bbx@editionformat}{superscript}{\printfield{edition}}{}} -\newbibmacro*{commarelateddate}{% +\renewbibmacro*{commarelateddate}{% \setunit*{\addcomma\space}% \printdate\ifdefstring{\bbx@editionformat}{superscript}{\printfield{edition}}{}} @@ -3508,7 +3555,7 @@ \usebibmacro{pageref}% \usebibmacro{finentry}} -\newbibmacro*{inbook:full}{% +\renewbibmacro*{inbook:full}{% \usebibmacro{bybookauthor}% \newunit\newblock \usebibmacro{maintitle+booktitle}% @@ -3552,7 +3599,7 @@ \usebibmacro{pageref}% \usebibmacro{finentry}} - \newbibmacro*{incollection:full}{% + \renewbibmacro*{incollection:full}{% \usebibmacro{maintitle+booktitle}% \newunit\newblock \usebibmacro{byeditor+others}% @@ -3806,23 +3853,55 @@ \AtEveryCite{% \iftoggle{cbx:scauthorscite}% - {\let\mkbibnamelast\mkbibsc% - \let\mkbibnamefirst\mkbibsc% + {\let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% \let\mkbibnameprefix\mkbibsc% - \let\mkbibnameaffix\mkbibsc} + \let\mkbibnameaffix\mkbibsc}% {}}% + +\ifblx@load@version@legacy \DeclareNameFormat{labelname}{% \bibhyperref{% \ifcase\value{uniquename}% - \usebibmacro{name:last}{#1}{#3}{#5}{#7}% + \usebibmacro{name:family}{#1}{#3}{#5}{#7}% \or \ifuseprefix - {\usebibmacro{name:first-last}{#1}{#4}{#5}{#8}}% - {\usebibmacro{name:first-last}{#1}{#4}{#6}{#8}}% + {\usebibmacro{name:given-family}{#1}{#4}{#5}{#8}}% + {\usebibmacro{name:given-family}{#1}{#4}{#6}{#8}}% \or - \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% + \usebibmacro{name:given-family}{#1}{#3}{#5}{#7}% \fi \usebibmacro{name:andothers}}} + \else +\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}}} + \fi %%%% \newcommand{\switchclass}[2]{% @@ -4235,31 +4314,92 @@ \andmoredelim\bibstring[\mkibid]{andmore}}% {}}% \iftoggle{cbx:scauthorscite}{% +\ifblx@load@version@legacy +\DeclareNameFormat{labelname}{% +\iffootnote{% + \let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% + \let\mkbibnameprefix\mkbibsc% + \let\mkbibnameaffix\mkbibsc}{}% + \ifcase\value{uniquename}% + \usebibmacro{name:family}{#1}{#3}{#5}{#7}% + \or + \ifuseprefix + {\usebibmacro{name:given-family}{#1}{#4}{#5}{#8}}% + {\usebibmacro{name:given-family}{#1}{#4}{#6}{#8}}% + \or + \usebibmacro{name:given-family}{#1}{#3}{#5}{#7}% + \fi + \usebibmacro{name:andothers}}% +\else \DeclareNameFormat{labelname}{% - \let\mkbibnamelast\mkbibsc% - \let\mkbibnamefirst\mkbibsc% +\iffootnote{% + \let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% \let\mkbibnameprefix\mkbibsc% - \let\mkbibnameaffix\mkbibsc + \let\mkbibnameaffix\mkbibsc}{}% + \nameparts{#1}% \ifcase\value{uniquename}% - \usebibmacro{name:last}{#1}{#3}{#5}{#7}% + \usebibmacro{name:family} + {\namepartfamily} + {\namepartgiven} + {\namepartprefix} + {\namepartsuffix}% \or \ifuseprefix - {\usebibmacro{name:first-last}{#1}{#4}{#5}{#8}}% - {\usebibmacro{name:first-last}{#1}{#4}{#6}{#8}}% + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefix} + {\namepartsuffixi}} + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefixi} + {\namepartsuffixi}}% \or - \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% + \usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiven} + {\namepartprefix} + {\namepartsuffix}% + \fi + \usebibmacro{name:andothers}} \fi - \usebibmacro{name:andothers}}}{}}% + }{}}% +\ifblx@load@version@legacy \DeclareNameFormat{scdefault}{% - \let\mkbibnamelast\mkbibsc% - \let\mkbibnamefirst\mkbibsc% +\iffootnote{% + \let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% \let\mkbibnameprefix\mkbibsc% - \let\mkbibnameaffix\mkbibsc + \let\mkbibnameaffix\mkbibsc}{}% \iffirstinits - {\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}}% - {\usebibmacro{name:first-last}{#1}{#3}{#5}{#7}}% + {\usebibmacro{name:given-family}{#1}{#4}{#5}{#7}}% + {\usebibmacro{name:given-family}{#1}{#3}{#5}{#7}}% + \usebibmacro{name:andothers}} +\else +\DeclareNameFormat{scdefault}{% +\iffootnote{% + \let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% + \let\mkbibnameprefix\mkbibsc% + \let\mkbibnameaffix\mkbibsc}{}% + \nameparts{#1}% + \ifgiveninits + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefix} + {\namepartsuffix}} + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiven} + {\namepartprefix} + {\namepartsuffix}}% \usebibmacro{name:andothers}} +\fi % \end{macrocode} % \subsubsection{New macros} % \begin{macrocode} diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/english-philosophy.lbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/english-philosophy.lbx index 2c0dcb1cfb1..b3554d00d6c 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/english-philosophy.lbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/english-philosophy.lbx @@ -13,7 +13,7 @@ %% License information appended %% \ProvidesFile{english-philosophy.lbx} - [2015/10/09 v1.3 valbusa beta] + [2016/03/10 v1.4 valbusa beta] %% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code: diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/italian-philosophy.lbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/italian-philosophy.lbx index 62ca02441eb..39bc8bd4938 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/italian-philosophy.lbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/italian-philosophy.lbx @@ -13,7 +13,7 @@ %% License information appended %% \ProvidesFile{italian-philosophy.lbx} - [2015/10/09 v1.3 valbusa beta] + [2016/03/10 v1.4 valbusa beta] %% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code: 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 78812a37a5b..71406637e99 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} - [2015/10/09 v1.3 valbusa beta] + [2016/03/10 v1.4 valbusa beta] %% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code: @@ -90,7 +90,16 @@ {\printtext[parens]{\printdateextra}}% \endgroup}% \newbibmacro*{date+extrayear}{}% -}% +\renewbibmacro*{date}{\printdate}% +\renewbibmacro*{issue+date}{% + \printtext[pureparens]{% + \iffieldundef{issue} + {\usebibmacro{date}} + {\printfield{issue}% + \setunit*{\addspace}% + \usebibmacro{date}}}% + \newunit} + }% \AtBeginDocument{% \iftoggle{bbx:square} diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx index c6a65b94d38..b538ca9bc5b 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx @@ -13,7 +13,7 @@ %% License information appended %% \ProvidesFile{philosophy-classic.cbx} - [2015/10/09 v1.3 valbusa beta] + [2016/03/10 v1.4 valbusa beta] %% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code: @@ -33,23 +33,55 @@ \AtEveryCite{% \iftoggle{cbx:scauthorscite}% - {\let\mkbibnamelast\mkbibsc% - \let\mkbibnamefirst\mkbibsc% + {\let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% \let\mkbibnameprefix\mkbibsc% - \let\mkbibnameaffix\mkbibsc} + \let\mkbibnameaffix\mkbibsc}% {}}% + +\ifblx@load@version@legacy \DeclareNameFormat{labelname}{% \bibhyperref{% \ifcase\value{uniquename}% - \usebibmacro{name:last}{#1}{#3}{#5}{#7}% + \usebibmacro{name:family}{#1}{#3}{#5}{#7}% + \or + \ifuseprefix + {\usebibmacro{name:given-family}{#1}{#4}{#5}{#8}}% + {\usebibmacro{name:given-family}{#1}{#4}{#6}{#8}}% + \or + \usebibmacro{name:given-family}{#1}{#3}{#5}{#7}% + \fi + \usebibmacro{name:andothers}}} + \else +\DeclareNameFormat{labelname}{% + \nameparts{#1}% +\bibhyperref{\ifcase\value{uniquename}% + \usebibmacro{name:family} + {\namepartfamily} + {\namepartgiven} + {\namepartprefix} + {\namepartsuffix}% \or \ifuseprefix - {\usebibmacro{name:first-last}{#1}{#4}{#5}{#8}}% - {\usebibmacro{name:first-last}{#1}{#4}{#6}{#8}}% + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefix} + {\namepartsuffixi}} + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefixi} + {\namepartsuffixi}}% \or - \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% + \usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiven} + {\namepartprefix} + {\namepartsuffix}% \fi \usebibmacro{name:andothers}}} + \fi %%%% \newcommand{\switchclass}[2]{% diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx index 454e481e091..7c5ee4b4368 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx @@ -13,7 +13,7 @@ %% License information appended %% \ProvidesFile{philosophy-modern.bbx} - [2015/10/09 v1.3 valbusa beta] + [2016/03/10 v1.4 valbusa beta] %% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code: @@ -42,7 +42,7 @@ \renewcommand{\labelnamepunct}{} \AtBeginShorthands{% -\renewcommand{\postsep}{}% +\renewcommand{\postsep}{\addspace}% \renewcommand{\labelnamepunct}{\newunitpunct}} \renewbibmacro*{date+extrayear}{% \begingroup% diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.cbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.cbx index 38d281d5d11..1afd91b739a 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.cbx @@ -13,7 +13,7 @@ %% License information appended %% \ProvidesFile{philosophy-modern.cbx} - [2015/10/09 v1.3 valbusa beta] + [2016/03/10 v1.4 valbusa beta] %% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code: 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 aa81774e6e6..c8e6ccdcd36 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} - [2015/10/09 v1.3 valbusa beta] + [2016/03/10 v1.4 valbusa beta] %% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code: @@ -111,22 +111,59 @@ {}} \AtBeginBibliography{% \iftoggle{bbx:scauthorsbib}{% -\DeclareNameFormat{sortname}{% - \let\mkbibnamelast\mkbibsc% - \let\mkbibnamefirst\mkbibsc% +\ifblx@load@version@legacy +\DeclareNameFormat{family-given/given-family}{% + \let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% \let\mkbibnameprefix\mkbibsc% - \let\mkbibnameaffix\mkbibsc + \let\mkbibnameaffix\mkbibsc% \ifnumequal{\value{listcount}}{1} {\iffirstinits - {\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}% - {\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}% + {\usebibmacro{name:family-given}{#1}{#4}{#5}{#7}}% + {\usebibmacro{name:family-given}{#1}{#3}{#5}{#7}}% \ifblank{#3#5} {} {\usebibmacro{name:revsdelim}}} {\iffirstinits - {\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}} - {\usebibmacro{name:first-last}{#1}{#3}{#5}{#7}}}% - \usebibmacro{name:andothers}}}% + {\usebibmacro{name:given-family}{#1}{#4}{#5}{#7}} + {\usebibmacro{name:given-family}{#1}{#3}{#5}{#7}}}% + \usebibmacro{name:andothers}}% +\else +\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}}% + \ifempty{\namepartgiven\namepartprefix} + {} + {\usebibmacro{name:revsdelim}}} + {\ifgiveninits + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefix} + {\namepartsuffix}} + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiven} + {\namepartprefix} + {\namepartsuffix}}}% + \usebibmacro{name:andothers}} +\fi + }% {}}% \renewcommand*{\newunitpunct}{\addcomma\space} \renewcommand*{\subtitlepunct}{\addperiod\space} @@ -337,7 +374,7 @@ \newbibmacro*{origtitle:article-inbook-incoll}{% \iffieldundef{origtitle}{}{% \printfield[origtitle]{origtitle}% -\setunit{\addcomma\space}} +\setunit{\addcomma\space}}% \iffieldundef{usera}{}{% \usebibmacro{in:}% \printfield{usera}% @@ -1594,7 +1631,7 @@ \newunit\newblock \usebibmacro{pageref}% \usebibmacro{finentry}} -\ifblx@load@version@one +\ifblx@load@version@legacy \else \DeclareStyleSourcemap{ \maps[datatype=bibtex]{ @@ -1615,8 +1652,8 @@ } } } -\fi \DeclareDataInheritance{*}{*}{\noinherit{annotation}} +\fi \DeclareFieldAlias[jurisdiction]{usera}[jurisdiction]{notacomm} \DeclareFieldAlias[jurisdiction]{nameadddon}[jurisdiction]{section} diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx index 5d9db4ecfbd..6df72139061 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx @@ -13,7 +13,7 @@ %% License information appended %% \ProvidesFile{philosophy-verbose.bbx} - [2015/10/09 v1.3 valbusa beta] + [2016/03/10 v1.4 valbusa beta] %% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code: @@ -131,10 +131,10 @@ {\usebibmacro{nodash:editor+others}} {\usebibmacro{translator+others}}}} -\newbibmacro*{relateddate}{% +\renewbibmacro*{relateddate}{% \setunit*{\addspace}% \printdate\ifdefstring{\bbx@editionformat}{superscript}{\printfield{edition}}{}} -\newbibmacro*{commarelateddate}{% +\renewbibmacro*{commarelateddate}{% \setunit*{\addcomma\space}% \printdate\ifdefstring{\bbx@editionformat}{superscript}{\printfield{edition}}{}} @@ -240,7 +240,7 @@ \usebibmacro{pageref}% \usebibmacro{finentry}} -\newbibmacro*{inbook:full}{% +\renewbibmacro*{inbook:full}{% \usebibmacro{bybookauthor}% \newunit\newblock \usebibmacro{maintitle+booktitle}% @@ -284,7 +284,7 @@ \usebibmacro{pageref}% \usebibmacro{finentry}} - \newbibmacro*{incollection:full}{% + \renewbibmacro*{incollection:full}{% \usebibmacro{maintitle+booktitle}% \newunit\newblock \usebibmacro{byeditor+others}% diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx index 5e308f66b2d..c620a1ab60b 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx @@ -13,7 +13,7 @@ %% License information appended %% \ProvidesFile{philosophy-verbose.cbx} - [2015/10/09 v1.3 valbusa beta] + [2016/03/10 v1.4 valbusa beta] %% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code: @@ -65,31 +65,92 @@ \andmoredelim\bibstring[\mkibid]{andmore}}% {}}% \iftoggle{cbx:scauthorscite}{% +\ifblx@load@version@legacy \DeclareNameFormat{labelname}{% - \let\mkbibnamelast\mkbibsc% - \let\mkbibnamefirst\mkbibsc% +\iffootnote{% + \let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% \let\mkbibnameprefix\mkbibsc% - \let\mkbibnameaffix\mkbibsc + \let\mkbibnameaffix\mkbibsc}{}% \ifcase\value{uniquename}% - \usebibmacro{name:last}{#1}{#3}{#5}{#7}% + \usebibmacro{name:family}{#1}{#3}{#5}{#7}% \or \ifuseprefix - {\usebibmacro{name:first-last}{#1}{#4}{#5}{#8}}% - {\usebibmacro{name:first-last}{#1}{#4}{#6}{#8}}% + {\usebibmacro{name:given-family}{#1}{#4}{#5}{#8}}% + {\usebibmacro{name:given-family}{#1}{#4}{#6}{#8}}% \or - \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% + \usebibmacro{name:given-family}{#1}{#3}{#5}{#7}% \fi - \usebibmacro{name:andothers}}}{}}% + \usebibmacro{name:andothers}}% +\else +\DeclareNameFormat{labelname}{% +\iffootnote{% + \let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% + \let\mkbibnameprefix\mkbibsc% + \let\mkbibnameaffix\mkbibsc}{}% + \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}} + \fi + }{}}% +\ifblx@load@version@legacy \DeclareNameFormat{scdefault}{% - \let\mkbibnamelast\mkbibsc% - \let\mkbibnamefirst\mkbibsc% +\iffootnote{% + \let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% \let\mkbibnameprefix\mkbibsc% - \let\mkbibnameaffix\mkbibsc + \let\mkbibnameaffix\mkbibsc}{}% \iffirstinits - {\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}}% - {\usebibmacro{name:first-last}{#1}{#3}{#5}{#7}}% + {\usebibmacro{name:given-family}{#1}{#4}{#5}{#7}}% + {\usebibmacro{name:given-family}{#1}{#3}{#5}{#7}}% + \usebibmacro{name:andothers}} +\else +\DeclareNameFormat{scdefault}{% +\iffootnote{% + \let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% + \let\mkbibnameprefix\mkbibsc% + \let\mkbibnameaffix\mkbibsc}{}% + \nameparts{#1}% + \ifgiveninits + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefix} + {\namepartsuffix}} + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiven} + {\namepartprefix} + {\namepartsuffix}}% \usebibmacro{name:andothers}} +\fi \newbibmacro*{cite:opcit}{% \printtext[bibhyperlink]{\bibstring[\mkibid]{opcit}}} diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/spanish-philosophy.lbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/spanish-philosophy.lbx index f22abd22975..ed7c3a02663 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/spanish-philosophy.lbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/spanish-philosophy.lbx @@ -13,7 +13,7 @@ %% License information appended %% \ProvidesFile{spanish-philosophy.lbx} - [2015/10/09 v1.3 valbusa beta] + [2016/03/10 v1.4 valbusa beta] %% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code: |