summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-dw/bbx/authortitle-dw.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-dw/bbx/authortitle-dw.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-dw/bbx/authortitle-dw.bbx88
1 files changed, 43 insertions, 45 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-dw/bbx/authortitle-dw.bbx b/Master/texmf-dist/tex/latex/biblatex-dw/bbx/authortitle-dw.bbx
index 60fe20dfdae..c00749fce5e 100644
--- a/Master/texmf-dist/tex/latex/biblatex-dw/bbx/authortitle-dw.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-dw/bbx/authortitle-dw.bbx
@@ -1,13 +1,13 @@
-% authortitle-dw.bbx, Dominik Waßenhoven 2010
+% authortitle-dw.bbx, Dominik Waßenhoven 2011
-\ProvidesFile{authortitle-dw.bbx}[2010/11/21 v1.3b biblatex bibliography style]
+\ProvidesFile{authortitle-dw.bbx}[2011/02/06 v1.3c biblatex bibliography style]
-\@ifpackagelater{biblatex}{2010/09/03}
+\@ifpackagelater{biblatex}{2011/01/08}
{}
{\PackageError{biblatex}
{Outdated 'biblatex' package}
{The version of the 'authortitle-dw' style you are using\MessageBreak
- requires biblatex v0.9d or later.\MessageBreak
+ requires biblatex v1.1a or later.\MessageBreak
You are using: '\csuse{ver@biblatex.sty}'.\MessageBreak
This is a fatal error. I'm aborting now.}%
\endinput}
@@ -219,25 +219,14 @@
\let\finalnamedelim\bibfinalnamedelim%
}
+%% Makros für Schriften der Felder 'annotation' und 'library'
+\newcommand{\annotationfont}{\small\itshape}
+\newcommand{\libraryfont}{\small\sffamily}
+
%% Formate in der Bibliographie
+\DeclareFieldFormat{annotation}{%
+ \annotationfont #1\addperiod}
\DeclareFieldFormat{booktitle}{#1}
-\DeclareFieldFormat{journaltitle}{#1}
-\DeclareFieldFormat{issuetitle}{#1}
-\DeclareFieldFormat{maintitle}{#1}
-\DeclareFieldFormat{title}{#1}
-\DeclareFieldFormat[article]{title}{#1}
-\DeclareFieldFormat[inbook]{title}{#1}
-\DeclareFieldFormat[incollection]{title}{#1}
-\DeclareFieldFormat[inreference]{title}{%
- \bibstring{inrefstring}%
- \enquote{#1}}
-\DeclareFieldFormat[inproceedings]{title}{#1}
-\DeclareFieldFormat[patent]{title}{#1}
-\DeclareFieldFormat[thesis]{title}{#1}
-\DeclareFieldFormat[unpublished]{title}{#1}
-\DeclareFieldFormat[inreference]{volume}{#1}% volume of an inreference entry
-\DeclareFieldFormat{type}{\ifbibstring{#1}{\bibstring{#1}}{#1}}
-\DeclareFieldFormat{url}{\textsc{url}\addcolon\space\url{#1}}
\DeclareFieldFormat{edition:super}{% für Option 'edsuper'
\ifinteger{#1}
{\textsuperscript{#1}}
@@ -247,50 +236,59 @@
The edition will not be printed as\MessageBreak
superscript. Instead, the 'edition'\MessageBreak
field is printed completely}}}
-\DeclareFieldFormat{edition}{%
- \ifinteger{#1}
- {\mkbibordedition{#1}~\bibstring{edition}}
- {#1\isdot}}
-\DeclareFieldFormat{shorthand}{%
- \ifbool{bbx:shorthandacro}
- {\ifbool{bbx:acronym}
- {\mkbibacro{#1}\isdot}
- {#1\isdot}}
- {#1\isdot}}
+\DeclareFieldFormat{journaltitle}{#1}
+\DeclareFieldFormat{issuetitle}{#1}
+\DeclareFieldFormat{library}{%
+ \libraryfont #1\addperiod}
+\DeclareFieldFormat{maintitle}{#1}
+\DeclareFieldFormat{review}{%
+ \bibstring{review}%
+ \enquote{#1}}
\DeclareFieldFormat{shorthandwidth}{%
- \ifbool{bbx:shorthandacro}
- {\ifbool{bbx:acronym}
- {\mkbibacro{#1}\isdot}
- {#1\isdot}}
- {#1\isdot}}
+ \ifboolexpr{
+ bool {bbx:shorthandacro}
+ and
+ bool {bbx:acronym}
+ }
+ {\mkbibacro{#1}\isdot}
+ {#1\isdot}}
\DeclareFieldFormat{shortjournal}{%
+ \ifboolexpr{
+ bool {bbx:shorthandacro}
+ and
+ bool {bbx:acronym}
+ }
+ {\mkbibacro{#1}\isdot}
+ {#1\isdot}}
+\DeclareFieldFormat*{title}{#1}
+\DeclareFieldFormat[inreference]{title}{%
+ \bibstring{inrefstring}%
+ \enquote{#1}}
+\DeclareFieldFormat[review]{title}{%
+ \bibstring{review}%
+ \enquote{#1}}
+\DeclareFieldFormat[inreference]{volume}{#1}% volume of an inreference entry
+\DeclareFieldFormat[review]{volume}{#1}% volume of a review entry
+\DeclareFieldFormat{shorthand}{%
\ifbool{bbx:shorthandacro}
{\ifbool{bbx:acronym}
{\mkbibacro{#1}\isdot}
{#1\isdot}}
{#1\isdot}}
-\newcommand{\annotationfont}{\small\itshape}
-\newcommand{\libraryfont}{\small\sffamily}
-\DeclareFieldFormat{annotation}{%
- \annotationfont #1\addperiod}
-\DeclareFieldFormat{library}{%
- \libraryfont #1\addperiod}
-
+%% Umdefinierung von finentry für 'annotation' und 'library'
\newbibmacro*{finentry:annotation}{%
\iffieldundef{annotation}
{\finentry}%
{\setunit{\addperiod\par}
\printfield{annotation}}%
}
-
\newbibmacro*{finentry:library}{%
\iffieldundef{library}
{\finentry}%
{\setunit{\addperiod\par}
\printfield{library}}%
}
-
\renewbibmacro*{finentry}{%
\ifbool{bbx:annotation}
{\ifbool{bbx:library}% BEIDE true