diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx')
3 files changed, 50 insertions, 36 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/authoryear-luh-ipw.bbx b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/authoryear-luh-ipw.bbx index 8a1d36e7e24..8400fd34523 100644 --- a/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/authoryear-luh-ipw.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/authoryear-luh-ipw.bbx @@ -1,13 +1,20 @@ -% authoryear-luh-ipw.bbx, Oliver Heins (heins@sopos.org) 2011 +% authoryear-luh-ipw.bbx, Oliver Heins (heins@sopos.org) 2012 -\ProvidesFile{authoryear-luh-ipw.bbx}[2011/11/01 v0.1 bibliography style for use with biblatex 1.x] +\ProvidesFile{authoryear-luh-ipw.bbx}[2012/01/09 v0.2 bibliography style for use with biblatex 1.x] -\RequireBibliographyStyle{authoryear} +\RequireBibliographyStyle{authoryear-icomp} \RequireBibliographyStyle{standard-luh-ipw} \newtoggle{bbx:parensyear} -\DeclareBibliographyOption{yearnotinparens}[true]{% +\DeclareBibliographyOption{yearinparens}[true]{% \settoggle{bbx:parensyear}{#1}} +\DeclareBibliographyOption{yearnotinparens}[true]{% Deprecated, use + \settoggle{bbx:parensyear}{#1}% option yearinparens instead + \iftoggle{bbx:parensyear} + {\settoggle{bbx:parensyear}{false}} + {\settoggle{bbx:parensyear}{true}}} + +\ExecuteBibliographyOptions{yearinparens} %% Klammern um das Jahr optional ausschalten \def\bbx@opt@mergedate@maximum{% @@ -15,13 +22,13 @@ \iffieldundef{year} {} {\iftoggle{bbx:parensyear} - {\printfield{issue}% - \setunit*{\addspace}% - \printdateextra} {\printtext[parens]{% \printfield{issue}% \setunit*{\addspace}% - \printdateextra}}}}% + \printdateextra}} + {\printfield{issue}% + \setunit*{\addspace}% + \printdateextra}}}% \renewbibmacro*{date}{}% \renewbibmacro*{issue+date}{}% } @@ -31,8 +38,8 @@ \iffieldundef{year} {} {\iftoggle{bbx:parensyear} - {\printdateextra} - {\printtext[parens]{\printdateextra}}}}% + {\printtext[parens]{\printdateextra}} + {\printdateextra}}}% \renewbibmacro*{date}{}% \renewbibmacro*{issue+date}{% \iffieldundef{issue} @@ -46,11 +53,11 @@ \iffieldundef{labelyear} {} {\iftoggle{bbx:parensyear} - {\printfield{labelyear}% - \printfield{extrayear}} {\printtext[parens]{% \printfield{labelyear}% - \printfield{extrayear}}}}}% + \printfield{extrayear}}} + {\printfield{labelyear}% + \printfield{extrayear}}}}% \renewbibmacro*{date}{% \iffieldundef{month} {} @@ -74,11 +81,11 @@ \iffieldundef{labelyear} {} {\iftoggle{bbx:parensyear} - {\printfield{labelyear}% - \printfield{extrayear}} {\printtext[parens]{% \printfield{labelyear}% - \printfield{extrayear}}}}}% + \printfield{extrayear}}} + {\printfield{labelyear}% + \printfield{extrayear}}}}% \renewbibmacro*{date}{% \ifboolexpr{ test {\iffieldundef{month}} @@ -108,11 +115,11 @@ \iffieldundef{labelyear} {} {\iftoggle{bbx:parensyear} - {\printfield{labelyear}% - \printfield{extrayear}} {\printtext[parens]{% \printfield{labelyear}% - \printfield{extrayear}}}}}% + \printfield{extrayear}}} + {\printfield{labelyear}% + \printfield{extrayear}}}}% \renewbibmacro*{date}{\printdate}% \renewbibmacro*{issue+date}{% \printtext[parens]{% 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 diff --git a/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/verbose-inote-luh-ipw.bbx b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/verbose-inote-luh-ipw.bbx index 8b1ac257013..7cd79413519 100644 --- a/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/verbose-inote-luh-ipw.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/verbose-inote-luh-ipw.bbx @@ -1,6 +1,6 @@ -% verbose-inote-luh-ipw.bbx, Oliver Heins (heins@sopos.org) 2011 +% verbose-inote-luh-ipw.bbx, Oliver Heins (heins@sopos.org) 2012 -\ProvidesFile{verbose-inote-luh-ipw.bbx}[2011/11/01 v0.1 bibliography style for use with biblatex 1.x] +\ProvidesFile{verbose-inote-luh-ipw.bbx}[2012/01/09 v0.2 bibliography style for use with biblatex 1.x] \RequireBibliographyStyle{verbose-inote} \RequireBibliographyStyle{standard-luh-ipw} |