summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/standard-luh-ipw.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/standard-luh-ipw.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/standard-luh-ipw.bbx37
1 files changed, 22 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/standard-luh-ipw.bbx b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/standard-luh-ipw.bbx
index 039ad2b63f4..fb61aebee07 100644
--- a/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/standard-luh-ipw.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/standard-luh-ipw.bbx
@@ -1,13 +1,21 @@
-% standard-luh-ipw.bbx, Oliver Heins (heins@sopos.org) 2011
+% standard-luh-ipw.bbx, Oliver Heins (heins@sopos.org) 2012
-\ProvidesFile{standard-luh-ipw.bbx}[2011/11/01 v0.1 bibliography style for use with biblatex 1.x]
+\ProvidesFile{standard-luh-ipw.bbx}[2012/01/09 v0.2 bibliography style for use with biblatex 1.x]
\DeclareBibliographyOption{ipwstrict}[true]{%
- \ExecuteBibliographyOptions{noemphtitle=#1,yearnotinparens=#1}}
+ \ifstrequal{#1}{true}
+ {\ExecuteBibliographyOptions{emphtitle=false,yearinparens=false}}
+ {}}
-\newtoggle{bbx:noemphtitle}
-\DeclareBibliographyOption{noemphtitle}[true]{%
- \settoggle{bbx:noemphtitle}{#1}}
+\newtoggle{bbx:emphtitle}
+\DeclareBibliographyOption{emphtitle}[true]{%
+ \settoggle{bbx:emphtitle}{#1}}
+\DeclareBibliographyOption{noemphtitle}[true]{% Deprecated, use
+ \ifstrequal{#1}{true} % emphtitle instead
+ {\settoggle{bbx:emphtitle}{false}}
+ {\settoggle{bbx:emphtitle}{true}}}
+
+\ExecuteBibliographyOptions{emphtitle}
\newcommand{\mkbibvolume}[1]{\bibstring{jourvol}\adddot~#1}
@@ -30,18 +38,18 @@
{\printtext[parens]{#1}}}
%% Wenn die Option emphtitle=false, werden die Titel nicht hervorgehoben
-\DeclareFieldFormat{citetitle}{\iftoggle{bbx:noemphtitle}{#1}{\mkbibemph{#1}}}
+\DeclareFieldFormat{citetitle}{\iftoggle{bbx:emphtitle}{\mkbibemph{#1}}{#1}}
\DeclareFieldFormat
[article,inbook,incollection,inproceedings,patent,thesis,unpublished]
- {citetitle}{\iftoggle{bbx:noemphtitle}{#1\isdot}{\mkbibquote{#1\isdot}}}
-\DeclareFieldFormat{booktitle}{\iftoggle{bbx:noemphtitle}{#1}{\mkbibemph{#1}}}
-\DeclareFieldFormat{journaltitle}{\iftoggle{bbx:noemphtitle}{#1}{\mkbibemph{#1}}}
-\DeclareFieldFormat{issuetitle}{\iftoggle{bbx:noemphtitle}{#1}{\mkbibemph{#1}}}
-\DeclareFieldFormat{maintitle}{\iftoggle{bbx:noemphtitle}{#1}{\mkbibemph{#1}}}
-\DeclareFieldFormat{title}{\iftoggle{bbx:noemphtitle}{#1}{\mkbibemph{#1}}}
+ {citetitle}{\iftoggle{bbx:emphtitle}{\mkbibquote{#1\isdot}}{#1\isdot}}
+\DeclareFieldFormat{booktitle}{\iftoggle{bbx:emphtitle}{\mkbibemph{#1}}{#1}}
+\DeclareFieldFormat{journaltitle}{\iftoggle{bbx:emphtitle}{\mkbibemph{#1}}{#1}}
+\DeclareFieldFormat{issuetitle}{\iftoggle{bbx:emphtitle}{\mkbibemph{#1}}{#1}}
+\DeclareFieldFormat{maintitle}{\iftoggle{bbx:emphtitle}{\mkbibemph{#1}}{#1}}
+\DeclareFieldFormat{title}{\iftoggle{bbx:emphtitle}{\mkbibemph{#1}}{#1}}
\DeclareFieldFormat
[article,inbook,incollection,inproceedings,patent,thesis,unpublished]
- {title}{\iftoggle{bbx:noemphtitle}{#1\isdot}{\mkbibquote{#1\isdot}}}
+ {title}{\iftoggle{bbx:emphtitle}{\mkbibquote{#1\isdot}}{#1\isdot}}
%% -> vor 'number' (z.B. ', Nr. ')
@@ -71,5 +79,4 @@
\setunit{\addcomma\space}%
\printfield{eid}}
-
\endinput \ No newline at end of file