summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-luh-ipw
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-luh-ipw')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/authoryear-luh-ipw.bbx156
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/standard-luh-ipw.bbx75
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/verbose-inote-luh-ipw.bbx17
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-luh-ipw/cbx/authoryear-luh-ipw.cbx8
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-luh-ipw/cbx/verbose-inote-luh-ipw.cbx32
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-luh-ipw/lbx/english-luh-ipw.lbx20
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-luh-ipw/lbx/german-luh-ipw.lbx20
7 files changed, 328 insertions, 0 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
new file mode 100644
index 00000000000..8a1d36e7e24
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/authoryear-luh-ipw.bbx
@@ -0,0 +1,156 @@
+% authoryear-luh-ipw.bbx, Oliver Heins (heins@sopos.org) 2011
+
+\ProvidesFile{authoryear-luh-ipw.bbx}[2011/11/01 v0.1 bibliography style for use with biblatex 1.x]
+
+\RequireBibliographyStyle{authoryear}
+\RequireBibliographyStyle{standard-luh-ipw}
+
+\newtoggle{bbx:parensyear}
+\DeclareBibliographyOption{yearnotinparens}[true]{%
+ \settoggle{bbx:parensyear}{#1}}
+
+%% Klammern um das Jahr optional ausschalten
+\def\bbx@opt@mergedate@maximum{%
+ \renewbibmacro*{date+extrayear}{%
+ \iffieldundef{year}
+ {}
+ {\iftoggle{bbx:parensyear}
+ {\printfield{issue}%
+ \setunit*{\addspace}%
+ \printdateextra}
+ {\printtext[parens]{%
+ \printfield{issue}%
+ \setunit*{\addspace}%
+ \printdateextra}}}}%
+ \renewbibmacro*{date}{}%
+ \renewbibmacro*{issue+date}{}%
+}
+
+\def\bbx@opt@mergedate@compact{%
+ \renewbibmacro*{date+extrayear}{%
+ \iffieldundef{year}
+ {}
+ {\iftoggle{bbx:parensyear}
+ {\printdateextra}
+ {\printtext[parens]{\printdateextra}}}}%
+ \renewbibmacro*{date}{}%
+ \renewbibmacro*{issue+date}{%
+ \iffieldundef{issue}
+ {}
+ {\printfield{issue}}
+ \newunit}%
+}
+
+\def\bbx@opt@mergedate@basic{%
+ \renewbibmacro*{date+extrayear}{%
+ \iffieldundef{labelyear}
+ {}
+ {\iftoggle{bbx:parensyear}
+ {\printfield{labelyear}%
+ \printfield{extrayear}}
+ {\printtext[parens]{%
+ \printfield{labelyear}%
+ \printfield{extrayear}}}}}%
+ \renewbibmacro*{date}{%
+ \iffieldundef{month}
+ {}
+ {\printdate}}%
+ \renewbibmacro*{issue+date}{%
+ \ifboolexpr{
+ test {\iffieldundef{issue}}
+ and
+ test {\iffieldundef{month}}
+ }
+ {}
+ {\printtext[parens]{%
+ \printfield{issue}%
+ \setunit*{\addspace}%
+ \printdate}}%
+ \newunit}%
+}
+
+\def\bbx@opt@mergedate@minimum{%
+ \renewbibmacro*{date+extrayear}{%
+ \iffieldundef{labelyear}
+ {}
+ {\iftoggle{bbx:parensyear}
+ {\printfield{labelyear}%
+ \printfield{extrayear}}
+ {\printtext[parens]{%
+ \printfield{labelyear}%
+ \printfield{extrayear}}}}}%
+ \renewbibmacro*{date}{%
+ \ifboolexpr{
+ test {\iffieldundef{month}}
+ and
+ test {\iffieldundef{extrayear}}
+ }
+ {}
+ {\printdate}}%
+ \renewbibmacro*{issue+date}{%
+ \ifboolexpr{
+ test {\iffieldundef{issue}}
+ and
+ test {\iffieldundef{month}}
+ and
+ test {\iffieldundef{extrayear}}
+ }
+ {}
+ {\printtext[parens]{%
+ \printfield{issue}%
+ \setunit*{\addspace}%
+ \printdate}}%
+ \newunit}%
+}
+
+\def\bbx@opt@mergedate@false{%
+ \renewbibmacro*{date+extrayear}{%
+ \iffieldundef{labelyear}
+ {}
+ {\iftoggle{bbx:parensyear}
+ {\printfield{labelyear}%
+ \printfield{extrayear}}
+ {\printtext[parens]{%
+ \printfield{labelyear}%
+ \printfield{extrayear}}}}}%
+ \renewbibmacro*{date}{\printdate}%
+ \renewbibmacro*{issue+date}{%
+ \printtext[parens]{%
+ \printfield{issue}%
+ \setunit*{\addspace}%
+ \printdate}%
+ \newunit}%
+}
+
+\ExecuteBibliographyOptions{mergedate}
+
+% Neue bibmacros
+
+\newbibmacro*{inparencite}{%
+ \iffieldundef{shorthand}
+ {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
+ {\usebibmacro{cite:label}%
+ \setunit{\addspace}}
+ {\printnames{labelname}%
+ \addspace}%
+ \mkbibparens{%
+ \usebibmacro{cite:labelyear+extrayear}%
+ \setunit{\addcomma\addspace}
+ \usebibmacro{postnote}}}
+ {\mkbibparens{%
+ \usebibmacro{cite:shorthand}%
+ \setunit{\addcomma\addspace}
+ \usebibmacro{postnote}}}}
+
+% Neue cite-Kommandos
+
+\DeclareCiteCommand{\inparencite}
+ {\usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{inparencite}}
+ {\multicitedelim}
+ {}
+
+
+
+\endinput
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
new file mode 100644
index 00000000000..039ad2b63f4
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/standard-luh-ipw.bbx
@@ -0,0 +1,75 @@
+% standard-luh-ipw.bbx, Oliver Heins (heins@sopos.org) 2011
+
+\ProvidesFile{standard-luh-ipw.bbx}[2011/11/01 v0.1 bibliography style for use with biblatex 1.x]
+
+\DeclareBibliographyOption{ipwstrict}[true]{%
+ \ExecuteBibliographyOptions{noemphtitle=#1,yearnotinparens=#1}}
+
+\newtoggle{bbx:noemphtitle}
+\DeclareBibliographyOption{noemphtitle}[true]{%
+ \settoggle{bbx:noemphtitle}{#1}}
+
+\newcommand{\mkbibvolume}[1]{\bibstring{jourvol}\adddot~#1}
+
+\DeclareLanguageMapping{english}{english-luh-ipw}
+\DeclareLanguageMapping{german}{german-luh-ipw}
+
+\renewcommand*{\bibleftparen}{{\upshape (}}
+\renewcommand*{\bibrightparen}{{\upshape )}\midsentence}
+\renewcommand*{\bibleftbracket}{{\upshape [}}
+\renewcommand*{\bibrightbracket}{{\upshape ]}\midsentence}
+%\renewcommand*{\subtitlepunct}{\iffieldundef{subtitle}{}{\newunitpunct}}
+\renewcommand*{\labelnamepunct}{\addcolon\space}
+\renewcommand*{\nametitledelim}{\addcolon\space}
+
+\DeclareFieldFormat{origyear}{\mkbibparens{\upshape{#1}}}
+\DeclareFieldFormat[article,periodical]{volume}{\mkbibvolume{#1}}% volume of a journal
+\DeclareFieldFormat[article,periodical]{issue}{% volume of a journal
+ \ifnumerals{#1}
+ {\addcomma\space\bibstring{issue}\adddot~#1}
+ {\printtext[parens]{#1}}}
+
+%% Wenn die Option emphtitle=false, werden die Titel nicht hervorgehoben
+\DeclareFieldFormat{citetitle}{\iftoggle{bbx:noemphtitle}{#1}{\mkbibemph{#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}}}
+\DeclareFieldFormat
+ [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
+ {title}{\iftoggle{bbx:noemphtitle}{#1\isdot}{\mkbibquote{#1\isdot}}}
+
+
+%% -> vor 'number' (z.B. ', Nr. ')
+\newcommand*{\journumstring}{%
+ \addcomma\space%
+ \bibstring{number}%
+ \addnbspace}
+
+%% Formatierung bei Zeitschriften
+\renewbibmacro*{volume+number+eid}{%
+ \setunit{\addcomma\space}%
+ \printfield{eid}%
+ \iffieldundef{number}
+ {}
+ {\setunit{\addcomma\addspace\journumstring}%
+ \printfield{number}}%
+ \iffieldundef{volume}
+ {\iffieldundef{month}
+ {}
+ {\setunit{\addcomma\space}}}%
+ {\setunit{\addcomma\space}%
+ \printfield{volume}%
+ \iffieldundef{date}
+ {}
+ {\printtext[parens]{\printfield{date}}}}
+ \newunit\newblock
+ \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
new file mode 100644
index 00000000000..8b1ac257013
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/verbose-inote-luh-ipw.bbx
@@ -0,0 +1,17 @@
+% verbose-inote-luh-ipw.bbx, Oliver Heins (heins@sopos.org) 2011
+
+\ProvidesFile{verbose-inote-luh-ipw.bbx}[2011/11/01 v0.1 bibliography style for use with biblatex 1.x]
+
+\RequireBibliographyStyle{verbose-inote}
+\RequireBibliographyStyle{standard-luh-ipw}
+
+\renewbibmacro*{issue+date}{%
+ \iffieldundef{issue}
+ {}
+ {\printfield{issue}%
+ \setunit*{\addspace}}
+ \printtext[parens]{%
+ \usebibmacro{date}}%
+ \newunit}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-luh-ipw/cbx/authoryear-luh-ipw.cbx b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/cbx/authoryear-luh-ipw.cbx
new file mode 100644
index 00000000000..610c414067d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/cbx/authoryear-luh-ipw.cbx
@@ -0,0 +1,8 @@
+% authoryear-ipol.cbx, Oliver Heins (heins@sopos.org) 2011
+
+\ProvidesFile{authoryear-ipol.cbx}[2011/11/01 v0.1 biblatex citation style for use with biblatex 1.x]
+
+\RequireCitationStyle{authoryear}
+
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-luh-ipw/cbx/verbose-inote-luh-ipw.cbx b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/cbx/verbose-inote-luh-ipw.cbx
new file mode 100644
index 00000000000..06b24c8a265
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/cbx/verbose-inote-luh-ipw.cbx
@@ -0,0 +1,32 @@
+% authoryear-luh-ipw.cbx, Oliver Heins (heins@sopos.org) 2011
+
+\ProvidesFile{verbose-inote-luh-ipw.cbx}[2011/11/01 v0.1 biblatex citation style for use with biblatex 1.x]
+
+\RequireCitationStyle{verbose-inote}
+
+\renewbibmacro*{cite:save}{%
+ \csxdef{cbx@t@\thefield{entrykey}}{\the\value{instcount}}}
+
+%% Klammern um seenote
+\renewbibmacro*{footcite:note}{%
+ \ifnameundef{labelname}
+ {\printfield{label}}
+ {\printnames{labelname}}%
+ \ifsingletitle
+ {}
+ {\setunit*{\nametitledelim}%
+ \printfield[title]{labeltitle}}%
+ \setunit*{\addspace}%
+ \printtext{%
+ \mkbibparens{%
+ \bibstring{seenote}\addnbspace
+ \ref{cbx@\csuse{cbx@f@\thefield{entrykey}}}%
+ \iftoggle{cbx:pageref}
+ {\ifsamepage{\the\value{instcount}}
+ {\csuse{cbx@f@\thefield{entrykey}}}
+ {}
+ {\addcomma\space\bibstring{page}\addnbspace
+ \pageref{cbx@\csuse{cbx@f@\thefield{entrykey}}}}}
+ {}}}}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-luh-ipw/lbx/english-luh-ipw.lbx b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/lbx/english-luh-ipw.lbx
new file mode 100644
index 00000000000..acb711a2dad
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/lbx/english-luh-ipw.lbx
@@ -0,0 +1,20 @@
+% english-luh-ipw.bbx, Oliver Heins (heins@sopos.org) 2011
+
+\ProvidesFile{english-luh-ipw.lbx}[2011/11/01 v0.1 bibliography localization for use with biblatex 1.x]
+
+\InheritBibliographyExtras{english}
+
+\DeclareBibliographyExtras{%
+ \savecommand\mkbibvolume
+ \protected\def\mkbibvolume#1{\bibstring{jourvol}\adddot~#1}}
+
+\UndeclareBibliographyExtras{%
+ \restorecommand\mkbibvolume}
+
+\NewBibliographyString{issue}
+
+\DeclareBibliographyStrings{%
+ inherit = {english},
+ issue = {issue}{iss\adddot}},
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-luh-ipw/lbx/german-luh-ipw.lbx b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/lbx/german-luh-ipw.lbx
new file mode 100644
index 00000000000..d97b778a5af
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/lbx/german-luh-ipw.lbx
@@ -0,0 +1,20 @@
+% german-luh-ipw.bbx, Oliver Heins (heins@sopos.org) 2011
+
+\ProvidesFile{german-luh-ipw.bbx}[2011/11/01 v0.1 bibliography localization for use with biblatex 1.x]
+
+\InheritBibliographyExtras{german}
+
+\DeclareBibliographyExtras{%
+ \savecommand\mkbibvolume
+ \protected\def\mkbibvolume#1{#1\adddot~\bibstring{jourvol}}}
+
+\UndeclareBibliographyExtras{%
+ \restorecommand\mkbibvolume}
+
+\NewBibliographyString{issue}
+
+\DeclareBibliographyStrings{%
+ inherit = {german},
+ issue = {Heft}{H\adddot}},
+
+\endinput