summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-03-31 23:42:00 +0000
committerKarl Berry <karl@freefriends.org>2013-03-31 23:42:00 +0000
commit365c13dc7ae45074aec384c73fdcbd0ee49cce37 (patch)
tree880c97f1b8b82aa683fef487de552428fdc29ac0 /Master/texmf-dist/source
parente2ab32fae56eaa3c80d05dd741c16dc020cb955c (diff)
biblatex-philosophy (31mar13)
git-svn-id: svn://tug.org/texlive/trunk@29571 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx132
1 files changed, 84 insertions, 48 deletions
diff --git a/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx b/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx
index a04d697f066..1284c6900ec 100644
--- a/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx
+++ b/Master/texmf-dist/source/latex/biblatex-philosophy/biblatex-philosophy.dtx
@@ -93,7 +93,7 @@
%<verbose-cbx>\ProvidesFile{philosophy-verbose.cbx}
%<italian-lbx>\ProvidesFile{italian-philosophy.lbx}
%<english-lbx>\ProvidesFile{english-philosophy.lbx}
- [2013/03/27 v0.8c valbusa beta]
+ [2013/03/30 v0.8d valbusa beta]
%<*driver>
\documentclass{ltxdoc}
@@ -182,7 +182,7 @@
%</driver>
% \fi
%
-% \CheckSum{2947}
+% \CheckSum{2994}
%
% \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
@@ -200,7 +200,8 @@
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
-% \changes{v0.8c}{2013/03/27}{Removed \sty{biber.conf} configuration file. Added internal \file{biber} settings with \cmd{DeclareDriverSourcemap} command. Added \bibfield{trans-} field alias.}
+% \changes{v0.8d}{2013/03/30}{Fixed some bugs related to \cmd{DeclareDriverSourcemap}, \cmd{ccite}, and \bibtype{review} entry type}
+% \changes{v0.8c}{2013/03/27}{Removed \sty{biber.conf} configuration file. Added internal \file{biber} settings with \cmd{DeclareDriverSourcemap} command. Added \bibfield{trans-} field alias}
% \changes{v0.8b}{2013/03/22}{Added \sty{biber.conf} configuration file}
% \changes{v0.8a}{2013/04/18}{New \bibfield{entrysubtype} field for citing classical texts. New \bibfield{related} field mechanism. New \opt{relatedformat} option. New English documentation. Fixed some bugs}
% \changes{v0.7c}{2011/05/16}{Fixed some bugs. New \opt{origfieldtype} option. Added \bibfield{nodate} bibliography string. Updated documentation}
@@ -1027,31 +1028,6 @@
% \begin{macrocode}
\newcounter{maxnamesincross}
\newcounter{minnamesincross}
-
-\AtBeginShorthands{
-% \end{macrocode}
-% The annotation field is omitted in the list of shorthands:
-% \begin{macrocode}
- \togglefalse{bbx:annotation}
-% \end{macrocode}
-% In the list of shorthands we always use the shorthand
-% for the cross-referenced entries:
-% \begin{macrocode}
- \DeclareCiteCommand{\bbx@crossref@inbook}
- {}%
- {\iffieldundef{shorthand}%
- {\usebibmacro{inbook:full}}%
- {\usebibmacro{cite:shorthand}}}%
- {}%
- {}%
-\DeclareCiteCommand{\bbx@crossref@incollection}
- {}%
- {\iffieldundef{shorthand}%
- {\usebibmacro{incollection:full}}%
- {\usebibmacro{cite:shorthand}}}%
- {}%
- {}%
-}
% \end{macrocode}
% \subsubsection{Name format}
% \begin{macrocode}
@@ -1134,6 +1110,7 @@
% \begin{macrocode}
\DeclareFieldFormat[bookinbook,thesis]{title}{\mkbibemph{#1}}
\DeclareFieldFormat[review]{title}{\bibstring{reviewof}\addspace#1}
+\DeclareFieldFormat[review]{citetitle}{\bibstring{reviewof}\addspace#1}
\DeclareFieldFormat[inreference,article]{title}{\mkbibquote{#1}}
\DeclareFieldFormat[bookinbook,thesis]{citetitle}{\mkbibemph{#1}}
\DeclareFieldFormat{origtitle}{\mkbibemph{#1}}
@@ -2418,9 +2395,11 @@
\usebibmacro{pageref}%
\usebibmacro{finentry}}
% \end{macrocode}
-% Define new fields for \bibtype{jurisdiction} entry types.
+% Define new fields for \bibtype{jurisdiction} entry types and
+% \opt{orig-} fields mechanism:
% \begin{macrocode}
-\DeclareDriverSourcemap[datatype=bibtex]{
+\DeclareStyleSourcemap{
+\maps{
\map{
\step[fieldsource=court , fieldtarget=author]
\step[fieldsource=section , fieldtarget=nameaddon]
@@ -2435,6 +2414,7 @@
\step[fieldsource=origpages , fieldtarget=userc]
}
}
+ }
\DeclareDataInheritance{*}{*}{\noinherit{annotation}}
% \end{macrocode}
% \iffalse
@@ -2481,10 +2461,41 @@
\renewbibmacro*{commarelateddate}{%
\setunit*{\addcomma\space}%
\printdate}
-% \end{macrocode}
-% No date after the author's/editor's name:
-% \begin{macrocode}
-\renewbibmacro*{date+extrayear}{}%
+\DeclareCiteCommand{\bbx@crossref@inbook}
+ {}%
+ {\iffieldundef{shorthand}{%
+ \usebibmacro{citeindex}%
+ \ifuseeditor{%
+ \ifthenelse{\value{listtotal}=2}%
+ {\printnames[][-\value{maxnamesincross}]{labelname}}%
+ {\printnames[][-\value{minnamesincross}]{labelname}}}%
+ {\usebibmacro{labeltitle}}%
+ \setunit*{\addspace}%
+ \usebibmacro{date+extrayear:crossref}}%
+ {\usebibmacro{cite:shorthand}}}%
+ {}%
+ {}%
+\DeclareCiteCommand{\bbx@crossref@incollection}
+ {}%
+ {\iffieldundef{shorthand}{%
+ \usebibmacro{citeindex}%
+ \ifuseeditor{%
+ \ifthenelse{\value{listtotal}=2}%
+ {\printnames[][-\value{maxnamesincross}]{labelname}}%
+ {\printnames[][-\value{minnamesincross}]{labelname}}}%
+ {\usebibmacro{labeltitle}}%
+ \setunit*{\addspace}%
+ \usebibmacro{date+extrayear:crossref}}%
+ {\usebibmacro{cite:shorthand}}}%
+ {}%
+ {}%
+\newbibmacro*{date+extrayear:crossref}{%
+ \begingroup%
+ \clearfield{month}%
+ \iffieldundef{labelyear}
+ {\printtext[parens]{\midsentence\bibstring{nodate}}}
+ {\printtext[parens]{\printdateextra}}%
+ \endgroup}%
}
\AtBeginDocument{%
@@ -2858,6 +2869,30 @@
% \begin{macrocode}
\RequireBibliographyStyle{authortitle}
\RequireBibliographyStyle{philosophy-standard}
+\AtBeginShorthands{
+% \end{macrocode}
+% The annotation field is omitted in the list of shorthands:
+% \begin{macrocode}
+ \togglefalse{bbx:annotation}
+% \end{macrocode}
+% In the list of shorthands we always use the shorthand
+% for the cross-referenced entries:
+% \begin{macrocode}
+ \DeclareCiteCommand{\bbx@crossref@inbook}
+ {}%
+ {\iffieldundef{shorthand}%
+ {\usebibmacro{inbook:full}}%
+ {\usebibmacro{cite:shorthand}}}%
+ {}%
+ {}%
+\DeclareCiteCommand{\bbx@crossref@incollection}
+ {}%
+ {\iffieldundef{shorthand}%
+ {\usebibmacro{incollection:full}}%
+ {\usebibmacro{cite:shorthand}}}%
+ {}%
+ {}%
+}
% \end{macrocode}
% \paragraph{Authors and editors}
% \begin{macrocode}
@@ -3404,25 +3439,26 @@
{\DeclareNameAlias{sortname}{default}}}%
{\thefield{entrytype}}}%
\usebibmacro{shorthandintro}}
+
+\newbibmacro*{cite:ccite}{%
+ \usebibmacro{cite:citepages}%
+ \global\togglefalse{cbx:fullcite}%
+ \global\togglefalse{cbx:loccit}%
+ \bibhypertarget{cite\the\value{instcount}}{%
+ \iffieldundef{shorthand}
+ {\usebibmacro{cite:title}%
+ \usebibmacro{cite:save}}%
+ {\usebibmacro{cite:shorthand}}}}
% \end{macrocode}
% \subsubsection{Citation commands}
-% \begin{macrocode}
-\DeclareNameFormat{noname}{}
+% \begin{macrocode}
\DeclareCiteCommand{\ccite}
-{\usebibmacro{prenote}%
- \renewbibmacro*{author/translator+others}{}%
- \renewbibmacro*{author/editor+others/translator+others}{}%
- \renewbibmacro*{editor+others}{}%
- \renewbibmacro*{author/translator+others}{}%
- \renewbibmacro*{author/editor}{}%
- \renewbibmacro*{author}{}%
- \renewbibmacro*{editor}{}%
- }%
-{\global\togglefalse{cbx:loccit}%
-\usedriver{\DeclareNameAlias{sortname}{noname}}
-{\thefield{entrytype}}}
+{\usebibmacro{prenote}}%
+{\usebibmacro{citeindex}%
+ \usebibmacro{cite:ccite}}
{\multicitedelim}
{\usebibmacro{cite:postnote}}
+
% \end{macrocode}
% \iffalse
%</verbose-cbx>