diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw |
Initial commit
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw')
15 files changed, 1342 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/Changelog.txt b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/Changelog.txt new file mode 100644 index 0000000000..f9940b2db7 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/Changelog.txt @@ -0,0 +1,18 @@ +================= +=== CHANGELOG === +================= + +** Changes to Version v0.2 12-01-09 ** +- authoryear-luh-ipw.bbx now loads authoryear-icomp.bbx instead of + authoryear.bbx. +- Added options emphtitle and yearinparens replace now deprecated + options noemphtitle and yearnotinparens +- Added experimental option cquote which tries to determine, if a + quotation ends with a sentence end punctuation and, if so, uses + \Parencite instead of \parencite with csquotes' \textcquote and + \blockcquote. +- Documentation updated. + +** Changes to Version v0.1 11-11-04 ** +- Initial release. + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/README b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/README new file mode 100644 index 0000000000..1ec844aded --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/README @@ -0,0 +1,125 @@ +biblatex-luh-ipw 2013/11/18 v0.3 +Copyright (c) 2012--2013 Oliver Heins <oheins(at)sopos.org> + +************************************************************ + +Contents of README + 1. Package description + 2. Installation + 3. Usage notes + 4. Documentation + 5. History + 6. Acknowledgements + 7. Licence + 8. Files + + + 1. Package description + ---------------------- + + biblatex-luh-ipw is a small collection of styles for the + biblatex package. It was designed for citations in the + Humanities, following the guidelines of style + of the institutes for the social sciences of the Leibniz + University Hannover/LUH (especially the Institute of + Political Science). biblatex-luh-ipw is dependend + on biblatex (version 1.1 at least) and cannot be used + without it! + + Any suggestions concerning this package are highly + appreciated. + + + 2. Installation + --------------- + + biblatex-luh-ipw is part of the distributions MiKTeX and + TeX Live. Thus, you can easily install it using the + respective package manager. If you would like to install + biblatex-dw manually, do the following: Extract the tds.zip + archive to the $LOCALTEXMF directory of your system. + Refresh your filename database. For further information, + please see the documentation of your LaTeX distribution. + + + 3. Usage notes + -------------- + + The styles are loaded as the biblatex standard styles: + + \usepackage[style=authoryear-luh-ipw]{biblatex} + or + \usepackage[style=footnote-luh-ipw]{biblatex} + + If you want to learn more about the styles and their + additional options, please consult the package + documentation. + + + 4. Documentation + ---------------- + + Right now, the documentation of biblatex-luh-ipw is only + available in German. It can be found in + the file 'de-biblatex-luh-ipw.pdf'. This file is intended + for viewing on a computer screen. A printable version can + be compiled from the file 'de-biblatex-luh-ipw.tex'. You + only have to comment the line + \input{biblatex-luh-ipw-screen} + (i.e. put a % sign in front of it) and uncomment the line + \input{biblatex-luh-ipw-print} + (i.e. delete the % sign at the beginning of this line). + Note: The fonts may not be installed on your system. The + following fonts were used for the documentation: + * Linux Libertine in running text + * Linux Biolinum (part of the Libertine package) for + headings + * BeraMono as typewriter font + These fonts are freely available. If you do not have these + fonts installed in your system or do not want to install + them, you can easily use another font. The relevant + settings can be found in the file + 'biblatex-luh-ipw-preamble.tex'. + + + 5. History + ---------- + + - 2011-11-04 Version v0.1 + - 2012-01-09 Version v0.2 + - 2013-11-18 Version v0.3 + + 6. Licence + ---------- + + This work may be distributed and/or modified under the + conditions of the LaTeX Project Public License, either + version 1.3 of this license or (at your option) any later + version. The latest version of this license is in + http://www.latex-project.org/lppl.txt and version 1.3 or + later is part of all distributions of LaTeX version + 2005/12/01 or later. + + This work has the LPPL maintenance status `maintained'. + + The Current Maintainer of this work is Oliver Heins. + + + 7. Files + -------- + + This work consists of the following files: + + * README % this file, including licence + * standard-luh-ipw.bbx + * authoryear-luh-ipw.bbx + * authoryear-luh-ipw.cbx + * verbose-inote-luh-ipw.bbx + * verbose-inote-luh-ipw.cbx + * english-luh-ipw.lbx % English language mapping file + * german-luh-ipw.lbx % German language mapping file + * biblatex-luh-ipw-preamble.tex % Preamble for the documentation + * biblatex-luh-ipw-print.tex % Settings for printable version + * biblatex-luh-ipw-screen.tex % Settings for screen version + * de-biblatex-luh-ipw.pdf % German documentation + * de-biblatex-luh-ipw.tex % German documentation diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/authoryear-luh-ipw.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/authoryear-luh-ipw.bbx new file mode 100644 index 0000000000..4e39bfafce --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/authoryear-luh-ipw.bbx @@ -0,0 +1,164 @@ +% authoryear-luh-ipw.bbx, Oliver Heins (oheins@sopos.org) 2012--2013 + +\ProvidesFile{authoryear-luh-ipw.bbx}[2013/11/18 v0.3 bibliography style for use with biblatex 2.x] + +\RequireBibliographyStyle{authoryear-icomp} +\RequireBibliographyStyle{standard-luh-ipw} + +\newtoggle{bbx:parensyear} +\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=true, + yearnotinparens=false} + +%% Klammern um das Jahr optional ausschalten +\def\bbx@opt@mergedate@maximum{% + \renewbibmacro*{date+extrayear}{% + \iffieldundef{year} + {} + {\iftoggle{bbx:parensyear} + {\printtext[parens]{% + \printfield{issue}% + \setunit*{\addspace}% + \printdateextra}} + {\printfield{issue}% + \setunit*{\addspace}% + \printdateextra}}}% + \renewbibmacro*{date}{}% + \renewbibmacro*{issue+date}{}% +} + +\def\bbx@opt@mergedate@compact{% + \renewbibmacro*{date+extrayear}{% + \iffieldundef{year} + {} + {\iftoggle{bbx:parensyear} + {\printtext[parens]{\printdateextra}} + {\printdateextra}}}% + \renewbibmacro*{date}{}% + \renewbibmacro*{issue+date}{% + \iffieldundef{issue} + {} + {\printfield{issue}} + \newunit}% +} + +\def\bbx@opt@mergedate@basic{% + \renewbibmacro*{date+extrayear}{% + \iffieldundef{labelyear} + {} + {\iftoggle{bbx:parensyear} + {\printtext[parens]{% + \printfield{labelyear}% + \printfield{extrayear}}} + {\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} + {\printtext[parens]{% + \printfield{labelyear}% + \printfield{extrayear}}} + {\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} + {\printtext[parens]{% + \printfield{labelyear}% + \printfield{extrayear}}} + {\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/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/authoryear-luh-ipw.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/authoryear-luh-ipw.cbx new file mode 100644 index 0000000000..f5b52864b0 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/authoryear-luh-ipw.cbx @@ -0,0 +1,309 @@ +% authoryear-luh-ipol.cbx, Oliver Heins (oheins@sopos.org) 2012--2013 + +\ProvidesFile{authoryear-luh-ipol.cbx}[2013/11/18 v0.3 biblatex citation style for use with biblatex 2.x] + + +\RequireCitationStyle{authoryear-icomp} +\RequireCitationStyle{standard-luh-ipw} + + +\newtoggle{cbx:cquote} +\DeclareBibliographyOption{cquote}[true]{% + \settoggle{cbx:cquote}{#1}% + \ifstrequal{#1}{true} + {\luh@info{option cquote: patching package\MessageBreak + csquotes (experimental)}}% + {}} + +\ExecuteBibliographyOptions{cquote=false} + +\newif\ifluh@csquotes@loaded@ + +\@ifpackageloaded{csquotes} % Ist csquotes geladen? + {\luh@csquotes@loaded@true} + {\luh@csquotes@loaded@false} + +\AtEndPreamble{% +\iftoggle{cbx:cquote}{% + + \ifluh@csquotes@loaded@ % Mindestens v5.1d + \@ifpackagelater{csquotes}{2011/10/22} + {} + {\PackageError{biblatex-luh-ipw} + {Outdated 'csquotes' package} + {Upgrade to csquotes v5.1d (2011/10/22) or later.\MessageBreak + I found: '\csuse{ver@csquotes.sty}'.\MessageBreak + This is a fatal error. I'm aborting now.}% + \endinput}% + \fi + + \@ifpackageloaded{csquotes}{% csquotes ist geladen -- und neu genug + \luh@info{csquotes loaded}% + + \let\luh@textcquote@orig\textcquote + \let\luh@blockcquote@orig\blockcquote + + \newif\ifluh@blockcquotecmd@ + + \newcommand{\luh@textcquote}{% + \luh@blockcquotecmd@false + \let\luh@next\luh@textcquote@orig\luh@scancquote}% + + \newcommand{\luh@blockcquote}{% + \luh@blockcquotecmd@true + \let\luh@next\luh@blockcquote@orig\luh@scancquote}% + + \newcommand{\luh@scancquote}{% + \luh@scancite}% + + % scancite: [<pre>][<post>]{<key>}[<punct>] + % scantext: {<text>} + + \newtoks\luh@citet + + \def\luh@scancite{% + \@ifnextchar[%] + {\luh@scancite@i} + {\luh@scancite@ii[][]}}% + + \long\def\luh@scancite@i[#1]{% + \@ifnextchar[%] + {\luh@scancite@ii[#1]} + {\luh@scancite@ii[][#1]}}% + + \long\def\luh@scancite@ii[#1][#2]#3{% + \@ifnextchar[%] + {\luh@scancite@iii{#1}{#2}{#3}} + {\luh@scancite@iii{#1}{#2}{#3}[]}}% + + \long\def\luh@scancite@iii#1#2#3[#4]{% + \luh@citet={[#1][#2]{#3}[#4]}% + \luh@scantext}% + + \def\luh@defargs[#1][#2]#3[#4]{% + \edef\luh@prenote{#1}% + \edef\luh@postnote{#2}% + \edef\luh@citekey{#3}% + \edef\luh@punct{#4}}% + + \newif\ifluh@capitalizeCite@ + \newif\ifluh@testsepunct@ + \newif\ifluh@sepunct@ + + \newtoks\luh@text + \long\def\luh@scantext#1{% + \luh@lastchar{#1}% finde den letzten Buchstaben des Textes + % Testbedingungen: <prenote>: empty + % <punct>: empty oder SentPunct + % <text>: endet mit SentPunct + {\luh@debug{\the\luh@citet}}% + \expandafter\luh@defargs\the\luh@citet + \luh@blockquote@false + \let\luh@actual@mkxquote\mktextquote% Standard: scanne mktextquote + \ifluh@blockcquotecmd@% jedoch: wird gerade blockcquote benutzt? + % schaue, ob inline oder outer gesetzt wird + \luh@bquote@i{\luh@prenote}{\luh@postnote}{\luh@citekey}{}{#1}% + \fi + \ifluh@blockquote@% wenn outer gesetzt wird, scanne mkblockquote + \let\luh@actual@mkxquote\mkblockquote + \fi + \luh@capitalizeCite@true + \luh@testsepunct@false + \ifx\luh@prenote\@empty + \luh@testsepunct@true + \else\luh@capitalizeCite@false\fi + \ifluh@testsepunct@ + \expandafter\expandafter\expandafter\luh@mktextquote\expandafter{\meaning\luh@actual@mkxquote}% + \expandafter\expandafter\expandafter\luh@scanpunctinquotes\expandafter{\the\luh@mktextquote}% + \luh@sepunct@false + \ifluh@fourinquotes@ + \luh@testinnerpunct + \fi + \luh@testpunct + \ifluh@sepunct@\luh@debug{GROSS}% + \else\luh@debug{klein}\fi + \fi + \expandafter\luh@next\the\luh@citet{#1}}% + + \long\def\luh@testpunct{% + \let\luh@tempc\luh@tempb% Das letzte Zeichen + \expandafter\luh@testpunct@i{\luh@sepunct}}% + + \def\luh@testinnerpunct{% + \let\luh@tempc\luh@punct% Der gesetzte innerpunct + \expandafter\luh@testpunct@i{\luh@sepunct}}% + + \def\luh@testpunct@i#1{% + \@for\luh@sign:=#1\do{\luh@debug{\luh@sign}% + \ifx\luh@tempc\luh@sign \luh@sepunct@true\fi}}% + + % Schreibe das letzte Zeichen nach \luh@tempb + \long\def\luh@lastchar#1{\luh@lastchar@i#1\luh@end}% + + \long\def\luh@lastchar@i#1{% + \ifx#1\luh@end \let\luhatnext=\relax + \else + \let\luhatnext=\luh@lastchar@i + \luh@text={#1}% + \edef\luh@tempb{\the\luh@text}% + \fi + \luhatnext}% + + % Einiges an foo-Zauber, um festzustellen, ob mktextquote + % bzw. mkblockquote evtl. ein Satzendezeichen setzen. + \newif\luh@isinquotes + + \newif\ifluh@sixfound@ + \newif\ifluh@fourinquotes@ + \newif\ifluh@hyphenfound@ + \def\luh@scanpunctinquotes#1{% + \luh@sixfound@false + \luh@fourinquotes@false + \luh@hyphenfound@false + \luh@debug{#1}% + \luh@scanpunctinquotes@i#1\printbibliography + \ifluh@fourinquotes@ \luh@debug{Drinnen}\else\luh@debug{Draussen}\fi}% + + \def\luh@six{6}% + \def\luh@four{4}% + \def\luh@hyphen{-}% + \def\luh@scanpunctinquotes@i#1{% + \edef\luh@number{#1}% + \luh@debug{#1}% + \ifx#1\printbibliography \let\luh@next@i\relax + \else + \let\luh@next@i\luh@scanpunctinquotes@i + \ifluh@hyphenfound@ + \ifx\luh@number\luh@six \luh@sixfound@true \luh@debug{6 found}\fi + \ifx\luh@number\luh@four + \luh@debug{4 found}% + \ifluh@sixfound@ \else \luh@fourinquotes@true \fi + \fi + \fi + \ifx\luh@number\luh@hyphen \luh@hyphenfound@true \fi + \fi + \luh@next@i}% + + \newtoks\luh@mktextquote + + \def\luh@scanpunct{% + \expandafter\expandafter\expandafter\luh@mktextquote\expandafter{\meaning\luh@actual@mkxquote}% + \expandafter\expandafter\expandafter\luh@scanpunctinquotes\expandafter{\the\luh@mktextquote}% + }% + + % Kommando \DeclareSentenceEndPunct (Liste der Satzendezeichen) + % (Die Liste muss in eine kommaseparierte gewandelt werden, deshalb + % der ganze Zauber) + \newrobustcmd*{\DeclareSentenceEndPunct}[1]{% + \ifblank{#1} + {\def\luh@sepunct{}} + {\luh@addsepunct{#1}}}% + + \long\def\luh@addsepunct#1{% + \let\luh@sepunct\relax% + \expandafter\luh@addsepunct@i#1\@end}% + + \def\luh@addsepunct@i#1{% + \ifx#1\@end\let\luh@next=\relax% + \else% + \ifx\luh@sepunct\relax + \edef\luh@sepunct{#1}% + \else + \edef\luh@sepunct{\luh@sepunct,#1}% + \fi + \let\luh@next\luh@addsepunct@i% + \fi% + \luh@next}% + + \DeclareSentenceEndPunct{.!?}% + + \let\textcquote\luh@textcquote + \let\blockcquote\luh@blockcquote + + \newcommand{\luh@parencite}{% + \ifluh@sepunct@\let\luh@citecmd\Parencite + \else\let\luh@citecmd\parencite\fi + \luh@citecmd}% + + \SetCiteCommand{\luh@parencite}% + + %%%% + \newif\ifluh@blockquote@\luh@blockquote@false + \long\def\luh@bquote@i#1#2#3#4#5#6{% + \begingroup + \blockquote@prehook + \togglefalse{csq@tempsw}% + \setbox\@tempboxa=\vbox{% + \csuse{csq@bcount@\csq@thresholdtype}% + \parindent\z@ + \blockquote@parsehook + #1#6#5#2\endgraf\expandafter}\expandafter + \@tempcnta\number\prevgraf\relax + \iftoggle{csq@tempsw} + {\luh@debug{% + \@backslashchar blockquote has \number\@tempcnta\space + \csq@thresholdtype\space and manual breaks.\MessageBreak + Setting as display}} + {\ifnumgreater\@tempcnta\csq@tshold + {\toggletrue{csq@tempsw}} + {}% + \luh@debug{% + \@backslashchar blockquote has \number\@tempcnta\space + \csq@thresholdtype. Threshold is \number\csq@tshold.\MessageBreak + Setting \iftoggle{csq@tempsw}{as display}{inline}}}% + \blockquote@posthook + \iftoggle{csq@tempsw} + {\aftergroup\@firstoftwo} + {\aftergroup\@secondoftwo}% + \endgroup + \luh@blockquote@true\luh@blockquote@false}% + +% Das ist die originale Definition des obigen Makros aus +% csquotes.sty,v 5.1d 2011/10/22 19:17:39 lehman stable +% Diese wird mit der aktuellen verglichen, und ggf. eine Fehlermeldung +% ausgegeben, da bei Aenderung u. U. falsch berechnet wird. +\long\def\luh@csq@bquote@i#1#2#3#4#5#6{% + \begingroup + \blockquote@prehook + \togglefalse{csq@tempsw}% + \setbox\@tempboxa=\vbox{% + \csuse{csq@bcount@\csq@thresholdtype}% + \parindent\z@ + \blockquote@parsehook + #1#6#5#2\endgraf\expandafter}\expandafter + \@tempcnta\number\prevgraf\relax + \iftoggle{csq@tempsw} + {\csq@debug{% + \@backslashchar blockquote has \number\@tempcnta\space + \csq@thresholdtype\space and manual breaks.\MessageBreak + Setting as display}} + {\ifnumgreater\@tempcnta\csq@tshold + {\toggletrue{csq@tempsw}} + {}% + \csq@debug{% + \@backslashchar blockquote has \number\@tempcnta\space + \csq@thresholdtype. Threshold is \number\csq@tshold.\MessageBreak + Setting \iftoggle{csq@tempsw}{as display}{inline}}}% + \blockquote@posthook + \iftoggle{csq@tempsw} + {\aftergroup\@firstoftwo} + {\aftergroup\@secondoftwo}% + \endgroup + \csq@bquote@iii\csq@bquote@ii{#1}{#2}{#3}{#4}{#5}{#6}}% + + \ifx\csq@bquote@i\luh@csq@bquote@i + %% alles ist gut, keine Aenderung + \else\luh@warning{% Uhhh ohhh :( + Package csquotes has changed, and \MessageBreak + biblatex-luh-ipw is not yet aware\MessageBreak + of the changes. Sadly, this might\MessageBreak + break biblatex-luh-ipw. Please\MessageBreak + drop me (oheins@sopos.org) a mail,\MessageBreak + if this message keeps beeing thrown\MessageBreak + out for longer than a week or so.^^J}% + \fi + } + {\luh@warning{Package csquotes not loaded. \MessageBreak + Not defining additional macros^^J}}}} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/doc/biblatex-luh-ipw-preamble.tex b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/doc/biblatex-luh-ipw-preamble.tex new file mode 100644 index 0000000000..6fd955989e --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/doc/biblatex-luh-ipw-preamble.tex @@ -0,0 +1,223 @@ +% biblatex-luh-ipw +% Copyright (c) Oliver Heins <oheins(at)sopos.org>, 2012--2013 +% +% This file is the preamble for the documentation of +% biblatex-luh-ipw (both the English and the German version) +% This file is copied from the documentation of biblatex-dw +% Copyright (c) Dominik Waßenhoven <domwass(at)web.de>, 2010 + +%%%%% biblatex-luh-ipw Version %%%%% version of biblatex-luh-ipw %%%%% +\newcommand{\biblatexluhipwversion}{0.3} +\newcommand{\biblatexluhipwdate}{\printdate{2013-11-18}} +\newcommand{\mindestanforderung}{1.1a}% minimum biblatex version +\newcommand{\screenversion}{} +\newcommand{\TOC}{} +\newcommand{\lizenz}{} + + +%%%%% Kodierung %%%%% Encoding %%%%% +\usepackage{ifluatex} +\ifluatex + \usepackage{fontspec} +\else + \usepackage[T1]{fontenc} + \usepackage[latin1]{inputenc} +\fi + +%%%%% Inhaltsverzeichnis %%%%% Table of Contents %%%%% +\setcounter{tocdepth}{2} + +%%%%% Schriftarten %%%%% Fonts %%%%% +\usepackage{libertine}% Linux Libertine & Biolinum +\renewcommand{\&}{% + \useTextGlyph{fxl}{ampersand.alt}}% alternatives Ampersand +\setkomafont{sectioning}{\sffamily}% Überschriften +\renewcommand{\headfont}{\normalfont\itshape}% Kolumnentitel +\usepackage[scaled=0.8]{beramono}% BeraMono als Typewriter-Schrift + +%%%%% Fußnoten %%%%% Footnotes %%%%% +\deffootnote% + {2em}% Einzug des Fußnotentextes; bei dreistelligen Fußnoten evtl. vergrößern + {1em}% zusätzlicher Absatzeinzug in der Fußnote + {% + \makebox[2em]% Raum für Fußnotenzeichen: ebenso groß wie Einzug des FN-Textes + [r]% Ausrichtung des Fußnotenzeichens: [r]echts, [l]inks + {\fontfamily{fxl}\selectfont% keine Mediävalziffern als Fußnotenmarke + \thefootnotemark% + \hspace{1em}% Abstand zw. FN-Zeichen und FN-Text + }% + } +\renewcommand{\footnoterule}{}% keine Zeile zw. Text und Fußnoten + +%%%%% Kopf- und Fußzeilen %%%%% page header and footer %%%%% +\usepackage{scrpage2} +\pagestyle{scrheadings} +\clearscrheadfoot + +%%%%% Farben %%%%% Colors %%%%% +\usepackage{xcolor} +\definecolor{dkblue}{rgb}{0 0.1 0.5}% dark blue +\definecolor{dkred}{rgb}{0.85 0 0}% dark red +\definecolor{pyellow}{rgb}{1 0.97 0.75}% pale yellow + +%%%%% Kompakte Listen %%%%% Compact lists %%%%% +\usepackage{enumitem} +\setlist{noitemsep} +\setitemize{leftmargin=*,nolistsep} +\setenumerate{leftmargin=*,nolistsep} + +%%%%% Datumsformat %%%%% Date format %%%%% +\usepackage{isodate} +\numdate[arabic]% 15. 9. 2008 +\isotwodigitdayfalse% führende Nullen weglassen + +%%%%% Spracheinstellungen %%%%% Language settings %%%%% +\usepackage{babel} +\newcommand{\versionname}{Version} +\iflanguage{english}{\renewcommand{\versionname}{version}}{} +\iflanguage{german}{\monthyearsepgerman{\,}{\,}}{} +\iflanguage{ngerman}{\monthyearsepgerman{\,}{\,}}{} +\iflanguage{english}{\isodate}{} + +%%%%% Verschiedene Pakete %%%%% Miscellaneous packages +\usepackage{microtype}% optischer Randausgleich +\usepackage{dtklogos}% Logos wie \BibTeX +\usepackage{xspace} +\usepackage{textcomp}% Text-Companion-Symbole +\usepackage{manfnt}% für das Achtung-Symbol +\usepackage{marginnote} +\reversemarginpar + +%%%%% Auslassungspunkte %%%%% dots %%%%% +\let\ldotsOld\ldots +\renewcommand{\ldots}{\ldotsOld\unkern} + +%%%%% Zwischenraum vor und nach \slash %%%%% Spacing around \slash %%%%% +\let\slashOld\slash +\renewcommand{\slash}{\kern.05em\slashOld\kern.05em} + +%%%%% Anführungszeichen %%%%% quotation marks %%%%% +\usepackage[babel,german=guillemets]{csquotes} +\MakeAutoQuote{»}{«} + +%%%%% Listings %%%%% listings %%%%% +\usepackage{listings} +\lstset{% + frame=none, +% backgroundcolor=\color{pyellow}, + language=[LaTeX]TeX, + basicstyle=\ttfamily\small, + commentstyle=\color{red}, + keywordstyle=, % LaTeX-Befehle werden nicht fett dargestellt + numbers=none,%left/right +% numberstyle=\tiny\lnstyle, +% numbersep=5pt, +% numberblanklines=false, + breaklines=true, +% caption=\lstname, + xleftmargin=5pt, + xrightmargin=5pt, + escapeinside={(*}{*)}, + belowskip=\medskipamount, + prebreak=\mbox{$\hookleftarrow$}% übernommen vom scrguide (KOMA-Script) +} + +%%%%% biblatex %%%%% biblatex %%%%% +% \usepackage[% +% bibtex8=true, +% bibencoding=inputenc, +% style=authoryear-luh-ipw, +% % bernhard=true,% +% journalnumber=date +% ]{biblatex} +% \bibliography{examples/examples-luh-ipw} + +%%%%% Hyperref %%%%% Hyperref %%%%% +\usepackage{hyperref} +\hypersetup{% + colorlinks=true,% + linkcolor=dkblue,% Links + citecolor=dkblue,% Links zu Literaturangaben + urlcolor=dkblue,% Links ins Internet + pdftitle={biblatex-luh-ipw},% + pdfsubject={Dokumentation des LaTeX-Pakets biblatex-luh-ipw},% + pdfauthor={Oliver Heins},% + pdfstartview=FitH,% + bookmarksopen=true,% + bookmarksopenlevel=2,% + pdfprintscaling=None,% +} + +%%%%% Kurzbefehle %%%%% shortening commands %%%%% +\newcommand{\cmd}[1]{\texttt{\textbackslash #1}} +\newcommand{\option}[1]{\textcolor{dkblue}{#1}} +\newcommand{\wert}[1]{\textcolor{dkblue}{\enquote*{#1}}} +\newcommand{\paket}[1]{\textsf{#1}} +\newcommand{\xbx}[1]{\enquote{#1}} + +\makeatletter +\newcommand{\tmp@beschreibung}{} +\DeclareRobustCommand\beschreibung[2][]{% + \bgroup + \def\tmp@beschreibung{#1}% + \ifx\tmp@beschreibung\@empty + % leerer Fall + \label{#2}% + \marginpar{\footnotesize\sffamily\textcolor{dkblue}{#2}}% + \else + % unleerer Fall + \label{#1}% + \marginpar{\footnotesize\sffamily\textcolor{dkblue}{#2}}% + \fi + \egroup +} +\makeatother + +\newcommand{\bl}{\paket{biblatex}} +\newcommand{\blluhipw}{\paket{biblatex-luh-ipw}} + +% \optlist[nur bei xy]{Option}{Wert} -> Option (Wert) +% \optset[nur bei xy]{Option}{Wert} -> Option=Wert +% \opt{Option} +% \optnur[nur bei xy]{Option} +% \befehl{Befehlsname}{Definition}{Beschreibung} +% \befehlleer{Befehlsname}{Beschreibung} +\newcommand{\optlist}[3][]{\item[\option{#2}](#3) \emph{#1}\hfill% + {\footnotesize\sffamily\seite{\pageref{#2}}\\}} +\newcommand{\optset}[3][]{\item[\option{#2=#3}] \emph{#1}\\} +\newcommand{\opt}[1]{\item[\option{#1}]~\hfill% + {\footnotesize\sffamily\seite{\pageref{#1}}\\}} +\newcommand{\optnur}[2][]{\item[\option{#2}]\emph{#1}\hfill% + {\footnotesize\sffamily\seite{\pageref{#2}}\\}} +\newcommand{\befehl}[3]{\item[\option{\cmd{#1}}]\texttt{#2}\\{#3}} +\newcommand{\befehlleer}[2]{\item[\option{\cmd{#1}}]\emph{(\iflanguage{english}{empty}{leer})}\\{#2}} +\newcommand{\biblstring}[3]{% + \item[\option{#1}]\texttt{#2}\hspace{0.4em}\textbullet\hspace{0.4em}\texttt{#3}} +\newcommand{\feldformat}[3]{\item[{\option{\cmd{DeclareFieldFormat\{{#1}\}\{}\cmd{#2\}}}}]~\\#3} +\newcommand{\eintragstyp}[3]{\item[{\texttt{@#1}}]#2 {\small(in \bl{}: + \iflanguage{ngerman}{wie}{same as} \texttt{@#3})}\hfill% + {\footnotesize\sffamily\seite{\pageref{#1}}}} + +\newcommand{\achtung}{\marginnote{\footnotesize\dbend}} + +\newcounter{beispiel} +\newcommand{\beispiel}{% + \iflanguage{english}{Example}{Beispiel}} +\newcommand{\seite}[1]{% + \iflanguage{english}{page~#1}{Seite~#1}} + +\newcommand{\Mindestanforderung}{% + \iflanguage{english}% + {\textcolor{dkred}{needs at least version~\mindestanforderung{} of \bl{}}}% + {\textcolor{dkred}{mindestens Version~\mindestanforderung{} von \bl{}}}} + +%%%%% Titelei %%%%% title page %%%%% +\author{Oliver Heins\thanks{Mail: \texttt{oheins[at]sopos[dot]org}}} +\title{biblatex-luh-ipw} +\date{Version~\biblatexluhipwversion, \biblatexluhipwdate} + +%%%%% Worttrennungen %%%%% Hyphenation %%%%% +\usepackage[htt]{hyphenat} +\hyphenation{ + Stan-dard-ein-stel-lun-gen +} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/doc/biblatex-luh-ipw-print.tex b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/doc/biblatex-luh-ipw-print.tex new file mode 100644 index 0000000000..7dcd221e04 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/doc/biblatex-luh-ipw-print.tex @@ -0,0 +1,67 @@ +% biblatex-luh-ipw +% Copyright (c) Oliver Heins <oheins(at)sopos.org>, 2012--2013 +% +% This file configures the documentation +% of biblatex-luh-ipw to be printed. +% This file is copied from the documentation of biblatex-luh-ipw +% Copyright (c) Dominik Waßenhoven <domwass(at)web.de>, 2010 + +%%%%% KOMA-Script Optionen %%%%% KOMA-Script options %%%%% +\KOMAoptions{ + paper=a4 + ,headinclude=true +% ,fontsize=12pt,DIV=calc + ,fontsize=11pt,DIV=9 +} + +%%%%% Mindestanforderung %%%%% Minimum requirement +\renewcommand{\Mindestanforderung}{% + \iflanguage{english}% + {needs at least version~\mindestanforderung{} of \bl{}}% + {mindestens Version~\mindestanforderung{} von \bl{}}} + +%%%%% Kopf- und Fußzeilen %%%%% page header and footer %%%%% +\ihead{% + \iflanguage{english}% + {biblatex-luh-ipw documentation}% + {Dokumentation von biblatex-luh-ipw}} +\ohead{\versionname~\biblatexluhipwversion, \biblatexluhipwdate}% Kopf rechts +\cfoot{\pagemark} + +%%%%% Lizenzhinweis %%%%% note on licence %%%%% +\renewcommand{\lizenz}{% + \vfill + \begin{quote} + \small + \itshape + \iflanguage{english}{% + This manual is part of the \blluhipw\ package. It may be distributed and\slash + or modified under the conditions of the \enquote{\LaTeX\ Project Public + License}. For more details, please have a look at the + \enquote{\textls{\texttt{README}}} file. + }{% + Dieses Handbuch ist Teil des Pakets \blluhipw. Es darf nach den Bedingungen + der \enquote{\LaTeX\ Project Public Licence} verteilt und\slash oder + verändert werden. Für weitere Informationen schauen Sie bitte in die Datei + \enquote{\textls{\texttt{LIESMICH}}}. + }% + \end{quote} + \clearpage} + +%%%%% Inhaltsverzeichnis %%%%% Table of Contents %%%%% +\let\TOC\tableofcontents + +%%%%% Keine farbigen Links %%%%% No coloured links %%%%% +\hypersetup{% + colorlinks=false,% + %linkcolor=dkblue,% Links + %citecolor=dkblue,% Links zu Literaturangaben + %urlcolor=dkblue,% Links ins Internet + %pdftitle={biblatex-luh-ipw},% + %pdfsubject={Dokumentation des LaTeX-Pakets biblatex-luh-ipw},% + %pdfauthor={Dominik Waßenhoven},% + %pdfstartview=FitH,% +% bookmarksopen=true,% +% bookmarksopenlevel=0,% + %pdfprintscaling=None,% +} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/doc/biblatex-luh-ipw-screen.tex b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/doc/biblatex-luh-ipw-screen.tex new file mode 100644 index 0000000000..6876df1a10 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/doc/biblatex-luh-ipw-screen.tex @@ -0,0 +1,76 @@ +% biblatex-luh-ipw +% Copyright (c) Oliver Heins <heins(at)sopos.org>, 2012--2013 +% +% This file configures the documentation +% of biblatex-luh-ipw to be viewed on a screen. +% This file is copied from the documentation of biblatex-dw +% Copyright (c) Dominik Waßenhoven <domwass(at)web.de>, 2010 + +%%%%% Satzspiegel %%%%% type area %%%%% +% übernommen aus dem scrguide von Markus Kohm +% adopted from Markus Kohm's scrguide +\usepackage{geometry} +\geometry{papersize={140mm,210mm},% + includehead,includemp,reversemp,marginparwidth=2em,% + vmargin={2mm,4mm},hmargin=2mm}% + +%%%%% Kopf- und Fußzeilen %%%%% page header and footer %%%%% +% zu großen Teilen übernommen aus dem scrguide von Markus Kohm +% for the most part adopted from Markus Kohm's scrguide +\makeatletter + \setlength{\@tempdimc}{\oddsidemargin}% + \addtolength{\@tempdimc}{1in}% + \setheadwidth[-\@tempdimc]{paper}% +\makeatother +\ohead{\smash{% + \rule[-\dp\strutbox]{0pt}{\headheight}\pagemark\hspace{2mm}}}% +\ihead[% + {\smash{\colorbox{pyellow}{% + \makebox[\dimexpr\linewidth-2\fboxsep\relax][l]{% + \rule[-\dp\strutbox]{0pt}{\headheight}% + \makebox[2em][r]% + biblatex-luh-ipw, \versionname~\biblatexluhipwversion, \biblatexluhipwdate}}}}]% + {\smash{\colorbox{pyellow}{% + \makebox[\dimexpr\linewidth-2\fboxsep\relax][l]{% + \rule[-\dp\strutbox]{0pt}{\headheight}% + \makebox[2em][r]% + biblatex-luh-ipw, \versionname~\biblatexluhipwversion, \biblatexluhipwdate}}}}% + +%%%%% Hinweis zur Bildschirmversion %%%%% note on screen version %%%%% +\renewcommand{\screenversion}{% + \begin{quote} + \small + \color{dkred} + \sffamily + \iflanguage{english}{% + This is the screen version of the \blluhipw{} documentation. + If you would like to have a printable version, please have a look + at the \enquote{\textls{\texttt{README}}} file. + }{% + Dies ist die Bildschirmversion der Dokumentation von \blluhipw{}. + Wenn Sie eine Druckversion haben möchten, schauen Sie bitte in die + Datei \enquote{\textls{\texttt{LIESMICH}}}. + }% + \end{quote}} + +%%%%% Lizenzhinweis %%%%% note on licence %%%%% +\renewcommand{\lizenz}{% + \vfill + \begin{quote} + \small + \itshape + \iflanguage{english}{% + This manual is part of the \blluhipw\ package. It may be distributed and\slash + or modified under the conditions of the \enquote{\LaTeX\ Project Public + License}. For more details, please have a look at the + \enquote{\textls{\texttt{README}}} file. + }{% + Dieses Handbuch ist Teil des Pakets \blluhipw. Es darf nach den Bedingungen + der \enquote{\LaTeX\ Project Public Licence} verteilt und\slash oder + verändert werden. Für weitere Informationen schauen Sie bitte in die Datei + \enquote{\textls{\texttt{LIESMICH}}}. + }% + \end{quote}} + +%%%%% Kein Inhaltsverzeichnis %%%%% No Table of Contents %%%%% +\renewcommand{\TOC}{\clearpage} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/doc/de-biblatex-luh-ipw.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/doc/de-biblatex-luh-ipw.pdf Binary files differnew file mode 100644 index 0000000000..fb7439c006 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/doc/de-biblatex-luh-ipw.pdf diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/doc/de-biblatex-luh-ipw.tex b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/doc/de-biblatex-luh-ipw.tex new file mode 100644 index 0000000000..f3eff761d9 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/doc/de-biblatex-luh-ipw.tex @@ -0,0 +1,161 @@ +% biblatex-luh-ipw +% Copyright (c) Oliver Heins <oheins(at)sopoos.org>, 2012--2013 +% +% Diese Datei enthält die deutschsprachige Dokumentation von biblatex-luh-ipw + +\documentclass[ngerman]{scrartcl} +\input{biblatex-luh-ipw-preamble}% Präambel +%\input{biblatex-luh-ipw-print}% Druckversion +\input{biblatex-luh-ipw-screen}% Bildschirmversion + +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +%%%%% Anfang des Dokuments %%%%% +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +\begin{document} +\maketitle +\thispagestyle{empty} + +\abstract{\noindent \blluhipw{} ist eine kleine Sammlung von + Zitierstilen für das Paket \bl{} von Philipp Lehman. Sie ist nach + den am Institut für Politische Wissenschaft der Universität Hannover + gültigen Zitierrichtlinien aufgebaut. \blluhipw{} baut vollständig + auf \bl{} auf~-- in der Version~\biblatexluhipwversion{} wird + \Mindestanforderung{} benötigt (bitte achten Sie auch auf die + Mindestanforderungen von \bl{} selbst). Die beiden Stile + \xbx{authoryear-luh-ipw} und \xbx{verbose-inote-luh-ipw} bauen auf + den \bl-Stilen \xbx{authoryear} resp. \xbx{verbose-inote} auf und + verstehen alle entsprechenden Optionen. Diese Dokumentation listet + nur die Änderungen und Erweiterungen auf; bitte konsultieren Sie die + entsprechende \bl-Dokumentation.} + +\lizenz +\screenversion +\TOC + +\section{Einleitung} +\subsection{Installation} +\blluhipw{} ist in den Distributionen MiK\TeX{}\footnote{Webseite: + \url{http://www.miktex.org}.} und \TeX{}~Live\footnote{Webseite: + \url{http://www.tug.org/texlive}.} enthalten und kann mit deren +Paketmanagern bequem installiert werden. Wenn Sie stattdessen eine +manuelle Installation durchführen, so gehen Sie wie folgt vor: +Entpacken Sie die Datei \texttt{biblatex-luh-ipw.tds.zip} in den +\texttt{\$LOCALTEXMF}"=Ordner ihres Systems.\footnote{Falls Sie nicht + wissen, was das ist, können Sie sich unter + \url{http://projekte.dante.de/DanteFAQ/TDS} bzw. + \url{http://mirror.ctan.org/tds/tds.html} informieren.} +Aktualisieren Sie anschließend die \emph{filename database} ihrer +\TeX"=Distribution. Weitere Informationen: +\begin{itemize} + \small + \item \url{http://projekte.dante.de/DanteFAQ/PaketInstallation} + \item \url{http://projekte.dante.de/DanteFAQ/Verschiedenes#67} +\end{itemize} + +\subsection{Benutzung} +Die hier angebotenen Zitierstile werden wie die Standard-Stile +beim Laden des Pakets \bl{} eingebunden: + +\begin{lstlisting} +\usepackage[style=authoryear-luh-ipw]{biblatex} +\end{lstlisting} +bzw. +\begin{lstlisting} +\usepackage[style=verbose-inote-luh-ipw]{biblatex} +\end{lstlisting} + +Die Optionen, die \bl{} zur Verfügung stellt, können auch mit +\blluhipw{} verwendet werden. Die von den \blluhipw"=Stilen zusätzlich +bereitgestellten Optionen werden im Folgenden erläutert. Dabei +handelt es sich ausschließlich um globale Optionen, die für alle +Literaturverweise im Dokument gelten; sie werden entweder als Option +beim Laden von \bl{} oder in einer Konfigurationsdatei +(\texttt{biblatex.cfg}) gesetzt. + +% \textbf{@@@todo@@@} Für einen ersten Überblick über die Stile stehen +% die Beispiele \enquote{de-authortitle-dw} und \enquote{de-footnote-dw} +% im Ordner \texttt{examples} zur Verfügung. + +\subsection{Fragen und Antworten (FAQ)} +In der deutschen \TeX"=FAQ, die auf den Internetseiten der Deutschen +Anwendervereinigung \TeX\ e.\,V. (\DANTE) eingesehen werden kann, sind +auch einige häufig gestellte Fragen +zu \bl{} beantwortet, abzurufen unter folgender Adresse:\\ +\href{http://projekte.dante.de/DanteFAQ/LiteraturverzeichnisMitBiblatex}% +{http://projekte.dante.de/DanteFAQ/LiteraturverzeichnisMitBiblatex} + +Außerdem hat Dominik Waßenhoven für \enquote{\DTK}, die Mitgliederzeitschrift +von \DANTE, einen einführenden Artikel zu \bl{} geschrieben, den er auch als PDF +zum Herunterladen anbietet:\\ +\href{http://biblatex.dominik-wassenhoven.de/dtk.shtml}% + {http://biblatex.dominik-wassenhoven.de/dtk.shtml} + +\section{Der Stil \xbx{authoryear-luh-ipw}} + +Dieser Stil basiert auf dem Standardstil \xbx{authortitle}. +Neben einigen Änderungen in der Zeichensetzung gibt es folgende Unterschiede: + +\subsection{Bibliographie} +\label{sec:bibliographie} + +Nach\beschreibung{emphtitle} den Richtlinien am Institut für +Politische Wissenschaft der Universität Hannover werden die Titel +nicht gesondert hervorgehoben. Dies birgt allerdings das Problem, das +der Titel eines Werks optisch nicht mehr hervortritt. Außerdem +fehlt so die Unterscheidung zwischen selbständigen und unselbständigen +Titeln. Standardmäßig hebt \blluhipw{} die Titel daher hervor. Dies +kann mit der globalen Option \option{emphtitle=false} ausgeschaltet +werden. + +Außerdem\beschreibung{yearinparens} wird laut Richtlinien die +Jahresangabe hinter dem Autorkürzel nicht in Klammern gesetzt. Dieses +Verhalten kann mit der globalen Option \option{yearinparens=false} +erzwungen werden. + +Als\beschreibung{ipwstrict} dritte zusätzliche Option steht +\option{ipwstrict} zur Verfügung, die sowohl \option{emphtitle} wie +\option{yearinparens} auf \option{false} setzt. + +\subsubsection{Veraltet} + +Aus\beschreibung{noemphtitle}\beschreibung{yearnotinparens} Gründen +der Abwärtskompatibilität stehen noch die Optionen +\option{noemphtitle} und \option{yearnotinparens} zur Verfügung, die +dem Setzen von \option{emphtitle=false} +bzw. \option{yearinparens=false} entsprechen. In neuen Dokumenten +sollten diese Optionen nicht mehr verwendet werden. + +\subsection{Zitate im Text} + +\befehl{inparencite}\relax \blluhipw{} stellt den zusätzlichen +Zitierbefehl \cmd{inparencite} zur Verfügung. Dieser ähnelt dem +Befehl \cmd{parencite}, erlaubt aber Zitatangaben im Fließtext nach +dem Schema »Wie Meyer (1986a, S.~13) erläutert\,\dots«. + +\subsubsection{Experimentell} + +Das\beschreibung{cquote} Paket \paket{csquotes} von Philip Lehmann +kennt die Befehle \cmd{textcquote} und \cmd{blockcquote}, die die +Angabe von \BibTeX-Keys ermöglichen. Bei Verwendung mit der +\bl-Option \option{ibidtracker} (die bei \blluhipw{} automatisch +gesetzt ist) werden Folgezitate jedoch immer klein ausgegeben +(»ebd.«), was nach Zitaten, die mit einem Satzendezeichen abschließen, +nicht wünschenswert ist. Nach Setzen von \option{cquote=true} +überprüft \blluhipw, ob das Zitat mit einem Satzendezeichen abschließt +und benutzt gegebenfalls \cmd{Parencite} statt \cmd{parencite}. +\textbf{Achtung!}\achtung{} Diese Option ist experimentell und kann zu +Problemen führen. Sollten Probleme auftreten, bitte ich um die +Zusendung eines Minimalbeispiels. + + +\section{Der Stil \xbx{verbose-inote-luh-ipw}} + +Dieser Stil basiert auf dem Stil \xbx{verbose-inote}, alle Optionen +dieses Stils gelten auch für \xbx{verbose-inote-luh-ipw}. Der Stil +sollte zum ausführlichen Zitieren in Fußnoten benutzt werden. + +Wie\beschreibung{emphtitle} \xbx{verbose-inote} kennt dieser +Stil die in Abschnitt~\ref{sec:bibliographie} erläuterte Option +\option{emphtitle}. + +\end{document} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/english-luh-ipw.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/english-luh-ipw.lbx new file mode 100644 index 0000000000..58213a1d90 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/english-luh-ipw.lbx @@ -0,0 +1,20 @@ +% english-luh-ipw.bbx, Oliver Heins (oheins@sopos.org) 2012--2013 + +\ProvidesFile{english-luh-ipw.lbx}[2013/11/18 v0.3 bibliography localization for use with biblatex 2.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/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/german-luh-ipw.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/german-luh-ipw.lbx new file mode 100644 index 0000000000..42b5d985f9 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/german-luh-ipw.lbx @@ -0,0 +1,20 @@ +% german-luh-ipw.bbx, Oliver Heins (oheins@sopos.org) 2012--2013 + +\ProvidesFile{german-luh-ipw.bbx}[2013/11/18 v0.3 bibliography localization for use with biblatex 2.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 diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/standard-luh-ipw.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/standard-luh-ipw.bbx new file mode 100644 index 0000000000..22e29c88bd --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/standard-luh-ipw.bbx @@ -0,0 +1,84 @@ +% standard-luh-ipw.bbx, Oliver Heins (oheins@sopos.org) 2012--2013 + +\ProvidesFile{standard-luh-ipw.bbx}[2013/11/18 v0.3 bibliography style for use with biblatex 2.x] + +\DeclareBibliographyOption{ipwstrict}[true]{% + \ifstrequal{#1}{true} + {\ExecuteBibliographyOptions{emphtitle=false,yearinparens=false}} + {}} + +\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=true, + noemphtitle=false, + ipwstrict=false} + +\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:emphtitle}{\mkbibemph{#1}}{#1}} +\DeclareFieldFormat + [article,inbook,incollection,inproceedings,patent,thesis,unpublished] + {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:emphtitle}{\mkbibquote{#1\isdot}}{#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/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/standard-luh-ipw.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/standard-luh-ipw.cbx new file mode 100644 index 0000000000..1b6ab10a92 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/standard-luh-ipw.cbx @@ -0,0 +1,26 @@ +% standard-luh-ipw.cbx, Oliver Heins (oheins@sopos.org) 2012--2013 + +\ProvidesFile{standard-luh-ipw.cbx}[2013/11/18 v0.3 citation style for use with biblatex 2.x] + +% Allgemeine Kommandos +\protected\def\luh@error#1#2{% + \PackageError{biblatex-luh-ipw}{#1}{#2.}} + +\protected\def\luh@warning#1{% + \PackageWarning{biblatex-luh-ipw}{#1}} + +\protected\def\luh@info#1{% + \PackageInfo{biblatex-luh-ipw}{#1}} + +\protected\def\luh@logdebug#1{% + \begingroup + \def\MessageBreak{^^J(biblatex-luh-ipw) \@spaces\@spaces\@spaces\space}% + \set@display@protect + \immediate\write\m@ne{Package biblatex-luh-ipw Debug: #1\on@line.}% + \endgroup} + +\let\luh@debug\@gobble +%\let\luh@debug\luh@logdebug + + +\endinput
\ No newline at end of file diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/verbose-inote-luh-ipw.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/verbose-inote-luh-ipw.bbx new file mode 100644 index 0000000000..21255bffa6 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/verbose-inote-luh-ipw.bbx @@ -0,0 +1,17 @@ +% verbose-inote-luh-ipw.bbx, Oliver Heins (oheins@sopos.org) 2012--2013 + +\ProvidesFile{verbose-inote-luh-ipw.bbx}[2013/11/18 v0.3 bibliography style for use with biblatex 2.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/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/verbose-inote-luh-ipw.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/verbose-inote-luh-ipw.cbx new file mode 100644 index 0000000000..c6291b57a6 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-luh-ipw/verbose-inote-luh-ipw.cbx @@ -0,0 +1,32 @@ +% authoryear-luh-ipw.cbx, Oliver Heins (oheins@sopos.org) 2012--2013 + +\ProvidesFile{verbose-inote-luh-ipw.cbx}[2013/11/18 v0.3 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 |