summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/biblatex-philosophy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-12-13 23:37:51 +0000
committerKarl Berry <karl@freefriends.org>2014-12-13 23:37:51 +0000
commit6e60746f3bb4513d40f0802d177e7f11587680a2 (patch)
treebcd605b396159dd9c6e0efc33c9050ad2871ba97 /Master/texmf-dist/source/latex/biblatex-philosophy
parent5e50ecb7f3e0b46f293e54cb46edc7dc7fd9ffdc (diff)
biblatex-philosophy (13dec14)
git-svn-id: svn://tug.org/texlive/trunk@35816 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/biblatex-philosophy')
-rw-r--r--Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.bib20
-rw-r--r--Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx238
2 files changed, 215 insertions, 43 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 96c193847f7..d15a0822f3d 100644
--- a/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.bib
+++ b/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.bib
@@ -72,9 +72,7 @@ has been cited},
pages = {43-69},
annote = {Note that the \texttt{@collection} data (inherited from the \texttt{crossref}
field) are printed inside the \texttt{@incollection} entry because
-this is the the only \texttt{@incollection} cited from that \texttt{@collection}
-
-},
+this is the the only \texttt{@incollection} cited from that \texttt{@collection}},
crossref = {Berti:1977},
date-added = {2009-09-29 11:29:32 +0200},
date-modified = {2013-03-15 16:49:38 +0100},
@@ -123,7 +121,7 @@ this is the the only \texttt{@incollection} cited from that \texttt{@collection}
booktitle = {The Stanford Encyclopedia of Philosophy},
editor = {Edward N. Zalta},
edition = {Fall 2009},
- annote = {An article published in a online ecnyclopedia.},
+ annote = {An article published in a online ecnyclopedia},
date = {2009},
date-modified = {2013-03-15 16:29:59 +0100},
keywords = {esempio},
@@ -696,8 +694,8 @@ del concetto greco di filosofia''},
@INCOLLECTION{Valbusa:2007,
author = {Ivan Valbusa},
- title = {Psicologia e sistema in Alsted e in Wolffnn},
- booktitle = {Christian Wolff tra psi\-co\-lo\-gia empirica e psicologia razionale},
+ title = {Psicologia e sistema in Alsted e in Wolff},
+ booktitle = {Christian Wolff tra psicologia empirica e psicologia razionale},
publisher = {Georg Olms Verlag},
editor = {Ferdinando Luigi Marcolungo},
date = {2007},
@@ -709,7 +707,7 @@ del concetto greco di filosofia''},
}
@ONLINE{wassenhoven:dw,
- annote = {A small collection of styles for the biblatex pack- age. It was designed
+ annote = {A small collection of styles for the biblatex package. It was designed
for citations in the Humanities and offers some features that are
not provided by the standard biblatex styles.},
author = {Dominik Waßenhoven},
@@ -723,7 +721,7 @@ not provided by the standard biblatex styles.},
}
@COLLECTION{Bartocci:2007,
- annote = {A collection with four authors.},
+ annote = {A collection with four authors},
booksubtitle = {Protagonisti del '900 da Hilbert a Wiles},
booktitle = {Vite matematiche},
date = {2007},
@@ -768,9 +766,7 @@ Lucchetti},
@COLLECTION{Filmed:2009,
annote = {A collection with four editors. The list is automatically truncated
-in the citations
-
-},
+in the citations},
booktitle = {Filosofia delle medicina},
date = {2009},
date-added = {2009-09-27 23:05:08 +0200},
@@ -801,7 +797,7 @@ and Marco Trabucchi},
@MVREFERENCE{britannica,
annote = {A multivolume encyclopedia. Note the \texttt{useeditor=false} option
-and \texttt{indextitle} field.},
+and \texttt{indextitle} field},
booktitle = {The New Encyclopædia Britannica},
date = {2003},
date-added = {2010-03-10 17:46:47 +0100},
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 116a7f3cb43..5372a555a0f 100644
--- a/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx
+++ b/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx
@@ -39,6 +39,7 @@
\file{philosophy-verbose.cbx}{\from{biblatex-philosophy.dtx}{verbose-cbx}}
\file{italian-philosophy.lbx}{\from{biblatex-philosophy.dtx}{italian-lbx}}
\file{english-philosophy.lbx}{\from{biblatex-philosophy.dtx}{english-lbx}}
+\file{spanish-philosophy.lbx}{\from{biblatex-philosophy.dtx}{spanish-lbx}}
\file{biblatex-philosophy.bib}{\from{biblatex-philosophy.dtx}{bib}}
}
@@ -56,6 +57,7 @@
\Msg{* \space\space philosophy-verbose.cbx}
\Msg{* \space\space italian-philosophy.lbx}
\Msg{* \space\space english-philosophy.lbx}
+\Msg{* \space\space spanish-philosophy.lbx}
\Msg{*}
\Msg{*}
\Msg{* To produce the documentation run}
@@ -133,7 +135,7 @@
\fancyhead[R]{\thepage}
\pagestyle{fancy}
\usepackage[framemethod=TikZ]{mdframed}
- \mdfsetup{roundcorner=3pt,linecolor=olive,linewidth=.1pt}
+ \mdfsetup{roundcorner=3pt,linecolor=olive}
% New commands
\def\suftesi{\textsf{suftesi}}
\newcommand{\argstyle}{\itshape}
@@ -263,7 +265,7 @@
%</driver>
% \fi
%
-% \CheckSum{3125}
+% \CheckSum{3374}
%
% \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
@@ -281,6 +283,7 @@
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
+% \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.}
% \changes{v0.9f}{2014/03/28}{Updated documentation. Corrected a bug in the \opt{volnumformat} option.}
% \changes{v0.9e}{2014/02/12}{Maintenance release. Updated documentation.}
% \changes{v0.9d}{2013/11/13}{Maintenance release. Corrected some bugs.}
@@ -579,8 +582,7 @@
%
%\section[Languages]{Using the styles with other languages}\label{sec:languages}
%
-%
-%The \sty{philosophy} styles can be used for both Italian and English documents simply loading the \sty{babel} package (or \sty{polyglossia}).
+% The languages currently supported by this package are Italian, English and Spanish.
%
%In order to use the styles with different languages, you have to define in the preamble of your document all the string not defined in the localization file of the language loaded. This is a sample code for using the styles in german documents:
%\begin{latexcode}
@@ -594,7 +596,7 @@
% reviewof = {...}}
%\end{verbatim}
%\end{latexcode}
-%
+% Another approach is to use the \cmd{DeclareLanguageMapping} command. See the documentation of the \sty{biblatex} package for details.
%
%
%\section{Style-specific fields}\label{sec:specific-fields}
@@ -1039,7 +1041,7 @@
%of your \TeX Live installation.}
%
%\printbibliography[keyword=primaria,restoreclassic]
-%\printbibliography[title=Examples,keyword=esempio,prenote={notaesempio-english},nottype=online]
+%\printbibliography[title=Examples,nottype=online]
%
%\nocite{ctan,guit:sito}
%\printbibliography[title=Web List,keyword=web,type=online,restoreclassic]
@@ -1065,6 +1067,7 @@
% \begin{macrocode}
\DeclareLanguageMapping{italian}{italian-philosophy}
\DeclareLanguageMapping{english}{english-philosophy}
+\DeclareLanguageMapping{spanish}{spanish-philosophy}
% \end{macrocode}
% \subsubsection{Global options}
% \begin{macrocode}
@@ -1155,7 +1158,7 @@
\renewcommand{\mkbibnameaffix}{\textsc}%
\ifnumequal{\value{listcount}}{1}
{\iffirstinits
- {\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}
+ {\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}%
{\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}%
\ifblank{#3#5}
{}
@@ -1193,7 +1196,7 @@
% \paragraph{Indexing}
% \begin{macrocode}
\renewbibmacro*{citeindex}{%
-\ifciteindex{\indexnames{labelname}}{}}
+\ifciteindex{\indexnames{labelname}}{}}%
\renewbibmacro*{bibindex}{%
\ifbibindex{\indexnames{author}%
\indexnames{editor}%
@@ -1680,7 +1683,7 @@
\renewbibmacro*{author/editor}{\usebibmacro{bbx:savehash}}%
\renewbibmacro*{author}{\usebibmacro{bbx:savehash}}%
\renewbibmacro*{editor}{\usebibmacro{bbx:savehash}}%
- \renewcommand*{\labelnamepunct}{}}
+ \renewcommand*{\labelnamepunct}{}}%
\DeclareCiteCommand{\relatedcite}
{}%
@@ -3189,6 +3192,100 @@
% \end{macrocode}
% \subsubsection{Internal commands for crossreferences}
% \begin{macrocode}
+\newbibmacro*{usedriver:book}{%
+\renewbibmacro*{bbx:savehash}{}%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor+others/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\addsemicolon\space}\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ }
+\newbibmacro*{usedriver:collection}{%
+\renewbibmacro*{bbx:savehash}{}%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{editor+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\addsemicolon\space}\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ }
\DeclareCiteCommand{\bbx@crossref@inbook}%
{}%
{\ifciteseen{%
@@ -3200,9 +3297,8 @@
\iftoggle{cbx:commacit}{\setunit{\addcomma\space}}%
{\setunit{\addspace\midsentence}}%
\bibstring{cited}}}%
- {\usedriver{%
- \DeclareNameAlias{sortname}{default}}%
- {\thefield{entrytype}}}}%
+ {\DeclareNameAlias{sortname}{default}%
+ \usebibmacro{usedriver:book}}}%
{}%
{}%
\DeclareCiteCommand{\bbx@crossref@incollection}%
@@ -3218,11 +3314,44 @@
\iftoggle{cbx:commacit}{\setunit{\addcomma\space}}%
{\setunit{\addspace\midsentence}}%
\bibstring{cited}}}%
- {\usedriver{%
- \DeclareNameAlias{sortname}{default}}%
- {\thefield{entrytype}}}}%
+ {\DeclareNameAlias{sortname}{default}%
+ \usebibmacro{usedriver:collection}}}%
{}%
{}%
+%\DeclareCiteCommand{\bbx@crossref@inbook}%
+% {}%
+% {\ifciteseen{%
+% \ifthenelse{\value{listtotal}=2}%
+% {\printnames[][-\value{maxnamesincross}]{labelname}}%
+% {\printnames[][-\value{minnamesincross}]{labelname}}%
+% \setunit*{\addcomma\space}\printtext{%
+% \printfield[citetitle]{labeltitle}%
+% \iftoggle{cbx:commacit}{\setunit{\addcomma\space}}%
+% {\setunit{\addspace\midsentence}}%
+% \bibstring{cited}}}%
+% {\usedriver{%
+% \DeclareNameAlias{sortname}{default}}%
+% {\thefield{entrytype}}}}%
+% {}%
+% {}%
+%\DeclareCiteCommand{\bbx@crossref@incollection}%
+% {}%
+% {\ifciteseen{%
+%\ifthenelse{\value{listtotal}=2}%
+% {\printnames[][-\value{maxnamesincross}]{labelname}}%
+% {\printnames[][-\value{minnamesincross}]{labelname}}%
+% \setunit{\addspace}%
+% \usebibmacro{editorstrg}%
+% \setunit*{\addcomma\space}\printtext{%
+% \printfield[citetitle]{labeltitle}%
+% \iftoggle{cbx:commacit}{\setunit{\addcomma\space}}%
+% {\setunit{\addspace\midsentence}}%
+% \bibstring{cited}}}%
+% {\usedriver{%
+% \DeclareNameAlias{sortname}{default}}%
+% {\thefield{entrytype}}}}%
+% {}%
+% {}%
% \end{macrocode}
% \iffalse
%</verbose-bbx>
@@ -3266,7 +3395,7 @@
\usebibmacro{name:last}{#1}{#3}{#5}{#7}%
\or
\ifuseprefix
- {\usebibmacro{name:first-last}{#1}{#4}{#5}{#8}}
+ {\usebibmacro{name:first-last}{#1}{#4}{#5}{#8}}%
{\usebibmacro{name:first-last}{#1}{#4}{#6}{#8}}%
\or
\usebibmacro{name:first-last}{#1}{#3}{#5}{#7}%
@@ -3782,9 +3911,10 @@
% \fi
% \begin{macrocode}
\InheritBibliographyExtras{italian}
+
\DeclareBibliographyExtras{%
\protected\def\bibrangedash{%
- -\penalty\hyphenpenalty}% breakable dash
+ -\penalty\hyphenpenalty}%
\protected\def\bibdatedash{\textendash}}%
\NewBibliographyString{origed,cited}
@@ -3841,7 +3971,7 @@
\DeclareBibliographyExtras{%
\protected\def\bibrangedash{%
- -\penalty\hyphenpenalty}% breakable dash
+ -\penalty\hyphenpenalty}%
\protected\def\bibdatedash{\textendash}}%
\NewBibliographyString{cited,origed}
@@ -3858,11 +3988,61 @@
reviewof = {{Review of}{Review of}},
translationas = {{trans\adddot}{trans\adddot}},
backrefpage = {{cited on page}{cited on p\adddot}},
- backrefpages = {{cited on pages}{cited on pp\adddot}}}
+ backrefpages = {{cited on pages}{cited on pp\adddot}}
+ }
% \end{macrocode}
% \iffalse
%</english-lbx>
% \fi
+% \subsection{\file{spanish-philosophy.lbx}}
+% Thanks to Eduardo Villegas for these translations.
+% \iffalse
+%<*spanish-lbx>
+% \fi
+% \begin{macrocode}
+\InheritBibliographyExtras{spanish}
+
+\DeclareBibliographyExtras{%
+\protected\def\bibrangedash{%
+ -\penalty\hyphenpenalty}%
+ \protected\def\bibdatedash{\textendash}}%
+
+\NewBibliographyString{origed,cited}
+
+\DeclareBibliographyStrings{%
+ inherit = {spanish},
+ cited = {{cit\adddot}{cit\adddot}},
+ opcit = {{op\adddot cit\adddot}{op\adddot cit\adddot}},
+ ibidem = {{ivi}{ivi}},
+ loccit = {{ibidem}{ibidem}},
+ origed = {{edici\'{o}n original}{ed\adddot orig\adddot}},
+ langspanish = {{espa\~{n}ol}{es\adddot}},
+ editor = {{\mkpureparens{ed\adddot}}{\mkpureparens{ed\adddot}}},
+ editors = {{\mkpureparens{ed\adddot}}{\mkpureparens{eds\adddot}}},
+ backrefpage = {{Citado en la p\'{a}gina}{Citado en la \bibstring{page}\adddot}}, %%FIXME: Maiuscola iniziale?
+ backrefpages = {{Citado en las p\'{a}ginas}{Citado en las \bibstring{pages}\adddot}}, %%FIXME: Maiuscola iniziale?
+ pages = {{p\'aginas}{\iftoggle{bbx:classical}{p\'ags\adddot}{p\'ag\adddot}}},
+ columns = {{columnas}{\iftoggle{bbx:classical}{cols\adddot}{col\adddot}}},
+ lines = {{l\'ineas}{\iftoggle{bbx:classical}{ll\adddot}{l\adddot}}},
+ verses = {{versos}{\iftoggle{bbx:classical}{vv\adddot}{v\adddot}}},
+ volumes = {{vol\'uumenes}{\iftoggle{bbx:classical}{vols\adddot}{vol\adddot}}},
+ withcommentator = {{comentarios de}{com\adddot\addabbrvspace de}},
+ withannotator = {{notas de}{notas de}},
+ withintroduction = {{introducci\'{o}n de}{intr\adddotspace de}},
+ withforeword = {{prefacio de}{pref\adddotspace de}},
+ withafterword = {{postfacio de}{postfacio de}},
+ reprintas = {{reimpresi\'{o}n}{reimp\adddot}},
+ translationof = {{traducci\'{o}n al espa\~{n}ol de}{trad\adddotspace de}},
+ translationas = {{traducido al espa\~{n}ol como}{trad\adddotspace es\adddot}},
+ reviewof = {{Rese\~{n}a de}{Rese\~{n}a de}}, %%FIXME: Maiuscola iniziale?
+ section = {{secci\'{o}n}{sec\adddot}},
+ sections = {{secciones}{\iftoggle{bbx:classical}{secs\adddot}{sec\adddot}}},
+ byreviser = {{revisi\'{o}n de}{rev\adddotspace de}}
+}
+% \end{macrocode}
+% \iffalse
+%</spanish-lbx>
+% \fi
% \iffalse
%<*bib>
@@ -3924,9 +4104,7 @@
pages = {43-69},
annote = {Note that the \texttt{@collection} data (inherited from the \texttt{crossref}
field) are printed inside the \texttt{@incollection} entry because
- this is the the only \texttt{@incollection} cited from that \texttt{@collection}
-
- },
+ this is the the only \texttt{@incollection} cited from that \texttt{@collection}},
crossref = {Berti:1977},
date-added = {2009-09-29 11:29:32 +0200},
date-modified = {2013-03-15 16:49:38 +0100},
@@ -3975,7 +4153,7 @@
booktitle = {The Stanford Encyclopedia of Philosophy},
editor = {Edward N. Zalta},
edition = {Fall 2009},
- annote = {An article published in a online ecnyclopedia.},
+ annote = {An article published in a online ecnyclopedia},
date = {2009},
date-modified = {2013-03-15 16:29:59 +0100},
keywords = {esempio},
@@ -4548,8 +4726,8 @@
@INCOLLECTION{Valbusa:2007,
author = {Ivan Valbusa},
- title = {Psicologia e sistema in Alsted e in Wolffnn},
- booktitle = {Christian Wolff tra psi\-co\-lo\-gia empirica e psicologia razionale},
+ title = {Psicologia e sistema in Alsted e in Wolff},
+ booktitle = {Christian Wolff tra psicologia empirica e psicologia razionale},
publisher = {Georg Olms Verlag},
editor = {Ferdinando Luigi Marcolungo},
date = {2007},
@@ -4561,7 +4739,7 @@
}
@ONLINE{wassenhoven:dw,
- annote = {A small collection of styles for the biblatex pack- age. It was designed
+ annote = {A small collection of styles for the biblatex package. It was designed
for citations in the Humanities and offers some features that are
not provided by the standard biblatex styles.},
author = {Dominik Waßenhoven},
@@ -4575,7 +4753,7 @@
}
@COLLECTION{Bartocci:2007,
- annote = {A collection with four authors.},
+ annote = {A collection with four authors},
booksubtitle = {Protagonisti del '900 da Hilbert a Wiles},
booktitle = {Vite matematiche},
date = {2007},
@@ -4620,9 +4798,7 @@
@COLLECTION{Filmed:2009,
annote = {A collection with four editors. The list is automatically truncated
- in the citations
-
- },
+ in the citations},
booktitle = {Filosofia delle medicina},
date = {2009},
date-added = {2009-09-27 23:05:08 +0200},
@@ -4653,7 +4829,7 @@
@MVREFERENCE{britannica,
annote = {A multivolume encyclopedia. Note the \texttt{useeditor=false} option
- and \texttt{indextitle} field.},
+ and \texttt{indextitle} field},
booktitle = {The New Encyclopædia Britannica},
date = {2003},
date-added = {2010-03-10 17:46:47 +0100},