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.bbx98
1 files changed, 61 insertions, 37 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 4b77e146a71..c68f0a0ec4f 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}
- [2013/04/13 v0.8e valbusa beta]
+ [2013/06/20 v0.8f valbusa beta]
\RequireBiber[2]
@@ -90,24 +90,22 @@
\AtBeginBibliography{%
\iftoggle{bbx:scauthorsbib}{%
\DeclareNameFormat{sortname}{%
+\renewcommand{\mkbibnamefirst}{\textsc}%
+\renewcommand{\mkbibnamelast}{\textsc}%
+\renewcommand{\mkbibnameprefix}{\textsc}%
+\renewcommand{\mkbibnameaffix}{\textsc}%
\ifnumequal{\value{listcount}}{1}
{\iffirstinits
- {\usebibmacro{name:last-first}{\textsc{#1}}{\textsc{#4}}{\textsc{#5}}%
- {\textsc{#7}}}%MOD
- {\ifblank{#3}{\usebibmacro{name:last-first}{\textsc{#1}\nopunct}%
- {\textsc{#3}}{\textsc{#5}}{\textsc{#7}}}
- {\usebibmacro{name:last-first}{\textsc{#1}}{\textsc{#3}}{\textsc{#5}}%
- {\textsc{#7}}}}%
+ {\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}
+ {\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}%
\ifblank{#3#5}
{}
{\usebibmacro{name:revsdelim}}}
{\iffirstinits
- {\usebibmacro{name:first-last}{\textsc{#1}}{\textsc{#4}}{\textsc{#5}}%
- {\textsc{#7}}}
- {\usebibmacro{name:first-last}{\textsc{#1}}{\textsc{#3}}{\textsc{#5}}%
- {\textsc{#7}}}}%
+ {\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}}
+ {\usebibmacro{name:first-last}{#1}{#3}{#5}{#7}}}%
\usebibmacro{name:andothers}}}%
-{}}%
+ {}}%
\AtBeginDocument{%
\iftoggle{bbx:scauthors}{%
@@ -253,7 +251,7 @@
\iffieldundef{reprinttitle}%
{\printtext{\ifdefstring{\bbx@origfields}{origed}
{\bibstring{origed}}%
-{\bibstring{transtolang}}}\nopunct}%
+{\bibstring{translationas}}}\nopunct}%
{\printtext{\bibstring{reprint}}}\nopunct}
\newbibmacro*{origtitle:book}{%
@@ -272,7 +270,7 @@
\usebibmacro{origpublisher+origlocation+origdate}}
\newbibmacro*{origdata:book}{%
- \ifboolexpr{
+ \ifboolexpr{%
test {\iffieldundef{origtitle}}
and
test {\iffieldundef{origlocation}}
@@ -427,11 +425,11 @@
\renewbibmacro*{event+venue+date}{%v0.8
\printfield{eventtitle}%
- \ifboolexpr{
+ \ifboolexpr{%
test {\iffieldundef{venue}}
and
test {\iffieldundef{eventyear}}
- }
+ }%
{}
{\setunit*{\addspace}%
\printtext{%
@@ -797,11 +795,6 @@
\newunit\newblock
\printfield{edition}%
\newunit
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}%
@@ -809,6 +802,11 @@
\printfield{note}%
\newunit\newblock
\usebibmacro{publisher+location+date}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit\newblock
@@ -853,11 +851,6 @@
\newunit\newblock
\printfield{edition}%
\newunit
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}%
@@ -867,6 +860,11 @@
\usebibmacro{publisher+location+date}%
\newunit\newblock
\usebibmacro{chapter+pages}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
\newunit\newblock
\iftoggle{bbx:isbn}
{\printfield{isbn}}
@@ -908,11 +906,6 @@
\usebibmacro{event+venue+date}%
\newunit\newblock
\usebibmacro{byeditor+others}%
- \newunit\newblock
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
\newunit
\printfield{volumes}%
\newunit\newblock
@@ -924,6 +917,11 @@
\newunit
\usebibmacro{publisher+location+date}%
\newunit\newblock
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit\newblock
\usebibmacro{chapter+pages}%
\newunit\newblock
\iftoggle{bbx:isbn}
@@ -1262,6 +1260,11 @@
by the 'biblatex-philosophy' styles.\MessageBreak
All the @set entries will be ignored}}
+\renewbibmacro*{bybookauthor}{%
+ \ifnamesequal{author}{bookauthor}%
+ {}%
+ {\printnames[default]{bookauthor}}}
+
\newbibmacro*{cross:maintitle+booktitle}{%
\iffieldundef{volume}
{}%
@@ -1322,16 +1325,18 @@
\DeclareFieldFormat[jurisdiction]{number}{\bibsstring{number}~{#1}}
\DeclareFieldFormat[jurisdiction]{nameaddon}{%
\ifinteger{#1}{\bibcpsstring{section}~\RN{#1}}{#1}}
-\DeclareFieldFormat[jurisdiction]{pages}{#1}
+\DeclareFieldFormat[jurisdiction]{pages}{%
+ \iffieldundef{bookpagination}{#1}{\mkpageprefix[bookpagination]{#1}}}
\DeclareFieldFormat[jurisdiction]{title}{%
\iffieldequalstr{entrysubtype}{international}{\emph{#1}}{#1}}
+\DeclareFieldFormat[jurisdiction]{notacomm}{nt\adddotspace#1} % \end{macrocode}
\newbibmacro*{juris:author}{%
\DeclareNameAlias{sortname}{default}%
- \ifboolexpr{
+ \ifboolexpr{%
test \ifuseauthor
and
not test {\ifnameundef{author}}
- }
+ }%
{%
\iffieldequalstr{type}{conclusions}{%
\printtext{Conclusioni dell'Avv\adddotspace generale}%
@@ -1354,6 +1359,18 @@
}%
\printeventdate}
+\newbibmacro*{addendum+pubstate:juris}{%
+ \printfield{usera}%notacomm
+ \newunit\newblock
+ \printfield{addendum}%
+ \newunit\newblock
+ \printfield{pubstate}%
+ \ifdefstring{\bbx@origfields}{none}{}{%
+ \newunit\newblock
+ \usebibmacro{origdata:article-inbook}}%
+ \newunit\newblock
+ \usebibmacro{library}}
+
\DeclareBibliographyDriver{jurisdiction}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
@@ -1366,6 +1383,7 @@
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
+ \iffieldundef{booktitle}{}{%
\usebibmacro{in:}%
\usebibmacro{maintitle+booktitle}%
\newunit\newblock
@@ -1391,19 +1409,20 @@
\iftoggle{bbx:isbn}
{\printfield{isbn}}
{}%
- \newunit\newblock
+ \newunit\newblock}
\usebibmacro{doi+eprint+url}%
\newunit\newblock
- \usebibmacro{addendum+pubstate:article-inbook-incoll}%
+ \usebibmacro{addendum+pubstate:juris}%
\setunit{\addsemicolon\space}\newblock
\usebibmacro{related}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}}
\DeclareStyleSourcemap{
-\maps{
+\maps[datatype=bibtex]{
\map{
\step[fieldsource=court , fieldtarget=author]
+ \step[fieldsource=notacomm , fieldtarget=usera]
\step[fieldsource=section , fieldtarget=nameaddon]
\step[fieldsource=transtitle , fieldtarget=origtitle]
\step[fieldsource=tranpublisher , fieldtarget=origpublisher]
@@ -1418,6 +1437,11 @@
}
}
\DeclareDataInheritance{*}{*}{\noinherit{annotation}}
+
+\DeclareFieldAlias[jurisdiction]{usera}[jurisdiction]{notacomm}
+\DeclareFieldAlias[jurisdiction]{nameadddon}[jurisdiction]{section}
+\DeclareFieldAlias[jurisdiction]{author}[jurisdiction]{court}
+
%%
%% Copyright 2009-2013 by Ivan Valbusa
%%