summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-03-31 21:52:19 +0000
committerKarl Berry <karl@freefriends.org>2015-03-31 21:52:19 +0000
commit6e7940cadccde3afc75ffe8951f0de8343e9d341 (patch)
tree7cf23cf67572453dd93790e97353cb11e0b81c17 /Master/texmf-dist/source/latex
parent457d3a2e5c6f29587a9272de6bb3a4853d1a0d3d (diff)
biblatex-philosophy (31mar15)
git-svn-id: svn://tug.org/texlive/trunk@36690 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.bib5
-rw-r--r--Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx350
2 files changed, 224 insertions, 131 deletions
diff --git a/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.bib b/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.bib
index d15a0822f3d..729b24ee1b6 100644
--- a/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.bib
+++ b/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.bib
@@ -7,13 +7,14 @@
%% biblatex-philosophy.dtx (with options: `bib')
%% ______________________________________________________
%% The biblatex-philosophy package
-%% Copyright (C) 2009-2014 Ivan Valbusa
+%% Copyright (C) 2009-2015 Ivan Valbusa
%% All rights reserved
%%
%% License information appended
%%
+
@INCOLLECTION{corrocher:2009,
author = {Roberto Corrocher},
title = {Riflessioni sull'uomo di fronte a nuove sfide},
@@ -873,7 +874,7 @@ for the citations.},
urldate = {2012-01-15}
}
%%
-%% Copyright 2009-2014 by Ivan Valbusa
+%% Copyright 2009-2015 by Ivan Valbusa
%%
%% This program is provided under the terms of the
%% LaTeX Project Public License distributed from CTAN
diff --git a/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx b/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx
index 114fde44f9c..e9931be08b8 100644
--- a/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx
+++ b/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx
@@ -6,7 +6,7 @@
\preamble
______________________________________________________
The biblatex-philosophy package
- Copyright (C) 2009-2014 Ivan Valbusa
+ Copyright (C) 2009-2015 Ivan Valbusa
All rights reserved
License information appended
@@ -14,7 +14,7 @@
\endpreamble
\postamble
- Copyright 2009-2014 by Ivan Valbusa
+ Copyright 2009-2015 by Ivan Valbusa
This program is provided under the terms of the
LaTeX Project Public License distributed from CTAN
@@ -69,7 +69,7 @@
\endgroup
%</internal>
%
-% Copyright (C) 2009-2014 by Ivan Valbusa
+% Copyright (C) 2009-2015 by Ivan Valbusa
% <ivan dot valbusa at univr dot it>
% -------------------------------------------------------
%
@@ -96,11 +96,12 @@
%<verbose-cbx>\ProvidesFile{philosophy-verbose.cbx}
%<italian-lbx>\ProvidesFile{italian-philosophy.lbx}
%<english-lbx>\ProvidesFile{english-philosophy.lbx}
-%<*standard-bbx|classic-bbx|modern-bbx|verbose-bbx|classic-cbx|modern-cbx|verbose-cbx|italian-lbx|english-lbx>
- [2015/03/14 v0.9i valbusa beta]
-%</standard-bbx|classic-bbx|modern-bbx|verbose-bbx|classic-cbx|modern-cbx|verbose-cbx|italian-lbx|english-lbx>
+%<spanish-lbx>\ProvidesFile{spanish-philosophy.lbx}
+%<*standard-bbx|classic-bbx|modern-bbx|verbose-bbx|classic-cbx|modern-cbx|verbose-cbx|italian-lbx|english-lbx|spanish-lbx>
+ [2015/03/31 v1.0 valbusa beta]
+%</standard-bbx|classic-bbx|modern-bbx|verbose-bbx|classic-cbx|modern-cbx|verbose-cbx|italian-lbx|english-lbx|spanish-lbx>
%<*driver>
-\documentclass{ltxdoc}
+\documentclass[12pt]{ltxdoc}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
@@ -123,9 +124,11 @@
\usepackage{metalogo}
\usepackage[final]{microtype}
\usepackage{geometry}
- \geometry{hmarginratio=1:1,a4paper,margin=2cm}
+ \geometry{hmarginratio=1:1,a4paper,margin=2cm,headheight=15pt}
\usepackage{sectsty}
\allsectionsfont{\sffamily}
+ \sectionfont{\LARGE\sffamily}
+ \subsectionfont{\Large\sffamily}
\usepackage{fancyhdr}
\fancyhf{}
\fancyhead[L]{© 2009--\the\year\quad Ivan Valbusa}
@@ -216,24 +219,15 @@
\renewcommand*{\marglistfont}{%
\color{sufred}\sffamily\displayverbfont}
\renewcommand\tableofcontents{%
-\setlength{\columnsep}{0cm}
+\setlength{\columnsep}{1cm}
{\centering
\section*{\contentsname}%
\@mkboth{\contentsname}{\contentsname}%
- \vskip-1mm
}
\thispagestyle{empty}
- \begin{mdframed}[
- align=center,
- userdefinedwidth=15.2cm
- linewidth=0.5mm,
- backgroundcolor=white,
- linecolor=sufred,
- innertopmargin=-5pt]
\begin{multicols}{2}
\@starttoc{toc}%
\end{multicols}
- \end{mdframed}
}
\makeatother
@@ -254,6 +248,8 @@
\newcommand{\emphasize}[1]{\textcolor{teal}{#1}}
+ \setcounter{section}{-1}
+
\EnableCrossrefs
\CodelineIndex
\RecordChanges
@@ -265,7 +261,7 @@
%</driver>
% \fi
%
-% \CheckSum{3407}
+% \CheckSum{3550}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -283,6 +279,7 @@
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
+% \changes{v1.0}{2015/03/31}{Corrected 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}
% \changes{v0.9i}{2015/03/14}{Corrected a bug with \opt{shorthandintro} option.}
% \changes{v0.9h}{2015/01/14}{New option \opt{lowscauthors}. Corrected some bugs. Updated documentation.}
% \changes{v0.9g}{2014/12/12}{Added localization module for spanish. Corrected a bug in \bibtype{inbook} and \bibtype{incollection} entries when using \bibfield{crossref} field. Updated documentation.}
@@ -335,49 +332,51 @@
%
%
% \title{%
-% \vspace{-1.5cm}
-% {\Huge\color{sufred}\bfseries User's Guide to \textsf{biblatex-philosophy}\\}
-% {\normalsize\itshape Bibliography styles for (Italian) users of~\textsf{biblatex}\\[3ex]}
+% {\fontsize{32}{34}\color{sufred}\bfseries User's Guide to \textsf{biblatex-philosophy}\\[3mm]}
+% {\large\itshape Bibliography styles for (Italian) users of~\textsf{biblatex}\\[3ex]}
% \normalsize\fileversion{} -- \filedate}
% \author{Ivan Valbusa\\
-% \small Dipartimento di Filosofia, Pedagogia e Psicologia\\[-0.2ex]
+% \small Dipartimento di Filologia, Letteratura e Linguistica\\[-0.2ex]
% \small Università degli Studi di Verona\\
% \footnotesize\texttt{ivan dot valbusa at univr dot it}}
% \date{}
%
-%
% \maketitle
-%
+% \thispagestyle{empty}
%
%\begin{abstract}
-% This package provides a small collection of bibliography and citation styles for use with Philipp Lehman's \sty{biblatex} package. The styles follow the most popular conventions of the Italian publications but can be used in other languages too. They offer some useful features to compose detailed bibliographic entries including the translation data of foreign texts, annotations etc. Many options allow you to change the style defaults.
+%\noindent This package provides a small collection of bibliography and citation styles for use with Philipp Lehman's \sty{biblatex} package. These styles aim to match the needs of the Italian writers, particularly those concerned in the humanities (for example the comma is used to distinguish the units of the entry). They offer some useful features to compose detailed bibliographic entries including the translation data of foreign texts, annotations etc. Many options allow you to change the style defaults. Only the Italian, English and Spanish localization is available for now but you can use the styles with all the languages supported by \sty{babel} (or \sty{polyglossia}) adding simple redefinitions.
% \end{abstract}
%
% \tableofcontents
%
+% \vfill
+%
%\section*{Copyright notice}
%
%Copyright \copyright\ 2009-\the\year{} Ivan Valbusa. This package is author-maintained.
%Permission is granted to copy, distribute and/or modify this software under the
%terms of the LaTeX Project Public License, version 1.3c ora later (\url{http://latex-project.org/lppl}). This software is provided ''as is'', without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose.
%
-%\section*{A brief history}
%
-%The firs step toward the creation of the \sty{philosophy-modern} style was the request of Lorenzo Pantieri in the \GuIT{} Forum: \url{http://www.guit.sssup.it/phpbb/viewtopic.php?t=6472}.\footnote{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 \LaTeX{} \parencite{pantieri:artelatex}.
%
-% \section*{Acknowledgements}
+%\subsection*{Feedback}
%
-% {\itshape I would like to thank who took part in the debate on {\fontfamily{cmr}\upshape\selectfont\GuIT{}} Web site 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}.
-% }
%
+%If you have any questions, feedback or requests please email me.
+%My mail address is at the top of this document. If you need specific features not already implemented, remember to attach the example files.
%
%
-%\subsection*{Feedback}
+% \clearpage
%
+%\section*{A brief history}
%
-%If you have any questions, feedback or requests please email me.
-%My mail address is at the top of this document. If you need specific features not already implemented, remember to attach the example files.
+%The firs step toward the creation of the \sty{philosophy-modern} style was the request of Lorenzo Pantieri in the \GuIT{} Forum: \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 \LaTeX{} \parencite{pantieri:artelatex}.
%
+% \bigskip
+%
+% {\itshape\noindent I would like to thank who took part in the debate on {\fontfamily{cmr}\upshape\selectfont\GuIT{}} Web site 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}.
+% }
%
%\section{Use}
%
@@ -389,7 +388,7 @@
%\cmd{usepackage}\oar{style=philosophy-\meta{style},backend=biber}\ar{biblatex}\\
%\mbox{}\quad \cmd{addbibresource}\ar{\meta{bibfile}.bib}
%\end{ttquote}
-%Replace \meta{style} with \sty{classic}, \sty{modern} or \sty{verbose}, and \meta{bibfile} with the name of your bibliography file (``.bib'' must be declared). See the example files in the \texttt{texmf-dist/doc/latex/biblatex-philosophy/examples.zip} folder.
+%Replace \meta{style} with \sty{classic}, \sty{modern} or \sty{verbose}, and \meta{bibfile} with the name of your bibliography file (``.bib'' must be declared). See the example files in the \texttt{texmf-dist/doc/latex/ biblatex-philosophy/examples.zip} folder.
%
%To uniform the style of quotation marks in multilingual bibliographies typeset using the \opt{babel=other} package option, you can use the following commands:
%\begin{verbatim}
@@ -398,18 +397,12 @@
%\DeclareQuoteAlias{italian}{...}
%\end{verbatim}
%
-%\noindent\textcolor{sufred}{\lefthand{} The \sty{philosophy} styles require \bin{biber} so remember to configure your editor properly. If you prefer \bin{bibtex} you have to declare it with the \opt{backend=bibtex} option but some bibliography drivers
+%\noindent\textcolor{sufred}{\lefthand{} The \sty{philosophy} styles require \bin{biber} so remember to configure your editor to use it. If you prefer \bin{bibtex} you have to declare it with the \opt{backend=bibtex} option but some bibliography drivers
% will not work properly.}
%
%
%\section{Syles features}\label{sec:introduction}
%
-%
-%This package provides two author-year bibliography styles suitable for both text and footnotes citations (\sty{philosophy-classic} and \sty{philosophy-modern}; henceforth \sty{classic} e \sty{modern}) and a verbose style appropriate for bibliographies supplied in the footnotes (\sty{philosophy-verbose}; henceforth \sty{verbose}).
-%
-%These styles aim to match the needs of the Italian writers, particularly those concerned in the humanities (for example the comma is used to distinguish the units of the entry). Only the English and Italian support is available for now but you can use the styles with all the languages supported by \sty{babel} (or \sty{polyglossia}) adding simple redefinitions in the preamble of your document (section \ref{sec:languages}).
-%
-%
%\subsection[\sty{philosophy-classic}]{The \sty{philosophy-classic} style}
%
%
@@ -496,7 +489,7 @@
%
%
%
-%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[\lefthand][]{Poincare:1968-ORIG}.\footnote{Previous versions of the styles provided a different mechanism to manage translations. This feature is now deprecated and it is still supported only for backward compatibility. See section \ref{sec:origfields} for details.}
+%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[\lefthand][]{Poincare:1968-ORIG}. Previous versions of the styles provided a different mechanism to manage translations. This feature is now deprecated and it is still supported only for backward compatibility. See section \ref{sec:origfields} for details.
% \begin{bibexample}
% Jules-Henri Poincaré (1968), \emph{La science et l'hypothèse}, Flammarion, Paris; trans. as \emph{La scienza e l'ipotesi}, ed. by Corrado Sinigaglia, Bompiani, Milano 2003.
% \end{bibexample}
@@ -648,9 +641,9 @@
%\optitem[semicolon]{relatedformat}{\opt{semicolon}, \opt{parens}, \opt{brackets}}
%\begin{valuelist}
%\item[semicolon]
-%The ``related'' entry data are preceded by a semicolon.
+%The ``related'' entry is preceded by a semicolon.
%\item[parens]
-%Puts the ``related'' entry data data in parentheses.
+%Puts the ``related'' entry in parentheses.
%\item[brackets]
%Same as the previous option but with brackets.
%\end{valuelist}
@@ -663,7 +656,7 @@
% Kant (1968a [\emphasize{henceforth cited as KpV}])
% \end{bibexample}
%
-% \item[false] Does not print the intro to the shorthand. This option requires a list of shorthands (\cmd{printshorthand} command).
+% \item[false] Does not print the intro to the shorthand. Obviously, this option requires a list of shorthands (\cmd{printshorthand} command).
% \end{valuelist}
%
%\boolitem[false]{scauthors}
@@ -692,7 +685,7 @@
% \item[loccolonpub] Oxford: Oxford University Press, 2007
% \end{valuelist}
%
-%\optitem[plain]{volnumformat}{\opt{strings}, \opt{parens}, \opt{default}}
+%\optitem[plain]{volnumformat}{\opt{strings}, \opt{parens}, \opt{plain}}
%This option provides three styles for typesetting the ``volume/number'' block in \bibtype{article} entries.
%\begin{valuelist}
% \item[plain]
@@ -712,7 +705,7 @@
% \ldots\ \emph{Journal Title} (\textsc{V}/8), \ldots
%\end{bibexample}}
%
-%\optitem[arabic]{volumeformat}{\opt{roman}, \opt{romanupp}, \opt{romansc}, \opt{arabic}}
+%\optitem[arabic]{volumeformat}{\opt{arabic}, \opt{roman}, \opt{romansc}, \opt{Roman}}
%This option provides three styles for typesetting the \bibfield{volume} field:
% \begin{valuelist}
% \item[arabic]
@@ -721,7 +714,7 @@
% \ldots \emph{Book Title}, vol. iv, \ldots
% \item[romansc]
% \ldots \emph{Book Title}, vol. \textsc{xi}, \ldots
-% \item[romanupp]
+% \item[Roman]
% \ldots \emph{Book Title}, vol. X, \ldots
% \end{valuelist}
%
@@ -733,7 +726,7 @@
%\end{latexcode}
%you can restore the default format for all but \bibtype{article} entries.
%
-%\optitem[arabic]{editionformat}{\opt{roman}, \opt{romanupp}, \opt{romansc}, \opt{arabic}}
+%\optitem[arabic]{editionformat}{\opt{arabic}, \opt{roman}, \opt{romansc}, \opt{Roman}}
%This option provides three styles for typesetting the \bibfield{edition} field:
% \begin{valuelist}
% \item[arabic]
@@ -742,7 +735,7 @@
% \ldots \emph{Book Title}, iii ed., \ldots
% \item[romansc]
% \ldots \emph{Book Title}, \textsc{xi} ed., \ldots
-% \item[romanupp]
+% \item[Roman]
% \ldots \emph{Book Title}, X ed., \ldots
% \end{valuelist}
%
@@ -755,9 +748,12 @@
%\boolitem[true]{library}
%Shows the \bibfield{library} field, both in the bibliography and in the citations (see also section \ref{sec:specific-fields}).
%
-%\boolitem[true]{classical}
-% 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 but it remains useless.
+%\boolitem[false]{classical}
+%
+% [only for Italian and Spanish documents] It requires \sty{babel} or \sty{polyglossia}.
%
+% 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.
+%
% \end{optionlist}
%
%\subsection{Style-specific options}
@@ -772,12 +768,21 @@
%
% \begin{optionlist}
%\boolitem[false]{square}
+%
%Uses brackets instead of parentheses in the citations and in the author-year label used in the bibliography.
%
+%\boolitem[true]{nodate} Prints the \texttt{nodate} string when \bibfield{year} or \bibfield{date} is missing.
+%
%\boolitem[false]{yearleft}
+%
+% [\sty{philosophy-modern} only]
+%
%Prints the date flushed left in the bibliography.
%
%\boolitem[true]{restoreclassic}
+%
+% [\sty{philosophy-modern} only]
+%
%This option can be given as an optional argument of \cmd{printbibliography}:
%\begin{latexcode}
%\begin{verbatim}
@@ -785,7 +790,6 @@
%\end{verbatim}
%\end{latexcode}
%It restores the \sty{classic} style in a document typeset using the \sty{modern} style. It is useful to compose a ``Web List'' like that at the end of this document (active only for the \sty{philosophy-modern}).
-%\boolitem[true]{nodate} Prints the \texttt{nodate} string when \bibfield{year} or \bibfield{date} is missing.
%
% \end{optionlist}
%
@@ -848,7 +852,6 @@
%
%\section{New lengths}\label{sec:lengths}
%
-% \enlargethispage{-2\baselineskip}
%
%The new lengths described in this section are defined only for the \sty{modern} style. For the other customizable lengths see the \sty{biblatex} documentation \parencite{lehman:biblatex}.
%
@@ -934,7 +937,8 @@
%
%\subsection{Deprecated fields}\label{sec:origfields}
%
-%The following fields can hold the translation or the original edition data. They are precede by the string ``trans.'' or ``orig. ed.'', respectively according to the \opt{origfields=trans} (default) or \opt{origfields=origed} option (see below).
+%The following fields can hold the translation or the original edition data. They are precede by the string ``trans.'' or ``orig. ed.'', respectively according to the \opt{origfields=trans} (default) or \opt{origfields=origed} option (see below). Note that the \bibfield{origdate/transdate} field is needed in order to print these fields. Contrarily they will be ignored.
+
%
%\begin{fieldlist}
%
@@ -994,8 +998,6 @@
%\end{fieldlist}
%
%
-%\paragraph{Warning}
-%The \bibfield{origdate/transdate} is needed in order to print these fields. Contrarily they will be ignored.
%
%\subsection{Deprecated options}
%
@@ -1226,7 +1228,7 @@
\newcommand*{\annotationfont}{\footnotesize}
\newcommand*{\libraryfont}{}
\newcommand*{\editionfont}{%
- \ifdefstring{\bbx@editionformat}{romanupp}
+ \ifdefstring{\bbx@editionformat}{Roman}
{\uppercase}%
{\ifdefstring{\bbx@editionformat}{romansc}
{\scshape}%
@@ -1256,16 +1258,39 @@
\DeclareFieldFormat{library}{\libraryfont #1}
\DeclareFieldFormat{backrefparens}{\mkpureparens{#1}}
\DeclareFieldFormat{pureparens}{\mkpureparens{#1}}
-\DeclareFieldFormat*{volume}{%
+
+\def\optionerror#1{%
+\ClassError{biblatex-philosophy}
+ {\MessageBreak**** Unknown value for '#1' option}
+ {\MessageBreak**** Unknown value for '#1' option}
+}
+
+\DeclareFieldFormat{volume}{%
\bibstring{volume}~%
\ifinteger{#1}{%
\ifdefstring{\bbx@volumeformat}{arabic}%
{#1}%
- {\ifdefstring{\bbx@volumeformat}{romanupp}%
+ {\ifdefstring{\bbx@volumeformat}{Roman}%
+ {\RN{#1}}%
+ {\ifdefstring{\bbx@volumeformat}{romansc}%
+ {\textsc{\Rn{#1}}}%
+ {\ifdefstring{\bbx@volumeformat}{roman}%
+ {\Rn{#1}}{\optionerror{volumeformat}}}}}}{#1}}
+
+\DeclareFieldFormat[article]{volume}{%
+\ifdefstring{\bbx@volnumformat}{strings}
+ {\bibstring{volume}~}%
+ {}%
+ \ifinteger{#1}{%
+ \ifdefstring{\bbx@volumeformat}{arabic}%
+ {#1}%
+ {\ifdefstring{\bbx@volumeformat}{Roman}%
{\RN{#1}}%
{\ifdefstring{\bbx@volumeformat}{romansc}%
{\textsc{\Rn{#1}}}%
- {#1}}}}{#1}}
+ {\ifdefstring{\bbx@volumeformat}{roman}%
+ {\Rn{#1}}{\optionerror{volumeformat}}}}}}{#1}}
+
\DeclareFieldFormat*{number}{%
\ifdefstring{\bbx@volnumformat}{strings}{%
\bibstring{number}~#1}{#1}}
@@ -1277,18 +1302,21 @@
\ifinteger{#1}{%
\ifdefstring{\bbx@editionformat}{arabic}
{\mkbibordedition{#1}~\bibstring{edition}}
- {\ifdefstring{\bbx@editionformat}{romanupp}%
+ {\ifdefstring{\bbx@editionformat}{Roman}%
{\RN{#1}~\bibstring{edition}}%
{\ifdefstring{\bbx@editionformat}{romansc}%
{\textsc{\Rn{#1}}~\bibstring{edition}}%
- {\mkbibordedition{#1}~\bibstring{edition}}}}}
+ {\ifdefstring{\bbx@editionformat}{roman}%
+ {\Rn{#1}~\bibstring{edition}}
+ {\optionerror{editionformat}}}}}}
{#1}}%\isdot??
\DeclareFieldFormat{related}{%
\ifdefstring{\bbx@relatedformat}{parens}%
{\mkpureparens{#1}}%
{\ifdefstring{\bbx@relatedformat}{brackets}%
{\mkbibbrackets{#1}}%
- {\printtext{\addsemicolon\space}#1}}}%
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {#1}{\optionerror{relatedformat}}}}}%
% \end{macrocode}
% \subsubsection{The \opt{orig-} macros (deprecated)}
% These macros are provided for backward compatibility.
@@ -1514,7 +1542,9 @@
{\usebibmacro{volnumstrings}}%
{\ifdefstring{\bbx@volnumformat}{parens}
{\usebibmacro{volnumparens}}%
- {\usebibmacro{volnumdefault}}}%
+ {\ifdefstring{\bbx@volnumformat}{plain}
+ {\usebibmacro{volnumdefault}}%
+ {\optionerror{volnumformat}}}}%
\setunit{\addcomma\space}%
\printfield{eid}}
@@ -1553,21 +1583,24 @@
{\usebibmacro{loccolonpub}}
{\ifdefstring{\bbx@publocformat}{locpubyear}
{\usebibmacro{locpubyear}}
- {\usebibmacro{publocyear}}}}
+ {\ifdefstring{\bbx@publocformat}{publocyear}%
+ {\usebibmacro{publocyear}}{\optionerror{publocformat}}}}}
\renewbibmacro*{institution+location+date}{%
\ifdefstring{\bbx@publocformat}{loccolonpub}
{\usebibmacro{inloccolonpub}}
{\ifdefstring{\bbx@publocformat}{locpubyear}
{\usebibmacro{inlocpubyear}}
- {\usebibmacro{inpublocyear}}}}
+ {\ifdefstring{\bbx@publocformat}{publocyear}%
+ {\usebibmacro{inpublocyear}}{\optionerror{publocformat}}}}}
\renewbibmacro*{organization+location+date}{%
\ifdefstring{\bbx@publocformat}{loccolonpub}
{\usebibmacro{orgloccolonpub}}
{\ifdefstring{\bbx@publocformat}{locpubyear}
{\usebibmacro{orglocpubyear}}
- {\usebibmacro{orgpublocyear}}}}
+ {\ifdefstring{\bbx@publocformat}{publocyear}%
+ {\usebibmacro{orgpublocyear}}{\optionerror{publocformat}}}}}
\newbibmacro*{library}{%
\iftoggle{bbx:library}{%
@@ -1720,8 +1753,8 @@
\iffieldundef{relatedstring}%
{\bibstring{translationas}\space}%
{\setunit{\bibstring{translationas}\space}}%
- \renewcommand*{\mkpureparens}{}%
- \renewcommand*{\mkbibbrackets}{}%
+ \renewcommand*{\mkpureparens}{\unspace\addsemicolon\space}%horrible trick
+ \renewcommand*{\mkbibbrackets}{\unspace\addsemicolon\space}%horrible trick
\relatedcite{\thefield{related}}}
% \end{macrocode}
% \subsubsection{Bibliography drivers}
@@ -1755,12 +1788,14 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate:article-inbook-incoll}%MOD
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}{\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
- \newunit\newblock
+ \newunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}}
@@ -1803,10 +1838,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -1840,10 +1878,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -1886,10 +1927,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -1948,10 +1992,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate:article-inbook-incoll}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -2008,10 +2055,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate:article-inbook-incoll}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -2070,10 +2120,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate:article-inbook-incoll}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -2117,10 +2170,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -2152,10 +2208,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -2189,10 +2248,13 @@
\usebibmacro{url+urldate}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -2227,10 +2289,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -2256,10 +2321,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -2304,10 +2372,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -2345,10 +2416,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -2382,10 +2456,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -2413,10 +2490,13 @@
{}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -2607,10 +2687,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate:juris}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -3293,10 +3376,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -3338,10 +3424,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
- \setunit{\addsemicolon\space}\newblock
+ \newblock
\iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
+ {\ifdefstring{\bbx@relatedformat}{semicolon}%
+ {\setunit{\addsemicolon\space}}%
+ {\setunit{\unspace\space}}%horrible trick
+ \usebibmacro{related:init}%
+ \usebibmacro{related}}%
{}%
\newunit\newblock
\usebibmacro{pageref}%
@@ -4051,6 +4140,9 @@
%<*spanish-lbx>
% \fi
% \begin{macrocode}
+%
+%^^A Thanks to Eduardo Villegas for these translations.
+%
\InheritBibliographyExtras{spanish}
\DeclareBibliographyExtras{%