texlive[43528] Master/texmf-dist: biblatex-philosophy (17may17)
commits+karl at tug.org
commits+karl at tug.org
Fri Mar 17 22:35:53 CET 2017
Revision: 43528
http://tug.org/svn/texlive?view=revision&revision=43528
Author: karl
Date: 2017-03-17 22:35:52 +0100 (Fri, 17 Mar 2017)
Log Message:
-----------
biblatex-philosophy (17may17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/biblatex-philosophy/biblatex-philosophy.pdf
trunk/Master/texmf-dist/doc/latex/biblatex-philosophy/examples.zip
trunk/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx
trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/english-philosophy.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/italian-philosophy.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/spanish-philosophy.lbx
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-philosophy/biblatex-philosophy.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-philosophy/examples.zip
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx 2017-03-17 21:35:40 UTC (rev 43527)
+++ trunk/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx 2017-03-17 21:35:52 UTC (rev 43528)
@@ -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>
-[2017/03/14 v1.9.2 A set of styles for biblatex]
+[2017/03/17 v1.9.3 A set of styles for biblatex]
%</standard-bbx|classic-bbx|modern-bbx|verbose-bbx|classic-cbx|modern-cbx|verbose-cbx|italian-lbx|english-lbx|spanish-lbx>
%<*driver>
\documentclass[10pt]{ltxdoc}
@@ -261,7 +261,7 @@
%</driver>
% \fi
%
-% \CheckSum{3848}
+% \CheckSum{3847}
%
% \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
@@ -279,6 +279,7 @@
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
+% \changes{v1.9.3}{2017/03/17}{Maintenance release. Reset \file{philosophy-verbose.cbx} to version 1.9. Moved \texttt{labelname} format from \file{philosophy-standard.bbx} to \file{philosophy-classic.cbx}.}
% \changes{v1.9.2}{2017/03/14}{Support for \texttt{multivolume} related type. The \texttt{origed} string is substituted with \texttt{origpubas} (redefined for Italiana and Spanish). New string \texttt{opcited}. Deleted \texttt{cited} string. New multi-value option \opt{scauthors} substitutes \opt{scauthorcite} and \opt{scauthorbib} options. Updated documentation.}
% \changes{v1.9.1}{2017/02/16}{Redefined macros for the eechanism. Support for the \bibtype{set} entries. Support for the \opt{origpubin} and \opt{origpubas} default related types. Improved \texttt{.lbx} files. Updated documentation.}
% \changes{v1.9}{2016/11/26}{Redefined \opt{ibidem} and \opt{loccit} strings in file \file{english-philosophy.lbx} according to the Chicago Manual of Style.}
@@ -1246,25 +1247,39 @@
%
% \StopEventually{\PrintChanges\PrintIndex}
%
+%
+% \iffalse
+%<*standard-bbx>
+% \fi
+%
% \section{The Code}
%
% \subsection{\file{philosophy-standard.bbx}}
% \subsubsection{Initial settings}
%
-% \iffalse
-%<*standard-bbx>
-% \fi
-%
+% Biber is the default bibliography processor for \sty{biblatex} since version.
+% The \sty{philosophy} styles could work without Biber but it is required because
+% it offers many intersting functionalities. The \opt{backend=bibtex} or \opt{backend=bibtex8}
+% produce an error message.
% \begin{macrocode}
\RequireBiber[3]
+% \end{macrocode}
+% The styles are base on \sty{standard} \sty{biblatex} default style.
+% \begin{macrocode}
\RequireBibliographyStyle{standard}
-
+% \end{macrocode}
+% A command to get an error message if you use an unknown value
+% for an option.
+% \begin{macrocode}
\def\optionerror#1{%
\ClassError{biblatex-philosophy}
{\MessageBreak**** Unknown value for '#1' option}
{\MessageBreak**** Unknown value for '#1' option}}
% \end{macrocode}
-% Load the localization modules:
+% The \sty{philosophy} styles
+% redefine some localized strings in special \file{.lbx} files
+% called localization modules. So we first declare and map them
+% to the associated languages.
% \begin{macrocode}
\DeclareLanguageMapping{italian}{italian-philosophy}
\DeclareLanguageMapping{english}{english-philosophy}
@@ -1271,6 +1286,9 @@
\DeclareLanguageMapping{spanish}{spanish-philosophy}
% \end{macrocode}
% \paragraph{Boolean options}
+% The boolean options can have two value: true or false.
+% Giving the options without the value is just like giving
+% \opt{<option>=true.}
% \begin{macrocode}
\newtoggle{bbx:annotation}
\newtoggle{bbx:library}
@@ -1291,10 +1309,12 @@
\DeclareBibliographyOption{shorthandintro}[true]{%
\settoggle{cbx:shorthandintro}{#1}}
% \end{macrocode}
-% \paragraph{Multi-value options}
-% The new \opt{scauthors} option is now multi-value and defaults to \opt{all}.
+% \paragraph{Multi-value options}
+% Also the multi-value options have a default value, which is declare
+% in the optional argumento of the commands below, between brackets.
+% For example, the new \opt{scauthors} option is now multi-value and defaults to \opt{all}.
% So \opt{scauthors=all} is the same of \opt{scauthors}. In this way this option
-% works exactly like the old \opt{scauthors} boolean option.
+% works exactly like the old \opt{scauthors} boolean option that has been erased.
% \begin{macrocode}
\newcommand{\bbx at publocformat}{}
\newcommand{\bbx at volnumformat}{}
@@ -1331,7 +1351,8 @@
\DeclareBibliographyOption{scauthorscite}[true]{%
\settoggle{cbx:scauthorscite}{#1}}
% \end{macrocode}
-% Execute default options.
+% Execute default options. Some options do not need to be executed.
+% At the moment I do no why.
% \begin{macrocode}
\ExecuteBibliographyOptions{%
% lowscauthors = false,
@@ -1365,6 +1386,10 @@
% \begin{macrocode}
\newcounter{maxnamesincross}
\newcounter{minnamesincross}
+% \end{macrocode}
+% The \opt{scauthors} and \opt{lowscauthors} options need to be executed
+% at the beginning of the document.
+% \begin{macrocode}
\AtBeginDocument{%
\ifdefstring{\bbx at scauthors}{all}
{%
@@ -1390,6 +1415,10 @@
% \toggletrue{cbx:scauthorscite}}%
%{}
}
+% \end{macrocode}
+% With the \opt{scauthors=cite} option all the citations are printed in small caps.
+% Anyway we do not like small caps inside the bibliography so we deactivate this option at the beginning of the bibliography.
+% \begin{macrocode}
\AtBeginBibliography{\togglefalse{cbx:scauthorscite}}%
% \renewcommand*{\mkbibnamefamily}[1]{\iftoggle{bbx:scauthorsbib}{\mkbibsc{#1}}{#1}}%
% \renewcommand*{\mkbibnamegiven}[1]{\iftoggle{bbx:scauthorsbib}{\mkbibsc{#1}}{#1}}%
@@ -1399,8 +1428,8 @@
%
% \subsubsection{New commands}
%
-% We redefine some internal commands and define the new \cmd{volnumpunct} command to separate
-% volume and number in \bibtype{article} entries.
+% We redefine some internal commands. The new \cmd{volnumpunct} command is provided
+% to separate volume and number in \bibtype{article} entries.
% \begin{macrocode}
\renewcommand*{\newunitpunct}{\addcomma\space}
\renewcommand*{\subtitlepunct}{\addperiod\space}
@@ -1424,6 +1453,9 @@
\blx at setsfcodes
\blx at postpunct[#1\blx at postpunct]\midsentence%
\endgroup}
+% \end{macrocode}
+% The font of the \bibfield{annotation}, \bibfield{library} and \bibfield{edition} fields.
+% \begin{macrocode}
\newcommand*{\annotationfont}{\footnotesize}
\newcommand*{\libraryfont}{}
\newcommand*{\editionfont}{%
@@ -1441,7 +1473,7 @@
%
% \subsubsection{Names format}
%
-% The \cmd{renewcommands*}s are declared inside \texttt{sortname}
+% The font switching is declared inside \texttt{sortname}
% because the \opt{scauthors=bib} option has to be active only for the
% names at the beginning of the entry.
% \begin{macrocode}
@@ -1483,39 +1515,6 @@
{\namepartsuffix}}}%
\usebibmacro{name:andothers}}%
% \end{macrocode}
-% The \texttt{labelname} format is redefined in order to have also the name hyperlinked
-% through the \cmd{bibhyperref} command. This should be omitted for \sty{philosophy-verbose} but
-% it is introduced for consistency.
-% \begin{macrocode}
-\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}}}
-% \end{macrocode}
% \subsubsection{Fields format}
% \begin{macrocode}
\DeclareFieldFormat[bookinbook,thesis]{title}{\mkbibemph{#1}}
@@ -3034,6 +3033,38 @@
\setcounter{maxnamesincross}{\value{maxnames}}%
\setcounter{minnamesincross}{\value{minnames}}%
}%
+% \end{macrocode}
+% The \texttt{labelname} format is redefined in order to have also the name hyperlinked
+% through the \cmd{bibhyperref} command.
+% \begin{macrocode}
+\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}}}
\AtEveryBibitem{%
\iffieldequalstr{entrysubtype}{classic}{%
@@ -3720,7 +3751,6 @@
\usebibmacro{pageref}%
\usebibmacro{finentry}}
-
\DeclareBibliographyDriver{manual}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
@@ -3928,14 +3958,14 @@
% \end{macrocode}
% \paragraph{Name formats}
% \begin{macrocode}
- \renewcommand*{\mkbibnamefamily}[1]{%
- \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}%
- \renewcommand*{\mkbibnamegiven}[1]{%
- \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}%
- \renewcommand*{\mkbibnameprefix}[1]{%
- \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}%
- \renewcommand*{\mkbibnamesuffix}[1]{%
- \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}%
+% \renewcommand*{\mkbibnamefamily}[1]{%
+% \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}%
+% \renewcommand*{\mkbibnamegiven}[1]{%
+% \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}%
+% \renewcommand*{\mkbibnameprefix}[1]{%
+% \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}%
+% \renewcommand*{\mkbibnamesuffix}[1]{%
+% \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}%
\renewbibmacro*{name:andothers}{%
\ifboolexpr{%
test {\ifnumequal{\value{listcount}}{\value{liststop}}}%
@@ -3958,62 +3988,67 @@
{}%
\andmoredelim\bibstring[\mkibid]{andmore}}%
{}}%
-%\iftoggle{cbx:scauthorscite}{%
-%\DeclareNameFormat{labelname}{%
-%\iffootnote{%
-% \let\mkbibnamefamily\mkbibsc%
-% \let\mkbibnamegiven\mkbibsc%
-% \let\mkbibnameprefix\mkbibsc%
-% \let\mkbibnamesuffix\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}}%
-% }{}
+% \end{macrocode}
+% The \texttt{labelname} format is redefined only if \opt{scauthors=cite} or \opt{scauthors=all} is given.
+% \begin{macrocode}
+\DeclareNameFormat{labelname}{%
+\iftoggle{cbx:scauthorscite}{%
+ \iffootnote{%
+ \let\mkbibnamefamily\mkbibsc%
+ \let\mkbibnamegiven\mkbibsc%
+ \let\mkbibnameprefix\mkbibsc%
+ \let\mkbibnamesuffix\mkbibsc}{}}{}%
+ \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}}}%
}%
-%\DeclareNameFormat{scdefault}{%
-%\iffootnote{%
-% \let\mkbibnamefamily\mkbibsc%
-% \let\mkbibnamegiven\mkbibsc%
-% \let\mkbibnameprefix\mkbibsc%
-% \let\mkbibnamesuffix\mkbibsc}{}%
-% \nameparts{#1}%
-% \ifgiveninits
-% {\usebibmacro{name:given-family}%
-% {\namepartfamily}%
-% {\namepartgiveni}%
-% {\namepartprefix}%
-% {\namepartsuffix}}%
-% {\usebibmacro{name:given-family}%
-% {\namepartfamily}%
-% {\namepartgiven}%
-% {\namepartprefix}%
-% {\namepartsuffix}}%
-% \usebibmacro{name:andothers}}%
% \end{macrocode}
+% The \texttt{scdefauld} name format is used in the \texttt{cite:full} macro below to controll the small caps in the first citation of an antry (full citation).
+% \begin{macrocode}
+\DeclareNameFormat{scdefault}{%
+\iffootnote{%
+ \let\mkbibnamefamily\mkbibsc%
+ \let\mkbibnamegiven\mkbibsc%
+ \let\mkbibnameprefix\mkbibsc%
+ \let\mkbibnamesuffix\mkbibsc}{}%
+ \nameparts{#1}%
+ \ifgiveninits
+ {\usebibmacro{name:given-family}%
+ {\namepartfamily}%
+ {\namepartgiveni}%
+ {\namepartprefix}%
+ {\namepartsuffix}}%
+ {\usebibmacro{name:given-family}%
+ {\namepartfamily}%
+ {\namepartgiven}%
+ {\namepartprefix}%
+ {\namepartsuffix}}%
+ \usebibmacro{name:andothers}}%
+% \end{macrocode}
% \subsubsection{New macros}
% \begin{macrocode}
\newbibmacro*{cite:opcit}{%
@@ -4046,15 +4081,13 @@
\global\toggletrue{cbx:fullcite}%
\printtext[bibhypertarget]{%
\usedriver
-% {\iftoggle{cbx:scauthorscite}{%
-% \DeclareNameAlias{sortname}{scdefault}}%
-% {\DeclareNameAlias{sortname}{default}}}%
- {\DeclareNameAlias{sortname}{default}}%
+ {\iftoggle{cbx:scauthorscite}{%
+ \DeclareNameAlias{sortname}{scdefault}}%
+ {\DeclareNameAlias{sortname}{default}}}%
{\thefield{entrytype}}}%
\usebibmacro{shorthandintro}}%
{\usebibmacro{cite:shorthand}}}
-
\renewbibmacro*{cite:idem}{%
\iftoggle{cbx:scauthorscite}{%
\bibstring[\mkbibsc]{idem\thefield{gender}}}{%
@@ -4086,10 +4119,9 @@
\DeclareCiteCommand{\fullcite}
{\usebibmacro{prenote}}
{\usedriver
-% {\iftoggle{cbx:scauthorscite}%
-% {\DeclareNameAlias{sortname}{scdefault}}%
-% {\DeclareNameAlias{sortname}{default}}}%
- {\DeclareNameAlias{sortname}{default}}%
+ {\iftoggle{cbx:scauthorscite}%
+ {\DeclareNameAlias{sortname}{scdefault}}%
+ {\DeclareNameAlias{sortname}{default}}}%
{\thefield{entrytype}}}
{\multicitedelim}
{\usebibmacro{postnote}}
@@ -4114,19 +4146,19 @@
citetracker = true,
}
+%\AtEveryCite{%
+%\renewcommand*{\mkbibnamefamily}[1]{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}%
+%\renewcommand*{\mkbibnamegiven}[1]{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}%
+%\renewcommand*{\mkbibnameprefix}[1]{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}%
+%\renewcommand*{\mkbibnamesuffix}[1]{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}%
+%}
\AtEveryCite{%
-\renewcommand*{\mkbibnamefamily}[1]{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}%
-\renewcommand*{\mkbibnamegiven}[1]{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}%
-\renewcommand*{\mkbibnameprefix}[1]{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}%
-\renewcommand*{\mkbibnamesuffix}[1]{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}%
-}
-%\AtEveryCite{%
-% \iftoggle{cbx:scauthorscite}%
-% {\let\mkbibnamefamily\mkbibsc%
-% \let\mkbibnamegiven\mkbibsc%
-% \let\mkbibnameprefix\mkbibsc%
-% \let\mkbibnamesuffix\mkbibsc}%
-% {}}%
+ \iftoggle{cbx:scauthorscite}%
+ {\let\mkbibnamefamily\mkbibsc%
+ \let\mkbibnamegiven\mkbibsc%
+ \let\mkbibnameprefix\mkbibsc%
+ \let\mkbibnamesuffix\mkbibsc}%
+ {}}%
\newcommand{\switchclass}[2]{%
\iffieldequalstr{entrysubtype}{classic}%
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/english-philosophy.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/english-philosophy.lbx 2017-03-17 21:35:40 UTC (rev 43527)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/english-philosophy.lbx 2017-03-17 21:35:52 UTC (rev 43528)
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{english-philosophy.lbx}
-[2017/03/14 v1.9.2 A set of styles for biblatex]
+[2017/03/17 v1.9.3 A set of styles for biblatex]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/italian-philosophy.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/italian-philosophy.lbx 2017-03-17 21:35:40 UTC (rev 43527)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/italian-philosophy.lbx 2017-03-17 21:35:52 UTC (rev 43528)
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{italian-philosophy.lbx}
-[2017/03/14 v1.9.2 A set of styles for biblatex]
+[2017/03/17 v1.9.3 A set of styles for biblatex]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx 2017-03-17 21:35:40 UTC (rev 43527)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx 2017-03-17 21:35:52 UTC (rev 43528)
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-classic.bbx}
-[2017/03/14 v1.9.2 A set of styles for biblatex]
+[2017/03/17 v1.9.3 A set of styles for biblatex]
@@ -107,6 +107,34 @@
\setcounter{maxnamesincross}{\value{maxnames}}%
\setcounter{minnamesincross}{\value{minnames}}%
}%
+\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}}}
\AtEveryBibitem{%
\iffieldequalstr{entrysubtype}{classic}{%
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx 2017-03-17 21:35:40 UTC (rev 43527)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx 2017-03-17 21:35:52 UTC (rev 43528)
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-classic.cbx}
-[2017/03/14 v1.9.2 A set of styles for biblatex]
+[2017/03/17 v1.9.3 A set of styles for biblatex]
@@ -24,11 +24,12 @@
}
\AtEveryCite{%
-\renewcommand*{\mkbibnamefamily}[1]{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}%
-\renewcommand*{\mkbibnamegiven}[1]{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}%
-\renewcommand*{\mkbibnameprefix}[1]{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}%
-\renewcommand*{\mkbibnamesuffix}[1]{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}%
-}
+ \iftoggle{cbx:scauthorscite}%
+ {\let\mkbibnamefamily\mkbibsc%
+ \let\mkbibnamegiven\mkbibsc%
+ \let\mkbibnameprefix\mkbibsc%
+ \let\mkbibnamesuffix\mkbibsc}%
+ {}}%
\newcommand{\switchclass}[2]{%
\iffieldequalstr{entrysubtype}{classic}%
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx 2017-03-17 21:35:40 UTC (rev 43527)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx 2017-03-17 21:35:52 UTC (rev 43528)
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-modern.bbx}
-[2017/03/14 v1.9.2 A set of styles for biblatex]
+[2017/03/17 v1.9.3 A set of styles for biblatex]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.cbx 2017-03-17 21:35:40 UTC (rev 43527)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.cbx 2017-03-17 21:35:52 UTC (rev 43528)
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-modern.cbx}
-[2017/03/14 v1.9.2 A set of styles for biblatex]
+[2017/03/17 v1.9.3 A set of styles for biblatex]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx 2017-03-17 21:35:40 UTC (rev 43527)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx 2017-03-17 21:35:52 UTC (rev 43528)
@@ -13,13 +13,12 @@
%% License information appended
%%
\ProvidesFile{philosophy-standard.bbx}
-[2017/03/14 v1.9.2 A set of styles for biblatex]
+[2017/03/17 v1.9.3 A set of styles for biblatex]
\RequireBiber[3]
\RequireBibliographyStyle{standard}
-
\def\optionerror#1{%
\ClassError{biblatex-philosophy}
{\MessageBreak**** Unknown value for '#1' option}
@@ -183,34 +182,6 @@
{\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}{\bibcplstring{reviewof}\addspace#1}
\DeclareFieldFormat[review]{citetitle}{\bibcplstring{reviewof}\addspace#1}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx 2017-03-17 21:35:40 UTC (rev 43527)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx 2017-03-17 21:35:52 UTC (rev 43528)
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-verbose.bbx}
-[2017/03/14 v1.9.2 A set of styles for biblatex]
+[2017/03/17 v1.9.3 A set of styles for biblatex]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx 2017-03-17 21:35:40 UTC (rev 43527)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx 2017-03-17 21:35:52 UTC (rev 43528)
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-verbose.cbx}
-[2017/03/14 v1.9.2 A set of styles for biblatex]
+[2017/03/17 v1.9.3 A set of styles for biblatex]
@@ -35,14 +35,6 @@
\renewcommand*{\mkibid}{\iftoggle{cbx:latinemph}{\emph}{}}
\AtEveryCite{%
\togglefalse{bbx:annotation}%
- \renewcommand*{\mkbibnamefamily}[1]{%
- \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}%
- \renewcommand*{\mkbibnamegiven}[1]{%
- \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}%
- \renewcommand*{\mkbibnameprefix}[1]{%
- \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}%
- \renewcommand*{\mkbibnamesuffix}[1]{%
- \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}%
\renewbibmacro*{name:andothers}{%
\ifboolexpr{%
test {\ifnumequal{\value{listcount}}{\value{liststop}}}%
@@ -65,7 +57,60 @@
{}%
\andmoredelim\bibstring[\mkibid]{andmore}}%
{}}%
+\DeclareNameFormat{labelname}{%
+\iftoggle{cbx:scauthorscite}{%
+ \iffootnote{%
+ \let\mkbibnamefamily\mkbibsc%
+ \let\mkbibnamegiven\mkbibsc%
+ \let\mkbibnameprefix\mkbibsc%
+ \let\mkbibnamesuffix\mkbibsc}{}}{}%
+ \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}}}%
}%
+\DeclareNameFormat{scdefault}{%
+\iffootnote{%
+ \let\mkbibnamefamily\mkbibsc%
+ \let\mkbibnamegiven\mkbibsc%
+ \let\mkbibnameprefix\mkbibsc%
+ \let\mkbibnamesuffix\mkbibsc}{}%
+ \nameparts{#1}%
+ \ifgiveninits
+ {\usebibmacro{name:given-family}%
+ {\namepartfamily}%
+ {\namepartgiveni}%
+ {\namepartprefix}%
+ {\namepartsuffix}}%
+ {\usebibmacro{name:given-family}%
+ {\namepartfamily}%
+ {\namepartgiven}%
+ {\namepartprefix}%
+ {\namepartsuffix}}%
+ \usebibmacro{name:andothers}}%
\newbibmacro*{cite:opcit}{%
\printtext[bibhyperlink]{\bibstring[\mkibid]{opcited}}}
@@ -96,7 +141,9 @@
\global\toggletrue{cbx:fullcite}%
\printtext[bibhypertarget]{%
\usedriver
- {\DeclareNameAlias{sortname}{default}}%
+ {\iftoggle{cbx:scauthorscite}{%
+ \DeclareNameAlias{sortname}{scdefault}}%
+ {\DeclareNameAlias{sortname}{default}}}%
{\thefield{entrytype}}}%
\usebibmacro{shorthandintro}}%
{\usebibmacro{cite:shorthand}}}
@@ -129,7 +176,9 @@
\DeclareCiteCommand{\fullcite}
{\usebibmacro{prenote}}
{\usedriver
- {\DeclareNameAlias{sortname}{default}}%
+ {\iftoggle{cbx:scauthorscite}%
+ {\DeclareNameAlias{sortname}{scdefault}}%
+ {\DeclareNameAlias{sortname}{default}}}%
{\thefield{entrytype}}}
{\multicitedelim}
{\usebibmacro{postnote}}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/spanish-philosophy.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/spanish-philosophy.lbx 2017-03-17 21:35:40 UTC (rev 43527)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-philosophy/spanish-philosophy.lbx 2017-03-17 21:35:52 UTC (rev 43528)
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{spanish-philosophy.lbx}
-[2017/03/14 v1.9.2 A set of styles for biblatex]
+[2017/03/17 v1.9.3 A set of styles for biblatex]
More information about the tex-live-commits
mailing list