Debian Codegraph @

texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx

raw
1 % \iffalse meta-comment
2 %<*internal>
3 \begingroup
4 \input docstrip
5 \preamble
6
7 The 'biblatex-philosophy' package
8 Copyright (C) 2009-2022 Ivan Valbusa
9 <ivan dot valbusa at gmail dot com>
10
11 All rights reserved
12
13 This work may be distributed and/or modified under the
14 conditions of the LaTeX Project Public License, either version 1.3
15 of this license or (at your option) any later version.
16 The latest version of this license is in
17 http://www.latex-project.org/lppl.txt
18 and version 1.3 or later is part of all distributions of LaTeX
19 version 2005/12/01 or later.
20
21 This work consists of all files listed in README
22
23 This work has the LPPL maintenance status "author-maintained".
24
25 \endpreamble
26 \keepsilent
27 \askforoverwritefalse
28
29 \Msg{*** Generating the class file ***}
30 \generate{
31 \file{philosophy-standard.bbx}{\from{biblatex-philosophy.dtx}{standard-bbx}}
32 \file{philosophy-classic.bbx}{\from{biblatex-philosophy.dtx}{classic-bbx}}
33 \file{philosophy-modern.bbx}{\from{biblatex-philosophy.dtx}{modern-bbx}}
34 \file{philosophy-verbose.bbx}{\from{biblatex-philosophy.dtx}{verbose-bbx}}
35 \file{philosophy-classic.cbx}{\from{biblatex-philosophy.dtx}{classic-cbx}}
36 \file{philosophy-modern.cbx}{\from{biblatex-philosophy.dtx}{modern-cbx}}
37 \file{philosophy-verbose.cbx}{\from{biblatex-philosophy.dtx}{verbose-cbx}}
38 \file{italian-philosophy.lbx}{\from{biblatex-philosophy.dtx}{italian-lbx}}
39 \file{english-philosophy.lbx}{\from{biblatex-philosophy.dtx}{english-lbx}}
40 \file{spanish-philosophy.lbx}{\from{biblatex-philosophy.dtx}{spanish-lbx}}
41 \file{french-philosophy.lbx}{\from{biblatex-philosophy.dtx}{french-lbx}}
42 \file{biblatex-philosophy.bib}{\from{biblatex-philosophy.dtx}{bib}}}
43
44 \Msg{***********************************************************}
45 \Msg{*}
46 \Msg{* To finish the installation you have to move the following}
47 \Msg{* files into a directory searched by TeX:}
48 \Msg{*}
49 \Msg{* \space\space philosophy-standard.bbx}
50 \Msg{* \space\space philosophy-classic.bbx}
51 \Msg{* \space\space philosophy-modern.bbx}
52 \Msg{* \space\space philosophy-verbose.bbx}
53 \Msg{* \space\space philosophy-classic.cbx}
54 \Msg{* \space\space philosophy-modern.cbx}
55 \Msg{* \space\space philosophy-verbose.cbx}
56 \Msg{* \space\space italian-philosophy.lbx}
57 \Msg{* \space\space english-philosophy.lbx}
58 \Msg{* \space\space spanish-philosophy.lbx}
59 \Msg{* \space\space french-philosophy.lbx}
60 \Msg{*}
61 \Msg{*}
62 \Msg{* To produce the documentation run}
63 \Msg{* the file ending with `.dtx' through (pdf)LaTeX. See the}
64 \Msg{* README file for more details.}
65 \Msg{*}
66 \Msg{* Happy TeXing}
67 \Msg{***********************************************************}
68 \endgroup
69 %</internal>
70 % \fi
71 % \iffalse
72 %<*driver>
73 \ProvidesFile{biblatex-philosophy.dtx}
74 %</driver>
75 %<standard-bbx>\ProvidesFile{philosophy-standard.bbx}
76 %<classic-bbx>\ProvidesFile{philosophy-classic.bbx}
77 %<modern-bbx>\ProvidesFile{philosophy-modern.bbx}
78 %<verbose-bbx>\ProvidesFile{philosophy-verbose.bbx}
79 %<classic-cbx>\ProvidesFile{philosophy-classic.cbx}
80 %<modern-cbx>\ProvidesFile{philosophy-modern.cbx}
81 %<verbose-cbx>\ProvidesFile{philosophy-verbose.cbx}
82 %<italian-lbx>\ProvidesFile{italian-philosophy.lbx}
83 %<english-lbx>\ProvidesFile{english-philosophy.lbx}
84 %<spanish-lbx>\ProvidesFile{spanish-philosophy.lbx}
85 %<french-lbx>\ProvidesFile{french-philosophy.lbx}
86 %<*standard-bbx|classic-bbx|modern-bbx|verbose-bbx|classic-cbx|modern-cbx|verbose-cbx|italian-lbx|english-lbx|spanish-lbx|french-lbx>
87 [2022/09/16 v1.9.8g A set of styles for biblatex]
88 %</standard-bbx|classic-bbx|modern-bbx|verbose-bbx|classic-cbx|modern-cbx|verbose-cbx|italian-lbx|english-lbx|spanish-lbx|french-lbx>
89 %<*driver>
90 \documentclass[12pt]{ltxdoc}
91 \usepackage[T1]{fontenc}
92 \usepackage[utf8]{inputenc}
93 \usepackage[fontsize=12pt]{fontsize}
94 \usepackage[english]{babel}
95 %--------------------------------------------------------
96 % GRAPHICS
97 %--------------------------------------------------------
98 \usepackage[svgnames]{xcolor}
99 \definecolor{philA}{named}{DarkRed}
100 \definecolor{philB}{named}{NavyBlue}
101 \definecolor{sufred}{rgb}{0.5,0,0}
102 \definecolor{sufgray}{rgb}{0.5,0.5,0.5}
103 \usepackage{tikz}
104 \usetikzlibrary{shadows}
105 \usepackage[framemethod=TikZ]{mdframed}
106 \mdfsetup{roundcorner=3pt,linecolor=white,backgroundcolor=gray!10}
107 %--------------------------------------------------------
108 % DOC FACILITIES
109 %--------------------------------------------------------
110 \usepackage{metalogo,hologo}
111 \usepackage{guit}% before ltxdockit but after xcolor!
112 \usepackage[final]{microtype}
113 \let\cs\relax
114 \let\cmd\relax
115 \usepackage{ltxdockit}
116 \usepackage{btxdockit}
117 %--------------------------------------------------------
118 % FONTS
119 %--------------------------------------------------------
120 \usepackage{cochineal}
121 \usepackage[varqu,varl,var0]{inconsolata}
122 \usepackage{biolinum}
123 \usepackage[cochineal,bigdelims,cmintegrals,vvarbb]{newtxmath}
124 \usepackage{microtype}
125 \usepackage{manfnt}
126 %--------------------------------------------------------
127 % LAYOUT
128 %--------------------------------------------------------
129 \usepackage[skip=1.5ex]{parskip}
130 \setcounter{tocdepth}{3}
131 \usepackage{geometry}
132 \geometry{
133 a4paper,
134 margin=3cm,
135 %paperwidth=128mm,
136 %paperheight=96mm,
137 %margin=1cm,
138 headheight=15pt,
139 ignoreall,
140 heightrounded}
141 \usepackage{sectsty}
142 \allsectionsfont{\sffamily}
143 % --------------------------------------------------------
144 % OTHER PACKAGES
145 % --------------------------------------------------------
146 \usepackage{csquotes}
147 \usepackage[style=philosophy-modern,annotation=true]{biblatex}
148 \setlength{\bibhang}{60pt}
149 \addbibresource{biblatex-examples.bib}
150 \addbibresource{biblatex-philosophy.bib}
151 \DeclareBibliographyCategory{biblatex}
152 \DeclareBibliographyCategory{web}
153 \addtocategory{web}{ctan,guit:sito}
154 \addtocategory{biblatex}{set,stdmodel,matuz:doody,vizedom:related,britannica,gaonkar,jaffe,westfahl:frontier,cms,ctan,jcg,yoon,worman,wilde,westfahl:space,weinberg,wassenberg,vazques-de-parga,springer,spiegelberg,sorace,sigfridsson,shore,sarfraz,salam,reese,pines,piccato,padhye,nussbaum,nietzsche:ksa,nietzsche:ksa1,nietzsche:historie,moraux,moore,moore:related,massa,maron,markey,malinowski,loh,laufenberg,kullback,kullback:reprint,kullback:related,kowalik,knuth:ct,knuth:ct:a,knuth:ct:b,knuth:ct:c,knuth:ct:d,knuth:ct:e,knuth:ct:related,kastenholz,kant:kpv,kant:ku,itzhaki,hyman,murray,iliad,herrmann,hammond,companion,gonzalez,glashow,gillies,gerhardt,vangennep,vangennep:trans,vangennep:related,geer,gaonkar:in,doody,cotton,coleridge,cicero,chiu,brandt,bertram,baez/article,baez/online,averroes/bland,averroes/hannes,averroes/hercz,augustine,aristotle:anima,aristotle:physics,aristotle:poetics,aristotle:rhetoric,angenendt,almendro,aksin}
155 %--------------------------------------------------------
156 % COMMANDS AND ENVIRONMENTS
157 %--------------------------------------------------------
158 \newcommand{\argstyle}{\itshape}
159 \DeclareRobustCommand*{\ar}[1]{\texttt{\char`\{}%
160 \textrm{\argstyle#1}\texttt{\char`\}}}
161 \DeclareRobustCommand*{\oar}[1]{\texttt{[}%
162 \textrm{\argstyle#1}\texttt{]}}
163 \DeclareRobustCommand*{\meta}[1]{%
164 $\langle${\argstyle\rmfamily#1\kern0.12em}$\rangle$}
165 \DeclareRobustCommand*{\arm}[1]{\ar{\meta{\argstyle#1}}}
166 \DeclareRobustCommand*{\oarm}[1]{\oar{\meta{\argstyle#1}}}
167 \newcommand{\emphasize}[1]{\textcolor{teal}{#1}}
168 \newcommand*{\OR}{${}\mid{}$}
169 \makeatletter
170 \newlength\CLett
171 \newcommand*\alert{
172 \par\noindent
173 \setbox\z@\hbox{\textdbend}\CLett=\wd\z@%
174 \raisebox{-1.05\baselineskip}[0pt][0pt]{%
175 \llap{\box\z@\kern6pt}}}
176 \makeatother
177 % environments
178 \newenvironment{ttquote}
179 {\begin{mdframed}
180 \ttfamily\microtypesetup{activate=false}}
181 {\end{mdframed}}
182 \newenvironment{latexcode}
183 {\begin{mdframed}}
184 {\end{mdframed}}
185 \newenvironment{bibexample}[1][]
186 {\begin{mdframed}[frametitlefont={\bfseries},#1,backgroundcolor=philA!10,linecolor=white]
187 }
188 {\end{mdframed}}
189 \newenvironment{bibexamplelist}[1][]
190 {\begin{NoHyper}\begin{mdframed}[frametitlefont={\bfseries},#1,backgroundcolor=philA!10,linecolor=white]
191 \list{}{\setlength{\parsep}{0pt}\setlength{\itemindent}{-.5cm}\setlength{\leftmargin}{.5cm}\setlength{\itemsep}{0pt}}}
192 {\endlist\end{mdframed}\end{NoHyper}
193 }
194 \makeatletter
195 % Customizing option and value list:
196 \renewcommand*{\ltd@ol@optitem}[3][]{%To use \meta inside #2
197 \ifblank{#1}
198 {\ltd@option{}{#2}{#3}{}}
199 {\ltd@option{}{#2}{#3}{\ltd@textverb{#1}}}}%
200 \patchcmd{\fieldlist}{field }{\ \ field }{}{}
201 \patchcmd{\fieldlist}{\marglistwidth}{0pt}{}{}
202 \patchcmd{\fieldlist}{\marglistsep}{0pt}{}{}
203 \pretocmd{\valuelist}{\let\optionlistfont\valuelistfont}{}{}
204 \patchcmd{\ltxsyntax}{\marglistwidth}{0pt}{}{}
205 \patchcmd{\ltd@option@i}{=}{\ = }{}{}
206 \patchcmd{\ltd@option@ii}{=}{\ = }{}{}
207 \expandafter\patchcmd\csname\string\valuelist\endcsname{{\leftmargin}{\labelsep}}{{\leftmargin}{3\labelsep}}{}{}
208 % New color for items
209 \newcommand*{\valuelistfont}{%
210 \color{olive}\sffamily\displayverbfont}
211 \renewcommand*{\optionlistfont}{%
212 \color{philA}\sffamily\displayverbfont}
213 \renewcommand*{\ltxsyntaxlabelfont}{%
214 \color{philA}\sffamily\displayverbfont}
215 \renewcommand*{\marglistfont}{%
216 \color{philA}\sffamily\displayverbfont}
217 % Table of contents
218 \renewcommand\tableofcontents{%
219 \setlength{\columnsep}{1cm}
220 {\centering
221 \section*{\contentsname}%
222 \@mkboth{\contentsname}{\contentsname}}
223 \thispagestyle{empty}
224 \begin{multicols}{2}
225 \@starttoc{toc}%
226 \end{multicols}}
227 \makeatother
228 % --------------------------------------------------------
229 % HYPERREF SETUP
230 % --------------------------------------------------------
231 \usepackage{hyperref}
232 \hypersetup{%
233 hidelinks,
234 pdftitle={User's guide to \textsf{biblatex philosophy}},
235 pdfsubject={Bibliography styles for (Italian)
236 users of biblatex},
237 pdfauthor={Ivan Valbusa},
238 pdfkeywords={bibliography},
239 }
240 % --------------------------------------------------------
241 % FINAL SETTINGS
242 % --------------------------------------------------------
243 \setcounter{tocdepth}{2}
244
245 \EnableCrossrefs
246 \CodelineIndex
247 \RecordChanges
248
249 \begin{document}
250 \DocInput{biblatex-philosophy.dtx}
251 \end{document}
252 %
253 %</driver>
254 % \fi
255 %
256 % \CheckSum{4376}
257 %
258 % \CharacterTable
259 % {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
260 % Lower-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
261 % Digits \0\1\2\3\4\5\6\7\8\9
262 % Exclamation \! Double quote \" Hash (number) \#
263 % Dollar \$ Percent \% Ampersand \&
264 % Acute accent \' Left paren \( Right paren \)
265 % Asterisk \* Plus \+ Comma \,
266 % Minus \- Point \. Solidus \/
267 % Colon \: Semicolon \; Less than \<
268 % Equals \= Greater than \> Question mark \?
269 % Commercial at \@ Left bracket \[ Backslash \\
270 % Right bracket \] Circumflex \^ Underscore \_
271 % Grave accent \` Left brace \{ Vertical bar \|
272 % Right brace \} Tilde \~}
273 %
274 % \changes{v1.9.8g}{2022/09/16}{Fixed a bug related to the \bibtype{volumeformat} option.}
275 % \changes{v1.9.8f}{2021/11/06}{Fixed a bug in the \bibtype{inbook} entries occurring when \bibfield{author} and \bibfield{bookauthor} are the same person.}
276 % \changes{v1.9.8e}{2021/07/16}{New option \opt{iviemph}. Updated documentation.}
277 % \changes{v1.9.8d}{2021/04/20}{Changed \texttt{crossrefdata} macro. Updated \file{italian-philosophy.lbx}.}
278 % \changes{v1.9.8c}{2020/09/30}{Maintenance release. Fixed a bug in the related entries. Added \cmd{mkrelatedparens} and \cmd{mkrelatedbrackets}.}
279 % \changes{v1.9.8b}{2020/05/19}{Maintenance release. Fixed a bug in \bibtype{incollection} and \bibtype{inproceeding} without editor.}
280 % \changes{v1.9.8a}{2018/03/03}{Maintenance release. Corrected missing commas in some \texttt{.lbx} files.}
281 % \changes{v1.9.8}{2017/11/29}{Maintenance release. Updated macros involving \texttt{extrayear} component.}
282 % \changes{v1.9.7}{2017/10/05}{Maintenance release. Fixed a bug in the \bibtype{set} bibliography driver.}
283 % \changes{v1.9.6}{2017/09/14}{Maintenance release. Fixed a bug in the \cmd{fullcite} command.}
284 % \changes{v1.9.5}{2017/04/13}{Styles completely revised. Provided support for the \opt{mergedate} default option. \opt{latinemph} option defined globally. New values for \opt{scauthors} option. Support for the \bibtype{set} entries for \sty{modern} style. \opt{classical} option removed for Spanish. Provided experimental French localization module. Improved \opt{annotation} option. Updated documentation.}
285 % \changes{v1.9.4}{2017/03/21}{Maintenance release. Fixed some bugs in modern style.}
286 % \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}.}
287 % \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.}
288 % \changes{v1.9.1}{2017/02/16}{Redefined macros for the eechanism. Support for the \bibtype{set} entries for \sty{classic} style. Support for the \opt{origpubin} and \opt{origpubas} default related types. Improved \texttt{.lbx} files. Updated documentation.}
289 % \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.}
290 % \changes{v1.8}{2016/06/16}{Maintenance release. Corrected an incompatibility with \opt{scauthors} option.}
291 % \changes{v1.7}{2016/06/10}{Maintenance release. Updated documentation.}
292 % \changes{v1.6}{2016/05/22}{Removed compatibility with legacy \textsc{Bib}\TeX{} backend.}
293 % \changes{v1.5}{2016/05/18}{Improved compatibility with legacy \textsc{Bib}\TeX{} backend.}
294 % \changes{v1.4}{2016/03/10}{Maintenance release. Updated style for working with \sty{biblatex} v.3.4.}
295 % \changes{v1.3}{2015/10/09}{Maintenance release. Corrected a spurious space in article entries.}
296 % \changes{v1.2}{2015/09/19}{Maintenance release. New value \opt{superscript} for \opt{editionformat} option.}
297 % \changes{v1.1}{2015/06/13}{Maintenance release. Updated documentation.}
298 % \changes{v1.0}{2015/03/31}{Fixed a bug in \opt{volumeformat} and \opt{volnumformat} options. Change value \opt{romanupp} to \opt{Roman} in \opt{volume format} and \opt{edition format}. Corrected bug in \opt{related format} options: now the related block is not preceded by semicolon when using values \opt{parens} and \opt{brackets} styles. §updated documentation}
299 % \changes{v0.9i}{2015/03/14}{Fixed a bug with \opt{shorthandintro} option.}
300 % \changes{v0.9h}{2015/01/14}{New option \opt{lowscauthors}. Corrected some bugs. Updated documentation.}
301 % \changes{v0.9g}{2014/12/12}{Added localization module for spanish. Fixed a bug in \bibtype{inbook} and \bibtype{incollection} entries when using \bibfield{crossref} field. Updated documentation.}
302 % \changes{v0.9f}{2014/03/28}{Updated documentation. Fixed a bug in the \opt{volnumformat} option.}
303 % \changes{v0.9e}{2014/02/12}{Maintenance release. Updated documentation.}
304 % \changes{v0.9d}{2013/11/13}{Maintenance release. Corrected some bugs.}
305 % \changes{v0.9c}{2013/10/15}{Maintenance release. Corrected some bugs.}
306 % \changes{v0.9b}{2013/08/30}{Updated bibliography drivers to correct a bug when using the \bibfield{related} mechanism.}
307 % \changes{v0.9a}{2013/07/04}{Maintenance release. Corrected some bugs.}
308 % \changes{v0.8f}{2013/06/20}{New option \opt{nodate} for \cmd{printbibliography} command}
309 % \changes{v0.8e}{2013/04/13}{Improved \opt{relatedformat} option for cascading entries. Implemented cross-referencing mechanism for \bibtype{inproceedings} entries. Improved \cmd{ccite} command. Changed the values for the \bibfield{entrysubtype} from \bibfield{classical} to \bibfield{classic}. Added \opt{nodate} package option.}
310 % \changes{v0.8d}{2013/03/30}{Fixed some bugs related to \cmd{DeclareDriverSourcemap}, \cmd{ccite}, and \bibtype{review} entry type}
311 % \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}
312 % \changes{v0.8b}{2013/03/22}{Added \sty{biber.conf} configuration file}
313 % \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}
314 % \changes{v0.7c}{2011/05/16}{Fixed some bugs. New \opt{origfieldtype} option. Added \bibfield{nodate} bibliography string. Updated documentation}
315 % \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}
316 % \changes{v0.7a}{2010-04-03}{Added command \opt{volumfont}. Added command \opt{footcitet}. Updated documentation}
317 % \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}
318 % \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}.}
319 % \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}
320 % \changes{v0.4}{}{Improved compatibility for \sty{biblatex} version 0.9}
321 %
322 % \GetFileInfo{biblatex-philosophy.dtx}
323 %
324 % \DoNotIndex{\newcommand,\newenvironment,\def,\begin,\vskip,\ }
325 % \DoNotIndex{\DeclareOption,\ExecuteOptions,\RequirePackage}
326 % \DoNotIndex{\@@end,\@empty,\@ifclassloaded,\@nameuse,\@nil}
327 % \DoNotIndex{\@undefined,\\,\`,\addtocounter,\advance,\bfseries}
328 % \DoNotIndex{\centering,\closeout,\define@key,\documentclass}
329 % \DoNotIndex{\edef,\else,\end,\endinput,\endtitlepage,\expandafter}
330 % \DoNotIndex{\extracolsep,\fi,\fill,\fontsize,\g@addto@macro,\toks}
331 % \DoNotIndex{\hrule,\hspace,\if,\if@twoside,\ifcase,\ifdefined}
332 % \DoNotIndex{\iffalse,\IfFileExists,\ifnum,\ifx,\immediate,\setcounter}
333 % \DoNotIndex{\jobname,\let,\long,\MakeUppercase,\MessageBreak}
334 % \DoNotIndex{\newcount,\newif,\newpage,\newtoks,\newwrite,\next}
335 % \DoNotIndex{\noexpand,\nofiles,\normalfont,\normalsize,\null}
336 % \DoNotIndex{\openout,\or,\styage,\styageError,\styageWarning}
337 % \DoNotIndex{\styageWarningNoLine,\paperheight,\paperwidth,\par}
338 % \DoNotIndex{\parbox,\parindent,\relax,\scshape,\selectfont,\setkeys}
339 % \DoNotIndex{\sffamily,\space,\stretch,\string,\textheight,\textwidth}
340 % \DoNotIndex{\the,\thispagestyle,\unexpanded,\unless,\unskip,\upshape}
341 % \DoNotIndex{\usepackage,\vbox,\vfill,\vspace,\write,\z@}
342 % \DoNotIndex{\CurrentOption,\AtEndDocument,\@ne,\c@page,\m@ne}
343 % \DoNotIndex{\@firstofone,\@gobble,\@makeother,\begingroup,\endgroup}
344 % \DoNotIndex{\eTeXversion,\hbox,\hsize,\includegraphics,\newlinechar}
345 % \DoNotIndex{\titlepage,\vss,\vtop,\xdef,\@gobbletwo,\color,\dimexpr}
346 % \DoNotIndex{\huge,\large,\makebox,\ProcessOptions,\renewcommand}
347 %
348 %
349 % \thispagestyle{empty}
350 % \begin{tikzpicture}[overlay,remember picture]
351 % \draw[circular drop shadow,draw=none,fill=white] (current page.center) circle (6cm) node[align=center,anchor=center] {%
352 % Ivan Valbusa\\[1cm]
353 %
354 %\Huge\color{gray}\bfseries \parbox{10cm}{\centering The \\{{\color{philA}\fontsize{30}{32}\textsf{biblatex-philosophy}}\\ bundle}}\\[1cm]
355 % \color{black!60!Goldenrod}
356 %
357 %\normalsize \fileversion{} -- \filedate
358 %
359 %};
360 % \end{tikzpicture}
361 % \clearpage\thispagestyle{empty}
362 % \null\vspace{1cm}
363 %
364 %\hfill\begin{minipage}{.5\textwidth}
365 % \raggedleft\footnotesize
366 % The serif typeface is Cochineal, created by Michael Sharpe
367 % on the basis of Sebastian Kosch's Crimson.
368 % The \texttt{typewriter} font is Inconsolata,
369 % designed by Raph Levien and the \textsf{sans serif} text
370 % is typeset in Linux Biolinum, created by Philipp H.~Poll.
371 %\end{minipage}
372 %
373 % \vfill
374 %
375 % ^^A ----------------------------------------------------------------
376 % ^^A
377 % \section*{Legalese}
378 % ^^A
379 % ^^A ----------------------------------------------------------------
380 %
381 % \noindent Copyright \copyright\ 2009-\the\year\ Ivan Valbusa
382 % \smallskip
383 %
384 % \noindent This package is author-maintained.
385 % Permission is granted to copy, distribute and/or modify this software
386 % under the terms of the \hologo{LaTeX} Project Public License, version 1.3 or
387 % later (\url{http://latex-project.org/lppl}).
388 % This software is provided ``as is'', without warranty of any kind,
389 % either expressed or implied, including, but not limited to, the implied
390 % warranties of merchantability and fitness for a particular purpose.
391 %
392 % ^^A ----------------------------------------------------------------
393 % ^^A
394 % \section*{Feedback}
395 % ^^A
396 % ^^A ----------------------------------------------------------------
397 %
398 % If you have any questions, feedback or requests please email me at \texttt{ivan dot valbusa at gmail dot com}. If you need specific features not already implemented, remember to attach the example files.
399 %
400 % \clearpage
401 %
402 % \begin{center}
403 % {\color{philA}\bfseries\sffamily
404 % \huge User's guide to \texttt{biblatex-philosophy}\\[3mm]}
405 % {\large\bfseries\sffamily Bibliography styles for (Italian) users of~\textsf{biblatex}}
406 % \vspace{.8cm}
407 %
408 % \normalsize\fileversion{} -- \filedate
409 % \vspace{.7cm}
410 %
411 % Ivan Valbusa\\[2mm]
412 %
413 % \footnotesize\texttt{ivan dot valbusa at gmail dot com}
414 % \vspace{1cm}
415 % \end{center}
416 %
417 %\begin{abstract}
418 %\noindent This bundle provides a small collection of bibliography and citation styles for use with Philipp Lehman's \sty{biblatex} package. The styles try to be language-indipendent but their prime aim is to match the needs of the Italian writers, particularly those concerned in the humanities. They offer 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. Only the Italian, English, Spanish and French localizations are available for now but you can use the styles with all the languages supported by \sty{babel} or \sty{polyglossia} adding simple redefinitions.
419 %\end{abstract}
420 %
421 % ^^A ----------------------------------------------------------------
422 % ^^A
423 % \tableofcontents
424 % ^^A
425 % ^^A ----------------------------------------------------------------
426 %
427 % ^^A ----------------------------------------------------------------
428 % ^^A
429 % \section*{A brief history}
430 % ^^A
431 % ^^A ----------------------------------------------------------------
432 %
433 % The firs step toward the creation of the \sty{philosophy-modern} style was the request of Lorenzo Pantieri in the \GuIT{} Forum at \url{http://www.guit.sssup.it/phpbb/viewtopic.php?t=6472} (See the discussion on \url{http://www.guit.sssup.it/phpbb/viewtopic.php?t=6717.}) Now this is the bibliography style of \citetitle{pantieri:artelatex}, the most popular Italian guide to \hologo{LaTeX} \parencite{pantieri:artelatex}.
434 %\nocite{ctan,guit:sito}
435 %
436 % ^^A ----------------------------------------------------------------
437 % ^^A
438 % \section*{Acknowledgments}
439 % ^^A
440 % ^^A ----------------------------------------------------------------
441 %
442 % I would like to thank all those who took part in the debate on {\fontfamily{cmr}\upshape\selectfont\GuIT{}} website and the authors of the styles which inspired \sty{biblatex-philosophy}, specifically: Dominik \textcite{wassenhoven:dw}, James \textcite{clawson:mla} and Sander \textcite{glibof:historian}. Last but not least, a special thank to Philipp \textcite{lehman:biblatex} for his fundamental package and to current developers, Philip Kime\index{Kime, Philip}, Audrey Boruvka\index{Boruvka, Audrey} and Joseph Wright\index{Wright, Joseph}.
443 %
444 % ^^A ----------------------------------------------------------------
445 % ^^A
446 % \section{Usage}
447 % ^^A
448 % ^^A ----------------------------------------------------------------
449 %
450 %The styles can be loaded as usual, but to ensure language-specific quotation marks you need \sty{babel} (or \sty{polyglossia}) and \sty{csquotes} \parencite[see][]{babel,polyglossia,csquotes}. \sty{biber} in place of \hologo{BibTeX} is also required as backend bibliography processor \parencite{kime:biber}. The example below shows a typical code for an Italian document. Replace \meta{style} with \sty{classic}, \sty{modern} or \sty{verbose}, and \meta{bibfile} with the name of your bibliography database (``\file{.bib}'' must be declared). For other languages you can choose to use or not the Italian-style quotation marks provided by \sty{csquotes}.
451 %\begin{ttquote}
452 %\cmd{usepackage}[italian]\{babel\}\\
453 %\cmd{usepackage}[style=italian]\{csquotes\}\\
454 %\cmd{usepackage}[style=philosophy-\meta{style}]\{biblatex\}\\
455 %\mbox{}\quad \cmd{addbibresource}\{\meta{bibfile}.bib\}
456 %\end{ttquote}
457 %To uniform the style of quotation marks in multilingual bibliographies typeset using the \opt{autolang=other} option, you can use the \cmd{DeclareQuoteAlias} command. For example:
458 %\begin{ttquote}
459 %\cmd{DeclareQuoteAlias}[italian]\{german\}
460 %\end{ttquote}
461 %
462 % ^^A ----------------------------------------------------------------
463 % ^^A
464 % \section{The styles}\label{sec:introduction}
465 % ^^A
466 % ^^A ----------------------------------------------------------------
467 %
468 % This bundle provides two author-year styles (\sty{philosophy-classic} and \sty{philosophy-modern}) and a verbose style (\sty{philosophy-verbose}). The first simple and trivial characteristic of these style is that they use commas instead of dots to separate the parts of the entry, according to the most common Italian tradition. But they do much more, of course. The other features, some of which are style-dependent, are described in the next sections and can be easily examined looking at the examples at the end of this documentation or typesetting the example files in the \TeX~Live folder \texttt{texmf-dist/doc/latex/biblatex-philosophy/examples.zip}.
469 %
470 % Note that \sty{biblatex} adopts by default a very rational criterion for the ordering of the list of names in multi-authors/editors entries. Only for the first author/editor the surname precedes the name while the other authors/editors are typeset in the form ``Name Surname'' (e.g. ``Eco, Umberto and Gianni Vattimo''). The Italian (academic) writers often see this feature like a sort of inconsistency. Actually it is inconsistent to typeset all the authors in the form ``Surname, Name'' when this is useless.
471 %
472 % ^^A ----------------------------------------------------------------
473 % ^^A
474 % \subsection[\sty{philosophy-classic}]{The \sty{philosophy-classic} style}
475 % ^^A
476 % ^^A ----------------------------------------------------------------
477 %
478 %The \sty{classic} style is a standard author-year style associated to a compact citation scheme which allows to cite multiple entries of the same author and/or published in the same year, omitting some redundant informations. It is based on \sty{authoryear-comp}:
479 %\begin{bibexample}
480 %Knuth (1984, 1986a,b,c,d)
481 %\end{bibexample}
482 % A \sty{classic} bibliography is shown below. You can change indentation, horizontal and vertical space between entries and between blocks or groups of entries. The dash can be replaced by the author's label via the \opt{dashed=false} option and you can have brackets in place of parentheses as well. See the \sty{biblatex} documentation and section \ref{sec:lengths}.
483 %\begin{bibexamplelist}[frametitle=The \sty{philosophy-classic} bibliography]
484 %\item Donald E. Knuth (1984-1986), \emph{Computers \& Typesetting}, 5 vols., Addison-Wesley.
485 %\item ---
486 %(1984) \emph{Computers \& Typesetting}, vol. A: \emph{The \TeX book}, Addison-Wesley.
487 %\item ---
488 %(1986a) \emph{Computers \& Typesetting}, vol. B: \emph{\TeX: The Program}, Addison-Wesley.
489 % \item ---
490 %(1986b) \emph{Computers \& Typesetting}, vol. C: \emph{The \hologo{METAFONT}book}, Addison-Wesley.
491 % \item ---
492 %(1986c) \emph{Computers \& Typesetting}, vol. D: \emph{\hologo{METAFONT}: The Program}, Addison-Wesley.
493 % \item ---
494 %(1986d) \emph{Computers \& Typesetting}, vol. E: \emph{Computer Modern Typefaces}, Addison-Wesley.
495 %\end{bibexamplelist}
496 %
497 % ^^A ----------------------------------------------------------------
498 % ^^A
499 % \subsection[\sty{philosophy-modern}]{The \sty{philosophy-modern} style} \label{esempio-modern}
500 % ^^A
501 % ^^A ----------------------------------------------------------------
502 %
503 %The \sty{modern} style uses the ``classic'' citation scheme but produces a fancy bibliography divided into blocks, which is particularly suited for bibliographies with many entries for the same author. This kind of structure is adopted by many Italian publisher, for example Einaudi, and it is particularly loved by Umberto Eco, who recommends it in his Italian bestseller \parencite{Eco:2004}.
504 % You can change the distance between year and title and, of course, all the common features with the \sty{classic} style. Here is an example of a \sty{modern} bibliography:
505 % \begin{bibexample}[frametitle=The \sty{philosophy-modern} bibliography]
506 % \list{}{
507 % \setlength{\labelwidth}{2cm}
508 % \setlength{\leftmargin}{2cm}
509 % \setlength{\itemsep}{0em}
510 % \setlength{\parsep}{0pt}
511 % }
512 % \item \hskip-2cm Knuth, Donald E.
513 % \item[1984]
514 % \emph{Computers \& Typesetting}, vol. A: \emph{The \TeX book}, Addison-Wesley.
515 % \item[1986a]
516 % \emph{Computers \& Typesetting}, vol. B: \emph{\TeX: The Program}, Addison-Wesley.
517 % \item[1986b]
518 % \emph{Computers \& Typesetting}, vol. C: \emph{The \hologo{METAFONT}book}, Addison-Wesley.
519 % \item[1986c]
520 % \emph{Computers \& Typesetting}, vol. D: \emph{\hologo{METAFONT}: The Program}, Addison-Wesley.
521 % \vspace*{1ex}
522 %\item \hskip-2cm Nietzsche, Friedrich
523 % \item[1988a] \emph{Sämtliche Werke. Kritische Studienausgabe}, ed. by Giorgio Colli and Mazzino Montinari,
524 % 2nd ed., 15 vols., Deutscher Taschenbuch-Verlag and Walter de Gruyter, München,
525 % Berlin, and New York.
526 % \item[1988b] \emph{Sämtliche Werke. Kritische Studienausgabe}, vol. 1: \emph{Die Geburt der Tragödie. Unzeitgemäße
527 % Betrachtungen I-IV. Nachgelassene Schriften 1870-1973}, ed. by Giorgio Colli and Mazzino
528 % Montinari, 2nd ed., Deutscher Taschenbuch-Verlag and Walter de Gruyter, München,
529 % Berlin, and New York.
530 % \item[1988c] ``Unzeitgemässe Betrachtungen. Zweites Stück. Vom Nutzen und Nachtheil der Historie
531 % für das Leben'', in \emph{Sämtliche Werke. Kritische Studienausgabe}, vol. 1: \emph{Die Geburt der
532 % Tragödie. Unzeitgemäße Betrachtungen I-IV. Nachgelassene Schriften 1870-1973}, ed. by
533 % Giorgio Colli and Mazzino Montinari, Deutscher Taschenbuch-Verlag and Walter de
534 % Gruyter, München, Berlin, and New York, p. 243-334.
535 % \vspace*{1ex}
536 %\item \hskip-2cm Van Gennep, Arnold
537 %\item[1909a] \emph{Les rites de passage}, Nourry, Paris.
538 %\item[1909b] \emph{Les rites de passage}, Nourry, Paris; trans. by Monika B. Vizedom and
539 % Gabrielle L. Caffee as \emph{The Rites of Passage} (University of Chicago Press, 1960).
540 %\item[1960] The Rites of Passage, trans. from the French by Monika B. Vizedom and Gabrielle
541 % L. Caffee, University of Chicago Press.
542 %\endlist
543 % \end{bibexample}
544 %
545 % ^^A ----------------------------------------------------------------
546 % ^^A
547 % \subsection[\sty{philosophy-verbose}]{The \sty{philosophy-verbose} style}\label{sec:verbose}
548 % ^^A
549 % ^^A ----------------------------------------------------------------
550 %
551 % This style is aimed for citations given in the footnotes and follows the most popular scheme used in the Italian humanities. It prints a full citation similar to a bibliography entry when an item is cited for the first time, and a short citation afterwards, using the title (possibly shortened in the \bibfield{shorttitle} field), followed by the string ``cit.''.
552 % Citing the same entry two times, in the second one the string ``Ivi'' (``Ibid.'' for English and French documents) is used; citing the same place of the previous citation you will have ``Ibidem'' (``Ibid.'' for English and French documents):
553 %\smallskip
554 %
555 % \begin{bibexample}[frametitle=Italian \sty{philosophy-verbose} citation scheme]
556 % \textsuperscript{1} \fullcite{hyman}, p. 43.\\
557 % \textsuperscript{2} {Ivi}, p. 26. \\
558 % \textsuperscript{3} {Ibidem}. \\
559 % \textsuperscript{4} \fullcite{heidegger:sz}.\\
560 % \textsuperscript{5} Hyman, «Aristotle’s Theory of the Intellect» cit, p. 179.
561 % \end{bibexample}
562 %\smallskip
563 %
564 % \begin{bibexample}[frametitle=English \sty{philosophy-verbose} citation scheme]
565 % \textsuperscript{1} \fullcite{Poincare:1968-ORIG}, p. 43.\\
566 % \textsuperscript{2} {Ibid.}, p. 26. \\
567 % \textsuperscript{3} {Ibid.} \\
568 % \textsuperscript{4} \fullcite{heidegger:sz}.\\
569 % \textsuperscript{5} Poincaré, \emph{La science et l’hypothèse} cit., p. 35.
570 % \end{bibexample}
571 %
572 % When there is only one entry for the same author, with the \opt{singletitle=true} option
573 % the string ``op. cit.'' is used instead of the (short) title followed by ``cit.'':%
574 %\begin{bibexample}
575 %\textsuperscript{6} Heidegger, op. cit., p. 35.
576 %\end{bibexample}
577 %
578 % All the scholarly abbreviations but ``cit.'' are printed by default in normal font. With the \opt{latinemph} option you can get them in italic shape (section \ref{sec:options-verbose}).
579 %
580 % A \sty{verbose} bibliography is similar to a \sty{classic} bibliography but with the year placed at the end of the entry:
581 %\begin{bibexamplelist}[frametitle=The \sty{philosophy-verbose} bibliography]
582 %\item Donald E. Knuth, \emph{Computers \& Typesetting}, 5 vols., Addison-Wesley, 1984-1986.
583 %\item ---
584 % \emph{Computers \& Typesetting}, vol. A: \emph{The \TeX book}, Addison-Wesley, 1984.
585 %\item ---
586 % \emph{Computers \& Typesetting}, vol. B: \emph{\TeX: The Program}, Addison-Wesley, 1986.
587 % \item ---
588 % \emph{Computers \& Typesetting}, vol. C: \emph{The \hologo{METAFONT}book}, Addison-Wesley, 1986.
589 % \item ---
590 % \emph{Computers \& Typesetting}, vol. D: \emph{\hologo{METAFONT}: The Program}, Addison-Wesley, 1986.
591 % \item ---
592 % \emph{Computers \& Typesetting}, vol. E: \emph{Computer Modern Typefaces}, Addison- Wesley, 1986.
593 % \end{bibexamplelist}
594 %
595 % ^^A ----------------------------------------------------------------
596 % ^^A
597 % \section{Specialities}\label{sec:specialities}
598 % ^^A
599 % ^^A ----------------------------------------------------------------
600 %
601 % ^^A ----------------------------------------------------------------
602 % ^^A
603 % \subsection{Related entries}\label{sec:related}
604 % ^^A
605 % ^^A ----------------------------------------------------------------
606 %
607 % The \sty{philosophy} styles use the mechanism provided by the \bibfield{related} field to typeset complex entries comprising both the original publication data and the translation data \parencite[see][]{Poincare:1968-ORIG}. The related entry is preceded by the \texttt{translationas} string which defaults to ``trad.~it.'', ``trans.'', ``trad.~es.'' and ``trad.'' for Italian, English, Spanish and French documents, respectively. If you want to change it, use the \bibfield{relatedstring} field, like in \textcite{popper-logik} which shows, among others, an entry with cascading relations.
608 %
609 % \begin{bibexamplelist}
610 %\item \fullcite{Poincare:1968-ORIG}.
611 % \end{bibexamplelist}
612 %
613 %\begin{latexcode}
614 %\begin{verbatim}
615 %@book{Poincare:1968-ORIG,
616 % author = {Jules-Henri Poincaré},
617 % title = {La science et l'hypothèse},
618 % publisher = {Flammarion},
619 % location = {Paris},
620 % date = {1968},
621 % related = {Poincare:1968-ITA}}
622 %
623 %@book{Poincare:1968-ITA,
624 % author = {Jules-Henri Poincaré},
625 % editor = {Corrado Sinigaglia},
626 % title = {La scienza e l'ipotesi},
627 % publisher = {Bompiani},
628 % location = {Milano}}
629 %\end{verbatim}\end{latexcode}
630 %
631 %\begin{bibexamplelist}
632 %\item \fullcite{popper-logik}.
633 %\end{bibexamplelist}
634 %
635 %\begin{latexcode}\begin{verbatim}
636 %@book{popper-logik,
637 % title = {Logik der Forschung},
638 % publisher = {Springer},
639 % author = {Karl R. Popper},
640 % date = {1934},
641 % location = {Wien},
642 % related = {popper-logik:ing}}
643 %
644 %@book{popper-logik:ing,
645 % title = {The Logic of Scientific Discovery},
646 % publisher = {Hutchinson},
647 % author = {Karl R. Popper},
648 % edition = {3},
649 % date = {1959},
650 % location = {London},
651 % related = {popper-logik:ita},
652 % relatedstring ={it\adddotspace trans\adddot}}
653 %
654 %@book{popper-logik:ita,
655 % title = {Logica della scoperta scientifica},
656 % publisher = {Einaudi},
657 % author = {Karl R. Popper},
658 % edition = {3},
659 % date = {1998},
660 % location = {Torino}}
661 %\end{verbatim}
662 %\end{latexcode}
663 %
664 % ^^A ----------------------------------------------------------------
665 % ^^A
666 % \subsection{Cross references}\label{sec:crossref}
667 % ^^A
668 % ^^A ----------------------------------------------------------------
669 %
670 % The \sty{philosophy} styles allow you to manage
671 % entries referring to other entries via the \bibfield{crossref} field. This is very useful when you have to cite two or more \bibtype{incollection} of the same \bibtype{collection} \parencite[see][]{westfahl:flying,westfahl:frontier}. In this way the \bibtype{collection} is printed in the bibliography and it is cross-referenced inside the \bibtype{incollection}, using the corresponding author-year label (the mechanism is the same for \bibtype{inbook} items).
672 %\begin{bibexamplelist}
673 %\item Westfahl, Gary (2000b), «The True Frontier. Confronting and
674 % Avoiding the Realities of Space in American Science Fiction Films»,
675 % in Westfahl (2000a), p. 55-65.
676 %\item Chatelain, Daniele e George Slusser (2000), «Flying to the Moon
677 % in French and American Science Fiction», in Westfahl (2000a), p. 25-33.
678 % \item Westfahl, Gary (a cura di) (2000a), \textit{Space and Beyond. The Frontier
679 % Theme in Science Fiction}, Greenwood, Westport, Conn. e London.
680 %\end{bibexamplelist}
681 %\begin{latexcode}\begin{verbatim}
682 %@collection{westfahl:frontier,
683 % editor = {Westfahl, Gary},
684 % title = {Space and Beyond},
685 % date = {2000},
686 % subtitle = {The Frontier Theme in Science Fiction},
687 % publisher = {Greenwood},
688 % location = {Westport, Conn. and London},
689 % booktitle = {Space and Beyond},
690 % booksubtitle = {The Frontier Theme in Science Fiction}}
691 %
692 %@incollection{westfahl:flying,
693 % author = {Daniele Chatelain and George Slusser},
694 % title = {Flying to the Moon in French and American
695 % Science Fiction},
696 % pages = {25-33},
697 % crossref = {westfahl:frontier}}
698 %
699 %@incollection{westfahl:space,
700 % author = {Westfahl, Gary},
701 % title = {The True Frontier},
702 % subtitle = {Confronting and Avoiding the Realities of Space in
703 % {American} Science Fiction Films},
704 % pages = {55-65},
705 % crossref = {westfahl:frontier}}
706 %\end{verbatim}\end{latexcode}
707 % When you have to cite \emph{only one} \bibtype{incollection} of a single \bibtype{collection} you have three choices.
708 % \smallskip
709 %
710 % \noindent 1. Use the \bibfield{crossref} field \parencite[see][]{Termini:2007}. In this case all the \bibtype{collection} data are automatically printed inside
711 % the \bibtype{incollection} entry:
712 %\begin{bibexamplelist}
713 %\item \fullcite{Termini:2007}.
714 %\end{bibexamplelist}
715 %\begin{latexcode}\begin{verbatim}
716 %@incollection{Termini:2007,
717 % author = {Settimo Termini},
718 % title = {Vita morte e miracoli di Alan Mathison Turing},
719 % crossref = {Bartocci:2007}}
720 %
721 %@collection{Bartocci:2007,
722 % title = {Vite matematiche},
723 % booktitle = {Vite matematiche},
724 % booksubtitle = {Protagonisti del '900 da Hilbert a Wiles},
725 % editor = {Claudio Bartocci and Renato Betti and Angelo Guerraggio
726 % and Roberto Lucchetti},
727 % publisher = {Springer-Verlag Italia},
728 % location = {Milano},
729 % date = {2007}}
730 %\end{verbatim}\end{latexcode}
731 % 2. Put the \bibtype{collection} data in the fields of the \bibtype{incollection} entry \parencite[see][]{hyman}. In this case the \bibtype{incollection} is self-contained:
732 % \begin{bibexamplelist}
733 %\item \fullcite{hyman}.
734 % \end{bibexamplelist}
735 %\begin{latexcode}\begin{verbatim}
736 %@incollection{hyman,
737 % author = {Arthur Hyman},
738 % editor = {O'Meara, Dominic J.},
739 % title = {Aristotle's Theory of the Intellect and its Interpretation
740 % by {Averroes}},
741 % date = {1981},
742 % booktitle = {Studies in {Aristotle}},
743 % series = {Studies in Philosophy and the History of Philosophy},
744 % number = {9},
745 % publisher = {The Catholic University of America Press},
746 % location = {Washington, D.C.},
747 % pages = {161-191}}
748 %\end{verbatim}\end{latexcode}
749 % 3. Put the \bibtype{collection} data in the fields of the \bibtype{incollection} entry and put the \bibtype{collection} label in the \bibfield{xref} field of the \bibtype{incollection} \parencite[see][]{kant:kpv:xref,kant:ku:xref}\label{kant}:
750 % \begin{bibexamplelist}
751 % \item Immanuel Kant (1968a), \emph{Kants Werke. Akademie Textausgabe}, 9 vols., Walter de Gruyter, Berlin.
752 % \item --- (1968b), \emph{Kritik der praktischen Vernunft}, in Kant (1968a), vol. 5, p. 1-163.
753 % \item --- (1968c), \emph{Kritik der Urtheilskraft}, in Kant (1968a), vol. 5, p. 165-485.
754 % \end{bibexamplelist}
755 %\begin{latexcode}\begin{verbatim}
756 %@bookinbook{kant:kpv:xref,
757 % author = {Kant, Immanuel},
758 % title = {Kritik der praktischen Vernunft},
759 % shorttitle = {Kritik der praktischen Vernunft},
760 % volume = {5},
761 % pages = {1-163},
762 % date = {1968},
763 % xref = {kant:werke}}
764 %
765 %@bookinbook{kant:ku:xref,
766 % author = {Kant, Immanuel},
767 % title = {Kritik der Urtheilskraft},
768 % volume = {5},
769 % pages = {165-485},
770 % date = {1968},
771 % xref = {kant:werke}}
772 %
773 %@mvbook{kant:werke,
774 % author = {Kant, Immanuel},
775 % title = {Kants Werke. Akademie Textausgabe},
776 % maintitle = {Kants Werke. Akademie Textausgabe},
777 % booktitle = {Kants Werke. Akademie Textausgabe},
778 % volumes = {9},
779 % publisher = {Walter de Gruyter},
780 % location = {Berlin},
781 % date = {1968}}
782 %\end{verbatim}\end{latexcode}
783 %
784 % With the \sty{verbose} style, when citing \bibtype{incollection}s entries, the data of the \bibtype{collection} are printed entirely in the first citation and shortened afterwards. Anyway in the final bibliography the \bibtype{incollection} is always complete of all the informations about the corresponding \bibtype{collection}.
785 %
786 % ^^A ----------------------------------------------------------------
787 % ^^A
788 % \subsection{Classical works}\label{sec:classical-works}
789 % ^^A
790 % ^^A ----------------------------------------------------------------
791 %
792 % The treatment of classical works (a fuzzy concept) and other writings with uncertain or omitted date is not particularly difficult if you use the \sty{verbose} style, but with the \sty{classic} and \sty{modern} styles some difficulties inevitably impose clear choices.
793 %
794 % If a critical edition (or similar) exists you should cite it directly, such as \textcite{heidegger:sz}. If you do not like this ``anachronistic'' label you may use the \bibfield{shorthand} field, such as \cite{kant:kpv:xref}. Note that a ``shorthand intro'' is automatically printed when the entry is cited for the first time (see p. \pageref{kant}) and omitted afterwards. To turn off this feature load the option \opt{shorthandintro=false}. Of course in this case you will need a list of shorthands. If you do not like these solutions you can use the \bibfield{entrysubtype} or the \cmd{sdcite} command in order to get an author-title citation, such as \cite{aristotle:ethics} (see sections \ref{sec:newfields} and \ref{sec:commands:citations}).
795 %
796 %\alert Anyway remember that every citation label is \emph{merely} a label and it does not affect in any way the object or the subject it refers to. The label ``Plato 1978'' simply means ``the entry in the bibliography which is alphabetized under the name `Plato' and the year `1978'{}''. All the information about the \emph{object} (in this case a book or a collection of writings) will be retrieved in the bibliography entry.
797 %
798 % ^^A ----------------------------------------------------------------
799 % ^^A
800 % \section{New fields}\label{sec:newfields}
801 % ^^A
802 % ^^A ----------------------------------------------------------------
803 %
804 %\begin{fieldlist}
805 %
806 %\fielditem{nameaddon}{literal}
807 %
808 % An addon to be printed immediately after the author name in the bibliography.
809 %It is useful for those author known with alias, Latinized names, etc. For example \textcite{comenio:oo}:
810 %\begin{bibexamplelist}%
811 %\item Komensky, Jan Amos \emphasize{[Comenius]}
812 % (1969), \emph{Opera Omnia}, Praga.
813 %\end{bibexamplelist}
814 %\begin{latexcode}\begin{verbatim}
815 %@mvbook{comenio:oo,
816 % author = {Jan Amos Komensky},
817 % nameaddon = {Comenius},
818 % title = {Opera Omnia}
819 % location = {Praga},
820 % date = {1969}}
821 %\end{verbatim}\end{latexcode}
822 %
823 % \fielditem{entrysubtype}{literal\null\makebox[0pt][l]{\hskip1cm\hfill[\sty{philosophy-classic} and \sty{philosophy-modern} only]}}
824 % With the \opt{classic} value the citation commands will produce an
825 % author-title label. This is useful for citing works from classical antiquity.
826 %\begin{bibexample}
827 % This topic is examined in \cite{aristotle:ethics} and in Rogers (2015).
828 %\end{bibexample}
829 %\begin{latexcode}\begin{verbatim}
830 %@book{aristotle:ethics,
831 % entrysubtype = {classic},
832 % author = {Aristotle},
833 % title = {Nichomachean Ethics},
834 % ...
835 % }
836 %\end{verbatim}\end{latexcode}
837 % In the bibliography the entry is printed with the author-year label, but with the \opt{skipbib} option in the \opt{options} field you can exclude it from the bibliography.
838 %
839 %\fielditem{library}{literal}
840 %
841 % This field is printed at the end of the entry, in a new period. It is aimed for secondary informations such as the location of the texts, historical notes, etc. For example \textcite{heidegger:sz}:
842 %\begin{bibexamplelist}
843 %\item Heidegger, Martin (2001), \emph{Sein und Zeit}, 18th ed., Max Niemeyer Verlag, Tübingen. \emphasize{Originally published in 1927 in the \emph{Jahrbuch für Philosophie und phänomenologische Forschung (vol. VIII)}, directed by H. Husserl}.
844 %\end{bibexamplelist}
845 %\begin{latexcode}\begin{verbatim}
846 %@book{heidegger:sz,
847 % author = {Martin Heidegger},
848 % title = {Sein und Zeit},
849 % edition = {18},
850 % publisher = {Max Niemeyer Verlag},
851 % location = {Tübingen},
852 % date = {2001},
853 % library = {Originally published in 1927 in the \emph{Jahrbuch für
854 % Philosophie und phänomenologische Forschung (vol. VIII)},
855 % directed by H. Husserl}}
856 %\end{verbatim}\end{latexcode}
857 %
858 %\fielditem{annotation}{literal}
859 %
860 % This field is printed in a new paragraph at the very end of the entry. It requires the \opt{annotation} option. The default font can be changed redefining the \cmd{annotationfont} command (section \ref{sec:customization}):
861 %\begin{bibexamplelist}
862 %\item \fullcite{lehman:biblatex}.\\
863 % \emphasize{This package provides advanced bibliographic facilities
864 % for use with \hologo{LaTeX}. The package is a complete
865 % reimplementation of the bibliographic facilities provided
866 % by \hologo{LaTeX}. The \sty{biblatex} package works with the “backend”
867 % (program) \sty{biber}, which is used to process \hologo{BibTeX}
868 % format data files and them performs all sorting, label generation.}
869 %\end{bibexamplelist}
870 %\begin{latexcode}\begin{verbatim}
871 %@online{lehman:biblatex,
872 % author = {Philipp Lehman},
873 % title = {The \texttt{biblatex} Package},
874 % subtitle = {Programmable Bibliographies and Citations},
875 % version = {3.7},
876 % date = {2016-11-16},
877 % annotation = {This package provides advanced bibliographic facilities
878 % for use with \LaTeX. The package is a complete
879 % reimplementation of the bibliographic facilities provided
880 % by \LaTeX. The \texttt{biblatex} package works with the
881 % “backend” (program) \texttt{biber}, which is used to
882 % process \textsc{Bib}\TeX{} format data files and them
883 % performs all sorting, label generation.}}
884 %\end{verbatim}\end{latexcode}
885 %\end{fieldlist}
886 %
887 % ^^A ----------------------------------------------------------------
888 % ^^A
889 % \section{New citation commands}\label{sec:commands:citations}
890 % ^^A
891 % ^^A ----------------------------------------------------------------
892 %
893 %\begin{ltxsyntax}
894 %
895 %\cmditem{sdcite}{key}\hfill[\sty{philosophy-classic} and \sty{philosophy-modern} only]
896 %
897 % Uses an author-title label instead of an author-year label.
898 % It is useful for some classical or undated works. Anyway you should prefer the \opt{entrysubtype=classic} field (see above).
899 %\begin{bibexample}
900 % See \sdcite{guzman:sd} and Rogers (2015) for details.
901 %\end{bibexample}
902 %
903 %\cmditem{footcitet}{key} \hfill[\sty{philosophy-classic} and \sty{philosophy-modern} only]
904 %
905 % Same as \cmd{footcite} but with the \cmd{textcite} style.\textsuperscript{b}
906 %\begin{bibexample}
907 %\begin{minipage}{.9\textwidth}
908 % \begin{NoHyper}
909 % Medicine is an art\footnote{\emphasize{Garlik 1978, p. 13.}} but it is also a science.\footnote{\emphasize{Garlik (1978, p. 13)}}
910 %\end{NoHyper}
911 %\end{minipage}
912 %\end{bibexample}
913 %
914 %\cmditem{ccite}{key}\hfill[\sty{philosophy-verbose} only]
915 %
916 % The same as \cmd{cite}, but omits the author's (editor's) name (defined only for the \sty{verbose} style). Here is an example:
917 %\begin{bibexample}
918 % The topic is discussed in P. Rossi, \emph{History of Types}, La TeXnica, Verona 2007 and in the recent \emph{Types of History}, Typographica, Milano 2008.
919 %\end{bibexample}
920 %\begin{latexcode}
921 %\begin{verbatim}
922 % The topic is discussed in \cite{Rossi:2007} and in the recent
923 % \ccite{Rossi:2008}.
924 %\end{verbatim}
925 %\end{latexcode}
926 %\end{ltxsyntax}
927 %
928 % ^^A ----------------------------------------------------------------
929 % ^^A
930 % \section{New options}\label{sec:options}
931 % ^^A
932 % ^^A ----------------------------------------------------------------
933 %
934 % ^^A ----------------------------------------------------------------
935 % ^^A
936 % \subsection{Global}
937 % ^^A
938 % ^^A ----------------------------------------------------------------
939 %
940 %\begin{optionlist*}
941 %\optitem[semicolon]{relatedformat}{\opt{semicolon}\OR\opt{parens}\OR\opt{brackets}}
942 %\begin{valuelist}
943 %\item[semicolon]
944 % The ``related'' entry is preceded by a semicolon.
945 % \begin{bibexample}%
946 % Poincaré, Jules-Henri (1968), \emph{La science et l'hypothèse}, Paris,
947 % Flammarion\emphasize{; trad. it. \emph{La scienza e l'ipotesi},
948 % Bompiani, 2003}.
949 % \end{bibexample}
950 %\item[parens]
951 % Puts the ``related'' entry in parentheses.
952 % \begin{bibexample}%
953 % Poincaré, Jules-Henri (1968), \emph{La science et l'hypothèse}, Paris,
954 % Flammarion \emphasize{(trad. it. \emph{La scienza e l'ipotesi},
955 % Bompiani, 2003)}.
956 % \end{bibexample}
957 %\item[brackets]
958 % Same as the previous option but with brackets.
959 % \begin{bibexample}%
960 % Poincaré, Jules-Henri (1968), \emph{La science et l'hypothèse}, Paris,
961 % Flammarion \emphasize{[trad. it. \emph{La scienza e l'ipotesi},
962 % Bompiani, 2003]}.
963 % \end{bibexample}
964 %\end{valuelist}
965 %
966 %\optitem[publocyear]{publocformat}{\opt{publocyear}\OR\opt{locpubyear}\OR\opt{loccolonpub}}
967 % This option provides three styles for typesetting the ``publisher/location/date'' block.
968 % It is active also for the related entry and for the \bibfield{orig-} fields (section \ref{sec:origfields}).
969 % \begin{valuelist}
970 % \item[publocyear] Oxford University Press, Oxford 2007
971 %
972 % \item[locpubyear] Oxford, Oxford University Press, 2007
973 %
974 % \item[loccolonpub] Oxford: Oxford University Press, 2007
975 % \end{valuelist}
976 %
977 %\optitem[plain]{volnumformat}{\opt{strings}\OR\opt{parens}\OR\opt{plain}}
978 % This option provides three styles for typesetting the ``volume/number'' block in \bibtype{article} entries.
979 %\begin{valuelist}
980 % \item[plain]
981 % \ldots \emph{Journal Title}, 5, 8, \ldots
982 % \item[strings]
983 % \ldots \emph{Journal Title}, vol.~5, n.~8, \ldots
984 % \item[parens]
985 % \ldots \emph{Journal Title} (5, 8), \ldots
986 % \end{valuelist}
987 %
988 %\optitem[arabic]{volumeformat}{\opt{arabic}\OR\opt{roman}\OR\opt{romansc}\opt{Roman}}
989 % This option provides three styles for typesetting the \bibfield{volume} field.
990 % \begin{valuelist}
991 % \item[arabic]
992 % \ldots \emph{Book Title}, vol. 12, \ldots
993 % \item[roman]
994 % \ldots \emph{Book Title}, vol. xii, \ldots
995 % \item[romansc]
996 % \ldots \emph{Book Title}, vol. \textsc{xii}, \ldots
997 % \item[Roman]
998 % \ldots \emph{Book Title}, vol. XII, \ldots
999 % \end{valuelist}
1000 %
1001 %^^AWith the command
1002 %^^A\begin{latexcode}
1003 %^^A\begin{verbatim}
1004 %^^A\DeclareFieldFormat{volume}{\bibstring{volume}~#1}
1005 %^^A\end{verbatim}
1006 %^^A\end{latexcode}
1007 %^^Ayou can restore the default format for all but \bibtype{article} entries.
1008 %
1009 %\optitem[arabic]{editionformat}{\opt{arabic}\OR\opt{roman}\OR\opt{romansc}\OR\opt{Roman}\OR\opt{superscript}}
1010 % This option provides three styles for typesetting the \bibfield{edition} field.
1011 % \begin{valuelist}
1012 % \item[arabic]
1013 % \ldots \emph{Book Title}, 3\textsuperscript{a} ed., \ldots
1014 % \item[roman]
1015 % \ldots \emph{Book Title}, iii ed., \ldots
1016 % \item[romansc]
1017 % \ldots \emph{Book Title}, \textsc{iii} ed., \ldots
1018 % \item[Roman]
1019 % \ldots \emph{Book Title}, III ed., \ldots
1020 % \item[superscript] \hfill[only for \sty{philosophy-verbose}]\\
1021 % \ldots \emph{Book Title}, Publisher, Location 2010\textsuperscript{3}.
1022 % \end{valuelist}
1023 %
1024 %\optitem[false]{scauthors}{\opt{bib}\OR\opt{cite}\OR\opt{bibcite}\OR\opt{citefn}\OR\opt{bibcitefn}\OR\opt{all}}
1025 % Prints some or all names (authors, editors, translators, etc.) in small caps.
1026 % \begin{valuelist}
1027 % \item[bib] Small caps only for the names at the beginning of the entry in the bibliography.
1028 % \item[cite] Small caps only for the names at the beginning of the entry in the citations.
1029 % \item[bibcite] Small caps only for the names at the beginning of the entry both in bibliography and citations.
1030 % \item[citefn] Small caps only for the names at the beginning of the entry in the citations inside footnotes.
1031 % \item[bibcitefn] Small caps only for the names at the beginning of the entry both in bibliography and citations inside footnotes.
1032 % \item[all] Small caps for \emph{all} the names both in bibliography and citations.
1033 % \end{valuelist}
1034 %
1035 %\boolitem[false]{lowscauthors}
1036 % Prints the initials of the names in lowercase small capitals.
1037 %\begin{bibexample}
1038 %\textsc{donald e. knuth} or \textsc{Donald E. Knuth}.
1039 %\end{bibexample}
1040 %
1041 %\boolitem[true]{shorthandintro}
1042 %
1043 % Prints a language-specific expression such as ``henceforth cited as \meta{shorthand}'' to introduce shorthands on the first citation.
1044 % \begin{bibexample}
1045 % Kant (1968a \emphasize{[henceforth cited as KpV]}).
1046 % \end{bibexample}
1047 % You can overwrite the default expression using the \bibfield{shorthandintro}. Note that the alternative expression must include the shorthand.
1048 % Obviously, if you do not use an intro to the shorthands
1049 % you will need a list of shorthands (\cmd{printshorthand} command).
1050 %
1051 %\boolitem[false]{inbeforejournal}
1052 % Prints the string ``in'' before the \bibfield{journaltitle} in the \bibtype{article} entries.
1053 %\begin{bibexample}
1054 % Doody, Terrence (1974), ``Hemingway’s Style and Jake’s Narration'', \emphasize{in} \emph{The Journal of Narrative Technique}, 4, 3, p. 212-225.
1055 %\end{bibexample}
1056 %
1057 %\boolitem[false \textrm{[Only for Italian documents]}]{classical}
1058 %
1059 % It requires \sty{babel} or \sty{polyglossia}.
1060 % If \opt{true} it doubles the last consonant of the abbreviations such as ``p.'', ``vol.'', ``col.'', etc., when used in the plural form. For example you will have ``p.'' for ``page'' and ``pp.'' for ``pages''. This habit is very common in Italian writings even if it remains useless.
1061 %\begin{bibexample}
1062 % Chatelain, Daniele e George Slusser (2000), «Flying to the Moon
1063 % in French and American Science Fiction», in Westfahl (2000a), \emphasize{pp.} 25-33.
1064 %\end{bibexample}
1065 %^^A A similar setting is adopted for the default English and Spanish localization modules which, for example, use ``cols.'' for ``columns'' and ``pp'' for ``pages''.
1066 %
1067 %\boolitem[true]{library}
1068 % Shows the \bibfield{library} field, both in the bibliography and in the citations% (see also section \ref{sec:newfields}).
1069 %
1070 %\boolitem[false]{annotation}
1071 % Shows the \bibfield{annotation} field only in the bibliography% (see also section \ref{sec:newfields}).
1072 % This option can be given globally or on a per-bibliography basis.
1073 %\begin{ttquote}
1074 %\cmd{printbibliography}[annotation=true]
1075 %\end{ttquote}
1076 %
1077 % \end{optionlist*}
1078 %
1079 % ^^A ----------------------------------------------------------------
1080 % ^^A
1081 % \subsection[For \sty{classic}/\sty{modern} styles]{Options for \sty{philosophy-classic} and
1082 % \sty{philosophy-modern}}\label{sec:options-classic-modern}
1083 % ^^A
1084 % ^^A ----------------------------------------------------------------
1085 %
1086 % \begin{optionlist*}
1087 %
1088 %\boolitem[false]{latinemph}
1089 % Prints ``et al.'' (\emph{et alii}) in italic shape.
1090 %
1091 %\boolitem[false]{square}
1092 %
1093 % Uses brackets instead of parentheses in the citations and in the author-year label used in the bibliography.
1094 %
1095 %\boolitem[true]{nodate} Prints the \texttt{nodate} string (localized) when \bibfield{year} or \bibfield{date} is missing. Yo can set this option globally in the package options or in the optional argument of \cmd{printbibliography}.
1096 %
1097 % \end{optionlist*}
1098 %
1099 % ^^A ----------------------------------------------------------------
1100 % ^^A
1101 % \subsection[For \sty{modern} style]{Options for \sty{philosophy-modern}}\label{sec:options-modern}
1102 % ^^A
1103 % ^^A ----------------------------------------------------------------
1104 %
1105 % \begin{optionlist*}
1106 %
1107 %\boolitem[false]{yearleft}
1108 %
1109 % Prints the date flushed left in the bibliography.
1110 %
1111 %\boolitem[true]{restoreclassic}
1112 %
1113 % This option can be given in the optional argument of \cmd{printbibliography}.
1114 % It restores the \sty{classic} style within a document typeset using the \sty{modern} style. It is useful to compose a ``Web List'' like that at the end of this document. For example:
1115 %\begin{ttquote}
1116 %\cmd{printbibliography}[restoreclassic,type=online]
1117 %\end{ttquote}
1118 %
1119 % \end{optionlist*}
1120 %
1121 % ^^A ----------------------------------------------------------------
1122 % ^^A
1123 % \subsection[For \sty{verbose} style]{Options for \sty{philosophy-verbose}}\label{sec:options-verbose}
1124 % ^^A
1125 % ^^A ----------------------------------------------------------------
1126 %
1127 % \begin{optionlist*}
1128 %
1129 %\boolitem[false]{latinemph}
1130 % Prints the scholarly abbreviations ``ibidem'', ``et al.'', ``op. cit.'', ``idem'' in italic shape.
1131 %
1132 %\boolitem[false]{iviemph}
1133 % Prints the scholarly abbreviation ``ivi'' in italic shape.
1134 %
1135 %\boolitem[false]{commacit}
1136 % Adds a comma at the end of the \bibfield{shorttitle} field when this is followed by the string ``cit.'':
1137 % \begin{bibexample}
1138 %``Descartes, \emph{Discours de la méthode}\emphasize{,} cit.''.
1139 % \end{bibexample}
1140 %\end{optionlist*}
1141 %
1142 %
1143 %
1144 % ^^A ----------------------------------------------------------------
1145 % ^^A
1146 % \section{Customizations}\label{sec:customization}
1147 % ^^A
1148 % ^^A ----------------------------------------------------------------
1149 %
1150 % Here we introduce the new commands and lenghts provided by \sty{biblatex-philosophy}. The \sty{biblatex} package offers other commands, lenghts and options to modify many aspects of citations and bibliography. See the \sty{biblatex} documentation for details.
1151 %
1152 % ^^A ----------------------------------------------------------------
1153 % ^^A
1154 % \subsection{Fonts}
1155 % ^^A
1156 % ^^A ----------------------------------------------------------------
1157 %
1158 %\begin{ltxsyntax}
1159 %\cmditem{annotationfont} \hfill default: \cmd{footnotesize}
1160 %
1161 %The font of the \bibfield{annotation} field. It can be redefined with:
1162 %\begin{latexcode}
1163 %\begin{verbatim}
1164 %\renewcommand*{\annotationfont}{\normalsize\sffamily}
1165 %\end{verbatim}
1166 %\end{latexcode}
1167 %
1168 %\cmditem{libraryfont} \hfill default: \cmd{normalfont}
1169 %
1170 %The font of the \bibfield{library} field. It can be redefined with:
1171 %
1172 %\begin{latexcode}
1173 %\begin{verbatim}
1174 %\renewcommand*{\libraryfont}{\sffamily}
1175 %\end{verbatim}
1176 %\end{latexcode}
1177 %\end{ltxsyntax}
1178 %
1179 % ^^A ----------------------------------------------------------------
1180 % ^^A
1181 % \subsection{Punctuation}
1182 % ^^A
1183 % ^^A ----------------------------------------------------------------
1184 %
1185 %\begin{ltxsyntax}
1186 %\cmditem{volnumpunct} \hfill default: \cmd{addcomma}\cmd{space}
1187 %
1188 % The separator between \bibfield{volume} and \bibfield{number} in \bibtype{article} entries.
1189 % It can be redefined with:
1190 %\begin{latexcode}
1191 %\begin{verbatim}
1192 %\renewcommand*{\volnumpunct}{/}
1193 %\end{verbatim}
1194 %\end{latexcode}
1195 % Combining this with the \opt{volnumformat} and \opt{volumeformat} options
1196 % you can get other styles for volume and number. For example:\\
1197 % \begin{bibexample}
1198 % \ldots\ \emph{Journal Title}, 5/8, \ldots \\
1199 % \ldots\ \emph{Journal Title}, \textsc{V}/8, \ldots \\
1200 % \ldots\ \emph{Journal Title} (5/8), \ldots \\
1201 % \ldots\ \emph{Journal Title} (\textsc{V}/8), \ldots
1202 % \end{bibexample}
1203 %
1204 %\cmditem{editorstrgdelim} \hfill default: \cmd{addspace}
1205 %
1206 % The separator to be printed after the strings \texttt{editorstrg}, \texttt{authorstrg} and \texttt{translatorstrg},
1207 % which are enclosed in parentheses by default. If you want omit the parentheses you should also change it as follows:
1208 %\begin{latexcode}
1209 %\begin{verbatim}
1210 %\renewcommand*{\editorstrgdelim}{\addcomma\space}
1211 %\DeclareFieldFormat{editortype}{#1}% no parentheses
1212 %\end{verbatim}
1213 %\end{latexcode}
1214 %\end{ltxsyntax}
1215 %
1216 % ^^A ----------------------------------------------------------------
1217 % ^^A
1218 % \subsection{Lengths}\label{sec:lengths}
1219 % ^^A
1220 % ^^A ----------------------------------------------------------------
1221 %
1222 % These lengths are (re)defined only for the \sty{modern} style. It introduces two new lengths:
1223 %
1224 %\begin{ltxsyntax}
1225 %\lenitem{postnamesep}
1226 %
1227 %The space between author (or editor) and the first entry relating to him.
1228 %
1229 %\lenitem{yeartitle}
1230 %
1231 %The space between year and title.
1232 %\end{ltxsyntax}
1233 %
1234 %It also redefines the following \sty{biblatex} lengths:
1235 %\begin{ltxsyntax}
1236 %\lenitem{bibnamesep} The vertical space between two blocks of authors.
1237 %\lenitem{bibitemsep} The vertical space between the individual entries in the bibliography.
1238 %
1239 %\lenitem{bibhang} The hanging indentation of the bibliography.
1240 %
1241 %\end{ltxsyntax}
1242 %
1243 %These are the default values for the lengths used by the \sty{modern} style.
1244 % You can change them according to your specific needs.
1245 %\begin{latexcode}
1246 %\begin{verbatim}
1247 %\setlength{\yeartitle}{0.8em}
1248 %\setlength{\postnamesep}{0.5ex plus 2pt minus 1pt}
1249 %\setlength{\bibitemsep}{\postnamesep}
1250 %\setlength{\bibnamesep}{1.5ex plus 2pt minus 1pt}
1251 %\setlength{\bibhang}{4\parindent}
1252 %\end{verbatim}
1253 %\end{latexcode}
1254 %
1255 %
1256 % ^^A ----------------------------------------------------------------
1257 % ^^A
1258 % \subsection[Languages]{Using the styles with other languages}\label{sec:languages}
1259 % ^^A
1260 % ^^A ----------------------------------------------------------------
1261 %
1262 % The languages currently supported by this bundle are Italian, English, Spanish and French. In order to use the styles with different languages, you have first of all to declare the new \opt{opcited} string introduced by \sty{biblatex-philosophy}. You can then test the styles and if the default strings provided in the localization module does not match your needs you can redefine them.
1263 %
1264 %Here is a sample code for using the styles in German documents. Note that we first declare the new string \opt{opcited}, then we define it and inherit the German default strings from \file{german.lbx}. The other strings (\opt{translationas}, \opt{ibidem}, \opt{loccit}, \dots) may be redefined if the default ones are not satisfying. For example you may prefer ``deut. \"Ubers'' to the default ``\"Ubers unter dem Titel''.
1265 % Another approach is to use the \cmd{DeclareLanguageMapping} command. See the documentation of the \sty{biblatex} package for details \parencite{lehman:biblatex}.
1266 %\begin{latexcode}
1267 %\begin{verbatim}
1268 %\NewBibliographyString{opcited}
1269 %\DefineBibliographyStrings{german}{%
1270 % inherit = {german},
1271 % opcited = {op\adddotspace cit\adddot},
1272 % translationas = {deut\adddotspace \"Ubers\adddot},
1273 % ...other strings...
1274 %}
1275 %\end{verbatim}
1276 %\end{latexcode}
1277 %
1278 % The French default localization module redefines, among others, the \cmd{mkbibnamefamily} command in order to get the family name in small caps. We do not like this approach because an author could use a localization module without adhering to the typographical standards which should be indipendent from the linguistic standards. For this reason we have reset it to the default definition. If you prefer the \file{french.lbx} choice, use this code:
1279 %\begin{latexcode}
1280 %\begin{verbatim}
1281 %\DefineBibliographyExtras{french}{%
1282 % \protected\def\mkbibnamefamily#1{%
1283 % \textsc{\textnohyphenation{#1}}}}%
1284 %\end{verbatim}
1285 %\end{latexcode}
1286 %
1287 % The \sty{philosophy} styles redefine the \cmd{bibrangedash} and \cmd{bibdaterangesep} commands in order to get a simple dash (-) instead of an en dash (--), in the page and date ranges. If you prefer the en dash use the following code for all the languages loaded by \sty{babel} or \sty{polyglossia}:
1288 %
1289 %\begin{latexcode}
1290 %\begin{verbatim}
1291 %\DefineBibliographyExtras{<langid>}{%
1292 % \protected\def\bibrangedash{%
1293 % \textendash\penalty\hyphenpenalty}%
1294 % \protected\def\bibdaterangesep{\bibrangedash}}%
1295 %\end{verbatim}
1296 %\end{latexcode}
1297 %
1298 % ^^A ----------------------------------------------------------------
1299 % ^^A
1300 % \section{Backward compatibility}
1301 % ^^A
1302 % ^^A ----------------------------------------------------------------
1303 %
1304 %Previous versions of the styles provided a different mechanism to manage entries comprising both the original publication data and the translation data. This feature is now deprecated and it is still supported only for backward compatibility. This mechanism uses some special fields and provides specific options.
1305 %
1306 % ^^A ----------------------------------------------------------------
1307 % ^^A
1308 % \subsection{Deprecated fields}\label{sec:origfields}
1309 % ^^A
1310 % ^^A ----------------------------------------------------------------
1311 %
1312 %The following fields can hold the translation or the original edition data. They are preceded by the string ``trans.'' or ``orig. ed.'', respectively according to the \opt{origfields=trans} (default) or \opt{origfields=origed} option (see below). Note that the \bibfield{origdate/transdate} field is needed in order to print these fields. Contrarily they will be ignored.
1313 %
1314 %\begin{fieldlist}
1315 %
1316 %\fielditem{origtitle}{literal}\mbox{}\\[-9ex]
1317 %\fielditem{transtitle}{literal}
1318 %
1319 %The title of the translation/original edition.
1320 %
1321 %\fielditem{origpublisher}{list}\mbox{}\\[-9ex]
1322 %\fielditem{transpublisher}{list}
1323 %
1324 %The publisher of the translation/original edition.
1325 %
1326 %\fielditem{origlocation}{list}\mbox{}\\[-9ex]
1327 %\fielditem{translocation}{list}
1328 %
1329 %The location of the translation/original edition.
1330 %
1331 %\fielditem{origdate}{range}\mbox{}\\[-9ex]
1332 %\fielditem{transdate}{range}
1333 %
1334 %The publication date of the translation/original edition.
1335 %^^A\begin{bibexample}
1336 %^^ARobert Bringhurst (1992), \emph{The Elements of Typographic Style}, Hartley \& Marks Publisher Inc., Vancouver, Canada; trad. it. \emphasize{\emph{Gli elementi dello stile tipografico}, Sylvestre Bonnard, Milano 2009.}
1337 %^^A\end{bibexample}
1338 %
1339 %\fielditem{reprinttitle}{literal}
1340 % The title of a reprint of the work.
1341 %\fielditem{usera}{literal}\mbox{}\\[-9ex]
1342 %\fielditem{origbooktitle}{literal}\mbox{}\\[-9ex]
1343 %\fielditem{transbooktitle}{literal}
1344 %
1345 %The title of the \bibtype{collection}/\bibtype{book}/\bibtype{mvbook} in which the translation/original edition of an \bibtype{article}/\bibtype{inbook}/\bibtype{incollection} is published.
1346 %
1347 % The field is printed after the \bibfield{origtitle/transtitle} fields.
1348 %^^A\vbox{
1349 %^^A \begin{bibexample}
1350 %^^A 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.
1351 %^^A \end{bibexample}}
1352 %
1353 %\fielditem{userb}{literal}\mbox{}\\[-9ex]
1354 %\fielditem{orignote}{literal}\mbox{}\\[-9ex]
1355 %\fielditem{transnote}{literal}
1356 %
1357 %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.
1358 %^^A \begin{bibexample}
1359 %^^A 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.
1360 %^^A \end{bibexample}
1361 %
1362 %\fielditem{userc}{literal}\mbox{}\\[-9ex]
1363 %\fielditem{origpages}{literal}\mbox{}\\[-9ex]
1364 %\fielditem{transpages}{literal}
1365 %
1366 %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.
1367 %In the first case, string ``p.'' is omitted.
1368 %\end{fieldlist}
1369 %
1370 % ^^A ----------------------------------------------------------------
1371 % ^^A
1372 % \subsection{Deprecated options}
1373 % ^^A
1374 % ^^A ----------------------------------------------------------------
1375 %
1376 %\begin{optionlist*}
1377 %\optitem[trans]{origfields}{\opt{trans}\OR\opt{none}\OR\opt{edorig}}
1378 %\begin{valuelist}
1379 %\item[true] Prints the \bibfield{orig-} fields.
1380 %\item[none] Omits the \bibfield{orig-} fields.
1381 %\item[origed] This option cites the translation data first and adds the original publication data at the end of the entry, preceded by the string ``orig.~ed'' (or ``ed.~orig.'' for Italian documents).
1382 %\end{valuelist}
1383 %
1384 %\boolitem[true]{origed}
1385 %
1386 %Same as the previous but can be set on a per-entry basis in the \opt{options} field.
1387 %
1388 %\optitem[semicolon]{origfieldsformat}{\opt{semicolon}\OR\opt{parens}\OR\opt{brackets}}
1389 % Use the \opt{relatedformat} option instead.
1390 %\begin{valuelist}
1391 %\item[semicolon]
1392 %The translation/original publication data are preceded by a semicolon.
1393 %\item[parens]
1394 %Puts the translation or the original publication data in parentheses.
1395 %\item[brackets]
1396 %Same as the previous option, but with brackets instead of parentheses.
1397 %\end{valuelist}
1398 %\boolitem[false]{scauthorsbib}
1399 %Same as \opt{scauthors=bib}.
1400 %\boolitem[false]{scauthorscite}
1401 %Same as \opt{scauthors=cite}.
1402 %\boolitem[false]{scauthors}
1403 %Same as \opt{scauthors=bibcite}.
1404 %\end{optionlist*}
1405 %
1406 % \section{Known issues}
1407 %
1408 % The \sty{parskip} package redefines \cmd{parindent} and sets it to 0\,pt by default. This conflicts with the \sty{philosophy-modern} style, which uses this length for the left indentation of bibliographic entries. In such a case, remember to select the correct value of \cmd{bibhang}, which is set to \texttt{4}\cmd{parindent} by default (see section \ref{sec:lengths}).
1409 %
1410 % \defbibnote{weblist}{\label{weblist}\small Here we have a list of Web sites typeset in the \sty{classic} style through the \opt{restoreclassic} option. Only the \bibtype{online} entries are printed and the annotation is omitted via the contextual option \opt{annotation=false}.}
1411 %
1412 %\defbibnote{biblatex-examples}{\small The source of this bibliography, typeset in the \sty{modern} style, is the \file{biblatex-examples.bib} database, distributed with the \sty{biblatex} package. It is provided for checking all the standard features. This list could highlight some bugs.}
1413 %
1414 %\defbibnote{philosophy-examples}{\small The source of this bibliography, typeset in the \sty{modern} style, is the \file{biblatex-philosophy.bib} database, distributed with the \sty{biblatex-philosophy} package. It is provided for checking all the style-specific features. This list should not highlight any bugs.}
1415 %
1416 %\printbibheading[heading=bibintoc,title=Examples]
1417 %\printshorthands[heading=subbibliography,title=Shorthands]
1418 %\printbibliography[heading=subbibliography,title=A Web List,
1419 % category=web,restoreclassic,prenote=weblist,annotation=false]
1420 %\printbibliography[heading=subbibliography,title=Philosophy
1421 % examples,prenote=philosophy-examples,keyword=esempio]
1422 %
1423 %\nocite{set,stdmodel,matuz:doody,vizedom:related,britannica,gaonkar,jaffe,westfahl:frontier,cms,ctan,jcg,yoon,worman,wilde,westfahl:space,weinberg,wassenberg,vazques-de-parga,springer,spiegelberg,sorace,sigfridsson,shore,sarfraz,salam,reese,pines,piccato,padhye,nussbaum,nietzsche:ksa,nietzsche:ksa1,nietzsche:historie,moraux,moore,moore:related,massa,maron,markey,malinowski,loh,laufenberg,kullback,kullback:reprint,kullback:related,kowalik,knuth:ct,knuth:ct:a,knuth:ct:b,knuth:ct:c,knuth:ct:d,knuth:ct:e,knuth:ct:related,kastenholz,kant:kpv,kant:ku,itzhaki,hyman,murray,iliad,herrmann,hammond,companion,gonzalez,glashow,gillies,gerhardt,vangennep,vangennep:trans,vangennep:related,geer,gaonkar:in,doody,cotton,coleridge,cicero,chiu,brandt,bertram,baez/article,baez/online,averroes/bland,averroes/hannes,averroes/hercz,augustine,aristotle:anima,aristotle:physics,aristotle:poetics,aristotle:rhetoric,angenendt,almendro,aksin}
1424 %\printbibliography[heading=subbibliography,title=Biblatex examples,
1425 % prenote=biblatex-examples,category=biblatex]
1426
1427 %
1428 % \StopEventually{
1429 % \defbibnote{restoreclassic}{\small This is the primary bibliography of this document and it is typeset in \sty{classic} style (through the \opt{restoreclassic} option) even if the bibliography style of the document is \sty{philosophy-modern}. This is particularly useful for typesetting bibliographies in which there is only one entry for an author, such as the Web lists. See the example above (p. \pageref{weblist}).}
1430 %
1431 % \printbibliography[heading=bibintoc,keyword=primaria,
1432 % restoreclassic,prenote=restoreclassic]
1433 % \PrintChanges\PrintIndex}
1434 %
1435 % \iffalse
1436 %<*standard-bbx>
1437 % \fi
1438 %
1439 % ^^A ----------------------------------------------------------------
1440 % ^^A
1441 % \section{The Code}
1442 % ^^A
1443 % ^^A ----------------------------------------------------------------
1444 %
1445 % ^^A ----------------------------------------------------------------
1446 % ^^A
1447 % \subsection{\file{philosophy-standard.bbx}}
1448 % ^^A
1449 % ^^A ----------------------------------------------------------------
1450 %
1451 % ^^A ----------------------------------------------------------------
1452 % ^^A
1453 % \subsubsection{Initial settings}
1454 % ^^A
1455 % ^^A ----------------------------------------------------------------
1456 %
1457 % \sty{biber} is the default bibliography processor for \sty{biblatex}.
1458 % The \sty{philosophy} styles could work without \sty{biber} (excluding the experimental \bibtype{jurisprudence} driver)
1459 % but it is required because it offers many useful functionalities. The \opt{backend=bibtex} or \opt{backend=bibtex8} options
1460 % produce an error message.
1461 % \begin{macrocode}
1462 \RequireBiber[3]
1463 \@ifpackagelater{biblatex}{2020/08/23}
1464 {}
1465 {\PackageError{biblatex-philosophy}
1466 {Package biblatex is too old. Please update your LaTeX distribution}}
1467 % \end{macrocode}
1468 % The styles are base on \sty{standard} \sty{biblatex} default style.
1469 % \begin{macrocode}
1470 \RequireBibliographyStyle{standard}
1471 % \end{macrocode}
1472 % A command to get an error message if you use an unknown value
1473 % for an option.
1474 % \begin{macrocode}
1475 \def\optionerror#1{%
1476 \ClassError{biblatex-philosophy}
1477 {\MessageBreak**** Unknown value for '#1' option}
1478 {\MessageBreak**** Unknown value for '#1' option}}
1479 % \end{macrocode}
1480 % The \sty{philosophy} styles
1481 % redefine some localized strings for Italian, English, Spanish and French in specific
1482 % localization modules. So we declare and map them to the associated languages.
1483 % \begin{macrocode}
1484 \DeclareLanguageMapping{italian}{italian-philosophy}
1485 \DeclareLanguageMapping{english}{english-philosophy}
1486 \DeclareLanguageMapping{spanish}{spanish-philosophy}
1487 \DeclareLanguageMapping{french}{french-philosophy}
1488 % \end{macrocode}
1489 % The default value for the boolean options is |true|.
1490 % This means that giving the options without the value is just like giving
1491 % \opt{option=true.}
1492 % \begin{macrocode}
1493 \newtoggle{bbx:annotation}
1494 \newtoggle{bbx:library}
1495 \newtoggle{bbx:inbeforejournal}
1496 \newtoggle{bbx:classical}
1497 \newtoggle{bbx:lowscauthors}
1498 \newtoggle{cbx:shorthandintro}
1499 \newtoggle{cbx:scauthorscite}
1500 \newtoggle{bbx:scauthorsbib}
1501 \newtoggle{cbx:scauthorscitefn}
1502 \newtoggle{cbx:latinemph}
1503 \newtoggle{cbx:iviemph}
1504
1505 \DeclareBibliographyOption{annotation}[true]{%
1506 \settoggle{bbx:annotation}{#1}}
1507 \DeclareBibliographyOption{library}[true]{%
1508 \settoggle{bbx:library}{#1}}
1509 \DeclareBibliographyOption{inbeforejournal}[true]{%
1510 \settoggle{bbx:inbeforejournal}{#1}}
1511 \DeclareBibliographyOption{classical}[true]{%
1512 \settoggle{bbx:classical}{#1}}
1513 \DeclareBibliographyOption{lowscauthors}[true]{%
1514 \settoggle{bbx:lowscauthors}{#1}}
1515 \DeclareBibliographyOption{shorthandintro}[true]{%
1516 \settoggle{cbx:shorthandintro}{#1}}
1517 \DeclareBibliographyOption{latinemph}[true]{%
1518 \settoggle{cbx:latinemph}{#1}}
1519 \DeclareBibliographyOption{iviemph}[true]{%
1520 \settoggle{cbx:iviemph}{#1}}
1521 % \end{macrocode}
1522 % Also the multi-value options have a default value, which is declared
1523 % in the optional bracketed argument of the \cmd{DeclareBibliographyOption} commands below.
1524 % For example, the new \opt{scauthors} option is now multi-value and defaults to \opt{all}.
1525 % So \opt{scauthors=all} is the same of \opt{scauthors}. In this way this option
1526 % works exactly like the old \opt{scauthors} boolean option that for this reason has been erased.
1527 % \begin{macrocode}
1528 \newcommand{\bbx@publocformat}{}
1529 \newcommand{\bbx@volnumformat}{}
1530 \newcommand{\bbx@relatedformat}{}
1531 \newcommand{\bbx@editionformat}{}
1532 \newcommand{\bbx@volumeformat}{}
1533 \newcommand{\bbx@scauthors}{}
1534 \DeclareBibliographyOption{publocformat}[publocyear]{%
1535 \renewcommand{\bbx@publocformat}{#1}}
1536 \DeclareBibliographyOption{volnumformat}[plain]{%
1537 \renewcommand{\bbx@volnumformat}{#1}}
1538 \DeclareBibliographyOption{origfieldsformat}[semicolon]{%
1539 \renewcommand{\bbx@relatedformat}{#1}}
1540 \DeclareBibliographyOption{relatedformat}[semicolon]{%
1541 \renewcommand{\bbx@relatedformat}{#1}}
1542 \DeclareBibliographyOption{origfields}[true]{%
1543 \renewcommand{\bbx@origfields}{#1}}
1544 \DeclareBibliographyOption{editionformat}[arabic]{%
1545 \renewcommand{\bbx@editionformat}{#1}}
1546 \DeclareBibliographyOption{volumeformat}[arabic]{%
1547 \renewcommand{\bbx@volumeformat}{#1}}
1548 \DeclareBibliographyOption{scauthors}[all]{%
1549 \renewcommand{\bbx@scauthors}{#1}}
1550 % \end{macrocode}
1551 % These options are defined for backwards compatibility. The \opt{origed} option is now useless and it is substituted by the `related' mechanism. The \opt{scauthorscite} and \opt{scauthorsbib} are substituted by \opt{scauthors=cite} and \opt{scauthors=bib}, respectively.
1552 % \begin{macrocode}
1553 \newcommand{\bbx@origfields}{}
1554 \DeclareEntryOption{origed}[true]{%
1555 \renewcommand{\bbx@origfields}{origed}}
1556 \DeclareBibliographyOption{scauthorsbib}[true]{%
1557 \settoggle{bbx:scauthorsbib}{#1}}
1558 \DeclareBibliographyOption{scauthorscite}[true]{%
1559 \settoggle{cbx:scauthorscite}{#1}}
1560 % \end{macrocode}
1561 % And now one option to be used in the \cmd{printbibliography} and \cmd{printbiblist} commands.
1562 % \begin{macrocode}
1563 \blx@kv@defkey{blx@bib1}{annotation}[]{}
1564 \blx@kv@defkey{blx@bib2}{annotation}[true]{\settoggle{bbx:annotation}{#1}}
1565 \blx@kv@defkey{blx@biblist1}{annotation}[]{}
1566 \blx@kv@defkey{blx@biblist2}{annotation}[true]{\settoggle{bbx:annotation}{#1}}
1567 % \end{macrocode}
1568 % Now we can execute the default options.
1569 % \begin{macrocode}
1570 \ExecuteBibliographyOptions{%
1571 publocformat = publocyear,
1572 volnumformat = plain,
1573 origfieldsformat = semicolon,
1574 relatedformat = semicolon,
1575 editionformat = arabic,
1576 volumeformat = arabic,
1577 scauthors = false,
1578 editionformat = arabic,
1579 volumeformat = arabic,
1580 shorthandintro = true,
1581 library = true,
1582 annotation = false,
1583 latinemph = false,
1584 iviemph = false,
1585 classical = false,
1586 inbeforejournal = false,
1587 lowscauthors = false,
1588 useprefix = true,
1589 maxcitenames = 2,
1590 mincitenames = 1,
1591 maxbibnames = 999,
1592 minbibnames = 999}
1593 % \end{macrocode}
1594 % Changing the penalty of the urls will prevent
1595 % many overfull boxes:
1596 % \begin{macrocode}
1597 \setcounter{biburlnumpenalty}{9000}
1598 \setcounter{biburlucpenalty}{9000}
1599 \setcounter{biburllcpenalty}{9000}
1600 % \end{macrocode}
1601 % These counters control the list of names
1602 % in the cross-referenced entries:
1603 % \begin{macrocode}
1604 \newcounter{maxnamesincross}
1605 \newcounter{minnamesincross}
1606 % \end{macrocode}
1607 % The \opt{scauthors} and \opt{lowscauthors} options are based on tests that require to be executed inside a command,
1608 % a macro or \cmd{AtBeginDocument} and similar hooks. Otherwise they would produce an error message.
1609 % \begin{macrocode}
1610 \AtBeginDocument{%
1611 \ifdefstring{\bbx@scauthors}{bibcite}
1612 {\toggletrue{bbx:scauthorsbib}%
1613 \toggletrue{cbx:scauthorscite}%
1614 }{}%
1615 \ifdefstring{\bbx@scauthors}{bib}
1616 {\toggletrue{bbx:scauthorsbib}%
1617 }{}%
1618 \ifdefstring{\bbx@scauthors}{cite}
1619 {\toggletrue{cbx:scauthorscite}%
1620 }{}%
1621 \ifdefstring{\bbx@scauthors}{citefn}
1622 {\toggletrue{cbx:scauthorscitefn}%
1623 }{}%
1624 \ifdefstring{\bbx@scauthors}{bibcitefn}
1625 {\toggletrue{bbx:scauthorsbib}%
1626 \toggletrue{cbx:scauthorscitefn}%
1627 }{}%
1628 \ifdefstring{\bbx@scauthors}{all}
1629 {\usebibmacro{bbx:scswitch}%
1630 }{}%
1631 }
1632 % \end{macrocode}
1633 % With the \opt{scauthors=cite} option all the citations are printed in small caps.
1634 % Anyway we do not like small caps in the citations inside the bibliography so we deactivate this option at the beginning of the bibliography.
1635 % \begin{macrocode}
1636 \AtBeginBibliography{%
1637 \togglefalse{cbx:scauthorscite}%
1638 \togglefalse{cbx:shorthandintro}%
1639 }
1640 % \end{macrocode}
1641 % The \bibfield{annotation} field and the shorthand intro are omitted in the list of shorthands.
1642 % \begin{macrocode}
1643 \AtBeginShorthands{%
1644 \togglefalse{bbx:annotation}%
1645 \togglefalse{cbx:shorthandintro}%
1646 }
1647 % \end{macrocode}
1648 % The \bibfield{annotation} field is omitted in every citations.
1649 % \begin{macrocode}
1650 \AtEveryCite{%
1651 \togglefalse{bbx:annotation}%
1652 }
1653 % \end{macrocode}
1654 %
1655 % \subsubsection{New commands}
1656 %
1657 % The \cmd{mkibid} command is provided for formatting ``et al.'', ``ibidem'' and other abbreviations.
1658 % Actually the command is introduce for formatting ``et al.'' considering that it is already defined by \sty{verbose-trad2.cbx}
1659 % which uses it for ``ivi'' and ``ibidem''. A new command \cmd{mkivi} is use to format only the string ``ivi''.
1660 % \begin{macrocode}
1661 \providecommand*{\mkibid}[1]{\iftoggle{cbx:latinemph}{\mkbibemph{#1}}{#1}}
1662 \providecommand*{\mkivi}[1]{\iftoggle{cbx:iviemph}{\mkbibemph{#1}}{#1}}
1663 % \end{macrocode}
1664 % We (re)define some internal commands for the punctuation. The new \cmd{volnumpunct} command is provided
1665 % to separate volume and number in \bibtype{article} entries.
1666 % \begin{macrocode}
1667 \newcommand*{\volnumpunct}{\addcomma\space}
1668 \renewcommand*{\newunitpunct}{\addcomma\space}
1669 \renewcommand*{\subtitlepunct}{\addperiod\space}
1670 %\renewcommand*{\intitlepunct}{\addspace}
1671 \renewcommand*{\relatedpunct}{\addsemicolon\space}
1672 % \end{macrocode}
1673 % The \cmd{editorstrgdelim} is introduced to customize the
1674 % delimiter to be printed before the |editorstrg|, |authorstrg| and |translatorstrg| strings. These strings are enclosed in parentheses by default: (eds.), (trans.), etc. Redefining the delimiter we can omit the parentheses end reset to the default authoryear style: eds., trans., etc. This requires to change the \bibfield{editortype} field format too.
1675 % \begin{macrocode}
1676 \DeclareDelimFormat{editorstrgdelim}{\addspace}
1677 % \end{macrocode}
1678 % New internal commands assure pure parentheses/brackets for some specific fields
1679 % when using the \opt{square} option.
1680 % \begin{macrocode}
1681 \newrobustcmd*{\mkpureparens}[1]{%
1682 \begingroup
1683 \blx@blxinit
1684 \blx@setsfcodes
1685 \bibleftparen#1\bibrightparen%
1686 \endgroup}
1687 \newrobustcmd*{\mkpurebrackets}[1]{%
1688 \begingroup
1689 \blx@blxinit
1690 \blx@setsfcodes
1691 \bibleftbracket#1\bibrightbracket%
1692 \endgroup}
1693 % \end{macrocode}
1694 % We define proper parentheses and brackets for ``related'' blocks
1695 % \begin{macrocode}
1696 \def\mkrelatedparens{\mkpureparens}
1697 \def\mkrelatedbrackets{\mkpurebrackets}
1698 % \end{macrocode}
1699 % Some commands for changing the font of the \bibfield{annotation}, \bibfield{library} and \bibfield{edition} fields.
1700 % \begin{macrocode}
1701 \newcommand*{\annotationfont}{\footnotesize}
1702 \newcommand*{\libraryfont}{}
1703 \newcommand*{\editionfont}{%
1704 \ifdefstring{\bbx@editionformat}{Roman}
1705 {\uppercase}%
1706 {\ifdefstring{\bbx@editionformat}{romansc}
1707 {\scshape}%
1708 {\relax}}}%
1709 \newrobustcmd*{\edfnt}[1]{%
1710 \begingroup
1711 \expandafter\editionfont%
1712 \expandafter{\romannumeral#1}%
1713 \endgroup}
1714 % \end{macrocode}
1715 % A command to select lowercase small caps.
1716 % \begin{macrocode}
1717 \newrobustcmd*{\mkbibsc}[1]{%
1718 \iftoggle{bbx:lowscauthors}{%
1719 \textsc{\MakeLowercase{#1}}}%
1720 {\textsc{#1}}}
1721 % \end{macrocode}
1722 %
1723 % \subsubsection{Names format}
1724 %
1725 % First we define a macro to be used in the \cmd{DeclareNameFormat} specifications. The macro simply maps the \cmd{mkbibname*} commands to the new \cmd{mkbibsc} command defined above.
1726 % \begin{macrocode}
1727 \newbibmacro*{bbx:scswitch}{%
1728 \let\mkbibnamefamily\mkbibsc%
1729 \let\mkbibnamegiven\mkbibsc%
1730 \let\mkbibnameprefix\mkbibsc%
1731 \let\mkbibnamesuffix\mkbibsc}
1732 % \end{macrocode}
1733 % In the following codes note that the font switching is declared inside \texttt{sortname} or \texttt{labelname}
1734 % because the \opt{scauthors=bib} or \opt{scauthors=cite} option must be active
1735 % only for the names at the beginning of the entry which are formatted by |sortname| or |labelname|.
1736 % \begin{macrocode}
1737 \DeclareNameFormat{sortname}{%
1738 \iftoggle{bbx:scauthorsbib}{\usebibmacro{bbx:scswitch}}{}%
1739 \nameparts{#1}%
1740 \ifnumequal{\value{listcount}}{1}
1741 {\ifgiveninits
1742 {\usebibmacro{name:family-given}
1743 {\namepartfamily}
1744 {\namepartgiveni}
1745 {\namepartprefix}
1746 {\namepartsuffix}}
1747 {\usebibmacro{name:family-given}
1748 {\namepartfamily}
1749 {\namepartgiven}
1750 {\namepartprefix}
1751 {\namepartsuffix}}%
1752 \ifboolexpr{%
1753 test {\ifdefvoid\namepartgiven}
1754 and
1755 test {\ifdefvoid\namepartprefix}}
1756 {}
1757 {\usebibmacro{name:revsdelim}}}
1758 {\ifgiveninits
1759 {\usebibmacro{name:given-family}
1760 {\namepartfamily}
1761 {\namepartgiveni}
1762 {\namepartprefix}
1763 {\namepartsuffix}}
1764 {\usebibmacro{name:given-family}
1765 {\namepartfamily}
1766 {\namepartgiven}
1767 {\namepartprefix}
1768 {\namepartsuffix}}}%
1769 \usebibmacro{name:andothers}}%
1770 \DeclareNameFormat{labelname}{%
1771 \iftoggle{cbx:scauthorscite}{\usebibmacro{bbx:scswitch}}{}%
1772 \iftoggle{cbx:scauthorscitefn}{\iffootnote{\usebibmacro{bbx:scswitch}}{}}{}%
1773 \bibhyperref{\nameparts{#1}%
1774 \ifcase\value{uniquename}%
1775 \usebibmacro{name:family}%
1776 {\namepartfamily}%
1777 {\namepartgiven}%
1778 {\namepartprefix}%
1779 {\namepartsuffix}%
1780 \or
1781 \ifuseprefix
1782 {\usebibmacro{name:given-family}%
1783 {\namepartfamily}%
1784 {\namepartgiveni}%
1785 {\namepartprefix}%
1786 {\namepartsuffixi}}%
1787 {\usebibmacro{name:given-family}%
1788 {\namepartfamily}%
1789 {\namepartgiveni}%
1790 {\namepartprefixi}%
1791 {\namepartsuffixi}}%
1792 \or
1793 \usebibmacro{name:given-family}%
1794 {\namepartfamily}%
1795 {\namepartgiven}%
1796 {\namepartprefix}%
1797 {\namepartsuffix}%
1798 \fi
1799 \usebibmacro{name:andothers}}}%
1800 % \end{macrocode}
1801 % 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 (that is a full citation).
1802 % \begin{macrocode}
1803 \DeclareNameFormat{scdefault}{%
1804 \usebibmacro{bbx:scswitch}%
1805 \nameparts{#1}%
1806 \ifgiveninits
1807 {\usebibmacro{name:given-family}%
1808 {\namepartfamily}%
1809 {\namepartgiveni}%
1810 {\namepartprefix}%
1811 {\namepartsuffix}}%
1812 {\usebibmacro{name:given-family}%
1813 {\namepartfamily}%
1814 {\namepartgiven}%
1815 {\namepartprefix}%
1816 {\namepartsuffix}}%
1817 \usebibmacro{name:andothers}}%
1818 % \end{macrocode}
1819 % \subsubsection{Fields format}
1820 % \begin{macrocode}
1821 \DeclareFieldFormat[bookinbook,thesis]{title}{\mkbibemph{#1}}
1822 \DeclareFieldFormat[review]{title}{\bibcplstring{reviewof}\addspace#1}
1823 \DeclareFieldFormat[review]{citetitle}{\bibcplstring{reviewof}\addspace#1}
1824 \DeclareFieldFormat[inreference,article]{title}{\mkbibquote{#1}}
1825 \DeclareFieldFormat[bookinbook,thesis]{citetitle}{\mkbibemph{#1}}
1826 \DeclareFieldFormat{origtitle}{\mkbibemph{#1}}
1827 \DeclareFieldFormat[article]{origtitle}{\mkbibquote{#1}}
1828 \DeclareFieldFormat{usera}{\mkbibemph{#1}}
1829 \DeclareFieldFormat[bookinbook,inbook]{usera}{\mkbibemph{#1}}
1830 \DeclareFieldFormat[incollection]{usera}{\mkbibquote{#1}}
1831 \DeclareFieldFormat{userc}{\mkpageprefix[bookpagination]{#1}}
1832 \DeclareFieldFormat{url}{\url{#1}}
1833 \DeclareFieldFormat{annotation}{\annotationfont #1}
1834 \DeclareFieldFormat{library}{\libraryfont #1}
1835 \DeclareFieldFormat{pureparens}{\mkpureparens{#1}}
1836 \DeclareFieldFormat{editortype}{\mkpureparens{#1}}
1837 \DeclareFieldFormat{nameaddon}{\mkpurebrackets{#1}}
1838 \DeclareFieldAlias{authortype}{editortype}
1839 \DeclareFieldFormat{backrefparens}{\mkpureparens{#1}}
1840 \DeclareFieldFormat*{number}{%
1841 \ifdefstring{\bbx@volnumformat}{strings}{%
1842 \bibstring{number}~#1}{#1}}
1843 \DeclareFieldFormat*{series}{%
1844 \ifinteger{#1}
1845 {\mkbibordseries{#1}~\bibstring{jourser}}
1846 {\ifbibstring{#1}{\bibstring{#1}}{#1}}}
1847 \DeclareFieldFormat{edition}{%
1848 \ifinteger{#1}{%
1849 \ifdefstring{\bbx@editionformat}{arabic}
1850 {\mkbibordedition{#1}~\bibstring{edition}}
1851 {\ifdefstring{\bbx@editionformat}{Roman}%
1852 {\RN{#1}~\bibstring{edition}}%
1853 {\ifdefstring{\bbx@editionformat}{romansc}%
1854 {\textsc{\Rn{#1}}~\bibstring{edition}}%
1855 {\ifdefstring{\bbx@editionformat}{roman}%
1856 {\Rn{#1}~\bibstring{edition}}
1857 {\ifdefstring{\bbx@editionformat}{superscript}%
1858 {\mkbibsuperscript{#1}}%
1859 {\optionerror{editionformat}}}}}}}{#1}}%\isdot??
1860 \DeclareFieldFormat{volume}{%
1861 \bibstring{volume}~%
1862 \ifinteger{#1}{%
1863 \ifdefstring{\bbx@volumeformat}{arabic}%
1864 {#1}%
1865 {\ifdefstring{\bbx@volumeformat}{Roman}%
1866 {\RN{#1}}%
1867 {\ifdefstring{\bbx@volumeformat}{romansc}%
1868 {\textsc{\Rn{#1}}}%
1869 {\ifdefstring{\bbx@volumeformat}{roman}%
1870 {\Rn{#1}}%
1871 {\optionerror{volumeformat}}}}}}{#1}}
1872 \DeclareFieldFormat[article]{volume}{%
1873 \ifdefstring{\bbx@volnumformat}{strings}
1874 {\bibstring{volume}~}%
1875 {}%
1876 \ifinteger{#1}{%
1877 \ifdefstring{\bbx@volumeformat}{arabic}%
1878 {#1}%
1879 {\ifdefstring{\bbx@volumeformat}{Roman}%
1880 {\RN{#1}}%
1881 {\ifdefstring{\bbx@volumeformat}{romansc}%
1882 {\textsc{\Rn{#1}}}%
1883 {\ifdefstring{\bbx@volumeformat}{roman}%
1884 {\Rn{#1}}%
1885 {\optionerror{volumeformat}}}}}}{#1}}
1886 % \end{macrocode}
1887 % With the \opt{parens} and \opt{brackets} options, the related entries are
1888 % enclosed in parentheses (or brackets) defined specifically,
1889 % because in the case of cascading entries, they must be eliminated
1890 % starting from the second entry. This is done below with the |begrelatedloop| macro.
1891 % See section \ref{code:related-entries}.
1892 % \begin{macrocode}
1893 \DeclareFieldFormat{related}{%
1894 \ifdefstring{\bbx@relatedformat}{parens}%
1895 {\mkrelatedparens{#1}}%
1896 {\ifdefstring{\bbx@relatedformat}{brackets}%
1897 {\mkrelatedbrackets{#1}}%
1898 {\ifdefstring{\bbx@relatedformat}{semicolon}%
1899 {#1}%
1900 {\optionerror{relatedformat}}}}}%
1901 \DeclareFieldAlias{related:origpubin}{related}
1902 \DeclareFieldAlias{related:origpubas}{related}
1903 \DeclareFieldFormat{relatedstring:default}{#1\addspace}
1904 % \end{macrocode}
1905 % \subsubsection{New macros}
1906 % Experimental in version 1.9.4. The \texttt{translatorstrg} and \texttt{translator+othersstrg} macros do not use the
1907 % \texttt{editortype} format so we add it for consistency with \texttt{editorstrg} and \texttt{editor+othersstrg}
1908 % from \file{biblatex.def}. The idea behind this feature is that in this way you can change the format of the editor, translator, etc.
1909 % following the year label simply with \cmd{DeclareFieldFormat}.
1910 % \begin{macrocode}
1911 \renewbibmacro*{translatorstrg}{%
1912 \printtext[editortype]{%
1913 \ifboolexpr{
1914 test {\ifnumgreater{\value{translator}}{1}}
1915 or
1916 test {\ifandothers{translator}}
1917 }
1918 {\bibstring{translators}}
1919 {\bibstring{translator}}}}
1920 \renewbibmacro*{translator+othersstrg}{%
1921 \ifboolexpr{
1922 test {\ifnumgreater{\value{translator}}{1}}
1923 or
1924 test {\ifandothers{translator}}
1925 }
1926 {\def\abx@tempa{translators}}
1927 {\def\abx@tempa{translator}}%
1928 \ifnamesequal{translator}{commentator}
1929 {\appto\abx@tempa{co}%
1930 \clearname{commentator}}
1931 {\ifnamesequal{translator}{annotator}
1932 {\appto\abx@tempa{an}%
1933 \clearname{annotator}}
1934 {}}%
1935 \ifnamesequal{translator}{introduction}
1936 {\appto\abx@tempa{in}%
1937 \clearname{introduction}}
1938 {\ifnamesequal{translator}{foreword}
1939 {\appto\abx@tempa{fo}%
1940 \clearname{foreword}}
1941 {\ifnamesequal{translator}{afterword}
1942 {\appto\abx@tempa{af}%
1943 \clearname{afterword}}
1944 {}}}%
1945 \printtext[editortype]{\bibstring{\abx@tempa}}}
1946 % \end{macrocode}
1947 % The default macros for indexing include the \bibfield{indextitle} field (which defaults to \bibfield{title}).
1948 % This involves getting an index with names and titles together. So we redefine the following two macros in order to get a simple index of names.
1949 % \begin{macrocode}
1950 \renewbibmacro*{citeindex}{%
1951 \ifciteindex
1952 {\indexnames{labelname}}
1953 {}}
1954 \renewbibmacro*{bibindex}{%
1955 \ifbibindex
1956 {\indexnames{labelname}}
1957 {}}
1958 % \end{macrocode}
1959 % Here we (re)define different macros used to print various fields.
1960 % \begin{macrocode}
1961 \newbibmacro*{volnumdefault}{%
1962 \printfield{volume}%
1963 \setunit*{\volnumpunct}%
1964 \printfield{number}}
1965
1966 \newbibmacro*{volnumparens}{%
1967 \nopunct%
1968 \printtext[pureparens]{%
1969 \printfield{volume}%
1970 \setunit*{\volnumpunct}%
1971 \printfield{number}}}
1972
1973 \newbibmacro*{volnumstrings}{%
1974 \iffieldundef{volume}{}{%
1975 \printfield{volume}\setunit*{\volnumpunct}}%
1976 \iffieldundef{number}{}{%
1977 \printfield{number}}}
1978
1979 \renewbibmacro*{volume+number+eid}{%
1980 \ifdefstring{\bbx@volnumformat}{strings}
1981 {\usebibmacro{volnumstrings}}%
1982 {\ifdefstring{\bbx@volnumformat}{parens}
1983 {\usebibmacro{volnumparens}}%
1984 {\ifdefstring{\bbx@volnumformat}{plain}
1985 {\usebibmacro{volnumdefault}}%
1986 {\optionerror{volnumformat}}}}%
1987 \setunit{\addcomma\space}%
1988 \printfield{eid}}
1989
1990 \renewbibmacro*{periodical}{%
1991 \ifboolexpr{
1992 test {\iffieldundef{title}}
1993 and
1994 test {\iffieldundef{subtitle}}
1995 }
1996 {}
1997 {\printtext[title]{%
1998 \printfield[titlecase]{title}%
1999 \setunit{\subtitlepunct}%
2000 \printfield[titlecase]{subtitle}}}}
2001
2002 \renewbibmacro*{issue}{%
2003 \ifboolexpr{
2004 test {\iffieldundef{issuetitle}}
2005 and
2006 test {\iffieldundef{issuesubtitle}}
2007 }
2008 {}
2009 {\printtext[issuetitle]{%
2010 \printfield[titlecase]{issuetitle}%
2011 \setunit{\subtitlepunct}%
2012 \printfield[titlecase]{issuesubtitle}}}}
2013
2014 %\renewbibmacro*{journal}{%
2015 % \iffieldundef{journaltitle}
2016 % {}%
2017 % {\printtext[journaltitle]{%
2018 % \printfield[titlecase]{journaltitle}%
2019 % \midsentence%
2020 % \setunit{\subtitlepunct}%
2021 % \printfield[titlecase]{journalsubtitle}}}}
2022 %
2023 %\renewbibmacro*{periodical}{%
2024 % \iffieldundef{title}
2025 % {}%
2026 % {\printtext[title]{%
2027 % \printfield[titlecase]{title}%
2028 % \midsentence%
2029 % \setunit{\subtitlepunct}%
2030 % \printfield[titlecase]{subtitle}}}}
2031
2032 \renewbibmacro*{journal+issuetitle}{%
2033 \usebibmacro{journal}%
2034 \setunit*{\addspace}%
2035 \iffieldundef{series}
2036 {}%
2037 {\newunit%
2038 \printfield{series}\setunit{\addspace}\midsentence}%
2039 \newunit%
2040 \usebibmacro{volume+number+eid}%
2041 \setunit{\addspace}%
2042 \usebibmacro{issue+date}%
2043 \setunit{\addcolon\space}%
2044 \usebibmacro{issue}%
2045 \newunit}
2046
2047 \renewbibmacro*{title+issuetitle}{%
2048 \usebibmacro{periodical}%
2049 \setunit*{\addspace}%
2050 \iffieldundef{series}
2051 {}%
2052 {\newunit
2053 \printfield{series}%
2054 \setunit{\addspace}\midsentence}%
2055 \usebibmacro{volume+number+eid}%
2056 \setunit{\addspace}%
2057 \usebibmacro{issue+date}%
2058 \setunit{\addcolon\space}%
2059 \usebibmacro{issue}%
2060 \newunit}
2061
2062 \renewbibmacro*{series+number}{%
2063 \printfield{series}%
2064 \setunit*{\addcomma\space}%
2065 \printfield{number}%
2066 \newunit}
2067
2068 \renewbibmacro*{issue+date}{%
2069 \printtext[pureparens]{%
2070 \iffieldundef{issue}
2071 {\usebibmacro{date}}
2072 {\printfield{issue}%
2073 \setunit*{\addspace}%
2074 \usebibmacro{date}}}%
2075 \newunit}
2076
2077 \renewbibmacro*{event+venue+date}{%
2078 \printfield{eventtitle}%
2079 \ifboolexpr{%
2080 test {\iffieldundef{venue}}
2081 and
2082 test {\iffieldundef{eventyear}}
2083 }%
2084 {}%
2085 {\setunit*{\addspace}%
2086 \printtext{%
2087 \printfield{venue}%
2088 \setunit*{\addcomma\space}%
2089 \printeventdate}}%
2090 \newunit}
2091
2092 \renewbibmacro*{publisher+location+date}{%
2093 \ifdefstring{\bbx@publocformat}{loccolonpub}
2094 {\usebibmacro{loccolonpub}}
2095 {\ifdefstring{\bbx@publocformat}{locpubyear}
2096 {\usebibmacro{locpubyear}}
2097 {\ifdefstring{\bbx@publocformat}{publocyear}%
2098 {\usebibmacro{publocyear}}{\optionerror{publocformat}}}}}
2099
2100 \renewbibmacro*{institution+location+date}{%
2101 \ifdefstring{\bbx@publocformat}{loccolonpub}
2102 {\usebibmacro{inloccolonpub}}
2103 {\ifdefstring{\bbx@publocformat}{locpubyear}
2104 {\usebibmacro{inlocpubyear}}
2105 {\ifdefstring{\bbx@publocformat}{publocyear}%
2106 {\usebibmacro{inpublocyear}}{\optionerror{publocformat}}}}}
2107
2108 \renewbibmacro*{organization+location+date}{%
2109 \ifdefstring{\bbx@publocformat}{loccolonpub}
2110 {\usebibmacro{orgloccolonpub}}
2111 {\ifdefstring{\bbx@publocformat}{locpubyear}
2112 {\usebibmacro{orglocpubyear}}
2113 {\ifdefstring{\bbx@publocformat}{publocyear}%
2114 {\usebibmacro{orgpublocyear}}{\optionerror{publocformat}}}}}
2115
2116 \newbibmacro*{publocyear}{%
2117 \iflistundef{publisher}%
2118 {}%
2119 {\printlist{publisher}}
2120 \setunit*{\addcomma\space}%
2121 \printlist{location}%
2122 \usebibmacro{relateddate}%
2123 \newunit}
2124
2125 \newbibmacro*{inpublocyear}{%
2126 \iflistundef{institution}%
2127 {}%
2128 {\printlist{institution}}
2129 \setunit*{\addcomma\space}%
2130 \printlist{location}%
2131 \usebibmacro{relateddate}%
2132 \newunit}
2133
2134 \newbibmacro*{orgpublocyear}{%
2135 \iflistundef{organization}%
2136 {}%
2137 {\printlist{organization}}
2138 \setunit*{\addcomma\space}%
2139 \printlist{location}%
2140 \usebibmacro{relateddate}%
2141 \newunit}
2142
2143 \newbibmacro*{loccolonpub}{%
2144 \printlist{location}%
2145 \iflistundef{publisher}%
2146 {\setunit*{\addspace}}
2147 {\setunit*{\addcolon\space}}%
2148 \printlist{publisher}%
2149 \usebibmacro{commarelateddate}%
2150 \newunit}
2151
2152 \newbibmacro*{inloccolonpub}{%
2153 \printlist{location}%
2154 \iflistundef{institution}
2155 {\setunit*{\addspace}}
2156 {\setunit*{\addcolon\space}}%
2157 \printlist{institution}%
2158 \usebibmacro{commarelateddate}%
2159 \newunit}
2160
2161 \newbibmacro*{orgloccolonpub}{%
2162 \printlist{location}%
2163 \iflistundef{organization}
2164 {\setunit*{\addspace}}
2165 {\setunit*{\addcolon\space}}%
2166 \printlist{organization}%
2167 \usebibmacro{commarelateddate}%
2168 \newunit}
2169
2170 \newbibmacro*{locpubyear}{%
2171 \printlist{location}%
2172 \iflistundef{publisher}%
2173 {\setunit*{\addspace}}
2174 {\setunit*{\addcomma\space}}%
2175 \printlist{publisher}%
2176 \usebibmacro{commarelateddate}%
2177 \newunit}
2178
2179 \newbibmacro*{inlocpubyear}{%
2180 \printlist{location}%
2181 \iflistundef{institution}
2182 {\setunit*{\addspace}}
2183 {\setunit*{\addcomma\space}}%
2184 \printlist{institution}%
2185 \usebibmacro{commarelateddate}%
2186 \newunit}
2187
2188 \newbibmacro*{orglocpubyear}{%
2189 \printlist{location}%
2190 \iflistundef{organization}
2191 {\setunit*{\addspace}}
2192 {\setunit*{\addcomma\space}}%
2193 \printlist{organization}%
2194 \usebibmacro{commarelateddate}%
2195 \newunit}
2196
2197 \renewbibmacro*{addendum+pubstate}{%
2198 \printfield{addendum}%
2199 \newunit\newblock
2200 \printfield{pubstate}%
2201 \ifdefstring{\bbx@origfields}{none}{}{%
2202 \newunit\newblock
2203 \usebibmacro{origdata:book}}%
2204 \newunit\newblock
2205 \usebibmacro{library}}
2206
2207 \newbibmacro*{addendum+pubstate:article-inbook-incoll}{%
2208 \printfield{addendum}%
2209 \newunit\newblock
2210 \printfield{pubstate}%
2211 \ifdefstring{\bbx@origfields}{none}{}{%
2212 \newunit\newblock
2213 \usebibmacro{origdata:article-inbook}}%
2214 \newunit\newblock
2215 \usebibmacro{library}}
2216
2217 \newbibmacro*{library}{%
2218 \iftoggle{bbx:library}{%
2219 \iffieldundef{library}%
2220 {}%
2221 {\setunit{\addperiod\space}%
2222 {\printfield{library}}}}%
2223 {}}
2224
2225 \renewbibmacro*{pageref}{%
2226 \iflistundef{pageref}
2227 {}%
2228 {\setunit{\addperiod\space}%
2229 \printtext[backrefparens]{%
2230 \ifnumgreater{\value{pageref}}{1}
2231 {\bibcpstring{backrefpages}\ppspace}%
2232 {\bibcpstring{backrefpage}\ppspace}%
2233 \printlist[pageref][-\value{listtotal}]{pageref}\adddot}\nopunct}}%
2234
2235 \renewbibmacro*{finentry}{%
2236 \iftoggle{bbx:annotation}%
2237 {\iffieldundef{annotation}%
2238 {\finentry}%
2239 {\setunit{\addperiod\par\nobreak\vspace*{.5ex}}%
2240 \printtext[annotation]{\printfield{annotation}\finentry\par}}}%
2241 {\finentry}}
2242 % \end{macrocode}
2243 % The default definition of the |in:| macro gives a spacing problem
2244 % with the \cmd{fulcite} command. Specifically, the command has no effect in citations, while it works correctly in the bibliography. This definition bypasses the problem, but does not actually solve it.
2245 % \begin{macrocode}
2246 \renewbibmacro*{in:}{%
2247 \bibstring{in}\addspace}
2248 % \printunit{\intitlepunct}}
2249 % \end{macrocode}
2250 % \subsubsection{Related entries}\label{code:related-entries}
2251 % \begin{macrocode}
2252 \newbibmacro*{relateddate}{%
2253 \setunit*{\addspace}%
2254 \printdate}
2255 \newbibmacro*{commarelateddate}{%
2256 \setunit*{\addcomma\space}%
2257 \printdate}
2258 % \end{macrocode}
2259 % A trick to delete the author/editor/translator list for related
2260 % entries and \cmd{ccite} command:
2261 % \begin{macrocode}
2262 \newbibmacro*{related:clearauthors}{%
2263 \renewbibmacro*{author/translator+others}{\usebibmacro{bbx:savehash}}%
2264 \renewbibmacro*{author/editor+others/translator+others}{\usebibmacro{bbx:savehash}}%
2265 \renewbibmacro*{editor+others}{\usebibmacro{bbx:savehash}}%
2266 \renewbibmacro*{author/translator+others}{\usebibmacro{bbx:savehash}}%
2267 \renewbibmacro*{author/editor}{\usebibmacro{bbx:savehash}}%
2268 \renewbibmacro*{author}{\usebibmacro{bbx:savehash}}%
2269 \renewbibmacro*{editor}{\usebibmacro{bbx:savehash}}%
2270 \renewcommand*{\labelnamepunct}{}}%
2271 \DeclareCiteCommand{\relatedcite}
2272 {}%
2273 {\usedriver
2274 {\DeclareNameAlias{sortname}{default}%
2275 \ifbibmacroundef{date+extradate}
2276 {}
2277 {%\renewbibmacro*{date+extradate}{}%
2278 \renewbibmacro*{bbx:ifmergeddate}{\@secondoftwo}}%
2279 \usebibmacro{related:clearauthors}%
2280 \renewbibmacro*{relateddate}{%
2281 \setunit*{\addspace}\printdate}%
2282 \renewbibmacro*{commarelateddate}{%
2283 \setunit*{\addcomma\space}\printdate}%
2284 }%
2285 {\thefield{entrytype}}}%
2286 {}%
2287 {}%
2288 \renewbibmacro*{related:default}[1]{%
2289 \togglefalse{bbx:annotation}%
2290 \ifboolexpr{
2291 test {\iffieldundef{relatedtype}}
2292 and
2293 test {\iffieldundef{relatedstring}}
2294 }
2295 {\printtext{\bibstring{translationas}}}{}%
2296 \printtext{\addspace}%
2297 \relatedcite{\thefield{related}}}
2298 % \end{macrocode}
2299 % We redefine the \texttt{begrelatedloop} macro to avoid nested parentheses
2300 % in cascading related entries. In this way, with the \opt{parens} and \opt{brackets}
2301 % options, only the entire block of the related entries will be enclosed in parentheses
2302 % (or brackets), while the subordinated entries will be separated with a semicolon.
2303 % \begin{macrocode}
2304 \renewbibmacro*{begrelatedloop}{%
2305 \renewrobustcmd*{\mkrelatedparens}{\relatedpunct}%
2306 \renewrobustcmd*{\mkrelatedbrackets}{\relatedpunct}}
2307 % \end{macrocode}
2308 % This macro tests the value of the \opt{relatedformat} option. If it sets to \opt{semicolon} the macro adds \cmd{relatedpunct} (i.e. a semicolon plus a space), otherwise it adds a simple space.
2309 % \begin{macrocode}
2310 \newbibmacro*{phil:related}{%
2311 \iftoggle{bbx:related}
2312 {\iffieldequalstr{relatedtype}{multivolume}%
2313 {\setunit{\addperiod}}%
2314 {\ifdefstring{\bbx@relatedformat}{semicolon}%
2315 {\setunit{\relatedpunct}}%
2316 {\setunit{\addspace}}}%
2317 \usebibmacro{related:init}%
2318 \usebibmacro{related}}{}}
2319 % \end{macrocode}
2320 % The below macros will be used in the \bibtype{inbook}, \bibtype{incollection} and \bibtype{inproceedings} drivers.
2321 % \begin{macrocode}
2322 \renewbibmacro*{bybookauthor}{%
2323 \ifnamesequal{author}{bookauthor}%
2324 {}%
2325 {\printnames[default]{bookauthor}%
2326 \newunit}}
2327
2328 \newbibmacro*{xrefdata}{%
2329 \iffieldundef{volume}
2330 {}%
2331 {\printfield{volume}%
2332 \printfield{part}%
2333 \setunit{\addcolon\space}%
2334 \printfield{booktitle}}%
2335 \newunit\newblock
2336 \usebibmacro{byeditor+others}%
2337 \newunit\newblock
2338 \printfield{edition}%
2339 \newunit
2340 \printfield{volumes}%
2341 \newunit\newblock
2342 \usebibmacro{series+number}%
2343 \newunit\newblock
2344 \printfield{note}%
2345 \newunit\newblock
2346 \usebibmacro{publisher+location+date}%
2347 \newunit\newblock
2348 \usebibmacro{chapter+pages}%
2349 \newunit\newblock
2350 \iftoggle{bbx:isbn}
2351 {\printfield{isbn}}
2352 {}%
2353 \newunit\newblock
2354 \usebibmacro{doi+eprint+url}%
2355 \newunit\newblock
2356 \usebibmacro{addendum+pubstate:article-inbook-incoll}%
2357 \newblock
2358 \usebibmacro{phil:related}%
2359 \newunit\newblock
2360 \usebibmacro{pageref}%
2361 \usebibmacro{finentry}}
2362
2363 \newbibmacro*{crossrefdata}{%
2364 \printfield{volume}%
2365 \printfield{part}%
2366 \newunit\newblock
2367 \usebibmacro{chapter+pages}%
2368 \newunit\newblock
2369 \iftoggle{bbx:isbn}
2370 {\printfield{isbn}}
2371 {}%
2372 \newunit\newblock
2373 \usebibmacro{doi+eprint+url}%
2374 \newblock
2375 \usebibmacro{phil:related}%
2376 \newunit\newblock
2377 \usebibmacro{pageref}%
2378 \usebibmacro{finentry}}
2379 % \end{macrocode}
2380 % \paragraph{Backward compatibility}
2381 % The \opt{orig*} macros are deprecated. The same feature is now
2382 % supported using the \opt{related} field.
2383 % \begin{macrocode}
2384 \newbibmacro*{origpublisher+origlocation+origdate}{%
2385 \ifdefstring{\bbx@publocformat}{loccolonpub}
2386 {\usebibmacro{origloccolonpub}\setunit{\bibpagespunct}%
2387 \printfield{userc}}{\ifdefstring{\bbx@publocformat}{locpubyear}
2388 {\usebibmacro{origlocpubyear}\setunit{\bibpagespunct}%
2389 \printfield{userc}}
2390 {\usebibmacro{origpublocyear}\setunit{\bibpagespunct}%
2391 \printfield{userc}}}}
2392
2393 \newbibmacro*{origpublocyear}{%
2394 \iflistundef{origpublisher}%
2395 {\printlist{origlocation}%
2396 \setunit*{\addspace}%
2397 \printorigdate}%
2398 {\printlist{origpublisher}%
2399 \setunit*{\addcomma\space}%
2400 \printlist{origlocation}%
2401 \setunit*{\addspace}%
2402 \printorigdate}%
2403 \newunit}
2404
2405 \newbibmacro*{origloccolonpub}{%
2406 \iflistundef{origlocation}{}%
2407 {\printlist{origlocation}}%
2408 \iflistundef{origpublisher}%
2409 {\setunit*{\addspace}%
2410 \printorigdate}%
2411 {\setunit*{\addcolon\space}%
2412 \printlist{origpublisher}%
2413 \setunit*{\addcomma\space}%
2414 \printorigdate}%
2415 \newunit}
2416
2417 \newbibmacro*{origlocpubyear}{%
2418 \iflistundef{origlocation}{}%
2419 {\printlist{origlocation}}%
2420 \iflistundef{origpublisher}%
2421 {\setunit*{\addspace}%
2422 \printorigdate}%
2423 {\setunit*{\addcomma\space}%
2424 \printlist{origpublisher}%
2425 \setunit*{\addcomma\space}%
2426 \printorigdate}%
2427 \newunit}
2428
2429 \newbibmacro*{reprinttitle}{%
2430 \iffieldundef{reprinttitle}{}{%
2431 \iffieldsequal{reprinttitle}{title}{}{%
2432 \printfield[title]{reprinttitle}%
2433 \setunit{\addcomma\space}}}%
2434 \iffieldundef{userb}{}{%
2435 \printfield{userb}}}%
2436
2437 \newbibmacro*{transorigstring}{%
2438 \iffieldundef{reprinttitle}%
2439 {\printtext{\ifdefstring{\bbx@origfields}{origed}
2440 {\bibstring{origpubas}}%
2441 {\bibstring{translationas}}}\nopunct}%
2442 {\printtext{\bibstring{reprint}}}\nopunct}
2443
2444 \newbibmacro*{origtitle:book}{%
2445 \iffieldundef{origtitle}{}{
2446 \printfield[origtitle]{origtitle}%
2447 \setunit{\addcomma\space}}
2448 \iffieldundef{userb}{}{%
2449 \printfield{userb}}}%
2450
2451 \newbibmacro*{origtitledata:book}{%
2452 \usebibmacro{transorigstring}%
2453 \iffieldundef{reprinttitle}%
2454 {\usebibmacro{origtitle:book}}%
2455 {\usebibmacro{reprinttitle}}%
2456 \newunit\newblock
2457 \usebibmacro{origpublisher+origlocation+origdate}}
2458
2459 \newbibmacro*{origdata:book}{%
2460 \ifboolexpr{%
2461 test {\iffieldundef{origtitle}}
2462 and
2463 test {\iffieldundef{origlocation}}
2464 and
2465 test {\iffieldundef{origpublisher}}
2466 and
2467 test {\iffieldundef{origyear}}
2468 }%
2469 {}%
2470 {\ifdefstring{\bbx@relatedformat}{parens}
2471 {\nopunct\printtext[pureparens]{\usebibmacro{origtitledata:book}}}
2472 {\ifdefstring{\bbx@relatedformat}{brackets}
2473 {\nopunct\printtext[brackets]{\usebibmacro{origtitledata:book}}}
2474 {\setunit{\addsemicolon\space}%
2475 \printtext{\usebibmacro{origtitledata:book}}}}}}
2476
2477 \newbibmacro*{origtitle:article-inbook-incoll}{%
2478 \iffieldundef{origtitle}{}{%
2479 \printfield[origtitle]{origtitle}%
2480 \setunit{\addcomma\space}}%
2481 \iffieldundef{usera}{}{%
2482 \usebibmacro{in:}%
2483 \printfield{usera}%
2484 \setunit{\addcomma\space}}%
2485 \iffieldundef{userb}{}{%
2486 \printfield{userb}%
2487 \newunit}}
2488
2489 \newbibmacro*{origtitledata:article-inbook-incoll}{%
2490 \usebibmacro{transorigstring}%
2491 \setunit{\addspace}%
2492 \usebibmacro{origtitle:article-inbook-incoll}%
2493 \usebibmacro{origpublisher+origlocation+origdate}}
2494
2495 \newbibmacro*{origdata:article-inbook}{%
2496 \iflistundef{origlocation}{}{%
2497 \ifdefstring{\bbx@relatedformat}{parens}
2498 {\nopunct\printtext[pureparens]{%
2499 \usebibmacro{origtitledata:article-inbook-incoll}}}%
2500 {\ifdefstring{\bbx@relatedformat}{brackets}
2501 {\nopunct\printtext[brackets]{%
2502 \usebibmacro{origtitledata:article-inbook-incoll}}}%
2503 {\setunit{\addsemicolon\space}%
2504 \printtext{%
2505 \usebibmacro{origtitledata:article-inbook-incoll}}}}}}
2506 % \end{macrocode}
2507 % \subsubsection{Bibliography drivers}
2508 % \begin{macrocode}
2509 \DeclareBibliographyDriver{article}{%
2510 \usebibmacro{bibindex}%
2511 \usebibmacro{begentry}%
2512 \usebibmacro{author/translator+others}%
2513 \setunit{\labelnamepunct}\newblock
2514 \usebibmacro{title}%
2515 \newunit
2516 \printlist{language}%
2517 \newunit\newblock
2518 \usebibmacro{byauthor}%
2519 \newunit\newblock
2520 \usebibmacro{bytranslator+others}%
2521 \newunit\newblock
2522 \printfield{version}%
2523 \newunit\newblock
2524 \iftoggle{bbx:inbeforejournal}{\usebibmacro{in:}}{}%
2525 \usebibmacro{journal+issuetitle}%
2526 \newunit\newblock
2527 \usebibmacro{byeditor+others}%
2528 \newunit\newblock
2529 \usebibmacro{note+pages}%
2530 \newunit\newblock
2531 \iftoggle{bbx:isbn}
2532 {\printfield{issn}}
2533 {}%
2534 \newunit\newblock
2535 \usebibmacro{doi+eprint+url}%
2536 \newunit\newblock
2537 \usebibmacro{addendum+pubstate:article-inbook-incoll}%
2538 \newblock
2539 \usebibmacro{phil:related}%
2540 \newunit\newblock
2541 \usebibmacro{pageref}%
2542 \usebibmacro{finentry}}
2543
2544 \DeclareBibliographyDriver{book}{%
2545 \usebibmacro{bibindex}%
2546 \usebibmacro{begentry}%
2547 \usebibmacro{author/editor+others/translator+others}%
2548 \setunit{\labelnamepunct}\newblock
2549 \usebibmacro{maintitle+title}%
2550 \newunit
2551 \printlist{language}%
2552 \newunit\newblock
2553 \usebibmacro{byauthor}%
2554 \newunit\newblock
2555 \usebibmacro{byeditor+others}%
2556 \newunit\newblock
2557 \printfield{edition}%
2558 \newunit
2559 \printfield{volumes}%
2560 \newunit\newblock
2561 \usebibmacro{series+number}%
2562 \newunit\newblock
2563 \printfield{note}%
2564 \newunit\newblock
2565 \usebibmacro{publisher+location+date}%
2566 \newunit
2567 \iffieldundef{maintitle}
2568 {\printfield{volume}%
2569 \printfield{part}}
2570 {}%
2571 \newunit\newblock
2572 \usebibmacro{chapter+pages}%
2573 \newunit
2574 \printfield{pagetotal}%
2575 \newunit\newblock
2576 \iftoggle{bbx:isbn}
2577 {\printfield{isbn}}
2578 {}%
2579 \newunit\newblock
2580 \usebibmacro{doi+eprint+url}%
2581 \newunit\newblock
2582 \usebibmacro{addendum+pubstate}%
2583 \newblock
2584 \usebibmacro{phil:related}%
2585 \newunit\newblock
2586 \usebibmacro{pageref}%
2587 \usebibmacro{finentry}}
2588
2589 \DeclareBibliographyDriver{booklet}{%
2590 \usebibmacro{bibindex}%
2591 \usebibmacro{begentry}%
2592 \usebibmacro{author/editor+others/translator+others}%
2593 \setunit{\labelnamepunct}\newblock
2594 \usebibmacro{title}%
2595 \newunit
2596 \printlist{language}%
2597 \newunit\newblock
2598 \usebibmacro{byauthor}%
2599 \newunit\newblock
2600 \usebibmacro{byeditor+others}%
2601 \newunit\newblock
2602 \printfield{howpublished}%
2603 \newunit\newblock
2604 \printfield{type}%
2605 \newunit\newblock
2606 \printfield{note}%
2607 \newunit\newblock
2608 \usebibmacro{location+date}%
2609 \newunit\newblock
2610 \usebibmacro{chapter+pages}%
2611 \newunit
2612 \printfield{pagetotal}%
2613 \newunit\newblock
2614 \usebibmacro{doi+eprint+url}%
2615 \newunit\newblock
2616 \usebibmacro{addendum+pubstate}%
2617 \newblock
2618 \usebibmacro{phil:related}%
2619 \newunit\newblock
2620 \usebibmacro{pageref}%
2621 \usebibmacro{finentry}}
2622
2623 \DeclareBibliographyDriver{collection}{%
2624 \usebibmacro{bibindex}%
2625 \usebibmacro{begentry}%
2626 \usebibmacro{editor+others}%
2627 \setunit{\labelnamepunct}\newblock
2628 \usebibmacro{maintitle+title}%
2629 \newunit
2630 \printlist{language}%
2631 \newunit\newblock
2632 \usebibmacro{byeditor+others}%
2633 \newunit\newblock
2634 \printfield{edition}%
2635 \newunit
2636 \iffieldundef{maintitle}
2637 {\printfield{volume}%
2638 \printfield{part}}
2639 {}%
2640 \newunit
2641 \printfield{volumes}%
2642 \newunit\newblock
2643 \usebibmacro{series+number}%
2644 \newunit\newblock
2645 \printfield{note}%
2646 \newunit\newblock
2647 \usebibmacro{publisher+location+date}%
2648 \newunit\newblock
2649 \usebibmacro{chapter+pages}%
2650 \newunit
2651 \printfield{pagetotal}%
2652 \newunit\newblock
2653 \iftoggle{bbx:isbn}
2654 {\printfield{isbn}}
2655 {}%
2656 \newunit\newblock
2657 \usebibmacro{doi+eprint+url}%
2658 \newunit\newblock
2659 \usebibmacro{addendum+pubstate}%
2660 \newblock
2661 \usebibmacro{phil:related}%
2662 \newunit\newblock
2663 \usebibmacro{pageref}%
2664 \usebibmacro{finentry}}
2665
2666 \DeclareBibliographyDriver{inbook}{%
2667 \usebibmacro{bibindex}%
2668 \usebibmacro{begentry}%
2669 \usebibmacro{author/translator+others}%
2670 \setunit{\labelnamepunct}\newblock
2671 \usebibmacro{title}%
2672 \newunit
2673 \printlist{language}%
2674 \newunit\newblock
2675 \usebibmacro{byauthor}%
2676 \newunit\newblock
2677 \usebibmacro{in:}%
2678 \iffieldundef{xref}%
2679 {\iffieldundef{crossref}{\usebibmacro{inbook:full}}%
2680 {\bbx@crossref@inbook{\thefield{crossref}}%
2681 \newunit\newblock
2682 \usebibmacro{crossrefdata}}}%
2683 {\bbx@crossref@inbook{\thefield{xref}}%
2684 \newunit\newblock
2685 \usebibmacro{xrefdata}}}%
2686
2687 \newbibmacro*{inbook:full}{%
2688 \usebibmacro{bybookauthor}%
2689 \newblock
2690 \usebibmacro{maintitle+booktitle}%
2691 \newunit\newblock
2692 \usebibmacro{byeditor+others}%
2693 \newunit\newblock
2694 \printfield{edition}%
2695 \newunit
2696 \printfield{volumes}%
2697 \newunit\newblock
2698 \usebibmacro{series+number}%
2699 \newunit\newblock
2700 \printfield{note}%
2701 \newunit\newblock
2702 \usebibmacro{publisher+location+date}%
2703 \newunit
2704 \iffieldundef{maintitle}
2705 {\printfield{volume}%
2706 \printfield{part}}
2707 {}%
2708 \newunit\newblock
2709 \usebibmacro{chapter+pages}%
2710 \newunit\newblock
2711 \iftoggle{bbx:isbn}
2712 {\printfield{isbn}}
2713 {}%
2714 \newunit\newblock
2715 \usebibmacro{doi+eprint+url}%
2716 \newunit\newblock
2717 \usebibmacro{addendum+pubstate:article-inbook-incoll}%
2718 \newblock
2719 \usebibmacro{phil:related}%
2720 \newunit\newblock
2721 \usebibmacro{pageref}%
2722 \usebibmacro{finentry}}
2723
2724 \DeclareBibliographyDriver{incollection}{%
2725 \usebibmacro{bibindex}%
2726 \usebibmacro{begentry}%
2727 \usebibmacro{author/translator+others}%
2728 \setunit{\labelnamepunct}\newblock
2729 \usebibmacro{title}%
2730 \newunit
2731 \printlist{language}%
2732 \newunit\newblock
2733 \usebibmacro{byauthor}%
2734 \newunit\newblock
2735 \usebibmacro{in:}%
2736 \iffieldundef{xref}%
2737 {\iffieldundef{crossref}{\usebibmacro{incollection:full}}%
2738 {\bbx@crossref@incollection{\thefield{crossref}}%
2739 \newunit\newblock
2740 \usebibmacro{crossrefdata}}}%
2741 {\bbx@crossref@incollection{\thefield{xref}}%
2742 \newunit\newblock
2743 \usebibmacro{xrefdata}}}
2744
2745 \newbibmacro*{incollection:full}{%
2746 \usebibmacro{maintitle+booktitle}%
2747 \newunit\newblock
2748 \usebibmacro{byeditor+others}%
2749 \newunit\newblock
2750 \printfield{edition}%
2751 \newunit
2752 \printfield{volumes}%
2753 \newunit\newblock
2754 \usebibmacro{series+number}%
2755 \newunit\newblock
2756 \printfield{note}%
2757 \newunit\newblock
2758 \usebibmacro{publisher+location+date}%
2759 \newunit
2760 \iffieldundef{maintitle}
2761 {\printfield{volume}%
2762 \printfield{part}}
2763 {}%
2764 \newunit\newblock
2765 \usebibmacro{chapter+pages}%
2766 \newunit\newblock
2767 \iftoggle{bbx:isbn}
2768 {\printfield{isbn}}
2769 {}%
2770 \newunit\newblock
2771 \usebibmacro{doi+eprint+url}%
2772 \newunit\newblock
2773 \usebibmacro{addendum+pubstate:article-inbook-incoll}%
2774 \newblock
2775 \usebibmacro{phil:related}%
2776 \newunit\newblock
2777 \usebibmacro{pageref}%
2778 \usebibmacro{finentry}}
2779
2780 \DeclareBibliographyDriver{inproceedings}{%
2781 \usebibmacro{bibindex}%
2782 \usebibmacro{begentry}%
2783 \usebibmacro{author/translator+others}%
2784 \setunit{\labelnamepunct}\newblock
2785 \usebibmacro{title}%
2786 \newunit
2787 \printlist{language}%
2788 \newunit\newblock
2789 \usebibmacro{byauthor}%
2790 \newunit\newblock
2791 \usebibmacro{in:}%
2792 \iffieldundef{xref}%
2793 {\iffieldundef{crossref}{\usebibmacro{inproceedings:full}}%
2794 {\bbx@crossref@incollection{\thefield{crossref}}%
2795 \newunit\newblock
2796 \usebibmacro{crossrefdata}}}%
2797 {\bbx@crossref@incollection{\thefield{xref}}%
2798 \newunit\newblock
2799 \usebibmacro{xrefdata}}}
2800
2801 \newbibmacro*{inproceedings:full}{%
2802 \usebibmacro{maintitle+booktitle}%
2803 \newunit\newblock
2804 \usebibmacro{event+venue+date}%
2805 \newunit\newblock
2806 \usebibmacro{byeditor+others}%
2807 \newunit
2808 \printfield{volumes}%
2809 \newunit\newblock
2810 \usebibmacro{series+number}%
2811 \newunit\newblock
2812 \printfield{note}%
2813 \newunit\newblock
2814 \printlist{organization}%
2815 \newunit
2816 \usebibmacro{publisher+location+date}%
2817 \newunit
2818 \iffieldundef{maintitle}
2819 {\printfield{volume}%
2820 \printfield{part}}
2821 {}%
2822 \newunit\newblock
2823 \usebibmacro{chapter+pages}%
2824 \newunit\newblock
2825 \iftoggle{bbx:isbn}
2826 {\printfield{isbn}}
2827 {}%
2828 \newunit\newblock
2829 \usebibmacro{doi+eprint+url}%
2830 \newunit\newblock
2831 \usebibmacro{addendum+pubstate:article-inbook-incoll}%
2832 \newblock
2833 \usebibmacro{phil:related}%
2834 \newunit\newblock
2835 \usebibmacro{pageref}%
2836 \usebibmacro{finentry}}
2837
2838 \DeclareBibliographyDriver{manual}{%
2839 \usebibmacro{bibindex}%
2840 \usebibmacro{begentry}%
2841 \usebibmacro{author/editor}%
2842 \setunit{\labelnamepunct}\newblock
2843 \usebibmacro{title}%
2844 \newunit
2845 \printlist{language}%
2846 \newunit\newblock
2847 \usebibmacro{byauthor}%
2848 \newunit\newblock
2849 \usebibmacro{byeditor}%
2850 \newunit\newblock
2851 \printfield{edition}%
2852 \newunit\newblock
2853 \usebibmacro{series+number}%
2854 \newunit\newblock
2855 \printfield{type}%
2856 \newunit
2857 \printfield{version}%
2858 \newunit
2859 \printfield{note}%
2860 \newunit\newblock
2861 \printlist{organization}%
2862 \newunit
2863 \usebibmacro{publisher+location+date}%
2864 \newunit\newblock
2865 \usebibmacro{chapter+pages}%
2866 \newunit
2867 \printfield{pagetotal}%
2868 \newunit\newblock
2869 \iftoggle{bbx:isbn}
2870 {\printfield{isbn}}
2871 {}%
2872 \newunit\newblock
2873 \usebibmacro{doi+eprint+url}%
2874 \newunit\newblock
2875 \usebibmacro{addendum+pubstate}%
2876 \newblock
2877 \usebibmacro{phil:related}%
2878 \newunit\newblock
2879 \usebibmacro{pageref}%
2880 \usebibmacro{finentry}}
2881
2882 \DeclareBibliographyDriver{misc}{%
2883 \usebibmacro{bibindex}%
2884 \usebibmacro{begentry}%
2885 \usebibmacro{author/editor+others/translator+others}%
2886 \setunit{\labelnamepunct}\newblock
2887 \usebibmacro{title}%
2888 \newunit
2889 \printlist{language}%
2890 \newunit\newblock
2891 \usebibmacro{byauthor}%
2892 \newunit\newblock
2893 \usebibmacro{byeditor+others}%
2894 \newunit\newblock
2895 \printfield{howpublished}%
2896 \newunit\newblock
2897 \printfield{type}%
2898 \newunit
2899 \printfield{version}%
2900 \newunit
2901 \printfield{note}%
2902 \newunit\newblock
2903 \usebibmacro{organization+location+date}%
2904 \newunit\newblock
2905 \usebibmacro{doi+eprint+url}%
2906 \newunit\newblock
2907 \usebibmacro{addendum+pubstate}%
2908 \newblock
2909 \usebibmacro{phil:related}%
2910 \newunit\newblock
2911 \usebibmacro{pageref}%
2912 \usebibmacro{finentry}}
2913
2914 \DeclareBibliographyDriver{online}{%
2915 \usebibmacro{bibindex}%
2916 \usebibmacro{begentry}%
2917 \usebibmacro{author/editor+others/translator+others}%
2918 \setunit{\labelnamepunct}\newblock
2919 \usebibmacro{title}%
2920 \newunit
2921 \printlist{language}%
2922 \newunit\newblock
2923 \usebibmacro{byauthor}%
2924 \newunit\newblock
2925 \usebibmacro{byeditor+others}%
2926 \newunit\newblock
2927 \printfield{version}%
2928 \newunit
2929 \printfield{note}%
2930 \newunit\newblock
2931 \printlist{organization}%
2932 \newunit\newblock
2933 \usebibmacro{date}%
2934 \newunit\newblock
2935 \iftoggle{bbx:eprint}
2936 {\usebibmacro{eprint}}
2937 {}%
2938 \newunit\newblock
2939 \usebibmacro{url+urldate}%
2940 \newunit\newblock
2941 \usebibmacro{addendum+pubstate}%
2942 \newblock
2943 \usebibmacro{phil:related}%
2944 \newunit\newblock
2945 \usebibmacro{pageref}%
2946 \usebibmacro{finentry}}
2947
2948 \DeclareBibliographyDriver{patent}{%
2949 \usebibmacro{bibindex}%
2950 \usebibmacro{begentry}%
2951 \usebibmacro{author}%
2952 \setunit{\labelnamepunct}\newblock
2953 \usebibmacro{title}%
2954 \newunit
2955 \printlist{language}%
2956 \newunit\newblock
2957 \usebibmacro{byauthor}%
2958 \newunit\newblock
2959 \printfield{type}%
2960 \setunit*{\addspace}%
2961 \printfield{number}%
2962 \iflistundef{location}
2963 {}
2964 {\setunit*{\addspace}%
2965 \printtext[parens]{%
2966 \printlist[][-\value{listtotal}]{location}}}%
2967 \newunit\newblock
2968 \usebibmacro{byholder}%
2969 \newunit\newblock
2970 \printfield{note}%
2971 \newunit\newblock
2972 \usebibmacro{date}%
2973 \newunit\newblock
2974 \usebibmacro{doi+eprint+url}%
2975 \newunit\newblock
2976 \usebibmacro{addendum+pubstate}%
2977 \newblock
2978 \usebibmacro{phil:related}%
2979 \newunit\newblock
2980 \usebibmacro{pageref}%
2981 \usebibmacro{finentry}}
2982
2983 \DeclareBibliographyDriver{periodical}{%
2984 \usebibmacro{bibindex}%
2985 \usebibmacro{begentry}%
2986 \usebibmacro{editor}%
2987 \setunit{\labelnamepunct}\newblock
2988 \usebibmacro{title+issuetitle}%
2989 \newunit
2990 \printlist{language}%
2991 \newunit\newblock
2992 \usebibmacro{byeditor}%
2993 \newunit\newblock
2994 \printfield{note}%
2995 \newunit\newblock
2996 \iftoggle{bbx:isbn}
2997 {\printfield{issn}}
2998 {}%
2999 \newunit\newblock
3000 \usebibmacro{doi+eprint+url}%
3001 \newunit\newblock
3002 \usebibmacro{addendum+pubstate}%
3003 \newblock
3004 \usebibmacro{phil:related}%
3005 \newunit\newblock
3006 \usebibmacro{pageref}%
3007 \usebibmacro{finentry}}
3008
3009 \DeclareBibliographyDriver{proceedings}{%
3010 \usebibmacro{bibindex}%
3011 \usebibmacro{begentry}%
3012 \usebibmacro{editor+others}%
3013 \setunit{\labelnamepunct}\newblock
3014 \usebibmacro{maintitle+title}%
3015 \newunit
3016 \printlist{language}%
3017 \newunit\newblock
3018 \usebibmacro{event+venue+date}%
3019 \newunit\newblock
3020 \usebibmacro{byeditor+others}%
3021 \newunit\newblock
3022 \iffieldundef{maintitle}
3023 {\printfield{volume}%
3024 \printfield{part}}
3025 {}%
3026 \newunit
3027 \printfield{volumes}%
3028 \newunit\newblock
3029 \usebibmacro{series+number}%
3030 \newunit\newblock
3031 \printfield{note}%
3032 \newunit\newblock
3033 \printlist{organization}%
3034 \newunit
3035 \usebibmacro{publisher+location+date}%
3036 \newunit\newblock
3037 \usebibmacro{chapter+pages}%
3038 \newunit
3039 \printfield{pagetotal}%
3040 \newunit\newblock
3041 \iftoggle{bbx:isbn}
3042 {\printfield{isbn}}
3043 {}%
3044 \newunit\newblock
3045 \usebibmacro{doi+eprint+url}%
3046 \newunit\newblock
3047 \usebibmacro{addendum+pubstate}%
3048 \newblock
3049 \usebibmacro{phil:related}%
3050 \newunit\newblock
3051 \usebibmacro{pageref}%
3052 \usebibmacro{finentry}}
3053
3054 \DeclareBibliographyDriver{report}{%
3055 \usebibmacro{bibindex}%
3056 \usebibmacro{begentry}%
3057 \usebibmacro{author}%
3058 \setunit{\labelnamepunct}\newblock
3059 \usebibmacro{title}%
3060 \newunit
3061 \printlist{language}%
3062 \newunit\newblock
3063 \usebibmacro{byauthor}%
3064 \newunit\newblock
3065 \printfield{type}%
3066 \setunit*{\addspace}%
3067 \printfield{number}%
3068 \newunit\newblock
3069 \printfield{version}%
3070 \newunit
3071 \printfield{note}%
3072 \newunit\newblock
3073 \usebibmacro{institution+location+date}%
3074 \newunit\newblock
3075 \usebibmacro{chapter+pages}%
3076 \newunit
3077 \printfield{pagetotal}%
3078 \newunit\newblock
3079 \iftoggle{bbx:isbn}
3080 {\printfield{isrn}}
3081 {}%
3082 \newunit\newblock
3083 \usebibmacro{doi+eprint+url}%
3084 \newunit\newblock
3085 \usebibmacro{addendum+pubstate}%
3086 \newblock
3087 \usebibmacro{phil:related}%
3088 \newunit\newblock
3089 \usebibmacro{pageref}%
3090 \usebibmacro{finentry}}
3091
3092 \DeclareBibliographyDriver{thesis}{%
3093 \usebibmacro{bibindex}%
3094 \usebibmacro{begentry}%
3095 \usebibmacro{author}%
3096 \setunit{\labelnamepunct}\newblock
3097 \usebibmacro{title}%
3098 \newunit
3099 \printlist{language}%
3100 \newunit\newblock
3101 \usebibmacro{byauthor}%
3102 \newunit\newblock
3103 \printfield{note}%
3104 \newunit\newblock
3105 \printfield{type}%
3106 \newunit
3107 \usebibmacro{institution+location+date}%
3108 \newunit\newblock
3109 \usebibmacro{chapter+pages}%
3110 \newunit
3111 \printfield{pagetotal}%
3112 \newunit\newblock
3113 \iftoggle{bbx:isbn}
3114 {\printfield{isbn}}
3115 {}%
3116 \newunit\newblock
3117 \usebibmacro{doi+eprint+url}%
3118 \newunit\newblock
3119 \usebibmacro{addendum+pubstate}%
3120 \newblock
3121 \usebibmacro{phil:related}%
3122 \newunit\newblock
3123 \usebibmacro{pageref}%
3124 \usebibmacro{finentry}}
3125
3126 \DeclareBibliographyDriver{unpublished}{%
3127 \usebibmacro{bibindex}%
3128 \usebibmacro{begentry}%
3129 \usebibmacro{author}%
3130 \setunit{\labelnamepunct}\newblock
3131 \usebibmacro{title}%
3132 \newunit
3133 \printlist{language}%
3134 \newunit\newblock
3135 \usebibmacro{byauthor}%
3136 \newunit\newblock
3137 \printfield{howpublished}%
3138 \newunit\newblock
3139 \printfield{note}%
3140 \newunit\newblock
3141 \usebibmacro{location+date}%
3142 \newunit\newblock
3143 \iftoggle{bbx:url}
3144 {\usebibmacro{url+urldate}}
3145 {}%
3146 \newunit\newblock
3147 \usebibmacro{addendum+pubstate}%
3148 \newblock
3149 \usebibmacro{phil:related}%
3150 \newunit\newblock
3151 \usebibmacro{pageref}%
3152 \usebibmacro{finentry}}
3153 % \end{macrocode}
3154 % The \bibfield{annotation} field of the \bibtype{set} entry type
3155 % is cleared before the first entry is processed and restored at the end of the set.
3156 % \begin{macrocode}
3157 \DeclareBibliographyDriver{set}{%
3158 \savefield{annotation}{\@phil@nnote}%
3159 \clearfield{annotation}%
3160 \entryset{}{}%
3161 \newunit\newblock
3162 \restorefield{annotation}{\@phil@nnote}%
3163 \usebibmacro{pageref}%
3164 \usebibmacro{finentry}}
3165 % \end{macrocode}
3166 % \paragraph{Experimental drivers for jurisprudence}
3167 % This feature is available for now only for Italian documents.
3168 % \begin{macrocode}
3169 \DeclareFieldFormat[jurisdiction]{volume}{\RN{#1}}
3170 \DeclareFieldFormat[jurisdiction]{number}{\bibsstring{number}~{#1}}
3171 \DeclareFieldFormat[jurisdiction]{nameaddon}{%
3172 \ifinteger{#1}{\bibcpsstring{section}~\RN{#1}}{#1}}
3173 \DeclareFieldFormat[jurisdiction]{pages}{%
3174 \iffieldundef{bookpagination}{#1}{\mkpageprefix[bookpagination]{#1}}}
3175 \DeclareFieldFormat[jurisdiction]{title}{%
3176 \iffieldequalstr{entrysubtype}{international}{\mkbibemph{#1}}{#1}}
3177 \DeclareFieldFormat[jurisdiction]{notacomm}{nt\adddotspace#1}% \end{macrocode}
3178 % A new macro to manage authors of \bibtype{jurisdiction} entries.
3179 % \begin{macrocode}
3180 \newbibmacro*{juris:author}{%
3181 % \end{macrocode}
3182 % Use the default name format: ``name surname''
3183 % \begin{macrocode}
3184 \DeclareNameAlias{sortname}{default}%
3185 \ifboolexpr{%
3186 test \ifuseauthor
3187 and
3188 not test {\ifnameundef{author}}
3189 }%
3190 {%
3191 \iffieldequalstr{type}{conclusions}{%
3192 \printtext{Conclusioni dell'Avv\adddotspace generale}%
3193 \setunit{\addspace}}{}%
3194 \printnames{author}%
3195 \iffieldundef{authortype}
3196 {}
3197 {\setunit{\addcomma\space}%
3198 \usebibmacro{authorstrg}}}
3199 {}%
3200 \iffieldequalstr{type}{conclusions}{%
3201 \setunit{\addspace}%
3202 \printtext{presentate il}%
3203 \setunit{\addspace}%
3204 }{%
3205 \setunit{\addcomma\space}%
3206 \iffieldundef{nameaddon}{}{%
3207 \printtext{\printfield{nameaddon}%
3208 \setunit{\addcomma\space}}}%
3209 }%
3210 \printeventdate}
3211
3212 \newbibmacro*{addendum+pubstate:juris}{%
3213 \printfield{usera}%notacomm
3214 \newunit\newblock
3215 \printfield{addendum}%
3216 \newunit\newblock
3217 \printfield{pubstate}%
3218 \ifdefstring{\bbx@origfields}{none}{}{%
3219 \newunit\newblock
3220 \usebibmacro{origdata:article-inbook}}%
3221 \newunit\newblock
3222 \usebibmacro{library}}
3223
3224 \DeclareBibliographyDriver{jurisdiction}{%
3225 \usebibmacro{bibindex}%
3226 \usebibmacro{begentry}%
3227 \usebibmacro{juris:author}%
3228 \setunit{\labelnamepunct}\newblock
3229 \usebibmacro{title}%
3230 \newunit\newblock
3231 \usebibmacro{series+number}%
3232 \printlist{language}%
3233 \newunit\newblock
3234 \usebibmacro{byauthor}%
3235 \newunit\newblock
3236 \iffieldundef{booktitle}{}{%
3237 \usebibmacro{in:}%
3238 \usebibmacro{maintitle+booktitle}%
3239 \newunit\newblock
3240 \printdateextra
3241 \usebibmacro{byeditor+others}%
3242 \newunit\newblock
3243 \printfield{edition}%
3244 \newunit
3245 % \iffieldundef{maintitle}
3246 {\printfield{volume}%
3247 \printfield{part}}
3248 {}%
3249 \newunit
3250 \printfield{volumes}%
3251 \newunit\newblock
3252 \printfield{note}%
3253 \newunit\newblock
3254 \usebibmacro{publisher+location+date}%
3255 \newunit\newblock
3256 \usebibmacro{chapter+pages}%
3257 \newunit\newblock
3258 \iftoggle{bbx:isbn}
3259 {\printfield{isbn}}
3260 {}%
3261 \newunit\newblock}
3262 \usebibmacro{doi+eprint+url}%
3263 \newunit\newblock
3264 \usebibmacro{addendum+pubstate:juris}%
3265 \newblock
3266 \usebibmacro{phil:related}%
3267 \newunit\newblock
3268 \usebibmacro{pageref}%
3269 \usebibmacro{finentry}}
3270 % \end{macrocode}
3271 % Define new fields for \bibtype{jurisdiction} entry types and
3272 % \opt{orig-} fields mechanism:
3273 % \begin{macrocode}
3274 \DeclareStyleSourcemap{
3275 \maps[datatype=bibtex]{
3276 \map{
3277 \step[fieldsource=court , fieldtarget=author]
3278 \step[fieldsource=notacomm , fieldtarget=usera]
3279 \step[fieldsource=section , fieldtarget=nameaddon]
3280 \step[fieldsource=transdate , fieldtarget=origdate]
3281 \step[fieldsource=transtitle , fieldtarget=origtitle]
3282 \step[fieldsource=tranpublisher , fieldtarget=origpublisher]
3283 \step[fieldsource=translocation , fieldtarget=origlocation]
3284 \step[fieldsource=transbooktitle, fieldtarget=usera]
3285 \step[fieldsource=transnote , fieldtarget=userb]
3286 \step[fieldsource=transpages , fieldtarget=userc]
3287 \step[fieldsource=origbooktitle , fieldtarget=usera]
3288 \step[fieldsource=orignote , fieldtarget=userb]
3289 \step[fieldsource=origpages , fieldtarget=userc]
3290 }
3291 }
3292 }
3293 \DeclareDataInheritance{*}{*}{\noinherit{annotation}}
3294
3295 \DeclareFieldAlias[jurisdiction]{usera}[jurisdiction]{notacomm}
3296 \DeclareFieldAlias[jurisdiction]{nameadddon}[jurisdiction]{section}
3297 \DeclareFieldAlias[jurisdiction]{author}[jurisdiction]{court}
3298 % \end{macrocode}
3299 % \iffalse
3300 %</standard-bbx>
3301 % \fi
3302 %
3303 % \subsection{\file{philosophy-verbose.bbx}}
3304 %
3305 % \iffalse
3306 %<*verbose-bbx>
3307 % \fi
3308 %
3309 % \subsubsection{Initial settings}
3310 %
3311 % \begin{macrocode}
3312 \RequireBibliographyStyle{authortitle}
3313 \RequireBibliographyStyle{philosophy-standard}
3314 % \end{macrocode}
3315 % In the list of shorthands we always use the shorthand
3316 % for the cross-referenced entries:
3317 % \begin{macrocode}
3318 \AtBeginShorthands{%
3319 \DeclareCiteCommand{\bbx@crossref@inbook}%
3320 {}%
3321 {\iffieldundef{shorthand}%
3322 {\usebibmacro{inbook:full}}%
3323 {\usebibmacro{cite:shorthand}}}%
3324 {}%
3325 {}%
3326 \DeclareCiteCommand{\bbx@crossref@incollection}%
3327 {}%
3328 {\iffieldundef{shorthand}%
3329 {\usebibmacro{incollection:full}}%
3330 {\usebibmacro{cite:shorthand}}}%
3331 {}%
3332 {}%
3333 }
3334 % \end{macrocode}
3335 % \subsubsection{Authors and editors}
3336 % \begin{macrocode}
3337 \renewbibmacro*{author}{%
3338 \ifboolexpr{%
3339 test \ifuseauthor
3340 and
3341 not test {\ifnameundef{author}}
3342 }%
3343 {\usebibmacro{bbx:dashcheck}%
3344 {\bibnamedash}%
3345 {\printnames{author}%
3346 \iffieldundef{nameaddon}{}%
3347 {\setunit{\addspace}%
3348 \printfield{nameaddon}}%MOD
3349 \setunit{\printdelim{editorstrgdelim}}%
3350 \usebibmacro{bbx:savehash}}%
3351 \usebibmacro{authorstrg}}%
3352 {\global\undef\bbx@lasthash}}%
3353
3354 \renewbibmacro*{bbx:editor}[1]{%
3355 \ifboolexpr{%
3356 test \ifuseeditor
3357 and
3358 not test {\ifnameundef{editor}}
3359 }%
3360 {\usebibmacro{bbx:dashcheck}%
3361 {\bibnamedash}%
3362 {\printnames{editor}%
3363 \setunit{\printdelim{editorstrgdelim}}%MOD
3364 \usebibmacro{bbx:savehash}}%
3365 \usebibmacro{#1}%
3366 \clearname{editor}}%
3367 {\global\undef\bbx@lasthash}}%
3368
3369 \renewbibmacro*{bbx:translator}[1]{%
3370 \ifboolexpr{%
3371 test \ifusetranslator
3372 and
3373 not test {\ifnameundef{translator}}
3374 }%
3375 {\usebibmacro{bbx:dashcheck}%
3376 {\bibnamedash}%
3377 {\printnames{translator}%
3378 \setunit{\printdelim{editorstrgdelim}}%MOD
3379 \usebibmacro{bbx:savehash}}%
3380 \usebibmacro{#1}%
3381 \clearname{translator}}%
3382 {\global\undef\bbx@lasthash}}%
3383
3384 \newbibmacro*{nodash:author}{%
3385 \ifboolexpr{%
3386 test \ifuseauthor
3387 and
3388 not test {\ifnameundef{author}}
3389 }%
3390 {\printnames{author}%
3391 \iffieldundef{nameaddon}{}%
3392 {\setunit{\addspace}%
3393 \printfield{nameaddon}}%
3394 \setunit{\addcomma\space}%
3395 \usebibmacro{authorstrg}}%
3396 {\global\undef\bbx@lasthash}}
3397
3398 \newbibmacro*{nodash:editor+others}{%
3399 \usebibmacro{nodash:bbx:editor}{editor+othersstrg}}%
3400 \newbibmacro*{nodash:bbx:editor}[1]{%
3401 \ifboolexpr{%
3402 test \ifuseeditor
3403 and
3404 not test {\ifnameundef{editor}}
3405 }%
3406 {\printnames{editor}%
3407 \setunit{\addspace}%
3408 \usebibmacro{#1}%
3409 \clearname{editor}}%
3410 {\global\undef\bbx@lasthash}}
3411
3412 \newbibmacro*{nodash:author/editor+others/translator+others}{%
3413 \ifboolexpr{
3414 test \ifuseauthor
3415 and
3416 not test {\ifnameundef{author}}
3417 }
3418 {\usebibmacro{nodash:author}}
3419 {\ifboolexpr{
3420 test \ifuseeditor
3421 and
3422 not test {\ifnameundef{editor}}
3423 }
3424 {\usebibmacro{nodash:editor+others}}
3425 {\usebibmacro{translator+others}}}}
3426
3427 \renewbibmacro*{relateddate}{%
3428 \setunit*{\addspace}%
3429 \printdate\ifdefstring{\bbx@editionformat}{superscript}%
3430 {\printfield{edition}}{}}
3431 \renewbibmacro*{commarelateddate}{%
3432 \setunit*{\addcomma\space}%
3433 \printdate\ifdefstring{\bbx@editionformat}{superscript}%
3434 {\printfield{edition}}{}}
3435 % \end{macrocode}
3436 % \subsubsection{Cross references}
3437 % \begin{macrocode}
3438 \DeclareCiteCommand{\bbx@crossref@inbook}%
3439 {}%
3440 {\ifciteseen{%
3441 \ifthenelse{\value{listtotal}=2}%
3442 {\printnames[][-\value{maxnamesincross}]{labelname}}%
3443 {\printnames[][-\value{minnamesincross}]{labelname}}%
3444 \setunit*{\addcomma\space}\printtext{%
3445 \printfield[citetitle]{labeltitle}%
3446 \iftoggle{cbx:commacit}{\setunit{\addcomma\space}}%
3447 {\setunit{\addspace\midsentence}}%
3448 \bibstring{opcit}}}%
3449 {\DeclareNameAlias{sortname}{default}%
3450 \usebibmacro{usedriver:book}}}%
3451 {}%
3452 {}%
3453 \DeclareCiteCommand{\bbx@crossref@incollection}%
3454 {}%
3455 {\ifciteseen{%
3456 \ifthenelse{\value{listtotal}=2}%
3457 {\printnames[][-\value{maxnamesincross}]{labelname}}%
3458 {\printnames[][-\value{minnamesincross}]{labelname}}%
3459 \setunit*{\addspace}%
3460 \usebibmacro{editorstrg}%
3461 \setunit*{\addcomma\space}%
3462 \printtext{%
3463 \printfield[citetitle]{labeltitle}%
3464 \iftoggle{cbx:commacit}{\setunit{\addcomma\space}}%
3465 {\setunit{\addspace\midsentence}}%
3466 \bibstring{opcit}}}%
3467 {\DeclareNameAlias{sortname}{default}%
3468 \usebibmacro{usedriver:collection}}}%
3469 {}%
3470 {}%
3471 % \end{macrocode}
3472 % \subsubsection{Bibliography drivers}
3473 % \begin{macrocode}
3474 \DeclareBibliographyDriver{book}{%
3475 \usebibmacro{bibindex}%
3476 \usebibmacro{begentry}%
3477 \usebibmacro{author/editor+others/translator+others}%
3478 \setunit{\labelnamepunct}\newblock
3479 \usebibmacro{maintitle+title}%
3480 \newunit
3481 \printlist{language}%
3482 \newunit\newblock
3483 \usebibmacro{byauthor}%
3484 \newunit\newblock
3485 \usebibmacro{byeditor+others}%
3486 \newunit\newblock
3487 \ifdefstring{\bbx@editionformat}{superscript}{}%
3488 {\printfield{edition}%
3489 \newunit}%
3490 \printfield{volumes}%
3491 \newunit\newblock
3492 \usebibmacro{series+number}%
3493 \newunit\newblock
3494 \printfield{note}%
3495 \newunit\newblock
3496 \usebibmacro{publisher+location+date}%
3497 \newunit
3498 \iffieldundef{maintitle}
3499 {\printfield{volume}%
3500 \printfield{part}}
3501 {}%
3502 \newunit\newblock
3503 \usebibmacro{chapter+pages}%
3504 \newunit
3505 \printfield{pagetotal}%
3506 \newunit\newblock
3507 \iftoggle{bbx:isbn}
3508 {\printfield{isbn}}
3509 {}%
3510 \newunit\newblock
3511 \usebibmacro{doi+eprint+url}%
3512 \newunit\newblock
3513 \usebibmacro{addendum+pubstate}%
3514 \newblock
3515 \usebibmacro{phil:related}%
3516 \newunit\newblock
3517 \usebibmacro{pageref}%
3518 \usebibmacro{finentry}}
3519
3520 \DeclareBibliographyDriver{collection}{%
3521 \usebibmacro{bibindex}%
3522 \usebibmacro{begentry}%
3523 \usebibmacro{editor+others}%
3524 \setunit{\labelnamepunct}\newblock
3525 \usebibmacro{maintitle+title}%
3526 \newunit
3527 \printlist{language}%
3528 \newunit\newblock
3529 \usebibmacro{byeditor+others}%
3530 \newunit\newblock
3531 \ifdefstring{\bbx@editionformat}{superscript}{}%
3532 {\printfield{edition}%
3533 \newunit}%
3534 \iffieldundef{maintitle}
3535 {\printfield{volume}%
3536 \printfield{part}}
3537 {}%
3538 \newunit
3539 \printfield{volumes}%
3540 \newunit\newblock
3541 \usebibmacro{series+number}%
3542 \newunit\newblock
3543 \printfield{note}%
3544 \newunit\newblock
3545 \usebibmacro{publisher+location+date}%
3546 \newunit\newblock
3547 \usebibmacro{chapter+pages}%
3548 \newunit
3549 \printfield{pagetotal}%
3550 \newunit\newblock
3551 \iftoggle{bbx:isbn}
3552 {\printfield{isbn}}
3553 {}%
3554 \newunit\newblock
3555 \usebibmacro{doi+eprint+url}%
3556 \newunit\newblock
3557 \usebibmacro{addendum+pubstate}%
3558 \newblock
3559 \usebibmacro{phil:related}%
3560 \newunit\newblock
3561 \usebibmacro{pageref}%
3562 \usebibmacro{finentry}}
3563
3564 \renewbibmacro*{inbook:full}{%
3565 \usebibmacro{bybookauthor}%
3566 \newblock
3567 \usebibmacro{maintitle+booktitle}%
3568 \newunit\newblock
3569 \usebibmacro{byeditor+others}%
3570 \newunit\newblock
3571 \ifdefstring{\bbx@editionformat}{superscript}{}%
3572 {\printfield{edition}%
3573 \newunit}%
3574 \printfield{volumes}%
3575 \newunit\newblock
3576 \usebibmacro{series+number}%
3577 \newunit\newblock
3578 \printfield{note}%
3579 \newunit\newblock
3580 \usebibmacro{publisher+location+date}%
3581 \newunit
3582 \iffieldundef{maintitle}
3583 {\printfield{volume}%
3584 \printfield{part}}
3585 {}%
3586 \newunit\newblock
3587 \usebibmacro{chapter+pages}%
3588 \newunit\newblock
3589 \iftoggle{bbx:isbn}
3590 {\printfield{isbn}}
3591 {}%
3592 \newunit\newblock
3593 \usebibmacro{doi+eprint+url}%
3594 \newunit\newblock
3595 \usebibmacro{addendum+pubstate:article-inbook-incoll}%
3596 \newblock
3597 \usebibmacro{phil:related}%
3598 \newunit\newblock
3599 \usebibmacro{pageref}%
3600 \usebibmacro{finentry}}
3601
3602 \renewbibmacro*{incollection:full}{%
3603 \usebibmacro{maintitle+booktitle}%
3604 \newunit\newblock
3605 \usebibmacro{byeditor+others}%
3606 \newunit\newblock
3607 \ifdefstring{\bbx@editionformat}{superscript}{}%
3608 {\printfield{edition}%
3609 \newunit}%
3610 \printfield{volumes}%
3611 \newunit\newblock
3612 \usebibmacro{series+number}%
3613 \newunit\newblock
3614 \printfield{note}%
3615 \newunit\newblock
3616 \usebibmacro{publisher+location+date}%
3617 \newunit
3618 \iffieldundef{maintitle}
3619 {\printfield{volume}%
3620 \printfield{part}}
3621 {}%
3622 \newunit\newblock
3623 \usebibmacro{chapter+pages}%
3624 \newunit\newblock
3625 \iftoggle{bbx:isbn}
3626 {\printfield{isbn}}
3627 {}%
3628 \newunit\newblock
3629 \usebibmacro{doi+eprint+url}%
3630 \newunit\newblock
3631 \usebibmacro{addendum+pubstate:article-inbook-incoll}%
3632 \newblock
3633 \usebibmacro{phil:related}%
3634 \newunit\newblock
3635 \usebibmacro{pageref}%
3636 \usebibmacro{finentry}}
3637
3638 \DeclareBibliographyDriver{manual}{%
3639 \usebibmacro{bibindex}%
3640 \usebibmacro{begentry}%
3641 \usebibmacro{author/editor}%
3642 \setunit{\labelnamepunct}\newblock
3643 \usebibmacro{title}%
3644 \newunit
3645 \printlist{language}%
3646 \newunit\newblock
3647 \usebibmacro{byauthor}%
3648 \newunit\newblock
3649 \usebibmacro{byeditor}%
3650 \newunit\newblock
3651 \ifdefstring{\bbx@editionformat}{superscript}{}%
3652 {\printfield{edition}%
3653 \newunit\newblock}%
3654 \usebibmacro{series+number}%
3655 \newunit\newblock
3656 \printfield{type}%
3657 \newunit
3658 \printfield{version}%
3659 \newunit
3660 \printfield{note}%
3661 \newunit\newblock
3662 \printlist{organization}%
3663 \newunit
3664 \usebibmacro{publisher+location+date}%
3665 \newunit\newblock
3666 \usebibmacro{chapter+pages}%
3667 \newunit
3668 \printfield{pagetotal}%
3669 \newunit\newblock
3670 \iftoggle{bbx:isbn}
3671 {\printfield{isbn}}
3672 {}%
3673 \newunit\newblock
3674 \usebibmacro{doi+eprint+url}%
3675 \newunit\newblock
3676 \usebibmacro{addendum+pubstate}%
3677 \newblock
3678 \usebibmacro{phil:related}%
3679 \newunit\newblock
3680 \usebibmacro{pageref}%
3681 \usebibmacro{finentry}}
3682
3683 \newbibmacro*{usedriver:book}{%
3684 \usebibmacro{bibindex}%
3685 \usebibmacro{begentry}%
3686 \usebibmacro{nodash:author/editor+others/translator+others}%
3687 \setunit{\labelnamepunct}\newblock
3688 \usebibmacro{maintitle+title}%
3689 \newunit
3690 \printlist{language}%
3691 \newunit\newblock
3692 \usebibmacro{byauthor}%
3693 \newunit\newblock
3694 \usebibmacro{byeditor+others}%
3695 \newunit\newblock
3696 \ifdefstring{\bbx@editionformat}{superscript}{}%
3697 {\printfield{edition}%
3698 \newunit}%
3699 \printfield{volumes}%
3700 \newunit\newblock
3701 \usebibmacro{series+number}%
3702 \newunit\newblock
3703 \printfield{note}%
3704 \newunit\newblock
3705 \usebibmacro{publisher+location+date}%
3706 \newunit
3707 \iffieldundef{maintitle}
3708 {\printfield{volume}%
3709 \printfield{part}}
3710 {}%
3711 \newunit\newblock
3712 \usebibmacro{chapter+pages}%
3713 \newunit
3714 \printfield{pagetotal}%
3715 \newunit\newblock
3716 \iftoggle{bbx:isbn}
3717 {\printfield{isbn}}
3718 {}%
3719 \newunit\newblock
3720 \usebibmacro{doi+eprint+url}%
3721 \newunit\newblock
3722 \usebibmacro{addendum+pubstate}%
3723 \newblock
3724 \usebibmacro{phil:related}%
3725 \newunit\newblock
3726 \usebibmacro{pageref}%
3727 }
3728 \newbibmacro*{usedriver:collection}{%
3729 \usebibmacro{bibindex}%
3730 \usebibmacro{begentry}%
3731 \usebibmacro{nodash:editor+others}%
3732 \setunit{\labelnamepunct}\newblock%
3733 \usebibmacro{maintitle+title}%
3734 \newunit
3735 \printlist{language}%
3736 \newunit\newblock
3737 \usebibmacro{byeditor+others}%
3738 \newunit\newblock
3739 \ifdefstring{\bbx@editionformat}{superscript}{}%
3740 {\printfield{edition}%
3741 \newunit}%
3742 \iffieldundef{maintitle}
3743 {\printfield{volume}%
3744 \printfield{part}}
3745 {}%
3746 \newunit
3747 \printfield{volumes}%
3748 \newunit\newblock
3749 \usebibmacro{series+number}%
3750 \newunit\newblock
3751 \printfield{note}%
3752 \newunit\newblock
3753 \usebibmacro{publisher+location+date}%
3754 \newunit\newblock
3755 \usebibmacro{chapter+pages}%
3756 \newunit
3757 \printfield{pagetotal}%
3758 \newunit\newblock
3759 \iftoggle{bbx:isbn}
3760 {\printfield{isbn}}
3761 {}%
3762 \newunit\newblock
3763 \usebibmacro{doi+eprint+url}%
3764 \newunit\newblock
3765 \usebibmacro{addendum+pubstate}%
3766 \newblock
3767 \usebibmacro{phil:related}%
3768 \newunit\newblock
3769 \usebibmacro{pageref}%
3770 }
3771 % \end{macrocode}
3772 % \iffalse
3773 %</verbose-bbx>
3774 % \fi
3775 %
3776 % \subsection{\file{philosophy-classic.bbx}}
3777 %
3778 % \iffalse
3779 %<*classic-bbx>
3780 % \fi
3781 % \subsubsection{Initial settings}
3782 % \begin{macrocode}
3783 \RequireBibliographyStyle{authoryear-comp}
3784 \RequireBibliographyStyle{philosophy-standard}
3785
3786 \newtoggle{bbx:square}
3787 \newtoggle{bbx:nodate}
3788
3789 \DeclareBibliographyOption{square}[true]{%
3790 \settoggle{bbx:square}{#1}}
3791 \DeclareBibliographyOption{nodate}[true]{%
3792 \settoggle{bbx:nodate}{#1}}
3793 % \end{macrocode}
3794 % We define the \opt{nodate} option also to be used in the
3795 % optional argument of \cmd{printbibliography}:
3796 % \begin{macrocode}
3797 \blx@kv@defkey{blx@bib1}{nodate}[]{}%
3798 \blx@kv@defkey{blx@bib2}{nodate}[true]{%
3799 \ifstrequal{#1}{false}{\togglefalse{bbx:nodate}}{}}%
3800 % \end{macrocode}
3801 % The \opt{mergedate} option from \file{authoryear.bbx} must be completely redefined.
3802 % We actually revise only the \texttt{date+extradate} macro and all the \texttt{issue+date} macros
3803 % except for that one in the \cmd{bbx@opt@mergedate@maximum}.
3804 % The test \cmd{ifboolexpr} is required to make \texttt{bbx:nodate} macro work properly and
3805 % the \cmd{postsepyear} command is used to surround the date label with a box of fixed width.
3806 % \begin{macrocode}
3807 \def\bbx@opt@mergedate@maximum{%
3808 \renewbibmacro*{date+extradate}{%
3809 \iffieldundef{labelyear}
3810 {\usebibmacro{bbx:nodate}}
3811 {\postsepyear{%
3812 \iflabeldateisdate
3813 {\printfield{issue}%
3814 \setunit*{\addspace}%
3815 \printdateextra}
3816 {\printlabeldateextra}}}}%
3817 \renewbibmacro*{bbx:ifmergeddate}{\iflabeldateisdate}%
3818 \renewbibmacro*{date}{%
3819 \iflabeldateisdate
3820 {}
3821 {\printdate}}%
3822 \renewbibmacro*{issue+date}{%
3823 \usebibmacro{bbx:ifmergeddate}
3824 {}
3825 {\ifdefstring{\bbx@volnumformat}{parens}%
3826 {\printtext{%
3827 \printfield{issue}%
3828 \setunit*{\addspace}%
3829 \printdate}}
3830 {\printtext[pureparens]{%
3831 \printfield{issue}%
3832 \setunit*{\addspace}%
3833 \printdate}}}}}
3834 \def\bbx@opt@mergedate@compact{%
3835 \renewbibmacro*{date+extradate}{%
3836 \iffieldundef{labelyear}
3837 {\usebibmacro{bbx:nodate}}
3838 {\postsepyear{%
3839 \iflabeldateisdate
3840 {\printdateextra}
3841 {\printlabeldateextra}}}}%
3842 \renewbibmacro*{bbx:ifmergeddate}{\iflabeldateisdate}%
3843 \renewbibmacro*{date}{%
3844 \iflabeldateisdate
3845 {}
3846 {\printdate}}%
3847 \renewbibmacro*{issue+date}{%
3848 \ifboolexpr{not test {\iffieldundef{issue}}
3849 or not test {\iflabeldateisdate}}
3850 {\ifdefstring{\bbx@volnumformat}{parens}%
3851 {\printtext{%
3852 \printfield{issue}%
3853 \setunit*{\addspace}%
3854 \usebibmacro{bbx:ifmergeddate}
3855 {}
3856 {\printdate}%
3857 }}%
3858 {\printtext[pureparens]{%
3859 \printfield{issue}%
3860 \setunit*{\addspace}%
3861 \usebibmacro{bbx:ifmergeddate}
3862 {}
3863 {\printdate}%
3864 }}}
3865 {}%
3866 \newunit}}
3867 \def\bbx@opt@mergedate@basic{%
3868 \renewbibmacro*{date+extradate}{%
3869 \iffieldundef{labelyear}
3870 {\usebibmacro{bbx:nodate}}
3871 {\postsepyear{\printlabeldateextra}}}%
3872 \renewbibmacro*{bbx:ifmergeddate}{%
3873 \ifboolexpr{
3874 test {\iflabeldateisdate}
3875 and
3876 not test {\ifdateshavedifferentprecision{label}{}}
3877 }%
3878 }%
3879 \renewbibmacro*{date}{%
3880 \ifboolexpr{
3881 test {\iflabeldateisdate}
3882 and
3883 not test {\ifdateshavedifferentprecision{label}{}}
3884 }
3885 {}
3886 {\printdate}}%
3887 \renewbibmacro*{issue+date}{%
3888 \ifboolexpr{
3889 test {\usebibmacro{bbx:ifmergeddate}}
3890 and
3891 test {\iffieldundef{issue}}
3892 }
3893 {}
3894 {\ifdefstring{\bbx@volnumformat}{parens}%
3895 {\printtext{%
3896 \printfield{issue}%
3897 \setunit*{\addspace}%
3898 \printdate}}
3899 {\printtext[parens]{%
3900 \printfield{issue}%
3901 \setunit*{\addspace}%
3902 \printdate}}}%
3903 \newunit}}
3904 \def\bbx@opt@mergedate@minimum{%
3905 \renewbibmacro*{date+extradate}{%
3906 \iffieldundef{labelyear}
3907 {\usebibmacro{bbx:nodate}}
3908 {\postsepyear{\printlabeldateextra}}}%
3909 \renewbibmacro*{bbx:ifmergeddate}{%
3910 \ifboolexpr{
3911 test {\iflabeldateisdate}
3912 and
3913 not test {\ifdateshavedifferentprecision{label}{}}
3914 and
3915 test {\iffieldundef{extradate}}
3916 }%
3917 }%
3918 \renewbibmacro*{date}{%
3919 \ifboolexpr{
3920 test {\iflabeldateisdate}
3921 and
3922 not test {\ifdateshavedifferentprecision{label}{}}
3923 and
3924 test {\iffieldundef{extradate}}
3925 }
3926 {}
3927 {\printdate}}%
3928 \renewbibmacro*{issue+date}{%
3929 \ifboolexpr{
3930 test {\usebibmacro{bbx:ifmergeddate}}
3931 and
3932 test {\iffieldundef{issue}}
3933 }
3934 {}
3935 {\ifdefstring{\bbx@volnumformat}{parens}%
3936 {\printtext{%
3937 \printfield{issue}%
3938 \setunit*{\addspace}%
3939 \printdate}}
3940 {\printtext[pureparens]{%
3941 \printfield{issue}%
3942 \setunit*{\addspace}%
3943 \printdate}}}%
3944 \newunit}}
3945 \def\bbx@opt@mergedate@false{%
3946 \renewbibmacro*{date+extradate}{%
3947 \iffieldundef{labelyear}
3948 {\usebibmacro{bbx:nodate}}
3949 {\postsepyear{\printlabeldateextra}}}%
3950 \renewbibmacro*{bbx:ifmergeddate}{\@secondoftwo}%
3951 \renewbibmacro*{date}{\printdate}%
3952 \renewbibmacro*{issue+date}{%
3953 \ifdefstring{\bbx@volnumformat}{parens}%
3954 {\printtext{%
3955 \printfield{issue}%
3956 \setunit*{\addspace}%
3957 \usebibmacro{date}}}
3958 {\printtext[pureparens]{%
3959 \printfield{issue}%
3960 \setunit*{\addspace}%
3961 \usebibmacro{date}}}%
3962 \newunit}}
3963 % \end{macrocode}
3964 % Now we can execute all the style-specific options previously defined.
3965 % We also define other default options according to the style features.
3966 % \begin{macrocode}
3967 \ExecuteBibliographyOptions{%
3968 nodate = true,
3969 mergedate = basic,
3970 uniquename = false,
3971 pagetracker = true,
3972 singletitle = false,
3973 square = false,
3974 dashed = true,
3975 }
3976 % \end{macrocode}
3977 % The \cmd{postsepyear} is introduced here for convenience.
3978 % It will be significantly redefined in \sty{philosophy-modern.bbx} below.
3979 % \begin{macrocode}
3980 \newcommand*{\postsepyear}[1]{%
3981 \printtext[parens]{#1}}
3982 \newbibmacro*{bbx:nodate}{%
3983 \iftoggle{bbx:nodate}{%
3984 \postsepyear{\midsentence\bibstring{nodate}}{}}}
3985 % \end{macrocode}
3986 % The \opt{classic} and \opt{modern} styles
3987 % redefine the \texttt{relateddate} and \texttt{commarelateddate} macros
3988 % because the date has to be printed after the name of the author/editor.
3989 % In the list of shorthands we need a standard entry,
3990 % with the date at the end and no date after the name of the author/editor.
3991 % So we overwrite these macros locally.
3992 % \begin{macrocode}
3993 \AtBeginShorthands{%
3994 \renewcommand{\labelnamepunct}{\addcomma\space}%
3995 \renewbibmacro*{relateddate}{%
3996 \setunit*{\addspace}%
3997 \printdate}%
3998 \renewbibmacro*{commarelateddate}{%
3999 \setunit*{\addcomma\space}%
4000 \printdate}%
4001 % \end{macrocode}
4002 % In the list of shorthands the author-date format is useless
4003 % but the cross-referenced entries still require this format.
4004 % So we first save the \texttt{date+extradate} then we redefine it
4005 % so that it print nothing and finally we restore it in the definition of \cmd{bbx@crossref@inbook}
4006 % command. The redefinition of \cmd{postsepyear} is also required here because the next codes are inherited
4007 % by the \sty{modern} style which globally define \cmd{postsepyear}.
4008 % \begin{macrocode}
4009 \savebibmacro{date+extradate}
4010 \renewbibmacro*{date+extradate}{}
4011 \DeclareCiteCommand{\bbx@crossref@inbook}
4012 {\renewcommand*{\postsepyear}{\printtext[parens]}%
4013 \restorebibmacro{date+extradate}}%
4014 {\iffieldundef{shorthand}{%
4015 \usebibmacro{citeindex}%
4016 \ifuseeditor{%
4017 \ifthenelse{\value{listtotal}=2}%
4018 {\printnames[][-\value{maxnamesincross}]{labelname}}%
4019 {\printnames[][-\value{minnamesincross}]{labelname}}}%
4020 {\usebibmacro{labeltitle}}%
4021 \setunit*{\addspace}%
4022 \usebibmacro{date+extradate}}%
4023 {\usebibmacro{cite:shorthand}}}%
4024 {}%
4025 {}%
4026 \DeclareCiteCommand{\bbx@crossref@incollection}%
4027 {\renewcommand*{\postsepyear}{\printtext[parens]}%
4028 \restorebibmacro{date+extradate}}%
4029 {\iffieldundef{shorthand}{%
4030 \usebibmacro{citeindex}%
4031 \ifuseeditor{%
4032 \ifthenelse{\value{listtotal}=2}%
4033 {\printnames[][-\value{maxnamesincross}]{labelname}}%
4034 {\printnames[][-\value{minnamesincross}]{labelname}}}%
4035 {\usebibmacro{labeltitle}}%
4036 \setunit*{\addspace}%
4037 \usebibmacro{date+extradate}}%
4038 {\usebibmacro{cite:shorthand}}}%
4039 {}%
4040 {}%
4041 }%
4042 % \end{macrocode}
4043 % The \opt{editionformat=superscript} is not available for \sty{classic} and \sty{modern} styles
4044 % so if used it produces an error message.
4045 % \begin{macrocode}
4046 \AtBeginDocument{%
4047 \ifdefstring{\bbx@editionformat}{superscript}%
4048 {\ClassError{biblatex-philosophy}
4049 {\MessageBreak**** Option 'editionformat=superscript'
4050 available only for philosophy-verbose style}
4051 {\MessageBreak**** Option 'editionformat=superscript'
4052 available only for philosophy-verbose style}}{}
4053 \iftoggle{bbx:square}
4054 {\renewcommand{\bibopenparen}{\bibopenbracket}%
4055 \renewcommand{\bibcloseparen}{\bibclosebracket}}%
4056 {}%
4057 \setcounter{maxnamesincross}{\value{maxnames}}%
4058 \setcounter{minnamesincross}{\value{minnames}}%
4059 }%
4060 \AtEveryBibitem{%
4061 \iffieldequalstr{entrysubtype}{classic}{%
4062 \togglefalse{bbx:nodate}}%
4063 }%
4064 % \end{macrocode}
4065 % We redefine the \texttt{relateddate} bibliography macro
4066 % to delete the date at the end of the entry.
4067 % \begin{macrocode}
4068 \renewbibmacro*{relateddate}{}
4069 \renewbibmacro*{commarelateddate}{}
4070 % \end{macrocode}
4071 % \subsubsection{Authors and editors} In the |author| macro add the \bibfield{nameaddon} test which
4072 % prints the \bibfield{nameaddon} field (if defined) inside brackets. Moreover we use the new |editorstrgdelim| delimiter
4073 % previously defined in \file{philosophy-standard.bbx} which defaults to \cmd{addspace}. In the |editor| macro we modify only the line which uses the |editorstrgdelim| delimiter. In the |translator| macro we modify also the line with |#1| (this is missing in the code provided by \file{authoryear.bbx}).
4074 % \begin{macrocode}
4075 \renewbibmacro*{author}{%
4076 \ifboolexpr{
4077 test \ifuseauthor
4078 and
4079 not test {\ifnameundef{author}}
4080 }
4081 {\usebibmacro{bbx:dashcheck}
4082 {\bibnamedash}
4083 {\usebibmacro{bbx:savehash}%
4084 \printnames{author}%
4085 \iffieldundef{nameaddon}{}%
4086 {\setunit{\addspace}%
4087 \printfield{nameaddon}}%*
4088 \iffieldundef{authortype}
4089 {\setunit{\printdelim{nameyeardelim}}}
4090 {\setunit{\printdelim{editorstrgdelim}}}}%*
4091 \iffieldundef{authortype}
4092 {}
4093 {\usebibmacro{authorstrg}%
4094 \setunit{\printdelim{nameyeardelim}}}}%
4095 {\global\undef\bbx@lasthash
4096 \usebibmacro{labeltitle}%
4097 \setunit*{\printdelim{nonameyeardelim}}}%
4098 \usebibmacro{date+extradate}}
4099
4100 \renewbibmacro*{bbx:editor}[1]{%
4101 \ifboolexpr{
4102 test \ifuseeditor
4103 and
4104 not test {\ifnameundef{editor}}
4105 }
4106 {\usebibmacro{bbx:dashcheck}
4107 {\bibnamedash}
4108 {\printnames{editor}%
4109 \setunit{\printdelim{editorstrgdelim}}%MOD
4110 \usebibmacro{bbx:savehash}}%
4111 \usebibmacro{#1}%
4112 \clearname{editor}%
4113 \setunit{\printdelim{nameyeardelim}}}%
4114 {\global\undef\bbx@lasthash
4115 \usebibmacro{labeltitle}%
4116 \setunit*{\printdelim{nonameyeardelim}}}%
4117 \usebibmacro{date+extradate}}
4118
4119 \renewbibmacro*{bbx:translator}[1]{%
4120 \ifboolexpr{
4121 test \ifusetranslator
4122 and
4123 not test {\ifnameundef{translator}}
4124 }
4125 {\usebibmacro{bbx:dashcheck}
4126 {\bibnamedash}
4127 {\printnames{translator}%
4128 \setunit{\printdelim{editorstrgdelim}}%MOD
4129 \usebibmacro{bbx:savehash}}%
4130 \usebibmacro{#1}%MOD
4131 \clearname{translator}%
4132 \setunit{\printdelim{nameyeardelim}}}%
4133 {\global\undef\bbx@lasthash
4134 \usebibmacro{labeltitle}%
4135 \setunit*{\printdelim{nonameyeardelim}}}%
4136 \usebibmacro{date+extradate}}
4137 % \end{macrocode}
4138 % When the \bibtype{incollection}s entries have no author, editor or translator the title is used in place of the label. As the title is printed inside quotes by default, the closing quotes end on a new line when using the \sty{modern} style. This is strange and, at least for me, unexpected. To avoid it we add \cmd{blx@postpunct}.
4139 % \begin{macrocode}
4140 \renewbibmacro*{labeltitle}{%
4141 \iffieldundef{label}
4142 {\iffieldundef{shorttitle}
4143 {\printfield{title}%
4144 \clearfield{title}}
4145 {\printfield[title]{shorttitle}}\blx@postpunct}
4146 {\printfield{label}}}
4147 % \end{macrocode}
4148 % \subsubsection{Cross references}
4149 % \begin{macrocode}
4150 \DeclareCiteCommand{\bbx@crossref@inbook}%
4151 {}%
4152 {\usebibmacro{citeindex}%
4153 \ifuseeditor{%
4154 \ifthenelse{\value{listtotal}=2}%
4155 {\printnames[][-\value{maxnamesincross}]{labelname}}%
4156 {\printnames[][-\value{minnamesincross}]{labelname}}}%
4157 {\usebibmacro{labeltitle}}%
4158 \setunit*{\addspace}%
4159 \printtext[bibhyperref]{\usebibmacro{date+extradate}}}%
4160 {}%
4161 {}%
4162 \DeclareCiteCommand{\bbx@crossref@incollection}%
4163 {}%
4164 {\usebibmacro{citeindex}%
4165 \ifuseeditor{%
4166 \ifthenelse{\value{listtotal}=2}%
4167 {\printnames[][-\value{maxnamesincross}]{labelname}}%
4168 {\printnames[][-\value{minnamesincross}]{labelname}}}%
4169 {\usebibmacro{labeltitle}}%
4170 \setunit*{\addspace}%
4171 \printtext[bibhyperref]{\usebibmacro{date+extradate}}}%
4172 {}%
4173 {}%
4174 % \end{macrocode}
4175 % \iffalse
4176 %</classic-bbx>
4177 % \fi
4178 %
4179 % \subsection{\file{philosophy-modern.bbx}}
4180 %
4181 % \iffalse
4182 %<*modern-bbx>
4183 % \fi
4184 % \subsubsection{Initial settings}
4185 % \begin{macrocode}
4186 \RequireBibliographyStyle{philosophy-classic}
4187 % \end{macrocode}
4188 % The \sty{modern} style has only one specific option (\opt{yearleft})
4189 % which is turned off by default. The other compatible option is \opt{nodate} and is inherited from
4190 % \sty{philosophy-classic.bbx}.
4191 % \begin{macrocode}
4192 \newtoggle{bbx:yearleft}
4193 \DeclareBibliographyOption{yearleft}[true]{%
4194 \settoggle{bbx:yearleft}{#1}}
4195 % \end{macrocode}
4196 % We define here the \opt{restoreclassic} option for the \cmd{printbibliography} and \cmd{printbiblist} commands.
4197 % \begin{macrocode}
4198 \blx@kv@defkey{blx@biblist1}{restoreclassic}[]{}
4199 \blx@kv@defkey{blx@biblist2}{restoreclassic}[true]{\blx@kv@setkeys{blx@bib2}{restoreclassic}}%
4200 \blx@kv@defkey{blx@bib1}{restoreclassic}[]{}
4201 \blx@kv@defkey{blx@bib2}{restoreclassic}[true]{%
4202 \ifstrequal{#1}{true}{%
4203 \setlength{\bibhang}{\parindent}%
4204 \renewcommand{\labelnamepunct}{\newunitpunct}%
4205 \renewcommand*{\postsepyear}[1]{\printtext[parens]{##1}}%
4206 \renewbibmacro*{author}{%
4207 \ifboolexpr{
4208 test \ifuseauthor
4209 and
4210 not test {\ifnameundef{author}}
4211 }
4212 {\usebibmacro{bbx:dashcheck}
4213 {\bibnamedash}%
4214 {\usebibmacro{bbx:savehash}%
4215 \printnames{author}%
4216 \iffieldundef{nameaddon}{}%
4217 {\setunit{\addspace}%
4218 \printfield{nameaddon}}%*
4219 \iffieldundef{authortype}
4220 {\setunit{\printdelim{nameyeardelim}}}%
4221 {\setunit{\printdelim{editorstrgdelim}}}}%*
4222 \iffieldundef{authortype}
4223 {}%
4224 {\usebibmacro{authorstrg}%
4225 \setunit{\printdelim{nameyeardelim}}}}%
4226 {\global\undef\bbx@lasthash
4227 \usebibmacro{labeltitle}%
4228 \setunit*{\printdelim{nonameyeardelim}}}%
4229 \usebibmacro{date+extradate}}%
4230 \renewbibmacro*{bbx:editor}[1]{%
4231 \ifboolexpr{
4232 test \ifuseeditor
4233 and
4234 not test {\ifnameundef{editor}}
4235 }
4236 {\usebibmacro{bbx:dashcheck}
4237 {\bibnamedash}%
4238 {\printnames{editor}%
4239 \setunit{\printdelim{editorstrgdelim}}%
4240 \usebibmacro{bbx:savehash}}%
4241 \usebibmacro{##1}%
4242 \clearname{editor}%
4243 \setunit{\printdelim{nameyeardelim}}}%
4244 {\global\undef\bbx@lasthash
4245 \usebibmacro{labeltitle}%
4246 \setunit*{\printdelim{nonameyeardelim}}}%
4247 \usebibmacro{date+extradate}}%
4248 \renewbibmacro*{bbx:translator}[1]{%
4249 \ifboolexpr{
4250 test \ifusetranslator
4251 and
4252 not test {\ifnameundef{translator}}
4253 }
4254 {\usebibmacro{bbx:dashcheck}
4255 {\bibnamedash}%
4256 {\printnames{translator}%
4257 \setunit{\printdelim{editorstrgdelim}}%
4258 \usebibmacro{bbx:savehash}}%
4259 \usebibmacro{##1}%
4260 \clearname{translator}%
4261 \setunit{\printdelim{nameyeardelim}}}%
4262 {\global\undef\bbx@lasthash
4263 \usebibmacro{labeltitle}%
4264 \setunit*{\printdelim{nonameyeardelim}}}%
4265 \usebibmacro{date+extradate}}%
4266 }{}}%
4267 % \end{macrocode}
4268 % Execute default options.
4269 % \begin{macrocode}
4270 \ExecuteBibliographyOptions{yearleft=false}
4271 % \end{macrocode}
4272 % The separator to be printed after the name is omitted in the \sty{modern} style.
4273 % \begin{macrocode}
4274 \renewcommand{\labelnamepunct}{}
4275 % \end{macrocode}
4276 % We declare and set two new lengths: \cmd{yeartitle} and \cmd{postnamesep}.
4277 % \begin{macrocode}
4278 \newlength{\yeartitle}
4279 \newlength{\postnamesep}
4280 \setlength{\yeartitle}{0.8em}
4281 \setlength{\postnamesep}{0.5ex plus 2pt minus 1pt}
4282 % \end{macrocode}
4283 % These three standard lengths are redefined according to the desired characteristics.
4284 % \begin{macrocode}
4285 \setlength{\bibitemsep}{\postnamesep}
4286 \setlength{\bibnamesep}{1.5ex plus 2pt minus 1pt}
4287 \setlength{\bibhang}{4\parindent}
4288 % \end{macrocode}
4289 % In the list of shorthands we in fact restore the classic style
4290 % resetting \cmd{postsep} and \cmd{labelnamepunct}.
4291 % \begin{macrocode}
4292 \AtBeginShorthands{%
4293 \renewcommand{\postsep}{\addspace}%
4294 \renewcommand{\labelnamepunct}{\newunitpunct}}
4295 \AtBeginBibliography{%
4296 \iftoggle{bbx:yearleft}{%
4297 \setlength{\yeartitle}{\fill}}{}}
4298 % \end{macrocode}
4299 % The next two codes are the core of the \sty{modern} style.
4300 % \cmd{postsep} is the space to be printed after the name (author/editor\dots)
4301 % and \cmd{postsepyear} sets the box that encloses the date label. \cmd{nopunct}
4302 % is required to remove the potential punctuation in the field to be printed after the date label.
4303 % This is useful for entries without an author or an editor such
4304 % as \bibtype{periodical} or \bibtype{online}.
4305 % \begin{macrocode}
4306 \newcommand{\postsep}{%
4307 \null\par\nobreak\vskip\postnamesep%
4308 \hskip-\bibhang\ignorespaces}
4309 \renewcommand*{\postsepyear}[1]{%
4310 \printtext{\makebox[\bibhang][r]{%
4311 #1\hskip\yeartitle}}\nopunct}
4312 \renewbibmacro*{bbx:nodate}{%
4313 \postsepyear{%
4314 \iftoggle{bbx:nodate}{%
4315 \midsentence\bibstring{nodate}}{}}}
4316 % \end{macrocode}
4317 % \subsubsection{Authors and editors}
4318 % \begin{macrocode}
4319 \renewbibmacro*{author}{%
4320 \ifboolexpr{
4321 test \ifuseauthor
4322 and
4323 not test {\ifnameundef{author}}
4324 }
4325 {\usebibmacro{bbx:dashcheck}
4326 {}%
4327 {\usebibmacro{bbx:savehash}%
4328 \printnames{author}%
4329 \iffieldundef{nameaddon}{}%
4330 {\setunit{\addspace}%
4331 \printfield{nameaddon}}%*
4332 \postsep}%
4333 \usebibmacro{date+extradate}%
4334 \iffieldundef{authortype}
4335 {}%
4336 {\usebibmacro{authorstrg}%
4337 \printtext{\addcomma\space}}}%
4338 {\global\undef\bbx@lasthash
4339 \usebibmacro{labeltitle}%
4340 \postsep%
4341 \usebibmacro{date+extradate}%
4342 }%
4343 }
4344
4345 \renewbibmacro*{bbx:editor}[1]{%
4346 \ifboolexpr{%
4347 test \ifuseeditor
4348 and
4349 not test {\ifnameundef{editor}}
4350 }%
4351 {\usebibmacro{bbx:dashcheck}%
4352 {}%
4353 {\printnames{editor}%
4354 \postsep%
4355 \usebibmacro{bbx:savehash}}%
4356 \usebibmacro{date+extradate}%
4357 \usebibmacro{#1}%
4358 \clearname{editor}%
4359 \printtext{\addcomma\space}%
4360 }%
4361 {\global\undef\bbx@lasthash%
4362 \usebibmacro{labeltitle}%
4363 \postsep%
4364 \usebibmacro{date+extradate}%
4365 }%
4366 }%
4367
4368 \renewbibmacro*{bbx:translator}[1]{%
4369 \ifboolexpr{%
4370 test \ifusetranslator
4371 and
4372 not test {\ifnameundef{translator}}
4373 }%
4374 {\usebibmacro{bbx:dashcheck}%
4375 {}%
4376 {\printnames{translator}%
4377 \postsep%
4378 \usebibmacro{bbx:savehash}}%
4379 \usebibmacro{date+extradate}%
4380 \usebibmacro{#1}%
4381 \clearname{translator}%
4382 \printtext{\addcomma\space}%
4383 }%
4384 {\global\undef\bbx@lasthash%
4385 \usebibmacro{labeltitle}%
4386 \postsep%
4387 \usebibmacro{date+extradate}%
4388 }%
4389 }%
4390 % \end{macrocode}
4391 % \subsubsection{Cross references}
4392 % \begin{macrocode}
4393 \DeclareCiteCommand{\bbx@crossref@inbook}%
4394 {\renewcommand*{\postsepyear}{\printtext[parens]}}%
4395 {\usebibmacro{citeindex}%
4396 \ifuseeditor{%
4397 \ifthenelse{\value{listtotal}=2}%
4398 {\printnames[][-\value{maxnamesincross}]{labelname}}%
4399 {\printnames[][-\value{minnamesincross}]{labelname}}}%
4400 {\usebibmacro{labeltitle}}%
4401 \setunit*{\addspace}%
4402 \printtext[bibhyperref]{\usebibmacro{date+extradate}}}%
4403 {}%
4404 {}%
4405 \DeclareCiteCommand{\bbx@crossref@incollection}%
4406 {\renewcommand*{\postsepyear}{\printtext[parens]}}%
4407 {\usebibmacro{citeindex}%
4408 \ifuseeditor{%
4409 \ifthenelse{\value{listtotal}=2}%
4410 {\printnames[][-\value{maxnamesincross}]{labelname}}%
4411 {\printnames[][-\value{minnamesincross}]{labelname}}}%
4412 {\usebibmacro{labeltitle}}%
4413 \setunit*{\addspace}%
4414 \printtext[bibhyperref]{\usebibmacro{date+extradate}}}%
4415 {}%
4416 {}%
4417 % \end{macrocode}
4418 %
4419 %\subsection{Bibliography drivers}
4420 %
4421 % In the \bibtype{set} entry type we restore the \sty{classic} style
4422 % from the second entry onward, using the |entrysetcount| counter. The \bibfield{annotation}
4423 % field is cleared before the first entry is processed and restored at the end of the set.
4424 % \begin{macrocode}
4425 \DeclareBibliographyDriver{set}{%
4426 \savefield{annotation}{\@phil@nnote}%
4427 \clearfield{annotation}%
4428 \entryset{\ifnumgreater{\thefield{entrysetcount}}{1}%
4429 {\blx@kv@setkeys{blx@bib2}{restoreclassic}}{}}{}%
4430 \newunit\newblock
4431 \restorefield{annotation}{\@phil@nnote}%
4432 \usebibmacro{pageref}%
4433 \usebibmacro{finentry}}
4434 % \end{macrocode}
4435 % \iffalse
4436 %</modern-bbx>
4437 % \fi
4438 %
4439 % \subsection{\file{philosophy-verbose.cbx}}
4440 %
4441 % \iffalse
4442 %<*verbose-cbx>
4443 % \fi
4444 %
4445 % \subsubsection{Initial settings}
4446 % \begin{macrocode}
4447 \RequireCitationStyle{verbose-trad2}
4448
4449 \newtoggle{cbx:commacit}
4450
4451 \DeclareBibliographyOption{commacit}[true]{%
4452 \settoggle{cbx:commacit}{#1}}
4453
4454 \ExecuteBibliographyOptions{%
4455 idemtracker=false,
4456 loccittracker=strict,
4457 commacit=false}
4458 % \end{macrocode}
4459 % The \bibfield{annotation} field is omitted in every citation:
4460 % \begin{macrocode}
4461 \AtEveryCite{\togglefalse{bbx:annotation}}
4462 % \end{macrocode}
4463 % \subsubsection{New macros}
4464 % These two macros come from \file{verbose-trad1.cbx} without any changes:
4465 % \begin{macrocode}
4466 \newbibmacro*{cite:opcit}{%
4467 \printtext[bibhyperlink]{\bibstring[\mkibid]{opcited}}}
4468
4469 \newbibmacro*{cite:loccit}{%
4470 \printtext{%
4471 \bibhyperlink{cite\csuse{cbx@lastcite@\thefield{entrykey}}}{%
4472 \bibstring[\mkibid]{loccit}}}%
4473 \global\toggletrue{cbx:loccit}}
4474 % \end{macrocode}
4475 % The following macros come from \file{verbose-trad2.cbx} and has been redefined according to the desired features.
4476 % \begin{macrocode}
4477 \renewbibmacro*{cite:ibid}{%
4478 \ifloccit
4479 {\usebibmacro{cite:loccit}}{%
4480 \printtext{%
4481 \bibhyperlink{cite\csuse{cbx@lastcite@\thefield{entrykey}}}{%
4482 \bibstring[\mkivi]{ibidem}}}}}%
4483
4484 \renewbibmacro*{cite:title}{%
4485 \ifsingletitle{\usebibmacro{cite:opcit}}{%
4486 \printtext[bibhyperlink]{%
4487 \printfield[citetitle]{labeltitle}%
4488 \iftoggle{cbx:commacit}{\setunit{\addcomma\space}}%
4489 {\setunit{\addspace\midsentence}}}%
4490 \bibstring{opcit}}}
4491 % \end{macrocode}
4492 % \subsubsection{Citation commands}
4493 % The |cite:full| macro employs the bibliography driver to print the entry
4494 % so it has to be redefined in order to use the |scdefault| name format
4495 % when \opt{scauthor=cite} or \opt{scauthor=full} options are active. The test
4496 % for the \opt{shorthandintro} option allows for shorthand also in the first citation of an entry.
4497 % \begin{macrocode}
4498 \newbibmacro{cite:full:noshorthand}{%
4499 \usebibmacro{cite:full:citepages}%
4500 \global\toggletrue{cbx:fullcite}%
4501 \printtext[bibhypertarget]{%
4502 \usedriver
4503 {\iftoggle{cbx:scauthorscite}{%
4504 \DeclareNameAlias{sortname}{scdefault}}%
4505 {\DeclareNameAlias{sortname}{default}}}%
4506 {\thefield{entrytype}}}}
4507
4508 \renewbibmacro*{cite:full}{%
4509 \iffieldundef{shorthand}
4510 {\usebibmacro{cite:full:noshorthand}}
4511 {\iftoggle{cbx:shorthandintro}
4512 {\usebibmacro{cite:full:noshorthand}%
4513 \usebibmacro{shorthandintro}}%
4514 {\usebibmacro{cite:shorthand}}}}
4515
4516 \renewbibmacro*{cite:idem}{%
4517 \iftoggle{cbx:scauthorscite}{%
4518 \bibstring[\mkbibsc]{idem\thefield{gender}}}{%
4519 \bibstring[\mkibid]{idem\thefield{gender}}}%
4520 \setunit{\nametitledelim}}
4521 % \end{macrocode}
4522 % A new macro to be used in the new \cmd{ccite} command defined below.
4523 % \begin{macrocode}
4524 \newbibmacro*{ccite:cite}{%
4525 % \usebibmacro{related:clearauthors}%
4526 \usebibmacro{cite:citepages}%
4527 \global\togglefalse{cbx:fullcite}%
4528 \global\togglefalse{cbx:loccit}%
4529 \bibhypertarget{cite\the\value{instcount}}{%
4530 \ifciteseen
4531 {\iffieldundef{shorthand}
4532 {\usebibmacro{cite:title}%
4533 \usebibmacro{cite:save}}
4534 {\usebibmacro{cite:shorthand}}}
4535 {\usebibmacro{cite:full}%
4536 \usebibmacro{cite:save}}}}
4537 % \end{macrocode}
4538 % The \cmd{fullcite} command employs the bibliography driver to print the entry
4539 % so it has to be redefined in order to use the |scdefault| name format
4540 % with \opt{scauthor=cite} or \opt{scauthor=full} options.
4541 % \begin{macrocode}
4542 \DeclareCiteCommand{\fullcite}
4543 {\usebibmacro{prenote}}
4544 {\usedriver
4545 {\iftoggle{cbx:scauthorscite}%
4546 {\DeclareNameAlias{sortname}{scdefault}}%
4547 {\DeclareNameAlias{sortname}{default}}}%
4548 {\thefield{entrytype}}}
4549 {\multicitedelim}
4550 {\usebibmacro{postnote}}
4551 % \end{macrocode}
4552 % This is the only new citation command introduced by the \sty{verbose} style. It is similar to \cmd{cite} but omits the author.
4553 % \begin{macrocode}
4554 \DeclareCiteCommand{\ccite}
4555 {\usebibmacro{prenote}}%
4556 {\usebibmacro{citeindex}%
4557 \usebibmacro{ccite:cite}}
4558 {\multicitedelim}
4559 {\usebibmacro{cite:postnote}}
4560 % \end{macrocode}
4561 %
4562 % \iffalse
4563 %</verbose-cbx>
4564 % \fi
4565 %
4566 % \subsection{\file{philosophy-classic.cbx}}
4567 %
4568 % \iffalse
4569 %<*classic-cbx>
4570 % \fi
4571 %
4572 % \subsubsection{Initial settings}
4573 %
4574 % \begin{macrocode}
4575 \RequireCitationStyle{authoryear-comp}
4576
4577 \ExecuteBibliographyOptions{citetracker}
4578
4579 \newcommand{\switchATAY}[2]{%
4580 \iffieldequalstr{entrysubtype}{classic}%
4581 {\usebibmacro{#1}}%
4582 {\usebibmacro{#2}}}
4583 % \end{macrocode}
4584 % \subsubsection{New macros}
4585 % The |cbx:testshorthand| macro provide a test for the
4586 % \opt{shorthandintro} option. This is the same for both author-title and author-year styles. The shorthand intro is printed only if the \opt{shorthandintro} option is active and the entry has not been previously cited. Note that this macro is used only when the shorthand exists (see below).
4587 % \begin{macrocode}
4588 \newbibmacro*{cbx:testshorthand}[1]{%
4589 \ifboolexpr{
4590 not test {\iftoggle{cbx:shorthandintro}}
4591 or
4592 test \ifciteseen}
4593 {\usebibmacro{cite:shorthand}}{\usebibmacro{#1}%
4594 \usebibmacro{shorthandintro}}}
4595 % \end{macrocode}
4596 % \paragraph{Author-title macros}
4597 % Import from \file{authortitle-comp.cbx} all the macros but |cite:shorthand| that has been loaded above.
4598 % \begin{macrocode}
4599 \newbibmacro*{cite:init:AT}{%
4600 \ifnumless{\value{multicitecount}}{2}
4601 {\global\boolfalse{cbx:parens}%
4602 \global\undef\cbx@lasthash}%
4603 {\iffieldundef{prenote}%
4604 {}%
4605 {\global\undef\cbx@lasthash}}}
4606
4607 \newbibmacro*{cite:reinit:AT}{%
4608 \global\undef\cbx@lasthash}
4609
4610 \newbibmacro*{cite:AT:noshorthand}{%
4611 \iffieldequals{namehash}{\cbx@lasthash}
4612 {\setunit{\compcitedelim}}
4613 {\ifnameundef{labelname}
4614 {}%
4615 {\printnames{labelname}%
4616 \setunit{\printdelim{nametitledelim}}}%
4617 \savefield{namehash}{\cbx@lasthash}}%
4618 \usebibmacro{cite:title:AT}}
4619
4620 \newbibmacro*{cite:AT}{%
4621 \iffieldundef{shorthand}
4622 {\usebibmacro{cite:AT:noshorthand}}
4623 {\usebibmacro{cbx:testshorthand}{cite:AT:noshorthand}%
4624 \usebibmacro{cite:reinit:AT}}%
4625 \setunit{\multicitedelim}}
4626
4627 \newbibmacro*{citetitle:AT}{%
4628 \iffieldundef{shorthand}
4629 {\usebibmacro{cite:title:AT}}%
4630 {\usebibmacro{cbx:testshorthand}{cite:title:AT}}%
4631 \setunit{\multicitedelim}}
4632
4633 \newbibmacro*{textcite:AT}{%
4634 \iffieldequals{namehash}{\cbx@lasthash}
4635 {\setunit{\compcitedelim}}
4636 {\ifnameundef{labelname}
4637 {}%
4638 {\printnames{labelname}%
4639 \setunit{%
4640 \global\booltrue{cbx:parens}%
4641 \printdelim{nametitledelim}\bibopenparen}}%
4642 \stepcounter{textcitecount}%
4643 \savefield{namehash}{\cbx@lasthash}}%
4644 \ifnumequal{\value{citecount}}{1}
4645 {\usebibmacro{prenote}}
4646 {}%
4647 \iffieldundef{shorthand}
4648 {\usebibmacro{cite:title:AT}}%
4649 {\usebibmacro{cbx:testshorthand}{cite:title:AT}}%
4650 \setunit{%
4651 \ifbool{cbx:parens}
4652 {\bibcloseparen\global\boolfalse{cbx:parens}}
4653 {}%
4654 \textcitedelim}}
4655
4656 \newbibmacro*{cite:title:AT}{%
4657 \printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}
4658
4659 \newbibmacro*{textcite:postnote:AT}{%
4660 \ifnameundef{labelname}
4661 {\setunit{%
4662 \global\booltrue{cbx:parens}%
4663 \extpostnotedelim\bibopenparen}}
4664 {\setunit{\postnotedelim}}%
4665 \printfield{postnote}%
4666 \ifthenelse{\value{multicitecount}=\value{multicitetotal}}
4667 {\setunit{}%
4668 \printtext{%
4669 \ifbool{cbx:parens}
4670 {\bibcloseparen\global\boolfalse{cbx:parens}}
4671 {}}}
4672 {\setunit{%
4673 \ifbool{cbx:parens}
4674 {\bibcloseparen\global\boolfalse{cbx:parens}}
4675 {}%
4676 \textcitedelim}}}
4677 % \end{macrocode}
4678 % \paragraph{Author-year macros}
4679 % Import from \file{authoryear-comp.cbx} all the common macros with \file{authortitle-comp}.
4680 % \begin{macrocode}
4681 \newbibmacro*{cite:init:AY}{%
4682 \ifnumless{\value{multicitecount}}{2}
4683 {\global\boolfalse{cbx:parens}%
4684 \global\undef\cbx@lasthash
4685 \global\undef\cbx@lastyear}
4686 {\iffieldundef{prenote}
4687 {}
4688 {\global\undef\cbx@lasthash
4689 \global\undef\cbx@lastyear}}}
4690
4691 \newbibmacro*{cite:reinit:AY}{%
4692 \global\undef\cbx@lasthash
4693 \global\undef\cbx@lastyear}
4694
4695 \newbibmacro*{cite:AY:noshorthand}{%
4696 \ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
4697 {\usebibmacro{cite:label}%
4698 \setunit{\printdelim{nonameyeardelim}}%
4699 \usebibmacro{cite:labeldate+extradate}%
4700 \usebibmacro{cite:reinit}}
4701 {\iffieldequals{namehash}{\cbx@lasthash}
4702 {\ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND
4703 \(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}
4704 {\setunit{\addcomma}%
4705 \usebibmacro{cite:extradate}}
4706 {\setunit{\compcitedelim}%
4707 \usebibmacro{cite:labeldate+extradate}%
4708 \savefield{labelyear}{\cbx@lastyear}}}
4709 {\printnames{labelname}%
4710 \setunit{\printdelim{nameyeardelim}}%
4711 \usebibmacro{cite:labeldate+extradate}%
4712 \savefield{namehash}{\cbx@lasthash}%
4713 \savefield{labelyear}{\cbx@lastyear}}}}
4714
4715 \newbibmacro*{cite:AY}{%
4716 \iffieldundef{shorthand}
4717 {\usebibmacro{cite:AY:noshorthand}}%
4718 {\usebibmacro{cbx:testshorthand}{cite:AY:noshorthand}%
4719 \usebibmacro{cite:reinit}}%
4720 \setunit{\multicitedelim}}
4721
4722 \newbibmacro*{textcite:AY:noshorthand:A}{%
4723 \ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND
4724 \(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}
4725 {\setunit{\addcomma}%
4726 \usebibmacro{cite:extradate}}
4727 {\setunit{\compcitedelim}%
4728 \usebibmacro{cite:labeldate+extradate}%
4729 \savefield{labelyear}{\cbx@lastyear}}}
4730
4731 \newbibmacro*{textcite:AY:noshorthand:B}{%
4732 \usebibmacro{cite:label}%
4733 \setunit{%
4734 \global\booltrue{cbx:parens}%
4735 \printdelim{nonameyeardelim}\bibopenparen}%
4736 \ifnumequal{\value{citecount}}{1}
4737 {\usebibmacro{prenote}}
4738 {}%
4739 \usebibmacro{cite:labeldate+extradate}}
4740
4741 \newbibmacro*{textcite:AY:noshorthand:C}{%
4742 \iffieldundef{labelyear}
4743 {\usebibmacro{cite:label}}
4744 {\usebibmacro{cite:labeldate+extradate}}%
4745 \savefield{labelyear}{\cbx@lastyear}}
4746
4747 \newbibmacro*{textcite:AY}{%
4748 \iffieldequals{namehash}{\cbx@lasthash}
4749 {\iffieldundef{shorthand}
4750 {\usebibmacro{textcite:AY:noshorthand:A}}
4751 {\setunit{\compcitedelim}%
4752 \usebibmacro{cbx:testshorthand}{textcite:AY:noshorthand:A}%
4753 \global\undef\cbx@lastyear}}
4754 {\ifnameundef{labelname}%
4755 {\iffieldundef{shorthand}
4756 {\usebibmacro{textcite:AY:noshorthand:B}}
4757 {\usebibmacro{cbx:testshorthand}{textcite:AY:noshorthand:B}}}
4758 {\printnames{labelname}%
4759 \setunit{%
4760 \global\booltrue{cbx:parens}%
4761 \printdelim{nameyeardelim}\bibopenparen}%
4762 \ifnumequal{\value{citecount}}{1}
4763 {\usebibmacro{prenote}}
4764 {}%
4765 \iffieldundef{shorthand}
4766 {\usebibmacro{textcite:AY:noshorthand:C}}%
4767 {\usebibmacro{cbx:testshorthand}{textcite:AY:noshorthand:C}%
4768 \global\undef\cbx@lastyear}}%
4769 \stepcounter{textcitecount}%
4770 \savefield{namehash}{\cbx@lasthash}}%
4771 \setunit{%
4772 \ifbool{cbx:parens}
4773 {\bibcloseparen\global\boolfalse{cbx:parens}}
4774 {}%
4775 \textcitedelim}}
4776
4777 \newbibmacro*{textcite:postnote:AY}{%
4778 \usebibmacro{postnote}%
4779 \ifthenelse{\value{multicitecount}=\value{multicitetotal}}
4780 {\setunit{}%
4781 \printtext{%
4782 \ifbool{cbx:parens}
4783 {\bibcloseparen\global\boolfalse{cbx:parens}}
4784 {}}}
4785 {\setunit{%
4786 \ifbool{cbx:parens}
4787 {\bibcloseparen\global\boolfalse{cbx:parens}}
4788 {}%
4789 \multicitedelim}}}
4790 % \end{macrocode}
4791 % If the field \bibfield{entrysubtype} equals to \texttt{classic}
4792 % the citation commands will use the author-title macros. In this way it is as if you were using the citation commands of the \sty{authortitle-comp} style.
4793 % \begin{macrocode}
4794 \renewbibmacro*{cite:init}{%
4795 \switchATAY{cite:init:AT}{cite:init:AY}}
4796 \renewbibmacro*{cite:reinit}{%
4797 \switchATAY{cite:reinit:AT}{cite:reinit:AY}}
4798 \renewbibmacro*{cite}{%
4799 \switchATAY{cite:AT}{cite:AY}}
4800 \renewbibmacro*{textcite}{%
4801 \switchATAY{textcite:AT}{textcite:AY}}
4802 \renewbibmacro*{textcite:postnote}{%
4803 \switchATAY{textcite:postnote:AT}{textcite:postnote:AY}}
4804 % \end{macrocode}
4805 % \subsubsection{Citation commands}
4806 % These are two common commands for \sty{authortitle-comp} and \sty{authoryear-comp} that require the \cmd{switchATAY} to be executed internally.
4807 % \begin{macrocode}
4808 \DeclareCiteCommand*{\cite}
4809 {\usebibmacro{cite:init}%
4810 \usebibmacro{prenote}}
4811 {\usebibmacro{citeindex}%
4812 \switchATAY{citetitle:AT}{citeyear}}%
4813 {}
4814 {\usebibmacro{postnote}}
4815
4816 \DeclareCiteCommand*{\parencite}[\mkbibparens]
4817 {\usebibmacro{cite:init}%
4818 \usebibmacro{prenote}}
4819 {\usebibmacro{citeindex}%
4820 \switchATAY{citetitle:AT}{citeyear}}
4821 {}
4822 {\usebibmacro{postnote}}
4823 % \end{macrocode}
4824 % These citation commands come from \file{biblatex.def}. Maybe they should not be redefined. Do we really need years and titles hyperrefered?
4825 % \begin{macrocode}
4826 \DeclareCiteCommand{\citetitle}
4827 {\boolfalse{citetracker}%
4828 \boolfalse{pagetracker}%
4829 \usebibmacro{prenote}}
4830 {\ifciteindex
4831 {\indexfield{indextitle}}
4832 {}%
4833 \printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}
4834 {\multicitedelim}
4835 {\usebibmacro{postnote}}
4836
4837 \DeclareCiteCommand*{\citetitle}
4838 {\boolfalse{citetracker}%
4839 \boolfalse{pagetracker}%
4840 \usebibmacro{prenote}}
4841 {\ifciteindex
4842 {\indexfield{indextitle}}
4843 {}%
4844 \printtext[bibhyperref]{\printfield[citetitle]{title}}}
4845 {\multicitedelim}
4846 {\usebibmacro{postnote}}
4847
4848 \DeclareCiteCommand{\citeyear}
4849 {\boolfalse{citetracker}%
4850 \boolfalse{pagetracker}%
4851 \usebibmacro{prenote}}
4852 {\printtext[bibhyperref]{\printfield{year}}}
4853 {\multicitedelim}
4854 {\usebibmacro{postnote}}
4855
4856 \DeclareCiteCommand*{\citeyear}
4857 {\boolfalse{citetracker}%
4858 \boolfalse{pagetracker}%
4859 \usebibmacro{prenote}}
4860 {\printtext[bibhyperref]{\printdateextra}}
4861 {\multicitedelim}
4862 {\usebibmacro{postnote}}
4863
4864 \DeclareCiteCommand{\citedate}
4865 {\boolfalse{citetracker}%
4866 \boolfalse{pagetracker}%
4867 \usebibmacro{prenote}}
4868 {\printtext[bibhyperref]{\printdate}}
4869 {\multicitedelim}
4870 {\usebibmacro{postnote}}
4871
4872 \DeclareCiteCommand*{\citedate}
4873 {\boolfalse{citetracker}%
4874 \boolfalse{pagetracker}%
4875 \usebibmacro{prenote}}
4876 {\printtext[bibhyperref]{\printdateextra}}
4877 {\multicitedelim}
4878 {\usebibmacro{postnote}}
4879 % \end{macrocode}
4880 % The \cmd{fullcite} command employs the bibliography driver to print the entry
4881 % so it has to be redefined in order to use the |scdefault| name format
4882 % with \opt{scauthor=cite} or \opt{scauthor=full} options.
4883 % \begin{macrocode}
4884 \DeclareCiteCommand{\fullcite}
4885 {\usebibmacro{prenote}}
4886 {\usedriver
4887 {\iftoggle{cbx:scauthorscite}%
4888 {\DeclareNameAlias{sortname}{scdefault}}%
4889 {\DeclareNameAlias{sortname}{default}}}%
4890 {\thefield{entrytype}}}
4891 {\multicitedelim}
4892 {\usebibmacro{postnote}}
4893 % \end{macrocode}
4894 % This is the only new command provided by the style:
4895 % \begin{macrocode}
4896 \DeclareCiteCommand{\footcitet}[\mkbibfootnote]
4897 {\usebibmacro{cite:init}}
4898 {\usebibmacro{citeindex}%
4899 \usebibmacro{textcite}}
4900 {}%
4901 {\usebibmacro{textcite:postnote}}
4902 % \end{macrocode}
4903 % This next command is now deprecated because it is substituted by the \bibfield{entrysubtype=classic} mechanism.
4904 % \begin{macrocode}
4905 \DeclareCiteCommand{\sdcite}
4906 {\boolfalse{citetracker}%
4907 \boolfalse{pagetracker}%
4908 \usebibmacro{prenote}}
4909 {\indexnames{labelname}%
4910 \printtext[bibhyperref]{\printnames{labelname}}%
4911 \setunit{\addcomma\space}%
4912 \indexfield{indextitle}%
4913 \printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}
4914 {\multicitedelim}
4915 {\usebibmacro{postnote}}
4916 % \end{macrocode}
4917 % \iffalse
4918 %</classic-cbx>
4919 % \fi
4920 %
4921 % \subsection{\file{philosophy-modern.cbx}}
4922 %
4923 % \iffalse
4924 %<*modern-cbx>
4925 % \fi
4926 %
4927 % The \sty{modern} style uses the \sty{classic} citation scheme:
4928 % \begin{macrocode}
4929 \RequireCitationStyle{philosophy-classic}
4930 % \end{macrocode}
4931 % Here we only redefine \cmd{fullcite} in order to have the \sty{classic} style via \texttt{restoreclassic} format.
4932 % \begin{macrocode}
4933 \DeclareCiteCommand{\fullcite}
4934 {\usebibmacro{prenote}}
4935 {\blx@kv@setkeys{blx@bib2}{restoreclassic}%
4936 \usedriver
4937 {\iftoggle{cbx:scauthorscite}%
4938 {\DeclareNameAlias{sortname}{scdefault}}%
4939 {\DeclareNameAlias{sortname}{default}}}%
4940 {\thefield{entrytype}}}
4941 {\multicitedelim}
4942 {\usebibmacro{postnote}}
4943 % \end{macrocode}%
4944 % \iffalse
4945 %</modern-cbx>
4946 % \fi
4947 %
4948 % \subsection{\file{italian-philosophy.lbx}}
4949 %
4950 % \iffalse
4951 %<*italian-lbx>
4952 % \fi
4953 % The custom localization module of these style inherits the standard \file{italian.lbx} module. There is only one new string: \texttt{opcited}.
4954 % The other strings are redefined according to the particular features of the style.
4955 %
4956 % \begin{macrocode}
4957 \InheritBibliographyExtras{italian}
4958
4959 \DeclareBibliographyExtras{%
4960 % \end{macrocode}
4961 % We prefer the simple dash (-) to the en dash (--) for page and date ranges.
4962 % \begin{macrocode}
4963 \protected\def\bibrangedash{-\penalty\hyphenpenalty}%
4964 \protected\def\bibdaterangesep{\bibrangedash}%
4965 }%
4966 % \end{macrocode}
4967 % The \texttt{opcit} string used by the \sty{verbose-trad2} style works like the Italian `cit.' and it is already defined in the \file{italian.lbx} file with ``cit.'. The string ``cit.' is added to a truncated entry (usually after the short title) to mark that it has been previously cited. Additionally in the Italian bibliographies there is also the special string ``op. cit.'' which stands for ``the only entry'' of an author. For example, if ``Eco, \emph{Il nome della rosa}'' is the only entry of Eco cited in the paper, from the second occurence it will be abbreviated with ``Eco, \emph{op. cit.}''. So we need a new string, \texttt{opcited}, in order to get ``op. cit.'' for these cases:
4968 % \begin{macrocode}
4969 \NewBibliographyString{opcited}
4970 % \end{macrocode}
4971 % First of all we inherit the italian localization module and then we define the new string \texttt{opcited} and the other strings as well.
4972 % \begin{macrocode}
4973 \DeclareBibliographyStrings{%
4974 inherit = {italian},
4975 opcited = {{op\adddotspace cit\adddot}{op\adddotspace cit\adddot}},
4976 % \end{macrocode}
4977 % Redefined strings:
4978 % \begin{macrocode}
4979 ibidem = {{ivi}{ivi}},
4980 loccit = {{ibidem}{ibidem}},
4981 editor = {{a cura di}{a cura di}},
4982 editors = {{a cura di}{a cura di}},
4983 backrefpage = {{citato a pagina}{citato a \bibsstring{page}\adddot}},
4984 backrefpages = {{citato alle pagine}{citato alle \bibsstring{pages}\adddot}},
4985 nodate = {{senza data}{s\adddot d\adddot}},
4986 volumes = {{volumi}{\iftoggle{bbx:classical}{voll\adddot}{vol\adddot}}},
4987 pages = {{pagine}{\iftoggle{bbx:classical}{pp\adddot}{p\adddot}}},
4988 columns = {{colonne}{\iftoggle{bbx:classical}{coll\adddot}{col\adddot}}},
4989 lines = {{righe}{\iftoggle{bbx:classical}{rr\adddot}{r\adddot}}},
4990 verses = {{versi}{\iftoggle{bbx:classical}{vv\adddot}{v\adddot}}},
4991 % section = {{}{\S}},% FIXME: missing
4992 % sections = {{}{\S\S}},% FIXME: missing
4993 paragraphs = {{paragrafi}{\iftoggle{bbx:classical}{parr\adddot}{par\adddot}}},
4994 pagetotals = {{pagine}{\iftoggle{bbx:classical}{pp\adddot}{p\adddot}}},
4995 columntotals = {{colonne}{\iftoggle{bbx:classical}{coll\adddot}{col\adddot}}},
4996 linetotals = {{righe}{\iftoggle{bbx:classical}{rr\adddot}{r\adddot}}},
4997 versetotals = {{versi}{\iftoggle{bbx:classical}{vv\adddot}{v\adddot}}},
4998 % sectiontotal = {{}{}},% FIXME: missing
4999 % sectiontotals = {{}{}},% FIXME: missing
5000 paragraphtotals = {{paragrafi}{\iftoggle{bbx:classical}{parr\adddot}{par\adddot}}},
5001 byreviser = {{revisione di}{rev\adddotspace di}},
5002 translationof = {{traduzione di}{trad\adddotspace di}},
5003 translationas = {{traduzione italiana}{trad\adddotspace it\adddot}},
5004 reviewof = {{recensione di}{rec\adddotspace di}},
5005 origpubas = {{ed\adddotspace orig\adddot}{ed\adddotspace orig\adddot}},
5006 astitle = {{come}{come}},
5007 bypublisher = {{\addcomma\space}{\addcomma\space}},
5008 section = {{sezione}{sez\adddot}},
5009 sections = {{sezioni}{\iftoggle{bbx:classical}{sezz\adddot}{sez\adddot}}},
5010 withcommentator = {{commenti di}{commenti di}},
5011 withannotator = {{annotazioni di}{annotazioni di}},
5012 withintroduction = {{introduzione di}{introduzione di}},
5013 withforeword = {{prefazione di}{prefazione di}},
5014 withafterword = {{postfazione di}{postfazione di}},
5015 % \end{macrocode}
5016 % The |endothers| and |andmore| strings must be printed in italic shape
5017 % when using the \opt{latinemph} option so we add \cmd{mkibid}. Adding it to the wrapper
5018 % of the \cmd{bibstring} command in the |name:andothers| and |list:andothers| macros
5019 % is a wrong choice because some languages (for example German) uses non Latin expressions for those strings.
5020 % \begin{macrocode}
5021 andothers = {{\mkibid{et\addabbrvspace al\adddot}}{\mkibid{et\addabbrvspace al\adddot}}},
5022 andmore = {{\mkibid{et\addabbrvspace al\adddot}}{\mkibid{et\addabbrvspace al\adddot}}},
5023 % \end{macrocode}
5024 % The followings strings are not yet defined in \file{italian.lbx} file:
5025 % \begin{macrocode}
5026 reviser = {{revisore}{rev\adddot}},% FIXME: missing
5027 revisers = {{revisori}{rev\adddot}},% FIXME: missing
5028 founder = {{fondatore}{fond\adddot}},% FIXME: missing
5029 founders = {{fondatori}{fond\adddot}},% FIXME: missing
5030 continuator = {{continuatore}{cont\adddot}},% FIXME: missing
5031 continuators = {{continuatori}{cont\adddot}},% FIXME: missing
5032 editortr = {{curatore e traduttore}% FIXME: missing
5033 {cur\adddotspace e trad\adddot}},
5034 editorstr = {{curatori e traduttori}% FIXME: missing
5035 {cur\adddotspace e trad\adddot}},
5036 editorco = {{curatore e commentatore}% FIXME: missing
5037 {cur\adddotspace e comm\adddot}},
5038 editorsco = {{curatori e commentatori}% FIXME: missing
5039 {cur\adddotspace e comm\adddot}},
5040 editoran = {{curatore e annotatore}% FIXME: missing
5041 {cur\adddotspace e annot\adddot}},
5042 editorsan = {{curatori e annotatori}% FIXME: missing
5043 {cur\adddotspace e annot\adddot}},
5044 editorin = {{curatore e introduzione}% FIXME: missing
5045 {cur\adddotspace e introd\adddot}},
5046 editorsin = {{curatori e introduzione}% FIXME: missing
5047 {cur\adddotspace e introd\adddot}},
5048 editorfo = {{curatore e prefazione}% FIXME: missing
5049 {cur\adddotspace e pref\adddot}},
5050 editorsfo = {{curatori e prefazione}% FIXME: missing
5051 {cur\adddotspace e pref\adddot}},
5052 editoraf = {{curatore e postfazione}% FIXME: missing
5053 {cur\adddotspace e postf\adddot}},
5054 editorsaf = {{curatori e postfazione}% FIXME: missing
5055 {cur\adddotspace e postf\adddot}},
5056 editortrco = {{curatore, traduttore\finalandcomma\ e commentatore}% FIXME: missing
5057 {ed.,\addabbrvspace trad\adddot\finalandcomma\ e comm\adddot}},
5058 editorstrco = {{curatori, traduttori\finalandcomma\ e commentatori}% FIXME: missing
5059 {eds.,\addabbrvspace trad\adddot\finalandcomma\ e comm\adddot}},
5060 editortran = {{curatore, traduttore\finalandcomma\ e annotatore}% FIXME: missing
5061 {ed.,\addabbrvspace trad\adddot\finalandcomma\ e annot\adddot}},
5062 editorstran = {{curatori, traduttori\finalandcomma\ e annotatori}% FIXME: missing
5063 {eds.,\addabbrvspace trad\adddot\finalandcomma\ e annot\adddot}},
5064 editortrin = {{curatore, traduttore\finalandcomma\ e introduzione}% FIXME: missing
5065 {ed.,\addabbrvspace trad\adddot\finalandcomma\ e introd\adddot}},
5066 editorstrin = {{curatori, traduttori\finalandcomma\ e introduzione}% FIXME: missing
5067 {eds.,\addabbrvspace trad\adddot\finalandcomma\ e introd\adddot}},
5068 editortrfo = {{curatore, traduttore\finalandcomma\ e prefazione}% FIXME: missing
5069 {ed.,\addabbrvspace trad\adddot\finalandcomma\ e pref\adddot}},
5070 editorstrfo = {{curatori, traduttori\finalandcomma\ e prefazione}% FIXME: missing
5071 {eds.,\addabbrvspace trad\adddot\finalandcomma\ e pref\adddot}},
5072 editortraf = {{curatore, traduttore\finalandcomma\ e postfazione}% FIXME: missing
5073 {ed.,\addabbrvspace trad\adddot\finalandcomma\ e postf\adddot}},
5074 editorstraf = {{curatori, traduttori\finalandcomma\ e postfazione}% FIXME: missing
5075 {eds.,\addabbrvspace trad\adddot\finalandcomma\ e postf\adddot}},
5076 editorcoin = {{curatore, commentatore\finalandcomma\ e introduzione}% FIXME: missing
5077 {ed.,\addabbrvspace comm\adddot\finalandcomma\ e introd\adddot}},
5078 editorscoin = {{curatori, commentatori\finalandcomma\ e introduzione}% FIXME: missing
5079 {eds.,\addabbrvspace comm\adddot\finalandcomma\ e introd\adddot}},
5080 editorcofo = {{curatore, commentatore\finalandcomma\ e prefazione}% FIXME: missing
5081 {ed.,\addabbrvspace comm\adddot\finalandcomma\ e pref\adddot}},
5082 editorscofo = {{curatori, commentatori\finalandcomma\ e prefazione}% FIXME: missing
5083 {eds.,\addabbrvspace comm\adddot\finalandcomma\ e pref\adddot}},
5084 editorcoaf = {{curatore, commentatore\finalandcomma\ e postfazione}% FIXME: missing
5085 {ed.,\addabbrvspace comm\adddot\finalandcomma\ e postf\adddot}},
5086 editorscoaf = {{curatori, commentatori\finalandcomma\ e postfazione}% FIXME: missing
5087 {eds.,\addabbrvspace comm\adddot\finalandcomma\ e postf\adddot}},
5088 editoranin = {{curatore, annotatore\finalandcomma\ e introduzione}% FIXME: missing
5089 {ed.,\addabbrvspace annot\adddot\finalandcomma\ e introd\adddot}},
5090 editorsanin = {{curatori, annotatori\finalandcomma\ e introduzione}% FIXME: missing
5091 {eds.,\addabbrvspace annot\adddot\finalandcomma\ e introd\adddot}},
5092 editoranfo = {{curatore, annotatore\finalandcomma\ e prefazione}% FIXME: missing
5093 {ed.,\addabbrvspace annot\adddot\finalandcomma\ e pref\adddot}},
5094 editorsanfo = {{curatori, annotatori\finalandcomma\ e prefazione}% FIXME: missing
5095 {eds.,\addabbrvspace annot\adddot\finalandcomma\ e pref\adddot}},
5096 editoranaf = {{curatore, annotatore\finalandcomma\ e postfazione}% FIXME: missing
5097 {ed.,\addabbrvspace annot\adddot\finalandcomma\ e postf\adddot}},
5098 editorsanaf = {{curatori, annotatori\finalandcomma\ e postfazione}% FIXME: missing
5099 {eds.,\addabbrvspace annot\adddot\finalandcomma\ e postf\adddot}},
5100 editortrcoin = {{curatore, traduttore, commentatore\finalandcomma\ e introduzione}% FIXME: missing
5101 {cur.,\addabbrvspace trad., comm\adddot\finalandcomma\ e introd\adddot}},
5102 editorstrcoin = {{curatori, traduttori, commentatori\finalandcomma\ e introduzione}% FIXME: missing
5103 {cur.,\addabbrvspace trad., comm\adddot\finalandcomma\ e introd\adddot}},
5104 editortrcofo = {{curatore, traduttore, commentatore\finalandcomma\ e prefazione}% FIXME: missing
5105 {cur.,\addabbrvspace trad., comm\adddot\finalandcomma\ e pref\adddot}},
5106 editorstrcofo = {{curatori, traduttori, commentatori\finalandcomma\ e prefazione}% FIXME: missing
5107 {cur.,\addabbrvspace trad., comm\adddot\finalandcomma\ e pref\adddot}},
5108 editortrcoaf = {{curatore, traduttore, commentatore\finalandcomma\ e postfazione}% FIXME: missing
5109 {cur.,\addabbrvspace trad., comm\adddot\finalandcomma\ e postf\adddot}},
5110 editorstrcoaf = {{curatori, traduttori, commentatori\finalandcomma\ e postfazione}% FIXME: missing
5111 {cur.,\addabbrvspace trad., comm\adddot\finalandcomma\ e postf\adddot}},
5112 editortranin = {{curatore, traduttore, annotatore\finalandcomma\ e introduzione}% FIXME: missing
5113 {cur.,\addabbrvspace trad., annot\adddot\finalandcomma\ e introd\adddot}},
5114 editorstranin = {{curatori, traduttori, annotatori\finalandcomma\ e introduzione}% FIXME: missing
5115 {cur.,\addabbrvspace trad., annot\adddot\finalandcomma\ e introd\adddot}},
5116 editortranfo = {{curatore, traduttore, annotatore\finalandcomma\ e prefazione}% FIXME: missing
5117 {cur.,\addabbrvspace trad., annot\adddot\finalandcomma\ e pref\adddot}},
5118 editorstranfo = {{curatori, traduttori, annotatori\finalandcomma\ e prefazione}% FIXME: missing
5119 {cur.,\addabbrvspace trad., annot\adddot\finalandcomma\ e pref\adddot}},
5120 editortranaf = {{curatore, traduttore, annotatore\finalandcomma\ e postfazione}% FIXME: missing
5121 {cur.,\addabbrvspace trad., annot\adddot\finalandcomma\ e postf\adddot}},
5122 editorstranaf = {{curatori, traduttori, annotatori\finalandcomma\ e postfazione}% FIXME: missing
5123 {cur.,\addabbrvspace trad., annot\adddot\finalandcomma\ e postf\adddot}},
5124 translatorco = {{traduttore e commentatore}% FIXME: missing
5125 {trad\adddot\ e comm\adddot}},
5126 translatorsco = {{traduttori e commentatori}% FIXME: missing
5127 {trad\adddot\ e comm\adddot}},
5128 translatoran = {{traduttore e annotatore}% FIXME: missing
5129 {trad\adddot\ e annot\adddot}},
5130 translatorsan = {{traduttori e annotatori}% FIXME: missing
5131 {trad\adddot\ e annot\adddot}},
5132 translatorin = {{traduzione e introduzione}% FIXME: missing
5133 {trad\adddot\ e introd\adddot}},
5134 translatorsin = {{traduzione e introduzione}% FIXME: missing
5135 {trad\adddot\ e introd\adddot}},
5136 translatorfo = {{traduzione e prefazione}% FIXME: missing
5137 {trad\adddot\ e pref\adddot}},
5138 translatorsfo = {{traduzione e prefazione}% FIXME: missing
5139 {trad\adddot\ e pref\adddot}},
5140 translatoraf = {{traduzione e postfazione}% FIXME: missing
5141 {trad\adddot\ e postf\adddot}},
5142 translatorsaf = {{traduzione e postfazione}% FIXME: missing
5143 {trad\adddot\ e postf\adddot}},
5144 translatorcoin = {{traduzione, commenti\finalandcomma\ e introduzione}% FIXME: missing
5145 {trans., comm\adddot\finalandcomma\ e introd\adddot}},
5146 translatorscoin = {{traduzione, commenti\finalandcomma\ e introduzione}% FIXME: missing
5147 {trans., comm\adddot\finalandcomma\ e introd\adddot}},
5148 translatorcofo = {{traduzione, commenti\finalandcomma\ e prefazione}% FIXME: missing
5149 {trans., comm\adddot\finalandcomma\ e pref\adddot}},
5150 translatorscofo = {{traduzione, commenti\finalandcomma\ e prefazione}% FIXME: missing
5151 {trans., comm\adddot\finalandcomma\ e pref\adddot}},
5152 translatorcoaf = {{traduzione, commenti\finalandcomma\ e postfazione}% FIXME: missing
5153 {trans., comm\adddot\finalandcomma\ e postf\adddot}},
5154 translatorscoaf = {{traduzione, commenti\finalandcomma\ e postfazione}% FIXME: missing
5155 {trans., comm\adddot\finalandcomma\ e postf\adddot}},
5156 translatoranin = {{traduzione, annotazioni\finalandcomma\ e introduzione}% FIXME: missing
5157 {trans., annot\adddot\finalandcomma\ e introd\adddot}},
5158 translatorsanin = {{traduzione, annotazioni\finalandcomma\ e introduzione}% FIXME: missing
5159 {trans., annot\adddot\finalandcomma\ e introd\adddot}},
5160 translatoranfo = {{traduzione, annotazioni\finalandcomma\ e prefazione}% FIXME: missing
5161 {trans., annot\adddot\finalandcomma\ e pref\adddot}},
5162 translatorsanfo = {{traduzione, annotazioni\finalandcomma\ e prefazione}% FIXME: missing
5163 {trans., annot\adddot\finalandcomma\ e pref\adddot}},
5164 translatoranaf = {{traduzione, annotazioni\finalandcomma\ e postfazione}% FIXME: missing
5165 {trans., annot\adddot\finalandcomma\ e postf\adddot}},
5166 translatorsanaf = {{traduzione, annotazioni\finalandcomma\ e postfazione}% FIXME: missing
5167 {trans., annot\adddot\finalandcomma\ e postf\adddot}},
5168 %byreviser = {{rivisto da}{riv\adddotspace da}},% FIXME: missing: UNSURE
5169 byreviewer = {{recensito da}{rec\adddotspace da}},% FIXME: missing: UNSURE
5170 byfounder = {{fondato da}{fond\adddotspace da}},% FIXME: missing
5171 bycontinuator = {{continuato da}{cont\adddotspace da}},% FIXME: missing: UNSURE
5172 bycollaborator = {{in collaborazione con}{in coll\adddotspace con}},% FIXME: missing: UNSURE
5173 book = {{libro}{lib\adddot}},% FIXME: missing: UNSURE
5174 part = {{parte}{pt\adddot}},% FIXME: missing: UNSURE
5175 issue = {{uscita}{uscita}},% FIXME: missing: UNSURE
5176 reprintas = {{ristampato come}{rist\adddotspace come}},% FIXME: missing
5177 reprintfrom = {{ristampato da}{rist\adddotspace da}},% FIXME: missing
5178 % translationof = {{traduzione di}{trad\adddotspace di}},% FIXME: missing
5179 % translationas = {{tradotto come}{trad\adddotspace come}},% FIXME: missing
5180 translationfrom = {{tradotto da}{trad\adddotspace da}},% FIXME: missing
5181 % reviewof = {{recensione di}{rec\adddotspace di}},% FIXME: missing
5182 % origpubas = {{edizione originale}{ed\adddotspace orig\adddotspace}},% FIXME: missing: UNSURE
5183 origpubin = {{originalmente pubblicato in}{orig\adddotspace pub\adddotspace in}},% FIXME: missing: UNSURE
5184 % astitle = {{come}{come}},% FIXME: missing
5185 % bypublisher = {{publicato da}{pubb\adddotspace da}},% FIXME: missing: UNSURE
5186 % section = {{sezione}{\S}},% FIXME: missing
5187 % sections = {{sezioni}{\S\S}},% FIXME: missing
5188 candthesis = {{candidato}{cand\adddot}},% FIXME: missing
5189 software = {{software}{software}},% FIXME: missing
5190 datacd = {{CD-ROM}{CD-ROM}},% FIXME: missing
5191 audiocd = {{audio CD}{audio CD}},% FIXME: missing
5192 urlfrom = {{disponibile su}{disponibile su}},% FIXME: missing: UNSURE
5193 inpreparation = {{in preparazione}{in preparazione}},% FIXME: missing
5194 % submitted = {{}{}},% FIXME: missing
5195 forthcoming = {{in uscita}{in uscita}},% FIXME: missing
5196 prepublished = {{pre-pubblicato}{pre-pubblicato}},% FIXME: missing: UNSURE
5197 thiscite = {{specialmente}{spec\adddot}},% FIXME: missing: UNSURE
5198 langcatalan = {{catalano}{catalano}},% FIXME: missing
5199 langcroatian = {{croato}{croato}},% FIXME: missing
5200 langczech = {{ceco}{ceco}},% FIXME: missing
5201 langestonian = {{estone}{estone}},% FIXME: missing
5202 langfinnish = {{finnico}{finnico}},% FIXME: missing
5203 langpolish = {{polacco}{polacco}},% FIXME: missing
5204 langrussian = {{russo}{russo}},% FIXME: missing
5205 langslovene = {{sloveno}{sloveno}},% FIXME: missing
5206 fromcatalan = {{dal catalano}{dal catalano}},% FIXME: missing
5207 fromcroatian = {{dal croato}{dal croato}},% FIXME: missing
5208 fromczech = {{dal ceco}{dal ceco}},% FIXME: missing
5209 fromestonian = {{dall'estone}{dall'estone}},% FIXME: missing
5210 fromfinnish = {{dal finnico}{dal finnico}},% FIXME: missing
5211 frompolish = {{dal polacco}{dal polacco}},% FIXME: missing
5212 fromrussian = {{dal russo}{dal russo}},% FIXME: missing
5213 fromslovene = {{dallo sloveno}{dallo sloveno}},% FIXME: missing
5214 circa = {{circa}{ca\adddot}},% FIXME: missing
5215 spring = {{primavera}{prim\adddot}},% FIXME: missing
5216 summer = {{estate}{est\adddot}},% FIXME: missing
5217 autumn = {{autunno}{aut\adddot}},% FIXME: missing
5218 winter = {{inverno}{inv\adddot}},% FIXME: missing
5219 }
5220 % \end{macrocode}
5221 % \iffalse
5222 %</italian-lbx>
5223 % \fi
5224 %
5225 % \subsection{\file{english-philosophy.lbx}}
5226 %
5227 % \iffalse
5228 %<*english-lbx>
5229 % \fi
5230 % \begin{macrocode}
5231 \InheritBibliographyExtras{english}
5232
5233 \DeclareBibliographyExtras{%
5234 \protected\def\bibrangedash{-\penalty\hyphenpenalty}%
5235 \protected\def\bibdaterangesep{\bibrangedash}%
5236 }%
5237
5238 \NewBibliographyString{opcited}
5239
5240 \DeclareBibliographyStrings{%
5241 inherit = {english},
5242 % \end{macrocode}
5243 % New string:
5244 % \begin{macrocode}
5245 opcited = {{op\adddotspace cit\adddot}{op\adddotspace cit\adddot}},
5246 % \end{macrocode}
5247 % Redefined strings:
5248 % \begin{macrocode}
5249 opcit = {{cit\adddot}{cit\adddot}},
5250 ibidem = {{ibid\adddot}{ibid\adddot}},
5251 loccit = {{ibid\adddot}{ibid\adddot}},
5252 translationas = {{trans\adddot}{trans\adddot}},
5253 withcommentator = {{commentary by}{comment\adddot\ by}},
5254 withannotator = {{annotations by}{annots\adddot\ by}},
5255 withintroduction = {{introduction by}{intro\adddot\ by}},
5256 withforeword = {{foreword by}{forew\adddot\ by}},
5257 withafterword = {{afterword by}{afterw\adddot\ by}},
5258 % \end{macrocode}
5259 % See the note for the Italian localization module.
5260 % \begin{macrocode}
5261 andothers = {{\mkibid{et\addabbrvspace al\adddot}}{\mkibid{et\addabbrvspace al\adddot}}},
5262 andmore = {{\mkibid{et\addabbrvspace al\adddot}}{\mkibid{et\addabbrvspace al\adddot}}},
5263 }
5264 % \end{macrocode}
5265 % \iffalse
5266 %</english-lbx>
5267 % \fi
5268 % \subsection{\file{spanish-philosophy.lbx}}
5269 % Thanks to Eduardo Villegas for these translations.
5270 % \iffalse
5271 %<*spanish-lbx>
5272 % \fi
5273 % \begin{macrocode}
5274 %
5275 % Thanks to Eduardo Villegas for these translations.
5276 %
5277 \InheritBibliographyExtras{spanish}
5278
5279 \DeclareBibliographyExtras{%
5280 \protected\def\bibrangedash{-\penalty\hyphenpenalty}%
5281 \protected\def\bibdaterangesep{\bibrangedash}%
5282 }%
5283
5284 \NewBibliographyString{opcited}
5285
5286 \DeclareBibliographyStrings{%
5287 inherit = {spanish},
5288 % \end{macrocode}
5289 % New string:
5290 % \begin{macrocode}
5291 opcited = {{\'{o}p\adddotspace cit\adddot}{\'{o}p\adddot cit\adddot}},
5292 % \end{macrocode}
5293 % Redefined strings:
5294 % \begin{macrocode}
5295 opcit = {{cit\adddot}{cit\adddot}},
5296 ibidem = {{ivi}{ivi}},
5297 loccit = {{ibidem}{ibidem}},
5298 langspanish = {{espa\~{n}ol}{es\adddot}},
5299 editor = {{ed\adddot}{ed\adddot}},
5300 editors = {{ed\adddot}{eds\adddot}},
5301 byreviser = {{revisi\'{o}n de}{rev\adddotspace de}},
5302 reviewof = {{rese\~{n}a de}{rese\~{n}a de}},%%FIXME
5303 backrefpage = {{citado en la p\'{a}gina}{citado en la \bibsstring{page}\adddot}},%%FIXME
5304 backrefpages = {{citado en las p\'{a}ginas}{citado en las p\'ags\adddot}},%%FIXME
5305 withcommentator = {{comentarios de}{com\adddotspace de}},
5306 withannotator = {{notas de}{notas de}},
5307 withintroduction = {{introducci\'{o}n de}{intr\adddotspace de}},
5308 withforeword = {{prefacio de}{pref\adddotspace de}},
5309 withafterword = {{postfacio de}{postfacio de}},
5310 translationof = {{traducci\'{o}n al espa\~{n}ol de}{trad\adddotspace de}},
5311 translationas = {{traducido al espa\~{n}ol como}{trad\adddotspace es\adddot}},
5312 origpubas = {{edici\'{o}n original}{ed\adddot orig\adddot}},
5313 section = {{secci\'{o}n}{sec\adddot}},
5314 sections = {{secciones}{\iftoggle{bbx:classical}{secs\adddot}{sec\adddot}}},
5315 % \end{macrocode}
5316 % Here we redefine only the |andmore| string because the |andothers| string is
5317 % a non Latin expression in \file{spanish.lbx} (``y col.'').
5318 % \begin{macrocode}
5319 andmore = {{\mkibid{et\addabbrvspace al\adddot}}{\mkibid{et\addabbrvspace al\adddot}}},
5320 }
5321 % \end{macrocode}
5322 % \iffalse
5323 %</spanish-lbx>
5324 % \fi
5325 %
5326 % \subsection{\file{french-philosophy.lbx}}
5327 % !EXEPRIMENTAL! This file needs a revision!
5328 % \iffalse
5329 %<*french-lbx>
5330 % \fi
5331 % \begin{macrocode}
5332 \InheritBibliographyExtras{french}
5333
5334 \DeclareBibliographyExtras{%
5335 % \end{macrocode}
5336 % The \file{french.lbx} localization module redefines \cmd{mkbibnamefamily} in order to get the family name in small caps. We do not like this approach because an author could use a localization module without adhering to the typographical standards which should be indipendent from the linguistic standards. For this reason we prefer to reset it to the default definition.
5337 % \begin{macrocode}
5338 \protected\def\mkbibnamefamily#1{#1}%
5339 \protected\def\bibrangedash{-\penalty\hyphenpenalty}%
5340 \protected\def\bibdaterangesep{\bibrangedash}%
5341 }%
5342
5343 \NewBibliographyString{opcited}
5344
5345 \DeclareBibliographyStrings{%
5346 inherit = {french},
5347 % \end{macrocode}
5348 % New string:
5349 % \begin{macrocode}
5350 opcited = {{op\adddotspace cit\adddot}{op\adddotspace cit\adddot}},
5351 % \end{macrocode}
5352 % Redefined strings:
5353 % \begin{macrocode}
5354 opcit = {{cit\adddot}{cit\adddot}},%%FIXME
5355 ibidem = {{ibid\adddot}{ibid\adddot}},%%FIXME
5356 loccit = {{ibid\adddot}{ibid\adddot}},%%FIXME
5357 translationas = {{trad\adddot}{trad\adddot}},%%FIXME
5358 withcommentator = {{commentaires \smartof}{comment\adddotspace\smartof}},%%FIXME
5359 withannotator = {{annotations \smartof}{annot\adddotspace\smartof}},%%FIXME
5360 withintroduction = {{introduction \smartof}{introd\adddotspace\smartof}},%%FIXME
5361 withforeword = {{pr\'eface \smartof}{pr\'ef\adddotspace\smartof}},%%FIXME
5362 withafterword = {{postface \smartof}{postf\adddotspace\smartof}},%%FIXME
5363 % \end{macrocode}
5364 % See the note for the Italian localization module.
5365 % \begin{macrocode}
5366 andothers = {{\mkibid{et\addabbrvspace al\adddot}}{\mkibid{et\addabbrvspace al\adddot}}},
5367 andmore = {{\mkibid{et\addabbrvspace al\adddot}}{\mkibid{et\addabbrvspace al\adddot}}},
5368 }
5369 % \end{macrocode}
5370 % \iffalse
5371 %</french-lbx>
5372 % \fi
5373 %
5374 % \iffalse
5375 %<*bib>
5376 @book{Eco:2004,
5377 annotation = {A guide for typesetting a thesis aimed for
5378 Italian students in the humanities.},
5379 author = {Umberto Eco},
5380 title = {Come si fa una tesi di laurea},
5381 subtitle = {Le materie umanistiche},
5382 publisher = {Bompiani},
5383 location = {Milano},
5384 date = {1977}
5385 }
5386
5387 @incollection{Termini:2007,
5388 author = {Settimo Termini},
5389 title = {Vita morte e miracoli di Alan Mathison Turing},
5390 crossref = {Bartocci:2007},
5391 keywords = {esempio},
5392 langid = {italian},
5393 annotation = {This entry includes all the informations
5394 of the parent \texttt{collection} linked through
5395 the \texttt{crossref} field}
5396 }
5397
5398 @book{aristotle:ethics,
5399 title = {Nichomachean Ethics},
5400 publisher = {J. Hall \& Son},
5401 author = {Aristotle},
5402 annotation = {A \texttt{@book} entry with a \texttt{translator} field.
5403 Note also the \texttt{entrysubtype} field which
5404 is set to \texttt{classic}},
5405 booktitle = {Nichomachean Ethics},
5406 date = {1872},
5407 entrysubtype = {classic},
5408 langid = {american},
5409 keywords = {esempio},
5410 location = {London},
5411 shorttitle = {Nich\adddotspace Ethics},
5412 translator = {F. A. Paley, F. M.}
5413 }
5414
5415 @online{clawson:mla,
5416 annotation = {\texttt{Biblatex-mla} provides support to \texttt{biblatex},
5417 \hologo{BibTeX}, and \LaTeX\ for citations and Works Cited lists in the style
5418 established by the Modern Language Association (MLA). For commands
5419 and options to change package defaults, see § 3.1 and § 3.2,
5420 respectively, below. MLA style, a common standard for writers
5421 in the humanities, is outlined in the \emph{MLA Style Manual},
5422 in its 3\textsubscript{rd} edition,
5423 and the \emph{MLA Handbook for Writers of Research Papers},
5424 now in its 8\textsubscript{th} edition. \texttt{Biblatex-mla}
5425 follows the style outlined in the latter of these. It also
5426 follows the logic of the MLA when citing similar material
5427 repeatedly, trimming unnecessary
5428 information from citations where necessary. \texttt{Biblatex-mla}
5429 is compatible with \texttt{Biblatex}’s
5430 support for \texttt{hyperref} and \texttt{tex4ht},
5431 and the main word in each citation (either the author’s
5432 name, the title, or the page number) serves as a link
5433 to the particular entry in the Works Cited.},
5434 author = {James Clawson},
5435 date = {2016-11-02},
5436 keywords = {primaria},
5437 subtitle = {MLA Style Using \texttt{Biblatex}},
5438 title = {\texttt{biblatex-mla}},
5439 url = {http://mirrors.ctan.org/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/biblatex-mla.pdf},
5440 version = {1.9}
5441 }
5442
5443 @online{glibof:historian,
5444 annotation = {The files \texttt{historian.bbx},
5445 \texttt{historian.cbx},
5446 and \texttt{historian.lbx} implement a bibliography
5447 and citation style for use with Philipp Lehman’s
5448 \texttt{biblatex} package. \texttt{Historian} follows the conventions of
5449 \emph{The Chicago Manual of Style}, as presented in Turabian’s
5450 \emph{Manual for Writers}. The
5451 style is designed for use by historians who need to generate detailed
5452 footnotes not only for ordinary books and articles, but also reprint
5453 editions, correspondence, archives and archival documents, online sources,
5454 book reviews, unpublished manuscripts, and conference presentations.},
5455 author = {Sander Gliboff},
5456 date = {2010-08-22},
5457 langid = {english},
5458 keywords = {primaria},
5459 subtitle = {A Footnotes-and-Bibliography Style,
5460 Following Turabian/Chicago Guidelines:
5461 For Use with the \texttt{Biblatex} System of Programmable
5462 Bibliographies and Citations},
5463 title = {User's Guide to \texttt{Historian}},
5464 url = {http://mirrors.ctan.org/macros/latex/contrib/biblatex-contrib/biblatex-historian/historian.pdf},
5465 version = {0.4}
5466 }
5467
5468 @book{guzman:sd,
5469 title = {Problemática logico-lingüística de la
5470 comunicacíon social con el pueblo Aymara},
5471 year = {s.d.},
5472 author = {Guzmán de Rojas, Iván},
5473 note = {mimeo},
5474 addendum = {Con los auspicios del Centro internacional
5475 de Investigacíones para el Desarrollo de Canada},
5476 annotation = {A work without a pubblication date.
5477 The string \texttt{nodate} (localized) is automatically printed},
5478 keywords = {esempio},
5479 shorttitle = {Problemática}
5480 }
5481
5482 @book{heidegger:sz,
5483 title = {Sein und Zeit},
5484 publisher = {Max Niemeyer Verlag},
5485 author = {Martin Heidegger},
5486 edition = {18},
5487 annotation = {Note the \texttt{library} field, use for some
5488 details about the first edition.},
5489 booktitle = {Sein und Zeit},
5490 date = {2001},
5491 keywords = {esempio,volumesingolo},
5492 library = {Originally published in 1927 in the
5493 \emph{Jahrbuch für Philosophie und phänomenologische
5494 Forschung (vol. VIII)}, directed by H. Husserl},
5495 location = {Tübingen}
5496 }
5497
5498 @bookinbook{kant:kpv:xref,
5499 author = {Kant, Immanuel},
5500 date = {1968},
5501 keywords = {esempio},
5502 pages = {1-163},
5503 shorthand = {KpV},
5504 shorttitle = {Kritik der praktischen Vernunft},
5505 title = {Kritik der praktischen Vernunft},
5506 volume = {5},
5507 xref = {kant:werke},
5508 annotation = {A single volume from the critical edition
5509 of Kant's (\emph{Kants Werke}). Note the \texttt{xref} field.}
5510 }
5511
5512 @bookinbook{kant:ku:xref,
5513 author = {Kant, Immanuel},
5514 date = {1968},
5515 langid = {german},
5516 keywords = {esempio},
5517 pages = {165-485},
5518 title = {Kritik der Urtheilskraft},
5519 volume = {5},
5520 xref = {kant:werke},
5521 annotation = {A single volume from the critical edition
5522 of Kant's (\emph{Kants Werke}). Note the \texttt{xref} field.}
5523 }
5524
5525 @mvbook{kant:werke,
5526 author = {Kant, Immanuel},
5527 booktitle = {Kants Werke. Akademie Textausgabe},
5528 date = {1968},
5529 langid = {german},
5530 keywords = {esempio},
5531 location = {Berlin},
5532 maintitle = {Kants Werke. Akademie Textausgabe},
5533 publisher = {Walter de Gruyter},
5534 shorthand = {KW},
5535 title = {Kants Werke. Akademie Textausgabe},
5536 volumes = {9}
5537 }
5538
5539 @mvbook{comenio:oo,
5540 annotation = {This author is known with his Latin name,
5541 given in the \texttt{nameaddon} field.},
5542 author = {Jan Amos Komensky},
5543 booktitle = {Opera Omnia},
5544 date = {1969},
5545 keywords = {esempio},
5546 location = {Praga},
5547 nameaddon = {Comenius},
5548 title = {Opera Omnia}
5549 }
5550
5551 @online{kime:biber,
5552 annotation = {Biber is conceptually a \hologo{BibTeX} replacement for
5553 \texttt{biblatex}.
5554 It is written in Perl with the aim of providing a customised
5555 and sophisticated data preparation backend
5556 for \texttt{biblatex}. You do not need to install Perl to use
5557 Biber---binaries are provided
5558 for many operating systems via the main \TeX{} distributions (\TeX~Live,
5559 Mac\TeX, MiK\TeX) and also via download from SourceForge.
5560 Functionally, Biber offers a superset of \hologo{BibTeX}’s capabilities
5561 but is tightly coupled with \texttt{biblatex} and cannot
5562 be used as a stand-alone tool with standard \texttt{.bst} styles.
5563 Biber’s primary role is to
5564 support \texttt{biblatex} by performing the following tasks:
5565 Parsing data from datasources;
5566 Processing cross-references, entry sets, related entries;
5567 Generating data for name, name list and name/year disambiguation;
5568 Structural validation according to \texttt{biblatex} data model;
5569 Sorting reference lists;
5570 Outputting data to a \texttt{.bbl} for \texttt{biblatex} to consume.},
5571 author = {Philip Kime and François Charette},
5572 title = {\texttt{biber}},
5573 subtitle = {A backend bibliography processor for \texttt{biblatex}},
5574 date = {2019-12-01},
5575 langid = {english},
5576 keywords = {primaria},
5577 url = {http://biblatex-biber.sourceforge.net},
5578 version = {2.14}
5579 }
5580
5581 @online{lehman:biblatex,
5582 annotation = {This package provides advanced bibliographic facilities
5583 for use with \LaTeX. The package is a complete reimplementation
5584 of the bibliographic facilities provided by
5585 \LaTeX. The \texttt{biblatex} package works with the “backend”
5586 (program) \texttt{biber}, which is used to process \hologo{BibTeX} format
5587 data files and them performs all sorting, label
5588 generation (and a great deal more). Formatting of the bibliography
5589 is entirely controlled by \TeX{} macros. Good working knowledge
5590 in \LaTeX{} should be sufficient to
5591 design new bibliography and citation styles. This package
5592 also supports subdivided bibliographies, multiple bibliographies
5593 within one document, and separate lists of bibliographic information
5594 such as abbreviations of various fields. Bibliographies may
5595 be subdivided into parts and/or segmented by topics.
5596 Just like the bibliography styles,
5597 all citation commands may be freely defined. Features such as
5598 full Unicode support for bibliography data, customisable sorting,
5599 multiple bibliographies with different
5600 sorting, customisable labels and dynamic data
5601 modification are available.},
5602 author = {Philipp Lehman},
5603 nameaddon = {with Philip Kime and Moritz Wemheuer},
5604 date = {2019-12-01},
5605 langid = {english},
5606 keywords = {primaria},
5607 subtitle = {Programmable Bibliographies and Citations},
5608 title = {The \texttt{biblatex} Package},
5609 url = {http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf},
5610 version = {3.14}
5611 }
5612
5613 @online{babel,
5614 annotation = {This manual describes \texttt{babel}, a package that makes
5615 use of the capabilities of \TeX{} version 3 and, to some
5616 extent, \texttt{xetex} and \texttt{luatex}, to provide an environment
5617 in which documents can be typeset in a language
5618 other than US English, or in more than one language
5619 or script. However, no attempt has been done to take full
5620 advantage of the features provided by the latter,
5621 which would require a completely new core (as for
5622 example \texttt{polyglossia} or as part of \hologo{LaTeX3})},
5623 author = {Johannes L. Braams},
5624 nameaddon = {with Javer Bezos},
5625 date = {2020-02-28},
5626 langid = {english},
5627 keywords = {primaria},
5628 title = {Babel},
5629 subtitle = {Localization and internationalization},
5630 url = {http://mirrors.ctan.org/macros/latex/contrib/babel/babel.pdf},
5631 version = {3.41}
5632 }
5633
5634 @online{polyglossia,
5635 annotation = {\texttt{Polyglossia} is a package for facilitating multilingual
5636 typesetting with \hologo{XeLaTeX} and
5637 (with some exceptions) \hologo{LuaLaTeX}. Basically, it can be used as
5638 an alternative to \texttt{babel}
5639 for performing the following tasks automatically:
5640 1. Loading the appropriate hyphenation patterns.
5641 2. Setting the script and language tags of the current font (if possible and
5642 available), via the package \texttt{fontspec}.
5643 3. Switching to a font assigned by the user to a particular script or language.
5644 4. Adjusting some typographical conventions according to the current lan-
5645 guage (such as afterindent, frenchindent, spaces before or after
5646 punctuation marks, etc.).
5647 5. Redefining all document strings (like “chapter”, “figure”, “bibliography”).
5648 6. Adapting the formatting of dates (for non-Gregorian calendars via external
5649 packages bundled with \texttt{polyglossia}: currently the Hebrew, Islamic and
5650 Farsi calendars are supported).
5651 7. For languages that have their own numbering system, modifying the
5652 formatting of numbers appropriately (this also includes redefining the al-
5653 phabetic sequence for non-Latin alphabets).
5654 8. Ensuring proper directionality if the document contains languages that are
5655 written from right to left (via the package \texttt{bidi}, available separately).},
5656 author = {François Charette},
5657 nameaddon = {with Arthur Reutenauer, Bastien Roucariès and Jürgen Spitzmüller},
5658 date = {2020-01-29},
5659 langid = {english},
5660 keywords = {primaria},
5661 title = {Polyglossia: Modern multilingual typesetting with \hologo{XeLaTeX} and \hologo{LuaLaTeX}},
5662 url = {http://mirrors.ctan.org/macros/latex/contrib/babel/babel.pdf},
5663 version = {1.47}
5664 }
5665
5666 @online{csquotes,
5667 annotation = {This package provides advanced facilities for inline
5668 and display quotations. It is designed for a wide range of
5669 tasks ranging from the most simple applications to
5670 the more complex demands of formal quotations. The facilities
5671 include commands, environments, and user-definable ‘smart quotes’
5672 which dynamically adjust to their
5673 context. Quotation marks are switched automatically
5674 if quotations are nested and
5675 can adjust to the current language. There are additional
5676 features designed to cope
5677 with the more specific demands of academic writing.
5678 All quote styles as well as the
5679 optional active quotes are freely configurable.},
5680 author = {Philipp Lehman and Joseph Wright},
5681 date = {2019-12-06},
5682 langid = {english},
5683 keywords = {primaria},
5684 subtitle = {Context Sensitive Quotation Facilities},
5685 title = {The \texttt{csquotes} Package},
5686 url = {http://mirrors.ctan.org/macros/latex/contrib/csquotes/csquotes.pdf},
5687 version = {5.2j}
5688 }
5689
5690 @book{pantieri:artelatex,
5691 title = {L'arte di scrivere con \LaTeX},
5692 author = {Lorenzo Pantieri and Tommaso Gordini},
5693 annotation = {Lo scopo di questo lavoro, rivolto sia a chi muove
5694 i primi passi in \LaTeX\ sia a quanti già lo conoscono,
5695 è di offrire ai suoi utenti italiani le conoscenze essenziali
5696 per poterlo usare con successo. I concetti fondamentali
5697 della materia, raccolti da svariati manuali, vengono presentati
5698 nel modo più chiaro e organico possibile; nel contempo si fornisce
5699 un vasto campionario di esempi e si analizzano alcuni
5700 tipici problemi che potrebbero presentarsi nella redazione
5701 di una pubblicazione scientifica o professionale in italiano,
5702 indicando per ciascuno le soluzioni per noi migliori.},
5703 booktitle = {L'arte di scrivere con \LaTeX},
5704 date = {2019},
5705 foreword = {Enrico Gregorio},
5706 langid = {italian},
5707 keywords = {primaria},
5708 subtitle = {Un'introduzione a \LaTeX},
5709 url = {http://www.lorenzopantieri.net/LaTeX_files/ArteLaTeX.pdf}
5710 }
5711
5712 @book{Poincare:1968-ITA,
5713 title = {La scienza e l'ipotesi},
5714 publisher = {Bompiani},
5715 author = {Jules-Henri Poincaré},
5716 editor = {Corrado Sinigaglia},
5717 note = {testo greco a fronte},
5718 booktitle = {La science et l'hypothèse},
5719 date = {2003},
5720 langid = {italian},
5721 keywords = {esempio},
5722 location = {Milano}
5723 }
5724
5725 @book{Poincare:1968-ORIG,
5726 title = {La science et l'hypothèse},
5727 publisher = {Flammarion},
5728 author = {Jules-Henri Poincaré},
5729 annotation = {A \texttt{@book} entry followed by its translation, cross-referenced in the
5730 \texttt{related} field},
5731 booktitle = {La science et l'hypothèse},
5732 date = {1968},
5733 langid = {french},
5734 keywords = {esempio},
5735 location = {Paris},
5736 related = {Poincare:1968-ITA}
5737 }
5738
5739 @book{popper-logik,
5740 title = {Logik der Forschung},
5741 publisher = {Springer},
5742 author = {Karl R. Popper},
5743 annotation = {A \texttt{@book} entry followed by two differents translations,
5744 cross-referenced in the \texttt{related} (Biber 1.6 required)},
5745 booktitle = {Logik der Forschung},
5746 date = {1934},
5747 keywords = {esempio},
5748 location = {Wien},
5749 related = {popper-logik:ing},
5750 timestamp = {2012.04.25}
5751 }
5752
5753 @book{popper-logik:ing,
5754 title = {The Logic of Scientific Discovery},
5755 publisher = {Hutchinson},
5756 author = {Karl R. Popper},
5757 edition = {3},
5758 booktitle = {The Logic of Scientific Discovery},
5759 date = {1959},
5760 keywords = {esempio,popper},
5761 location = {London},
5762 related = {popper-logik:ita},
5763 relatedstring = {it. trans.},
5764 timestamp = {2012.04.25}
5765 }
5766
5767 @book{popper-logik:ita,
5768 title = {Logica della scoperta scientifica},
5769 publisher = {Einaudi},
5770 author = {Karl R. Popper},
5771 edition = {3},
5772 date = {1998},
5773 hyphenation = {italian},
5774 keywords = {esempio,popper},
5775 location = {Torino},
5776 timestamp = {2012.04.25}
5777 }
5778
5779 @online{wassenhoven:dw,
5780 annotation = {\texttt{biblatex-dw} is a small collection
5781 of styles for the \texttt{biblatex} package.
5782 It was designed for citations in the Humanities and offers some features
5783 that are not provided by the standard \texttt{biblatex} styles.
5784 \texttt{biblatex-dw} is dependent on \texttt{biblatex} – version 1.7
5785 needs at least version 3.3
5786 of \texttt{biblatex} and was tested with \texttt{biblatex}
5787 version 3.6 and \texttt{biber} version 2.6.},
5788 author = {Dominik Waßenhoven},
5789 date = {2016-12-06},
5790 keywords = {primaria},
5791 title = {\texttt{biblatex-dw}},
5792 url = {http://mirrors.ctan.org/macros/latex/contrib/biblatex-contrib/biblatex-dw/doc/biblatex-dw.pdf},
5793 version = {1.7}
5794 }
5795
5796 @collection{Bartocci:2007,
5797 annotation = {A collection with four authors},
5798 booksubtitle = {Protagonisti del '900 da Hilbert a Wiles},
5799 booktitle = {Vite matematiche},
5800 date = {2007},
5801 editor = {Claudio Bartocci and Renato Betti and
5802 Angelo Guerraggio and Roberto Lucchetti},
5803 langid = {italian},
5804 location = {Milano},
5805 publisher = {Springer-Verlag Italia},
5806 title = {Vite matematiche}
5807 }
5808
5809 @online{guit:sito,
5810 annotation = {The official website of the Italian \TeX\ Group},
5811 bdsk-url-1 = {http://www.guitex.org},
5812 date = {2012},
5813 langid = {italian},
5814 keywords = {web},
5815 title = {\GuIT. Gruppo degli Utilizzatori Italiani di \TeX},
5816 url = {http://www.guitex.org},
5817 urldate = {2012-01-15}
5818 }
5819 @incollection{westfahl:flying,
5820 author = {Daniele Chatelain and George Slusser},
5821 title = {Flying to the Moon in French and American Science Fiction},
5822 pages = {25-33},
5823 crossref = {westfahl:frontier},
5824 }
5825 %</bib>
5826 % \fi
5827 % \Finale