summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-09-19 20:45:29 +0000
committerKarl Berry <karl@freefriends.org>2015-09-19 20:45:29 +0000
commit1323aebc4e196f543ee2fa83f28b1aaa6f1b4d2b (patch)
tree1ab020db7d4fa63bd50d7c75c8d85e9987854191 /Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
parentbe9467b2d5a4aa70891c03ed63922abe06edc5dd (diff)
biblatex-philosophy (19sep15)
git-svn-id: svn://tug.org/texlive/trunk@38407 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx43
1 files changed, 31 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
index 43b5d067f50..91128b6f55b 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx
@@ -13,7 +13,7 @@
%% License information appended
%%
\ProvidesFile{philosophy-standard.bbx}
- [2015/06/13 v1.1 valbusa beta]
+ [2015/09/19 v1.2 valbusa beta]
%% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code:
@@ -227,8 +227,13 @@
{\textsc{\Rn{#1}}~\bibstring{edition}}%
{\ifdefstring{\bbx@editionformat}{roman}%
{\Rn{#1}~\bibstring{edition}}
- {\optionerror{editionformat}}}}}}
- {#1}}%\isdot??
+ {\ifdefstring{\bbx@editionformat}{superscript}%
+ {\ClassError{biblatex-philosophy}
+ {\MessageBreak**** Option 'editionformat=superscript'
+ available only for philosophy-verbose style}
+ {\MessageBreak**** Option 'editionformat=superscript'
+ available only for philosophy-verbose style}
+}{}}}}}}{#1}}%\isdot??
\DeclareFieldFormat{related}{%
\ifdefstring{\bbx@relatedformat}{parens}%
{\mkpureparens{#1}}%
@@ -651,11 +656,19 @@
\togglefalse{bbx:annotation}%
\iffieldundef{relatedstring}%
{\bibstring{translationas}\space}%
- {\setunit{\bibstring{translationas}\space}}%
- \renewcommand*{\mkpureparens}{\unspace\addsemicolon\space}%horrible trick
- \renewcommand*{\mkbibbrackets}{\unspace\addsemicolon\space}%horrible trick
+ {\printtext{\addspace}}%
+ \ifentrytype{article}{}{%horrible trick
+ \renewcommand*{\mkpureparens}{\unspace\addsemicolon\space}%
+ \renewcommand*{\mkbibbrackets}{\unspace\addsemicolon\space}}%
\relatedcite{\thefield{related}}}
\DeclareBibliographyDriver{article}{%
+\renewbibmacro*{related:default}[1]{%
+ \togglefalse{cbx:scauthorscite}%
+ \togglefalse{bbx:annotation}%
+\iffieldundef{relatedstring}%
+ {\bibstring{translationas}\space}%
+ {\setunit{\bibstring{translationas}\space}}%
+ \relatedcite{\thefield{related}}}
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%
@@ -1442,10 +1455,13 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate:article-inbook-incoll}%
- \setunit{\bibpagerefpunct}\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}%
@@ -1464,10 +1480,13 @@
{}%
\newunit\newblock
\usebibmacro{doi+eprint+url}%
- \setunit{\bibpagerefpunct}\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}%