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.bbx1675
1 files changed, 1213 insertions, 462 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 df1ffb96318..7214d5a1d06 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
@@ -1,26 +1,28 @@
-% $Id: philosophy-standard.bbx,v 0.8b 2012/05/06 Valbusa$
-% Copyright 2009-2012 Ivan Valbusa. This package is author-maintained.
-% Permission is granted to copy, distribute and/or modify this software under the
-% terms of the LaTeX Project Public License, version 1.3c
-% http://www.ctan.org/tex-archive/macros/latex/base/lppl.txt.
-
-\ProvidesFile{philosophy-standard.bbx}[$Id: philosophy-standard.bbx,v 0.8b 2012/05/06 valbsua beta $]
+%%
+%% This is file `philosophy-standard.bbx',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% biblatex-philosophy.dtx (with options: `standard-bbx')
+%% ______________________________________________________
+%% The biblatex-philosophy package
+%% Copyright (C) 2009-2013 Ivan Valbusa
+%% All rights reserved
+%%
+%% License information appended
+%%
+\ProvidesFile{philosophy-standard.bbx}
+ [2013/03/15 v0.8c valbusa beta]
\RequireBibliographyStyle{standard}
-
\DeclareLanguageMapping{italian}{italian-philosophy}
\DeclareLanguageMapping{english}{english-philosophy}
-
-% boolean options
-
\newtoggle{bbx:annotation}
\newtoggle{bbx:library}
\newtoggle{bbx:scauthors}
\newtoggle{bbx:scauthorsbib}
-\newtoggle{bbx:origparens}
-\newtoggle{bbx:origbrackets}
\newtoggle{bbx:inbeforejournal}
-\newtoggle{bbx:romanvol}
\newtoggle{bbx:classical}
\DeclareBibliographyOption{annotation}[true]{%
@@ -31,20 +33,14 @@
\settoggle{bbx:scauthors}{#1}}
\DeclareBibliographyOption{scauthorsbib}[true]{%
\settoggle{bbx:scauthorsbib}{#1}}
-\DeclareBibliographyOption{origparens}[true]{%
- \settoggle{bbx:origparens}{#1}}
-\DeclareBibliographyOption{origbrackets}[true]{%
- \settoggle{bbx:origbrackets}{#1}}
\DeclareBibliographyOption{inbeforejournal}[true]{%
- \settoggle{bbx:inbeforejournal}{#1}}
+ \settoggle{bbx:inbeforejournal}{#1}}
\DeclareBibliographyOption{classical}[true]{%
- \settoggle{bbx:classical}{#1}}
-
-% multi value options
+ \settoggle{bbx:classical}{#1}}
\newcommand{\bbx@publocformat}{}
\newcommand{\bbx@volnumformat}{}
-\newcommand{\bbx@origfieldsformat}{}
+\newcommand{\bbx@relatedformat}{}
\newcommand{\bbx@origfields}{}
\newcommand{\bbx@editionformat}{}
\newcommand{\bbx@volumeformat}{}
@@ -54,7 +50,9 @@
\DeclareBibliographyOption{volnumformat}[plain]{%
\renewcommand{\bbx@volnumformat}{#1}}
\DeclareBibliographyOption{origfieldsformat}[semicolon]{%
- \renewcommand{\bbx@origfieldsformat}{#1}}
+ \renewcommand{\bbx@relatedformat}{#1}}
+\DeclareBibliographyOption{relatedformat}[semicolon]{%
+ \renewcommand{\bbx@relatedformat}{#1}}
\DeclareBibliographyOption{origfields}[true]{%
\renewcommand{\bbx@origfields}{#1}}
\DeclareBibliographyOption{editionformat}[arabic]{%
@@ -65,507 +63,567 @@
\DeclareEntryOption{origed}[true]{%
\renewcommand{\bbx@origfields}{origed}}
-% Execute options
-
\ExecuteBibliographyOptions{%
- publocformat = publocyear,
- annotation = false,
- library = true,
- scauthors = false,
- scauthorsbib = false,
- origfieldsformat= semicolon,
- inbeforejournal = false,
- volnumformat = plain,
- editionformat = arabic,
- volumeformat = arabic,
- maxcitenames = 2,
- mincitenames = 1,
- maxbibnames = 999,
- minbibnames = 999,
- classical = false,
- }
-% AT BEGIN SHORTHANDS
-%****************************************
-\AtBeginShorthands{\togglefalse{bbx:annotation}}
-% AT BEGIN BILIOGRAPHY
-%****************************************
+ publocformat = publocyear,
+ annotation = false,
+ library = true,
+ scauthors = false,
+ scauthorsbib = false,
+ origfieldsformat = semicolon,
+ inbeforejournal = false,
+ volnumformat = plain,
+ editionformat = arabic,
+ volumeformat = arabic,
+ classical = false,
+ useprefix = true,
+ maxcitenames = 2,
+ mincitenames = 1,
+ maxbibnames = 999,
+ minbibnames = 999}
+\newcounter{maxnamesincross}
+\newcounter{minnamesincross}
+
+\AtBeginShorthands{
+ \togglefalse{bbx:annotation}
+ \DeclareCiteCommand{\bbx@crossref@inbook}
+ {}%
+ {\iffieldundef{shorthand}%
+ {\usebibmacro{inbook:full}}%
+ {\usebibmacro{cite:shorthand}}}%
+ {}%
+ {}%
+\DeclareCiteCommand{\bbx@crossref@incollection}
+ {}%
+ {\iffieldundef{shorthand}%
+ {\usebibmacro{incollection:full}}%
+ {\usebibmacro{cite:shorthand}}}%
+ {}%
+ {}%
+}
\AtBeginBibliography{%
-% SMALL CAPS AUTHORS NAME
\iftoggle{bbx:scauthorsbib}{%
\DeclareNameFormat{sortname}{%
\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}{\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}}}}%
\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:andothers}}
-}{}%
-}
-% AT BEGIN DOCUMENT
-%****************************************
-\AtBeginDocument{%
-\iftoggle{bbx:origbrackets}{\toggletrue{bbx:origparens}
-\renewcommand{\origleftparen}{\bibleftbracket}
-\renewcommand{\origrightparen}{\bibrightbracket}}%
-{}%
- \iftoggle{bbx:scauthors}
- {\toggletrue{bbx:scauthorsbib}\toggletrue{cbx:scauthorscite}}%
- {}%
-}
-
-% FIELDS FORMAT
-%*****************************************
-
-% new commands
-%---------------------------------------------
-\newcommand*{\pureopenparen}{\blx@postpunct(}
-\newcommand*{\purecloseparen}{\blx@postpunct)\midsentence}
+ {\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: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]{%
\begingroup
\blx@blxinit
\blx@setsfcodes
- \pureopenparen#1\purecloseparen
+ \blx@postpunct(#1\blx@postpunct)\midsentence%
\endgroup}
-
-% Definisco ora alcuni comandi che servono per il formato dei campi.
-\newcommand{\annotationfont}{\footnotesize}
-\newcommand{\libraryfont}{}
-
-% Nuovi comandi per avere la traduzione tra parentesi
-\newcommand{\origleftparen}{\pureopenparen}
-\newcommand{\origrightparen}{\purecloseparen}
-\newcommand{\origleftbracket}{\bibleftbracket}
-\newcommand{\origrightbracket}{\bibrightbracket}
-\newcommand{\backrefleftparen}{\pureopenparen}
-\newcommand{\backrefrightparen}{\purecloseparen}
-\newcommand{\backrefparens}[1]{\backrefleftparen#1\backrefrightparen}
-
-\renewcommand*{\newunitpunct}{\addcomma\space}
-\renewcommand*{\subtitlepunct}{\addperiod\space}
-\renewcommand*{\intitlepunct}{\nopunct\addspace}
-\newcommand*{\volnumpunct}{\addcomma\space}
-
-\newcommand*{\volumfont}{%
- \ifdefstring{\bbx@volumeformat}{romanupp}
- {\uppercase}%
- {\ifdefstring{\bbx@volumeformat}{romansc}
- {\scshape}%
- {}}% roman lowercase
-}
-
+\renewbibmacro*{citeindex}{%
+\ifciteindex{\indexnames{labelname}}{}}
+\renewbibmacro*{bibindex}{%
+\ifbibindex{\indexnames{author}%
+\indexnames{editor}%
+\indexnames{editora}%
+\indexnames{editorb}%
+\indexnames{editorc}}%
+{}}%
+\newcommand*{\annotationfont}{\footnotesize}
+\newcommand*{\libraryfont}{}
\newcommand*{\editionfont}{%
\ifdefstring{\bbx@editionformat}{romanupp}
{\uppercase}%
{\ifdefstring{\bbx@editionformat}{romansc}
{\scshape}%
- {}}% roman lowercase
+ {\relax}}%
}%
-
-% font for volume
-\newrobustcmd*{\volfnt}[1]{%
- \begingroup
- \expandafter\volumfont
- \expandafter{\romannumeral#1}%
- \endgroup}
-
-% font for edition number
\newrobustcmd*{\edfnt}[1]{%
\begingroup
\expandafter\editionfont
\expandafter{\romannumeral#1}%
\endgroup}
-
-
-% fields format
-%----------------------------------------------
-% TITLE
-\DeclareFieldFormat[bookinbook]{title}{\mkbibemph{#1}}
-\DeclareFieldFormat[thesis]{title}{\mkbibemph{#1}}
-\DeclareFieldFormat[review]{title}{\bibstring{reviewof}\addspace{#1}}
-\DeclareFieldFormat[review]{volume}{%
- \ifdefstring{\bbx@volnumformat}{strings}{%
- \bibstring{volume}\addnbspace\ifdefstring{\bbx@volumeformat}{arabic}{#1}{\volfnt{#1}}}{\ifdefstring{\bbx@volumeformat}{arabic}{#1}{\volfnt{#1}}}}
-\DeclareFieldFormat[inreference]{title}{\mkbibquote{#1}}
-% CITETITLE
-\DeclareFieldFormat[bookinbook]{citetitle}{\mkbibemph{#1}}
-\DeclareFieldFormat[thesis]{citetitle}{\mkbibemph{#1}}
-% ORIGTITLE
+\DeclareFieldFormat[bookinbook,thesis]{title}{\mkbibemph{#1}}
+\DeclareFieldFormat[review]{title}{\bibstring{reviewof}\addspace#1}
+\DeclareFieldFormat[inreference,article]{title}{\mkbibquote{#1}}
+\DeclareFieldFormat[bookinbook,thesis]{citetitle}{\mkbibemph{#1}}
\DeclareFieldFormat{origtitle}{\mkbibemph{#1}}
\DeclareFieldFormat[article]{origtitle}{\mkbibquote{#1}}
-% USERA
\DeclareFieldFormat{usera}{\mkbibemph{#1}}
-%\DeclareFieldFormat[article]{usera}{\mkbibquote{#1}}
-\DeclareFieldFormat[bookinbook]{usera}{\mkbibemph{#1}}
-\DeclareFieldFormat[inbook]{usera}{\mkbibemph{#1}}
+\DeclareFieldFormat[bookinbook,inbook]{usera}{\mkbibemph{#1}}
\DeclareFieldFormat[incollection]{usera}{\mkbibquote{#1}}
-% USERC
-\DeclareFieldFormat{userc}{\mkpageprefix[bookpagination]{#1}}
-% URL
+\DeclareFieldFormat{userc}{\mkpageprefix[bookpagination]{#1}}
\DeclareFieldFormat{url}{\url{#1}}
-% EDITION
-\DeclareFieldFormat{edition}{%
- \ifinteger{#1}
- {\ifdefstring{\bbx@editionformat}{arabic}
- {\mkbibordedition{#1}~\bibstring{edition}}
- {\edfnt{#1}~\bibstring{edition}}}%
- {#1\isdot}}
-% ANNOTATION LIBRARY
\DeclareFieldFormat{annotation}{\annotationfont #1}
\DeclareFieldFormat{library}{\libraryfont #1}
-% PARENS
\DeclareFieldFormat{backrefparens}{\mkpureparens{#1}}
\DeclareFieldFormat{pureparens}{\mkpureparens{#1}}
-% NUMBER
+\DeclareFieldFormat{volume}{%
+ \bibstring{volume}~%
+ \ifinteger{#1}{%
+ \ifdefstring{\bbx@volumeformat}{arabic}%
+ {#1}%
+ {\ifdefstring{\bbx@volumeformat}{romanupp}%
+ {\RN{#1}}%
+ {\ifdefstring{\bbx@volumeformat}{romansc}%
+ {\textsc{\Rn{#1}}}%
+ {#1}}}}{#1}}
\DeclareFieldFormat{number}{%
\ifdefstring{\bbx@volnumformat}{strings}{%
- \bibstring{number}\adddotspace #1}{#1}}% number in a series
-\DeclareFieldFormat[article]{number}{%
- \ifdefstring{\bbx@volnumformat}{strings}{%
- \bibstring{number}\adddotspace #1}{#1}}% number in a series
-% VOLUME
-\DeclareFieldFormat{volume}{\bibstring{volume}~\ifdefstring{\bbx@volumeformat}{arabic}{#1}{\volfnt{#1}}}% volume of a book
-\DeclareFieldFormat[article]{volume}{%
- \ifdefstring{\bbx@volnumformat}{strings}{%
- \bibstring{volume}\addnbspace\ifdefstring{\bbx@volumeformat}{arabic}{#1}{\volfnt{#1}}}{\ifdefstring{\bbx@volumeformat}{arabic}{#1}{\volfnt{#1}}}}
-% SERIES
+ \bibstring{number}~#1}{#1}}
\DeclareFieldFormat{series}{%
\ifinteger{#1}
{\mkbibordseries{#1}~\bibstring{jourser}}
{\ifbibstring{#1}{\bibstring{#1}}{#1}}}
-
-% NEW MACROS
-%***********************************************
-\renewbibmacro*{citeindex}{%
-\ifciteindex{\indexnames{labelname}}{}}
-\renewbibmacro*{bibindex}{%
-\ifbibindex{\indexnames{author}%
-\indexnames{editor}%
-\indexnames{editora}%
-\indexnames{editorb}%
-\indexnames{editorc}}%
-{}}%
-
-\renewbibmacro*{pageref}{%
- \iflistundef{pageref}
- {}
- {\setunit{\addperiod\space}%
- \printtext[backrefparens]{%
- \ifnumgreater{\value{pageref}}{1}
- {\bibstring{backrefpages}\ppspace}
- {\bibstring{backrefpage}\ppspace}%
- \printlist[pageref][-\value{listtotal}]{pageref}\adddot}\nopunct}}
-
-
-\renewbibmacro*{publisher+location+date}{%
-\ifdefstring{\bbx@publocformat}{loccolonpub}
-{\usebibmacro{loccolonpub}}{\ifdefstring{\bbx@publocformat}{locpubyear}
- {\usebibmacro{locpubyear}}
- {\usebibmacro{publocyear}}}}
-
-\renewbibmacro*{institution+location+date}{%
-\ifdefstring{\bbx@publocformat}{loccolonpub}
-{\usebibmacro{inloccolonpub}}{\ifdefstring{\bbx@publocformat}{locpubyear}
- {\usebibmacro{inlocpubyear}}
- {\usebibmacro{inpublocyear}}}}
-
-\renewbibmacro*{organization+location+date}{%
-\ifdefstring{\bbx@publocformat}{loccolonpub}
-{\usebibmacro{orgloccolonpub}}{\ifdefstring{\bbx@publocformat}{locpubyear}
- {\usebibmacro{orglocpubyear}}
- {\usebibmacro{orgpublocyear}}}}
-
-
-\renewbibmacro*{annotation}{%
-\iftoggle{bbx:library}{%
-\setunit{\addperiod\space}%
- \iffieldundef{library}%
- {\printfield[library]{\bibannotationprefix\thefield{entrykey}.tex}}
- {\printfield{library}}}%
- {}}%
-
-
-\renewbibmacro*{finentry}{%
- \iftoggle{bbx:annotation}%
- {\iffieldundef{annotation}%
- {\finentry}%
- {\setunit{\addperiod\par\nobreak\vspace*{.5ex}}%
- \printtext[annotation]{\printfield{annotation}\finentry\par}}}%
- {\finentry}}
-
-
-
-% ORIGFIELDS
-
-
-% origpublisher+origlocation+origdate
-
+\DeclareFieldFormat{edition}{%
+ \ifinteger{#1}{%
+ \ifdefstring{\bbx@editionformat}{arabic}
+ {\mkbibordedition{#1}~\bibstring{edition}}
+ {\ifdefstring{\bbx@editionformat}{romanupp}%
+ {\RN{#1}~\bibstring{edition}}%
+ {\ifdefstring{\bbx@editionformat}{romansc}%
+ {\textsc{\Rn{#1}}~\bibstring{edition}}%
+ {\mkbibordedition{#1}~\bibstring{edition}}}}}
+ {#1}}%\isdot??
+\DeclareFieldFormat{related:translatedas}{%
+ \ifdefstring{\bbx@relatedformat}{parens}%
+ {\mkpureparens{#1}}%
+ {\ifdefstring{\bbx@relatedformat}{brackets}%
+ {\mkbibbrackets{#1}}%
+ {\printtext{\addsemicolon\space}#1}}}%
\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}{%% ``Publisher, Location Year''
- \iflistundef{origpublisher}%
- {\printlist{origlocation}%
- \setunit*{\addspace}%
- \printorigdate}%
- {\printlist{origpublisher}%
- \setunit*{\addcomma\space}%
- \printlist{origlocation}%
- \setunit*{\addspace}%
- \printorigdate}%
- \newunit}
-\newbibmacro*{origloccolonpub}{%% ``Location: Publisher, Year''
- \iflistundef{origlocation}{}%
- {\printlist{origlocation}}%
- \iflistundef{origpublisher}%
- {\setunit*{\addspace}%
- \printorigdate}%
- {\setunit*{\addcolon\space}%
- \printlist{origpublisher}%
- \setunit*{\addcomma\space}%
- \printorigdate}%
- \newunit}
-\newbibmacro*{origlocpubyear}{%% ``Location, Publisher, Year''
- \iflistundef{origlocation}{}%
- {\printlist{origlocation}}%
- \iflistundef{origpublisher}%
- {\setunit*{\addspace}%
- \printorigdate}%
- {\setunit*{\addcomma\space}%
- \printlist{origpublisher}%
- \setunit*{\addcomma\space}%
- \printorigdate}%
- \newunit}
-
-% reprinttitle
+\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}}}%
-
-% transorigstring
+ \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{transtolang}}}\nopunct}%
- {\printtext{\bibstring{reprint}}}\nopunct}
- %nopunct
- %serve se si ha solo ``origlocation + origdate''
-
-% origtitle:book
+\iffieldundef{reprinttitle}%
+{\printtext{\ifdefstring{\bbx@origfields}{origed}
+{\bibstring{origed}}%
+{\bibstring{transtolang}}}\nopunct}%
+{\printtext{\bibstring{reprint}}}\nopunct}
\newbibmacro*{origtitle:book}{%
\iffieldundef{origtitle}{}{
- \printfield[origtitle]{origtitle}%
- \setunit{\addcomma\space}}
- \iffieldundef{userb}{}{%
- \printfield{userb}}}%
-
-% origtitledata:book
-
-\newbibmacro*{origtitledata:book}{%
- \usebibmacro{transorigstring}%
- \iffieldundef{reprinttitle}%
- {\usebibmacro{origtitle:book}}%
- {\usebibmacro{reprinttitle}}%
- \newunit\newblock
- \usebibmacro{origpublisher+origlocation+origdate}}
-
-% origdata:book
+ \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}{%
- \iffieldundef{origyear}%
- {}%
- {\ifdefstring{\bbx@origfieldsformat}{parens}
- {\printtext[pureparens]{\usebibmacro{origtitledata:book}}}
- {\ifdefstring{\bbx@origfieldsformat}{brackets}
- {\printtext[brackets]{\usebibmacro{origtitledata:book}}}
- {\setunit{\addsemicolon\space}%
- \printtext{\usebibmacro{origtitledata:book}}}}}}
-
-% origtitle:article-inbook-incoll
+ \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{origtitle}{}{%
+ \printfield[origtitle]{origtitle}%
+\setunit{\addcomma\space}}
\iffieldundef{usera}{}{%
- \usebibmacro{in:}%
- \printfield{usera}%
- \setunit{\addcomma\space}}%
- \iffieldundef{userb}{}{%
- \printfield{userb}%
- \newunit}}
-
-% origtitledata:article-inbook-incoll
+\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}}
-
-% origdata:article-inbook
+ \usebibmacro{transorigstring}%
+ \setunit{\addspace}%
+ \usebibmacro{origtitle:article-inbook-incoll}%
+ \usebibmacro{origpublisher+origlocation+origdate}}
\newbibmacro*{origdata:article-inbook}{%
\iflistundef{origlocation}{}{%
- \ifdefstring{\bbx@origfieldsformat}{parens}
- {\printtext[pureparens]{\usebibmacro{origtitledata:article-inbook-incoll}}}
- {\ifdefstring{\bbx@origfieldsformat}{brackets}
- {\printtext[brackets]{\usebibmacro{origtitledata:article-inbook-incoll}}}
- {\setunit{\addsemicolon\space}%
- \printtext{\usebibmacro{origtitledata:article-inbook-incoll}}}}}}
-
-% addendum+pubstate
-
+ \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
- \printfield{pubstate}%
- \ifdefstring{\bbx@origfields}{none}{}{%
- \newunit\newblock
- \usebibmacro{origdata:book}}
- \newunit\newblock
- \usebibmacro{annotation}}
-
-\newbibmacro*{addendum+pubstate:article-book-incoll}{%
- \printfield{addendum}%
- \newunit\newblock
- \printfield{pubstate}%
- \ifdefstring{\bbx@origfields}{none}{}{%
- \newunit\newblock
- \usebibmacro{origdata:article-inbook}}%
- \newunit\newblock
- \usebibmacro{annotation}}
+ \printfield{addendum}%
+ \newunit\newblock
+ \printfield{pubstate}%
+ \ifdefstring{\bbx@origfields}{none}{}{%
+ \newunit\newblock
+ \usebibmacro{origdata:book}}%
+ \newunit\newblock
+ \usebibmacro{library}}
-\renewbibmacro*{series+number}{%
- \printfield{series}%
- \setunit*{\addcomma\space}%
- \printfield{number}%
- \newunit}
-
-% volnum option
-
-\newbibmacro*{volnumdefault}{%
- \printfield{volume}%
- \setunit*{\volnumpunct}%
- \printfield{number}}
+\newbibmacro*{addendum+pubstate:article-inbook-incoll}{%
+ \printfield{addendum}%
+ \newunit\newblock
+ \printfield{pubstate}%
+ \ifdefstring{\bbx@origfields}{none}{}{%
+ \newunit\newblock
+ \usebibmacro{origdata:article-inbook}}%
+ \newunit\newblock
+ \usebibmacro{library}}
+
+\newbibmacro*{volnumdefault}{%
+\printfield{volume}%
+ \setunit*{\volnumpunct}%
+ \printfield{number}}
\newbibmacro*{volnumparens}{%
- \nopunct%
- \printtext[pureparens]{%
- \printfield{volume}%
- \setunit*{\volnumpunct}%
- \printfield{number}}\addcomma\space}
+\nopunct%
+\printtext[pureparens]{%
+\printfield{volume}%
+ \setunit*{\volnumpunct}%
+ \printfield{number}}\addcomma\space}
\newbibmacro*{volnumstrings}{%
- \iffieldundef{volume}{}{%
- \printfield{volume}%
- \setunit*{\volnumpunct}}%
- \iffieldundef{number}{}{%
- \printfield{number}}}
+ \iffieldundef{volume}{}{%
+ \printfield{volume}\setunit*{\volnumpunct}}%
+ \iffieldundef{number}{}{%
+ \printfield{number}}}
\renewbibmacro*{journal}{%
- \iffieldundef{journaltitle}
- {}
- {\printtext[journaltitle]{%
- \printfield[titlecase]{journaltitle}%
- \midsentence%MOD############
- \setunit{\subtitlepunct}%
- \printfield[titlecase]{journalsubtitle}}}}
+ \iffieldundef{journaltitle}
+ {}
+ {\printtext[journaltitle]{%
+ \printfield[titlecase]{journaltitle}%
+ \midsentence%MOD############
+ \setunit{\subtitlepunct}%
+ \printfield[titlecase]{journalsubtitle}}}}
\renewbibmacro*{periodical}{%
- \iffieldundef{title}
- {}
- {\printtext[title]{%
- \printfield[titlecase]{title}%
- \midsentence%MOD#############
- \setunit{\subtitlepunct}%
- \printfield[titlecase]{subtitle}}}}
-
+ \iffieldundef{title}
+ {}
+ {\printtext[title]{%
+ \printfield[titlecase]{title}%
+ \midsentence%MOD#############
+ \setunit{\subtitlepunct}%
+ \printfield[titlecase]{subtitle}}}}
+
\renewbibmacro*{journal+issuetitle}{%
- \usebibmacro{journal}%
- \setunit*{\addspace}%
- \iffieldundef{series}
- {}
- {\newunit
- \printfield{series}%
- \setunit{\addspace}\midsentence}%
- \newunit%
- \ifdefstring{\bbx@volnumformat}{strings}
- {\usebibmacro{volnumstrings}}%
- {\ifdefstring{\bbx@volnumformat}{parens}
- {\usebibmacro{volnumparens}}%
- {\usebibmacro{volnumdefault}}}%
- \setunit{\addcomma\space}%
- \printfield{eid}%
- \setunit{\addspace}%
- \usebibmacro{issue+date}%
- \setunit{\addcolon\space}%
- \usebibmacro{issue}%
- \newunit}
-
+ \usebibmacro{journal}%
+ \setunit*{\addspace}%
+ \iffieldundef{series}
+ {}
+ {\newunit%
+ \printfield{series}\setunit{\addspace}\midsentence}%
+ \newunit%
+ \usebibmacro{volume+number+eid}%
+ \setunit{\addspace}%
+ \usebibmacro{issue+date}%
+ \setunit{\addcolon\space}%
+ \usebibmacro{issue}%
+ \newunit}
+
\renewbibmacro*{title+issuetitle}{%
- \usebibmacro{periodical}%
- \setunit*{\addspace}%
- \iffieldundef{series}
- {}
- {\newunit
- \printfield{series}%
- \setunit{\addspace}\midsentence}%
- \newunit
- \ifdefstring{\bbx@volnumformat}{strings}%
- {\usebibmacro{volnumstrings}}%
- {\ifdefstring{\bbx@volnumformat}{parens}%
- {\usebibmacro{volnumparens}}%
- {\usebibmacro{volnumdefault}}}%
- \setunit{\addcomma\space}%
- \printfield{eid}%
- \setunit{\addspace}%
- \usebibmacro{issue+date}%
- \setunit{\addcolon\space}%
- \usebibmacro{issue}%
- \newunit}
+ \usebibmacro{periodical}%
+ \setunit*{\addspace}%
+ \iffieldundef{series}
+ {}
+ {\newunit
+ \printfield{series}%
+ \setunit{\addspace}\midsentence}%
+ \newunit
+ \usebibmacro{volume+number+eid}%
+ \setunit{\addcomma\space}%
+ \printfield{eid}%
+ \setunit{\addspace}%
+ \usebibmacro{issue+date}%
+ \setunit{\addcolon\space}%
+ \usebibmacro{issue}%
+ \newunit}
+
+\renewbibmacro*{volume+number+eid}{%
+ \ifdefstring{\bbx@volnumformat}{strings}
+ {\usebibmacro{volnumstrings}}%
+ {\ifdefstring{\bbx@volnumformat}{parens}
+ {\usebibmacro{volnumparens}}%
+ {\usebibmacro{volnumdefault}}}%
+ \setunit{\addcomma\space}%
+ \printfield{eid}}
+
+\renewbibmacro*{issue+date}{%
+ \printtext[pureparens]{%
+ \iffieldundef{issue}
+ {\usebibmacro{date}}
+ {\printfield{issue}%
+ \setunit*{\addspace}%
+ \usebibmacro{date}}}%
+ \newunit}
\renewbibmacro*{event+venue+date}{%v0.8
- \printfield{eventtitle}%
- \ifboolexpr{
- test {\iffieldundef{venue}}
- and
- test {\iffieldundef{eventyear}}
- }
- {}
- {\setunit*{\addspace}%
- \printtext{%\printtext[parens]{%IVAN
- \printfield{venue}%
- \setunit*{\addcomma\space}%
- \printeventdate}}%
- \newunit}
-
-
-%-----------------------------------------------------------------
-%
-% DRIVERS
-%
-%-----------------------------------------------------------------
-
-\DeclareBibliographyDriver{article}{%
+ \printfield{eventtitle}%
+ \ifboolexpr{
+ test {\iffieldundef{venue}}
+ and
+ test {\iffieldundef{eventyear}}
+ }
+ {}
+ {\setunit*{\addspace}%
+ \printtext{%
+ \printfield{venue}%
+ \setunit*{\addcomma\space}%
+ \printeventdate}}%
+ \newunit}
+
+\renewbibmacro*{series+number}{%
+ \printfield{series}%
+ \setunit*{\addcomma\space}%
+ \printfield{number}%
+ \newunit}
+
+\renewbibmacro*{publisher+location+date}{%
+\ifdefstring{\bbx@publocformat}{loccolonpub}
+ {\usebibmacro{loccolonpub}}
+ {\ifdefstring{\bbx@publocformat}{locpubyear}
+ {\usebibmacro{locpubyear}}
+ {\usebibmacro{publocyear}}}}
+
+\renewbibmacro*{institution+location+date}{%
+\ifdefstring{\bbx@publocformat}{loccolonpub}
+ {\usebibmacro{inloccolonpub}}
+ {\ifdefstring{\bbx@publocformat}{locpubyear}
+ {\usebibmacro{inlocpubyear}}
+ {\usebibmacro{inpublocyear}}}}
+
+\renewbibmacro*{organization+location+date}{%
+\ifdefstring{\bbx@publocformat}{loccolonpub}
+ {\usebibmacro{orgloccolonpub}}
+ {\ifdefstring{\bbx@publocformat}{locpubyear}
+ {\usebibmacro{orglocpubyear}}
+ {\usebibmacro{orgpublocyear}}}}
+
+\newbibmacro*{library}{%
+\iftoggle{bbx:library}{%
+ \iffieldundef{library}%
+ {}%
+ {\setunit{\addperiod\space}%
+ {\printfield{library}}}}%
+ {}}
+\renewbibmacro*{pageref}{%
+ \iflistundef{pageref}
+ {}%
+ {\setunit{\addperiod\space}%
+ \printtext[backrefparens]{%
+ \ifnumgreater{\value{pageref}}{1}
+ {\bibstring{backrefpages}\ppspace}%
+ {\bibstring{backrefpage}\ppspace}%
+ \printlist[pageref][-\value{listtotal}]{pageref}\adddot}\nopunct}}%
+
+\renewbibmacro*{finentry}{%
+ \iftoggle{bbx:annotation}%
+ {\iffieldundef{annotation}%
+ {\finentry}%
+ {\setunit{\addperiod\par\nobreak\vspace*{.5ex}}%
+ \printtext[annotation]{\printfield{annotation}\finentry\par}}}%
+ {\finentry}}
+
+\newbibmacro*{publocyear}{%
+ \iflistundef{publisher}%
+ {}%
+{\printlist{publisher}}
+ \setunit*{\addcomma\space}%
+ \printlist{location}%
+ \usebibmacro{relateddate}%
+\newunit}
+
+\newbibmacro*{inpublocyear}{%
+ \iflistundef{institution}%
+ {}%
+{\printlist{institution}}
+ \setunit*{\addcomma\space}%
+ \printlist{location}%
+ \usebibmacro{relateddate}%
+\newunit}
+
+\newbibmacro*{orgpublocyear}{%
+ \iflistundef{organization}%
+ {}%
+{\printlist{organization}}
+ \setunit*{\addcomma\space}%
+ \printlist{location}%
+ \usebibmacro{relateddate}%
+\newunit}
+
+\newbibmacro*{loccolonpub}{%
+ \printlist{location}%
+ \iflistundef{publisher}%
+ {\setunit*{\addspace}}
+ {\setunit*{\addcolon\space}}%
+ \printlist{publisher}%
+ \usebibmacro{commarelateddate}%
+\newunit}
+
+\newbibmacro*{inloccolonpub}{%
+ \printlist{location}%
+ \iflistundef{institution}
+ {\setunit*{\addspace}}
+ {\setunit*{\addcolon\space}}%
+ \printlist{institution}%
+ \usebibmacro{commarelateddate}%
+ \newunit}
+
+\newbibmacro*{orgloccolonpub}{%
+ \printlist{location}%
+ \iflistundef{organization}
+ {\setunit*{\addspace}}
+ {\setunit*{\addcolon\space}}%
+ \printlist{organization}%
+ \usebibmacro{commarelateddate}%
+ \newunit}
+
+\newbibmacro*{locpubyear}{%
+ \printlist{location}%
+ \iflistundef{publisher}%
+ {\setunit*{\addspace}}
+ {\setunit*{\addcomma\space}}%
+ \printlist{publisher}%
+ \usebibmacro{commarelateddate}%
+\newunit}
+
+\newbibmacro*{inlocpubyear}{%
+ \printlist{location}%
+ \iflistundef{institution}
+ {\setunit*{\addspace}}
+ {\setunit*{\addcomma\space}}%
+ \printlist{institution}%
+ \usebibmacro{commarelateddate}%
+ \newunit}
+
+\newbibmacro*{orglocpubyear}{%
+ \printlist{location}%
+ \iflistundef{organization}
+ {\setunit*{\addspace}}
+ {\setunit*{\addcomma\space}}%
+ \printlist{organization}%
+ \usebibmacro{commarelateddate}%
+ \newunit}
+\newbibmacro*{relateddate}{%
+ \setunit*{\addspace}%
+ \printdate}
+\newbibmacro*{commarelateddate}{%
+ \setunit*{\addcomma\space}%
+ \printdate}
+
+\DeclareCiteCommand{\relatedcite}
+ {}%
+ {\usedriver
+ {\DeclareNameAlias{sortname}{default}%
+ % trucco per modificare due righe in ogni driver
+ % e togliere l'autore/curatore nelle voci 'related'
+ \renewbibmacro*{author/translator+others}{\usebibmacro{bbx:savehash}}%
+ \renewbibmacro*{author/editor+others/translator+others}{\usebibmacro{bbx:savehash}}%
+ \renewbibmacro*{editor+others}{\usebibmacro{bbx:savehash}}%
+ \renewbibmacro*{author/translator+others}{\usebibmacro{bbx:savehash}}%
+ \renewbibmacro*{author/editor}{\usebibmacro{bbx:savehash}}%
+ \renewbibmacro*{author}{\usebibmacro{bbx:savehash}}%
+ \renewbibmacro*{editor}{\usebibmacro{bbx:savehash}}%
+ \renewcommand*{\labelnamepunct}{}%
+ \renewbibmacro*{relateddate}{%
+ \setunit*{\addspace}\printdate}%
+ \renewbibmacro*{commarelateddate}{%
+ \setunit*{\addcomma\space}\printdate}}%
+ {\thefield{entrytype}}}%
+ {}%
+ {}%
+
+\newbibmacro*{related:translatedas}[1]{%
+ \togglefalse{cbx:scauthorscite}%
+ \togglefalse{bbx:annotation}%
+\iffieldundef{relatedstring}%
+ {\bibstring{translationas}\space}%
+ {\setunit{\bibstring{translationas}\space}}%
+ \relatedcite{\thefield{related}}}
+
+\renewbibmacro*{related:default}{%
+ \usebibmacro{related:translatedas}}
+ \DeclareBibliographyDriver{article}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%
@@ -580,7 +638,7 @@
\newunit\newblock
\printfield{version}%
\newunit\newblock
- \iftoggle{bbx:inbeforejournal}{\usebibmacro{in:}}{}%
+ \iftoggle{bbx:inbeforejournal}{\usebibmacro{in:}}{}
\usebibmacro{journal+issuetitle}%
\newunit\newblock
\usebibmacro{byeditor+others}%
@@ -593,14 +651,23 @@
\newunit\newblock
\usebibmacro{doi+eprint+url}%
\newunit\newblock
- \usebibmacro{addendum+pubstate:article-book-incoll}%
+ \usebibmacro{addendum+pubstate:article-inbook-incoll}%MOD
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
\newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}}
-%v0.8b nuova versione
- \newbibmacro*{incollection:full}{%
- \usebibmacro{maintitle+booktitle}%
+\DeclareBibliographyDriver{book}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor+others/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
@@ -620,6 +687,8 @@
\usebibmacro{publisher+location+date}%
\newunit\newblock
\usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
\newunit\newblock
\iftoggle{bbx:isbn}
{\printfield{isbn}}
@@ -627,12 +696,111 @@
\newunit\newblock
\usebibmacro{doi+eprint+url}%
\newunit\newblock
- \usebibmacro{addendum+pubstate:article-book-incoll}%
- \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{booklet}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor+others/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}}
-% v0.8b NUOVA VERSIONE
+\DeclareBibliographyDriver{collection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{editor+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{inbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{in:}%
+ \iffieldundef{xref}%
+ {\iffieldundef{crossref}{\usebibmacro{inbook:full}}%
+ {\bbx@crossref@inbook{\thefield{crossref}}%
+ \newunit\newblock
+ \usebibmacro{crossrefdata}}}%
+ {\bbx@crossref@inbook{\thefield{xref}}%
+ \newunit\newblock
+ \usebibmacro{xrefdata}}}%
+
\newbibmacro*{inbook:full}{%
\usebibmacro{bybookauthor}%
\newunit\newblock
@@ -663,15 +831,598 @@
\newunit\newblock
\usebibmacro{doi+eprint+url}%
\newunit\newblock
- \usebibmacro{addendum+pubstate:article-book-incoll}%
- \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{addendum+pubstate:article-inbook-incoll}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{incollection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{in:}%
+ \iffieldundef{xref}%
+ {\iffieldundef{crossref}{\usebibmacro{incollection:full}}%
+ {\bbx@crossref@incollection{\thefield{crossref}}%
+ \newunit\newblock
+ \usebibmacro{crossrefdata}}}%
+ {\bbx@crossref@incollection{\thefield{xref}}%
+ \newunit\newblock
+ \usebibmacro{xrefdata}}}
+
+ \newbibmacro*{incollection:full}{%
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate:article-inbook-incoll}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{inproceedings}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{in:}%
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{event+venue+date}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \printlist{organization}%
+ \newunit
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{manual}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \printfield{version}%
+ \newunit
+ \printfield{note}%
+ \newunit\newblock
+ \printlist{organization}%
+ \newunit
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{misc}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor+others/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \printfield{version}%
+ \newunit
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{organization+location+date}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{online}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor+others/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit
+ \printfield{note}%
+ \newunit\newblock
+ \printlist{organization}%
+ \newunit\newblock
+ \usebibmacro{date}%
+ \newunit\newblock
+ \iftoggle{bbx:eprint}
+ {\usebibmacro{eprint}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{url+urldate}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{patent}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \printfield{type}%
+ \setunit*{\addspace}%
+ \printfield{number}%
+ \iflistundef{location}
+ {}
+ {\setunit*{\addspace}%
+ \printtext[parens]{%
+ \printlist[][-\value{listtotal}]{location}}}%
+ \newunit\newblock
+ \usebibmacro{byholder}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{date}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}}
+\DeclareBibliographyDriver{periodical}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{editor}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title+issuetitle}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byeditor}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{issn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{proceedings}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{editor+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{event+venue+date}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \printlist{organization}%
+ \newunit
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+\DeclareBibliographyDriver{report}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \printfield{type}%
+ \setunit*{\addspace}%
+ \printfield{number}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{institution+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isrn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+\DeclareBibliographyDriver{thesis}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \usebibmacro{institution+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+\DeclareBibliographyDriver{unpublished}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{location+date}%
+ \newunit\newblock
+ \iftoggle{bbx:url}
+ {\usebibmacro{url+urldate}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+\DeclareBibliographyDriver{set}{%
+ \protect\PackageWarningNoLine{biblatex-philosophy}{%
+ \MessageBreak
+ Entry type @set is not supported\MessageBreak
+ by the 'biblatex-philosophy' styles.\MessageBreak
+ All the @set entries will be ignored}}
+
+\newbibmacro*{xcross:maintitle+booktitle}{%
+ \iffieldundef{volume}
+ {}%
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addcolon\space}}%
+ \usebibmacro{booktitle}%
+ \newunit}
+
+\newbibmacro*{xrefdata}{%
+ \usebibmacro{xcross:maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate:article-inbook-incoll}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+\newbibmacro*{crossrefdata}{%
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate:article-inbook-incoll}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
-\endinput \ No newline at end of file
+\DeclareFieldFormat[jurisdiction]{volume}{\RN{#1}}
+\DeclareFieldFormat[jurisdiction]{number}{\bibsstring{number}~{#1}}
+\DeclareFieldFormat[jurisdiction]{nameaddon}{%
+ \ifinteger{#1}{\bibcpsstring{section}~\RN{#1}}{#1}}
+\DeclareFieldFormat[jurisdiction]{pages}{#1}
+\DeclareFieldFormat[jurisdiction]{title}{%
+ \iffieldequalstr{entrysubtype}{international}{\emph{#1}}{#1}}
+\newbibmacro*{juris:author}{%
+\DeclareNameAlias{sortname}{default}%
+ \ifboolexpr{
+ test \ifuseauthor
+ and
+ not test {\ifnameundef{author}}
+ }
+ {%
+ \iffieldequalstr{type}{conclusions}{%
+ \printtext{Conclusioni dell'Avv\adddotspace generale}%
+ \setunit{\addspace}}{}%
+\printnames{author}%
+ \iffieldundef{authortype}
+ {}
+ {\setunit{\addcomma\space}%
+\usebibmacro{authorstrg}}}
+ {}%
+\iffieldequalstr{type}{conclusions}{%
+ \setunit{\addspace}%
+ \printtext{presentate il}%
+ \setunit{\addspace}%
+ }{%
+ \setunit{\addcomma\space}%
+ \iffieldundef{nameaddon}{}{%
+\printtext{\printfield{nameaddon}%
+\setunit{\addcomma\space}}}%
+ }%
+ \printeventdate}
+
+\DeclareBibliographyDriver{jurisdiction}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{juris:author}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{in:}%
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+\printtext{%
+ \printfield{labelyear}%
+ \printfield{extrayear}}
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate:article-inbook-incoll}%
+ \setunit{\addsemicolon\space}\newblock
+ \usebibmacro{related}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+\AtBeginDocument{%
+\DeclareSourcemap{
+ \maps[datatype=bibtex]{
+ \map{
+ \pertype{jurisdiction}
+ \step[fieldsource=court , fieldtarget=author]
+ \step[fieldsource=section, fieldtarget=nameaddon]
+ }
+ }
+}}
+%%
+%% Copyright 2009-2013 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.
+%%
+%% Author: Ivan Valbusa
+%% ivan dot valbusa at univr dot it
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%%
+%% End of file `philosophy-standard.bbx'.