summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx')
-rw-r--r--Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx391
1 files changed, 167 insertions, 224 deletions
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 578e6680213..a04d697f066 100644
--- a/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx
+++ b/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx
@@ -93,7 +93,7 @@
%<verbose-cbx>\ProvidesFile{philosophy-verbose.cbx}
%<italian-lbx>\ProvidesFile{italian-philosophy.lbx}
%<english-lbx>\ProvidesFile{english-philosophy.lbx}
- [2013/03/15 v0.8c valbusa beta]
+ [2013/03/27 v0.8c valbusa beta]
%<*driver>
\documentclass{ltxdoc}
@@ -105,13 +105,52 @@
\usepackage{ltxdockit}
\usepackage{btxdockit}
+\makeatletter
+\renewenvironment*{optionlist}
+ {\list{}{%
+ \setlength{\labelwidth}{\marglistwidth}%
+ \setlength{\labelsep}{\z@}%
+ \setlength{\leftmargin}{2cm}%
+ \renewcommand*{\makelabel}[1]{\hss\optionlistfont##1}}%
+ \ltd@optionlist}
+ {\endlist}
+\renewenvironment*{ltxsyntax}
+ {\list{}{%
+ \setlength{\labelwidth}{\marglistwidth}%
+ \setlength{\labelsep}{0pt}%
+ \setlength{\leftmargin}{1cm}%
+ \renewcommand*{\makelabel}[1]{%
+ \hss\ltxsyntaxfont\ltxsyntaxlabelfont##1}}%
+ \let\csitem\ltd@csitem
+ \let\cmditem\ltd@cmditem
+ \let\envitem\ltd@envitem
+ \let\lenitem\ltd@csitem
+ \let\boolitem\ltd@boolitem
+ \let\cntitem\ltd@item
+ \let\optitem\ltd@item}
+ {\endlist}
+
+ \makeatother
+\renewcommand*{\marglistfont}{\spotcolor\sffamily\displayverbfont}
+\renewcommand*{\optionlistfont}{\spotcolor\sffamily\displayverbfont}
+\renewcommand*{\ltxsyntaxlabelfont}{\spotcolor\displayverbfont}
+
\usepackage{csquotes}
\usepackage[style=philosophy-modern,backend=biber,annotation=true]{biblatex}
- \addbibresource{philosophy-examples.bib}
+ \addbibresource{biblatex-philosophy.bib}
\usepackage{guit}
+
+\usepackage{geometry}
+ \geometry{margin=1cm,bottom=1.5cm,paperwidth=8in,paperheight=6.25in}
\usepackage{fourier}
\renewcommand{\sfdefault}{lmss}
+\usepackage{sectsty}
+ \sectionfont{\spotcolor\sffamily}
+ \subsectionfont{\spotcolor}
+ \subsubsectionfont{\spotcolor}
+ \paragraphfont{\spotcolor}
+ \subparagraphfont{\spotcolor}
\usepackage{mdframed}
\newenvironment{bibexample}{%
@@ -143,7 +182,7 @@
%</driver>
% \fi
%
-% \CheckSum{2913}
+% \CheckSum{2947}
%
% \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
@@ -161,7 +200,16 @@
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
-% \changes{v0.8c}{2013/04/18}{New \bibfield{entrysubtype} field for citing classical texts. New \bibfield{related} field mechanism. New \opt{relatedformat} option. Fixed some bugs}
+% \changes{v0.8c}{2013/03/27}{Removed \sty{biber.conf} configuration file. Added internal \file{biber} settings with \cmd{DeclareDriverSourcemap} command. Added \bibfield{trans-} field alias.}
+% \changes{v0.8b}{2013/03/22}{Added \sty{biber.conf} configuration file}
+% \changes{v0.8a}{2013/04/18}{New \bibfield{entrysubtype} field for citing classical texts. New \bibfield{related} field mechanism. New \opt{relatedformat} option. New English documentation. Fixed some bugs}
+% \changes{v0.7c}{2011/05/16}{Fixed some bugs. New \opt{origfieldtype} option. Added \bibfield{nodate} bibliography string. Updated documentation}
+% \changes{v0.7b}{2010-04-23}{Removed package option \opt{romanvol}. Added package option \opt{volumeformat}. Added package option \opt{editionformat}. Activated the option \opt{singletitle} for style \sty{philosophy-verbose}. Added bibliography driver \bibtype{review}. Added bibliography string \opt{cit}. Added bibliography string \opt{reviewof}. Updated documentation}
+% \changes{v0.7a}{2010-04-03}{Added command \opt{volumfont}. Added command \opt{footcitet}. Updated documentation}
+% \changes{v0.7}{2010-03-30}{Removed package option \opt{colonloc}. Removed package options \opt{origparens} \opt{origbrackets}. Added package options \opt{origfieldsformat}, \opt{publocformat}, \opt{commacit}, \opt{inbeforejournal}, \opt{romanvol}, \opt{volnumformat}. Added command \opt{volnumpunct}. Added citation commands \cmd{sdcite}, \cmd{ccite}. Updated documentation}
+% \changes{v0.6}{2010-03-07}{Added localization file \file{italian-philosophy.lbx}. Added file \file{philosophy-standard.bbx}. New documentation file \file{biblatex-philosophy}. Removed files \file{philosophy-authoryear-doc.tex}, \file{philosophy-verbose-doc.tex}.}
+% \changes{v0.5}{}{Added new bibliography style \texttt{philosophy-verbose}. Added localization file \file{italian-philosophy.lbx}. Added package options \opt{origparens}, \opt{origbrackets}, \opt{latinemph}. Changed package options \opt{scauthors}, \opt{scauthorscite}, \opt{scauthorsbib}. Renamed file \file{biblatex-philosophy-doc.tex} to \texttt{philosophy-authoryear-doc.tex}. Added file \file{philosophy-verbose-doc.tex}. Updated documentation}
+% \changes{v0.4}{}{Improved compatibility for \sty{biblatex} version 0.9}
%
% \GetFileInfo{biblatex-philosophy.dtx}
%
@@ -191,20 +239,32 @@
%
%
%
-% \title{\bfseries User's Guide to \sty{biblatex-philosophy}\\
-% \large\itshape Bibliography styles for (Italian) users of~\sty{biblatex}}
+% \title{\color{spot}\bfseries User's Guide to \textsf{biblatex-philosophy}\\
+% \large\itshape Bibliography styles for (Italian) users of~\textsf{biblatex}}
% \author{Ivan Valbusa \\
% \texttt{ivan dot valbusa at univr dot it}}
% \date{\fileversion{} -- \filedate}
%
+%
+% \newgeometry{margin=4cm,top=2cm}
+%
% \maketitle
%
+% \thispagestyle{empty}
%
%\begin{abstract}
-% This package provides a small collection of bibliography and citation styles for use with Philipp Lehman’s \sty{biblatex} package. The styles follow the most popular conventions of the Italian publications (but can be used in other languages too) and offer some features to generate detailed bibliographic entries including the translation data of foreign texts, annotations etc. Many options allow you to change the style defaults.
+% This package provides a small collection of bibliography and citation styles for use with Philipp Lehman’s \sty{biblatex} package. The styles follow the most popular conventions of the Italian publications but can be used in other languages too. They offer some useful features to compose detailed bibliographic entries including the translation data of foreign texts, annotations etc. Many options allow you to change the style defaults.
% \end{abstract}
%
+% \null\vfill
+% \newgeometry{margin=2cm,bottom=1.5cm,top=1cm}
+%
+% \begin{multicols}{2}
+% \fontsize{9.5}{11}\selectfont
% \tableofcontents
+% \end{multicols}
+%
+% \newgeometry{margin=3cm,bottom=1.5cm,top=1cm}
%
%\section{Introduction}
%
@@ -344,7 +404,8 @@
%\DeclareQuoteAlias{italian}{...}
%\end{verbatim}
%
-% The philosophy styles require \bin{biber} so remembar to configure your editor properly. If you prefer \bin{bibtex} you have to declare it with the \opt{backend=bibetex} option.
+% The philosophy styles require \bin{biber} so remembar to configure your editor properly. If you prefer \bin{bibtex} you have to declare it with the \opt{backend=bibtex} option but some bibliography drivers
+% will not work properly.
%
%
%\section{Translations and original editions}\label{sec:related}
@@ -373,7 +434,7 @@
% location = {Milano}}
% \end{verbatim}
%
-%With Biber 1.6 you can have cascading relations too \parencite[\lefthand][]{popper-logik}.\footnote{Download biber 1.6 for your platform from \url{biber} and drop this over \texttt{/usr/texbin/biber}.}
+%With Biber 1.6 you can have cascading relations too \parencite[\lefthand][]{popper-logik}.\footnote{Download biber 1.6 binary for your platform from \url{SourceForge} and drop this over \texttt{/usr/texbin/biber}.}
%\begin{verbatim}
%@Book{key1,
% ...
@@ -389,20 +450,20 @@
%}
%\end{verbatim}
%
-%The related entry is preceded by the \texttt{translationas} string which defaults to ``trad. it.'' for Italian documents and ``trans. as'' for English documents. If you want to change it, use the \bibfield{relatedstring} field. For example:
+%The related entry is preceded by the \texttt{translationas} string which defaults to ``trad.~it.'' for Italian documents and ``trans.~as'' for English documents. If you want to change it, use the \bibfield{relatedstring} field. For example:
%\begin{verbatim}
%@book{Poincare:1968-ORIG,
% author = {Jules-Henri Poincaré},
% ...
% related = {Poincare:1968-ITA},
-% relatedstring = {ed. it.}}
+% relatedstring = {ed.~it.}}
%\end{verbatim}
%
%
%
%
-%\section{Annotated bibliographies}\label{sec:annotation}
-%
+%\section{Style-specific fields}\label{sec:specific-fields}
+%
%
%\begin{fieldlist}
%
@@ -413,14 +474,6 @@
%\fielditem{annotation/annote}{literal}
%
%This field is printed in a new paragraph at the very end of the entry. It requires the \opt{annotation} package option. The default font can be changed redefining the \cmd{annotationfont} command (section \ref{sec:commands}). See the examples in the references of this documentation.
-%\end{fieldlist}
-%
-%
-%
-%\section{Style-specific fields}\label{sec:specific-fields}
-%
-%
-%\begin{fieldlist}
%
%\fielditem{nameaddon}{literal}
%
@@ -453,7 +506,7 @@
%\subsection{Global options}
%
%\begin{optionlist}
-%
+% \setlength{\labelwidth}{2.5cm}%
%\optitem[semicolon]{relatedformat}{\opt{semicolon}, \opt{parens}, \opt{brackets}}
%\begin{valuelist}
%\item[semicolon]
@@ -552,10 +605,10 @@
%Prints the string ``in'' before the \bibfield{journaltitle} in the \bibtype{article} entries.
%
%\boolitem[false]{annotation}
-%Shows the \bibfield{annotation} field, only in the bibliography (see also section \ref{sec:annotation}).
+%Shows the \bibfield{annotation} field, only in the bibliography (see also section \ref{sec:specific-fields}).
%
%\boolitem[true]{library}
-%Shows the \bibfield{library} field, both in the bibliography and in the citations (see also section \ref{sec:annotation}).
+%Shows the \bibfield{library} field, both in the bibliography and in the citations (see also section \ref{sec:specific-fields}).
%
%
%
@@ -564,7 +617,8 @@
%
%
%
-%\subsubsection{\sty{philosophy-classic} and
+%\subsubsection[\sty{philosophy-classic} and
+% \sty{modern}]{\sty{philosophy-classic} and
% \sty{philosophy-modern}}\label{sec:options-classic-modern}
%
%
@@ -761,23 +815,28 @@
%
%\subsection{Deprecated fields}\label{sec:origfields}
%
-%The following fields can hold both the translation and the original edition data. They are precede by the string ``trans.'' or ``orig. ed.'', respectively according to the \opt{origfields=trans} (default) or \opt{origfields=origed} option (see below).
+%The following fields can hold the translation or the original edition data. They are precede by the string ``trans.'' or ``orig. ed.'', respectively according to the \opt{origfields=trans} (default) or \opt{origfields=origed} option (see below).
%
%\begin{fieldlist}
%
-%\fielditem{origtitle}{literal}
+%\fielditem{origtitle}{literal}\mbox{}\\[-9ex]
+%\fielditem{transtitle}{list \file{biber} only}
%
%The title of the translation/original edition.
%
-%\fielditem{origpublisher}{list}
+%\fielditem{origpublisher}{list}\mbox{}\\[-9ex]
+%\fielditem{transpublisher}{list \file{biber} only}
%
%The publisher of the translation/original edition.
%
-%\fielditem{origlocation}{list}
+%\fielditem{origlocation}{list}\mbox{}\\[-9ex]
+%\fielditem{translocation}{list \file{biber} only}
%
%The location of the translation/original edition.
%
-%\fielditem{origdate}{range}
+%\fielditem{origdate}{range}\mbox{}\\[-9ex]
+%\fielditem{transdate}{range \file{biber} only}
+
%
%The publication date of the translation/original edition.
%\begin{bibexample}
@@ -788,35 +847,41 @@
%If the work has a reprint, the title of the reprint. It can not be used together with the \textsf{origtitle} field.
% ^^A \parencite[see][]{Galilei:dialogo}.
%
-%\fielditem{usera}{literal}
+%\fielditem{usera}{literal}\mbox{}\\[-9ex]
+%\fielditem{origbooktitle}{literal \file{biber} only}\mbox{}\\[-9ex]
+%\fielditem{transbooktitle}{literal \file{biber} only}
%
-%The title of the \bibtype{collection} in which the translation of an \bibtype{article} (\bibtype{inbook} or \bibtype{incollection}) is published. The field is printed after the \bibfield{origtitle} and the format is the same of the entry:
+%The title of the \bibtype{collection} in which the translation/original edition of an \bibtype{article} (\bibtype{inbook} or \bibtype{incollection}) is published. The field is printed after the \bibfield{origtitle/transtitle} and the format is the same of the entry:
%
% \begin{bibexample}
% Moore, George Edward (1903), «The refutation of idealism», \emph{Mind}, N.S., 12 (mag. 1903), p. 433-453; trad. it. «La confutazione dell’idealismo», in \emphasize{\emph{Il Neoempirismo}}, a cura di Alberto Pasquinelli, UTET, Torino 1969, p. 35-61.
% \end{bibexample}
%
-%\fielditem{userb}{literal}
+%\fielditem{userb}{literal}\mbox{}\\[-9ex]
+%\fielditem{orignote}{literal \file{biber} only}\mbox{}\\[-9ex]
+%\fielditem{transnote}{literal \file{biber} only}
%
-%This field is printed after the \bibfield{origtitle}. It is meat for secondary informations about the translation/original edition, such as the name of editors, translators, etc.:
+%This field is printed after the \bibfield{origtitle/transtitle}. It is meat for secondary informations about the translation/original edition, such as the name of editors, translators, etc.:
% \begin{bibexample}
% Mach, E. (1883), \emph{Die Mechanik in ihrer Entwickelung historisch-kritisch dargestellt}; trad. it. \emph{La meccanica nel suo sviluppo storico-critico}, \emphasize{traduzione, introduzione e note di Alfonsina D’Elia}, Bollati Boringhieri, Torino 1977.
% \end{bibexample}
%
-%\fielditem{userc}{literal}
+%\fielditem{userc}{literal}\mbox{}\\[-9ex]
+%\fielditem{origpages}{literal \file{biber} only}\mbox{}\\[-9ex]
+%\fielditem{transpages}{literal \file{biber} only}
%
-%This field is printed at the end of the entry, after the \bibfield{origdate} field. It is meant for the page range of the translation/original edition or other useful informations.
+%This field is printed at the end of the entry, after the \bibfield{origdate/transdate} field. It is meant for the page range of the translation/original edition or other useful informations.
%In the first case string ``p.'' is omitted.
%\end{fieldlist}
%
%
%\paragraph{Warning}
-%The \bibfield{origdate} is needed in order to print these fields. Contrarily they will be ignored.
+%The \bibfield{origdate/transdate} is needed in order to print these fields. Contrarily they will be ignored.
%
%\subsection{Deprecated options}
%
%\begin{optionlist}
-%
+% \setlength{\labelwidth}{2.5cm}%
%\optitem[trans]{origfields}{\opt{trans}, \opt{none}, \opt{edorig}}
%\begin{valuelist}
%\item[true] Prints the \bibfield{orig-} fields.
@@ -855,89 +920,6 @@
%\end{optionlist}
%
%
-%
-%
-%\section{Changes}\label{ref:changes}
-%
-%
-%\begin{changelog}
-%
-%\begin{release}{0.8a}{2011/11/11}
-%\item Documentation in English
-%\item Full compatibility with English documents
-%\item Added option \opt{restoreclassic} for command \cmd{printbibliography} \see{sec:options}
-%\item Updated documentation
-%\end{release}
-%
-%\begin{release}{0.7c}{2011/05/16}
-%\item Fixed some bugs
-%\item New option \opt{origfieldstype}\see{sec:options}
-%\item Added bibliography string \opt{nodate} (for Italian only)
-%\item Updated documentation
-%\end{release}
-%
-%
-%\begin{release}{0.7b}{2010-04-23}
-%\item Removed package option \opt{romanvol}\see{sec:options}
-%\item Added package option \opt{volumeformat}\see{sec:options}
-%\item Added package option \opt{editionformat}\see{sec:options}
-%\item Activated the option \opt{singletitle} for style \sty{philosophy-verbose}\see{sec:verbose}
-%\item Added bibliography driver \bibtype{review}
-%\item Added bibliography string \opt{cit}
-%\item Added bibliography string \opt{reviewof}
-%\item Updated documentation
-%\end{release}
-%
-%\begin{release}{0.7a}{2010-04-03}
-%\item Added command \opt{volumfont}\see{sec:commands}
-%\item Added command \opt{footcitet}\see{sec:commands}
-%\item Updated documentation
-%\end{release}
-%
-%\begin{release}{0.7}{2010-03-30}
-%\item Removed package option \opt{colonloc}
-%\item Removed package option \opt{origparens}
-%\item Removed package option \opt{origbrackets}
-%\item Added package option \opt{origfieldsformat}\see{sec:options}
-%\item Added package option \opt{publocformat}\see{sec:options}
-%\item Added package option \opt{commacit}\see{sec:options}
-%\item Added package option \opt{inbeforejournal}\see{sec:options}
-%\item Added package option \opt{romanvol}\see{sec:options}
-%\item Added package option \opt{volnumformat}\see{sec:options}
-%\item Added command \opt{volnumpunct}\see{sec:commands}
-%\item Added citation command \cmd{sdcite}\see{sec:commands:citations}
-%\item Added citation command \cmd{ccite}\see{sec:commands:citations}
-%\item Updated documentation
-%\end{release}
-%
-%\begin{release}{0.6}{2010-03-07}
-%\item Added localization file \file{italian-philosophy.lbx}
-%\item Added file \file{philosophy-standard.bbx}
-%\item New documentation file \file{biblatex-philosophy}
-%\item Removed file \file{philosophy-authoryear-doc.tex}
-%\item Removed file \file{philosophy-verbose-doc.tex}
-%\end{release}
-%
-%\begin{release}{0.5}{}
-%\item Added new bibliography style \texttt{philosophy-verbose}\see{sec:verbose}
-%\item Added localization file \file{italian-philosophy.lbx}
-%\item Added package option \opt{origparens}\see{sec:options}
-%\item Added package option \opt{origbrackets}\see{sec:options}
-%\item Added package option \opt{latinemph}\see{sec:options}
-%\item Changed package option \opt{scauthors}\see{sec:options}
-%\item Changed package option \opt{scauthorscite}\see{sec:options}
-%\item Changed package option \opt{scauthorsbib}\see{sec:options}
-%\item Renamed file \file{biblatex-philosophy-doc.tex} to \texttt{philosophy-authoryear-doc.tex}
-%\item Added file \file{philosophy-verbose-doc.tex}
-%\item Updated documentation
-%\end{release}
-%
-%\begin{release}{0.4}{}
-%\item Improved compatibility for \sty{biblatex} version 0.9
-%\end{release}
-%
-%\end{changelog}
-%
%\defbibnote{notaesempio-english}{\small\sffamily See also \file{philosophy-examples.bib} in the
%``\texttt{texm-dist/doc/latex/biblatex-philosophy}'' directory
%of your \TeX Live installation.}
@@ -949,77 +931,6 @@
%\printbibliography[title=Web List,keyword=web,type=online,restoreclassic]
%
%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
-%
% \StopEventually{\PrintChanges\PrintIndex}
%
% \section{The Code}
@@ -1031,6 +942,7 @@
% \fi
%
% \begin{macrocode}
+\RequireBiber[2]
\RequireBibliographyStyle{standard}
% \end{macrocode}
% Load the localization modules:
@@ -1103,6 +1015,13 @@
maxbibnames = 999,
minbibnames = 999}
% \end{macrocode}
+% Changing the penalty of the urls will prevent
+% many overfull boxes.
+% \begin{macrocode}
+\setcounter{biburlnumpenalty}{9000}
+\setcounter{biburlucpenalty}{9000}
+\setcounter{biburllcpenalty}{9000}
+% \end{macrocode}
% These counters control the list of names
% of cross-referenced entries:
% \begin{macrocode}
@@ -2337,17 +2256,16 @@
by the 'biblatex-philosophy' styles.\MessageBreak
All the @set entries will be ignored}}
-\newbibmacro*{xcross:maintitle+booktitle}{%
+\newbibmacro*{cross:maintitle+booktitle}{%
\iffieldundef{volume}
{}%
{\printfield{volume}%
\printfield{part}%
- \setunit{\addcolon\space}}%
- \usebibmacro{booktitle}%
- \newunit}
+ \setunit{\addcolon\space}%
+ \printfield{booktitle}}}%
\newbibmacro*{xrefdata}{%
- \usebibmacro{xcross:maintitle+booktitle}%
+ \usebibmacro{cross:maintitle+booktitle}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
@@ -2357,7 +2275,7 @@
% {\printfield{volume}%
% \printfield{part}}
% {}%
- \newunit
+% \newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{series+number}%
@@ -2387,8 +2305,16 @@
\printfield{part}}
{}%
\newunit\newblock
+ \printfield{note}%
+ \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}%
@@ -2402,7 +2328,6 @@
%\DeclareFieldFormat[jurisprudence]{title}{#1}
%\DeclareFieldFormat[jurisprudence]{pages}{#1}
%\ExecuteBibliographyOptions[jurisprudence]{skipbib=true}%
-
\DeclareFieldFormat[jurisdiction]{volume}{\RN{#1}}
\DeclareFieldFormat[jurisdiction]{number}{\bibsstring{number}~{#1}}
\DeclareFieldFormat[jurisdiction]{nameaddon}{%
@@ -2493,18 +2418,24 @@
\usebibmacro{pageref}%
\usebibmacro{finentry}}
% \end{macrocode}
-% Some \bin{biber} settings to use specific field aliases:
+% Define new fields for \bibtype{jurisdiction} entry types.
% \begin{macrocode}
-\AtBeginDocument{%
-\DeclareSourcemap{
- \maps[datatype=bibtex]{
+\DeclareDriverSourcemap[datatype=bibtex]{
\map{
- \pertype{jurisdiction}
- \step[fieldsource=court , fieldtarget=author]
- \step[fieldsource=section, fieldtarget=nameaddon]
+ \step[fieldsource=court , fieldtarget=author]
+ \step[fieldsource=section , fieldtarget=nameaddon]
+ \step[fieldsource=transtitle , fieldtarget=origtitle]
+ \step[fieldsource=tranpublisher , fieldtarget=origpublisher]
+ \step[fieldsource=translocation , fieldtarget=origlocation]
+ \step[fieldsource=transbooktitle, fieldtarget=usera]
+ \step[fieldsource=transnote , fieldtarget=userb]
+ \step[fieldsource=transpages , fieldtarget=userc]
+ \step[fieldsource=origbooktitle , fieldtarget=usera]
+ \step[fieldsource=orignote , fieldtarget=userb]
+ \step[fieldsource=origpages , fieldtarget=userc]
+ }
}
- }
-}}
+\DeclareDataInheritance{*}{*}{\noinherit{annotation}}
% \end{macrocode}
% \iffalse
%</standard-bbx>
@@ -2970,23 +2901,28 @@
% \begin{macrocode}
\DeclareCiteCommand{\bbx@crossref@inbook}
{}%
- {\ifciteseen{\usebibmacro{bybookauthor}%
+ {\ifthenelse{\value{listtotal}=2}%
+ {\printnames[][-\value{maxnamesincross}]{labelname}}%
+ {\printnames[][-\value{minnamesincross}]{labelname}}%
\setunit*{\addcomma\space}\printtext[bibhyperlink]{%
\printfield[citetitle]{labeltitle}%
\iftoggle{cbx:commacit}{\setunit{\addcomma\space}}%
{\setunit{\addspace\midsentence}}%
- \bibstring{cited}}}{\usebibmacro{inbook:full}}}%
+ \bibstring{cited}}}%
{}%
{}%
-
\DeclareCiteCommand{\bbx@crossref@incollection}
{}%
- {\ifciteseen{\usebibmacro{editor+others}%
+ {\ifthenelse{\value{listtotal}=2}%
+ {\printnames[][-\value{maxnamesincross}]{labelname}}%
+ {\printnames[][-\value{minnamesincross}]{labelname}}%
+ \setunit{\addspace}%
+ \usebibmacro{editorstrg}%
\setunit*{\addcomma\space}\printtext[bibhyperlink]{%
\printfield[citetitle]{labeltitle}%
\iftoggle{cbx:commacit}{\setunit{\addcomma\space}}%
{\setunit{\addspace\midsentence}}%
- \bibstring{cited}}}{\usebibmacro{incollection:full}}}%
+ \bibstring{cited}}}%
{}%
{}%
% \end{macrocode}
@@ -3044,7 +2980,7 @@
{\usebibmacro{#2}}}
% \end{macrocode}
% \subsubsection{Author-title macros}
-% The \texttt{:AT} are of the \file{authortitle-comp.cbx} file.
+% Import the \texttt{:AT} macros from the \file{authortitle-comp.cbx} file.
% \begin{macrocode}
\newbibmacro*{cite:init:AT}{%
\ifnumless{\value{multicitecount}}{2}
@@ -3337,7 +3273,7 @@
{\usebibmacro{textcite:postnote}}
% \end{macrocode}
% This command is now deprecated because it is substituted by
-% the \bibfield{entrysubtype=classical}:
+% the \bibfield{entrysubtype=classical} mechanism:
% \begin{macrocode}
\DeclareCiteCommand{\sdcite}
{\boolfalse{citetracker}%
@@ -3392,11 +3328,11 @@
\settoggle{cbx:commacit}{#1}}
\ExecuteBibliographyOptions{%
-idemtracker=false,
-loccittracker=strict,
-scauthorscite=false,
-latinemph=false,
-commacit=false}
+ idemtracker=false,
+ loccittracker=strict,
+ scauthorscite=false,
+ latinemph=false,
+ commacit=false}
\AtEveryCite{%
% \end{macrocode}
@@ -3456,7 +3392,7 @@ commacit=false}
\printfield[citetitle]{labeltitle}%
\iftoggle{cbx:commacit}{\setunit{\addcomma\space}}%
{\setunit{\addspace\midsentence}}}%
- \bibstring{cited}\midsentence}}
+ \bibstring{cited}}}
\renewbibmacro*{cite:full}{%OK
\usebibmacro{cite:full:citepages}%
@@ -3473,7 +3409,15 @@ commacit=false}
% \begin{macrocode}
\DeclareNameFormat{noname}{}
\DeclareCiteCommand{\ccite}
-{\usebibmacro{prenote}\unspace\addspace}%
+{\usebibmacro{prenote}%
+ \renewbibmacro*{author/translator+others}{}%
+ \renewbibmacro*{author/editor+others/translator+others}{}%
+ \renewbibmacro*{editor+others}{}%
+ \renewbibmacro*{author/translator+others}{}%
+ \renewbibmacro*{author/editor}{}%
+ \renewbibmacro*{author}{}%
+ \renewbibmacro*{editor}{}%
+ }%
{\global\togglefalse{cbx:loccit}%
\usedriver{\DeclareNameAlias{sortname}{noname}}
{\thefield{entrytype}}}
@@ -3513,7 +3457,6 @@ commacit=false}
editors = {{\mkpureparens{a cura di}}{\mkpureparens{a cura di}}},
andothers = {{\mkbibemph{et\addabbrvspace al\adddot}}
{\mkbibemph{et\addabbrvspace al\adddot}}},
- reviewof = {{Recensione di}{Recensione di}},
backrefpage = {{Citato a pagina}{Citato a \bibstring{page}\adddot}},
backrefpages = {{Citato alle pagine}{Citato alle \bibstring{pages}\adddot}},
pages = {{pagine}{\iftoggle{bbx:classical}{pp\adddot}{p\adddot}}},
@@ -3531,7 +3474,7 @@ commacit=false}
translationof = {{traduzione di}{trad\adddotspace di}},
translationas = {{traduzione italiana}{trad\adddotspace it\adddot}},
% translationfrom = {{}{}}, % FIXME: missing
-% reviewof = {{}{}}, % FIXME: missing
+ reviewof = {{Recensione di}{Recensione di}},
% origpubas = {{}{}}, % FIXME: missing
% origpubin = {{}{}}, % FIXME: missing
% astitle = {{}{}}, % FIXME: missing