summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.bbx197
1 files changed, 197 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.bbx b/Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.bbx
new file mode 100644
index 00000000000..fcb73b19fe5
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.bbx
@@ -0,0 +1,197 @@
+%%
+%% This is file `dguf-apa.bbx',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% biblatex-archaeology.dtx (with options: `dgufapaBBX,noarticlesubtitlepunct')
+%% Copyright (C) 2005-2017 by Ingram Braun (https://ingram-braun.net/)
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3c 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.3c or later is part of all distributions of
+%% LaTeX version 2008/05/04 or later.
+%%
+\ProvidesFile{dguf-apa.bbx}
+[2017/03/11 v1.0 biblatex-archaeology bibliography style (IB)]
+\RequireBibliographyStyle{authoryear-archaeology}
+\def\archaeobibstyletitle{\blxarch@style@dgufapa}
+\DeclareLanguageMapping{english}{dguf-apa-english}
+\DeclareStyleSourcemap{
+ \maps[datatype=bibtex]{
+ \map[overwrite=true]{
+ \step[fieldsource=language,notmatch=\regexp{german|austrian},final]
+ \step[fieldset=langid,fieldvalue=english]
+ %\step[fieldset=langidopts,fieldvalue={variant=british}]
+ }
+ }
+}
+\ExecuteBibliographyOptions{
+ autolang=other*,
+ dashed=false,
+ doi=true,
+ giveninits=true,
+ ibidtracker=false,
+ idemtracker=false,
+ loccittracker=false,
+ maxbibnames=7,
+ maxcitenames=2,
+ maxitems=2,
+ mergedate=true,
+ minbibnames=7,
+ mincitenames=1,
+ minitems=1,
+ notetype=foot+end,
+ editionsuperscript=posttitle,
+ giveninitligatures={},
+ idemincitation=false,
+ injournal=false,
+ journallocation=false,
+ maxbooknames=7,
+ minbooknames=7,
+ nothesistitlepunct=false,
+ notitlepunct=false,
+ origfields=false,
+ pagesfirst=true,
+ positionlabeldate=label,
+ preservelastauthor=true,
+ repeatlabel=false,
+ shortform=false,
+ shortjournal=false,
+ shortseries=false,
+ subseries=false,
+ summarytitle=false,
+ tabbedlabeldate=false,
+ titlebrackets=true,
+ titlenote=true,
+ useeventdate=false,
+ useeventnumber=true,
+ usefestschriftaddon=false,
+ useinstitution=pluslocation,
+ uselocation=true,
+ usemultivenue=false,
+ usepublisher=true,
+ usesourceeditor=false,
+ useunpublishedthesis=true,
+ volumeafterseries=false,
+}
+\setlength{\bibhang}{0em}
+\setlength{\bibitemsep}{\baselineskip}
+\renewcommand{\multicitedelim}{\addsemicolon\space}
+\renewcommand{\nameyeardelim}{\addcomma\space}
+\renewcommand{\multinamedelim}{\addcomma\space}
+\renewcommand{\finalnamedelim}{\addspace\&\space}
+\DeclareNameAlias{sortname}{family-given}
+\DeclareNameAlias{bookauthor}{given-family}
+\renewcommand{\labelnamepunct}{\addperiod\space}
+\renewcommand{\booklabelnamepunct}{\addcomma\space}
+\renewcommand{\intitlepunct}{\printunit{\addspace}}
+\renewcommand{\finentrypunct}{%
+ \iffieldundef{doi}
+ {\ifboolexpr{
+ not test {\iffieldundef{eprint}}
+ and
+ test {\iffieldundef{eprintclass}}
+ }
+ {}
+ {\ifboolexpr{
+ not test {\iffieldundef{url}}
+ and
+ test {\iffieldundef{urlyear}}
+ }
+ {}
+ {\addperiod}}%
+ }
+ {}%
+}
+\DeclareFieldFormat*{title}{\mkbibitalic{#1}}
+\DeclareFieldFormat
+[article,bookinbook,inbook,incollection,inproceedings,inreference,review,suppperiodical]
+{title}{#1}
+\DeclareFieldFormat*{booktitle}{\mkbibitalic{#1}}
+\DeclareFieldFormat*{maintitle}{\mkbibitalic{#1}}
+\renewbibmacro*{maintitle+title}{%
+ \iffieldsequal{maintitle}{title}
+ {\clearfield{maintitle}%
+ \clearfield{mainsubtitle}%
+ \clearfield{maintitleaddon}}
+ {}%
+ \iffieldundef{maintitle}
+ {\iffieldundef{subseries}
+ {}
+ {\savefield{subseries}{\blxarch@field@subseries}%
+ \restorefield{subtitle}{\blxarch@field@subseries}%
+ \clearfield{volume}%
+ \savefield{subnumber}{\blxarch@field@subnumber}%
+ \restorefield{volume}{\blxarch@field@subnumber}}}
+ {\savefield{maintitle}{\blxarch@field@maintitle}%
+ \restorefield{subtitle}{\blxarch@field@maintitle}}%
+ \usebibmacro{title}%
+ \newunit}
+\renewbibmacro*{maintitle+booktitle}{%
+ \iffieldsequal{maintitle}{booktitle}
+ {\clearfield{maintitle}%
+ \clearfield{mainsubtitle}%
+ \clearfield{maintitleaddon}}
+ {}%
+ \iffieldundef{maintitle}
+ {\iffieldundef{subseries}
+ {}
+ {\savefield{subseries}{\blxarch@field@subseries}%
+ \restorefield{booksubtitle}{\blxarch@field@subseries}%
+ \clearfield{volume}%
+ \savefield{subnumber}{\blxarch@field@subnumber}%
+ \restorefield{volume}{\blxarch@field@subnumber}}}
+ {\savefield{maintitle}{\blxarch@field@maintitle}%
+ \restorefield{booksubtitle}{\blxarch@field@maintitle}}%
+ \usebibmacro{booktitle}%
+ \newunit}
+\renewcommand{\subtitlepunct}{\addcolon\space}
+\DeclareFieldFormat*{titlebrackets}{\textup{\mkbibparens{#1}}}
+\DeclareFieldFormat*{usere}{%
+ \addspace%
+ \bibopenparen%
+ \ifinteger{#1}
+ {\mkbibordinal{#1}\addspace\bibstring{edition}}
+ {#1}%
+ \bibcloseparen%
+}
+\DeclareFieldFormat*{locationdateparens}{\addperiod\space#1}
+\DeclareFieldFormat[article,review,suppperiodical]{number}{\mkbibparens{#1}}
+\renewcommand{\volumenumberdelim}{}
+\renewcommand{\journalvolumedelim}{\addcomma\space}
+\DeclareFieldFormat*{journalvolumeblock}{\mkbibitalic{#1}}
+\DeclareFieldFormat*{journaldateparens}{#1}
+\DeclareFieldFormat*{volume}{%
+ \addspace%
+ \bibopenparen%
+ \ifinteger{#1}
+ {\mkbibordinal{#1}\space\biblstring{volume}}
+ {\biblstring{volume}\addspace#1}%
+ \bibcloseparen%
+}
+\DeclareFieldFormat[article,review,suppperiodical]{volume}{\addspace#1}
+\DeclareFieldFormat*{seriesparens}{\mkbibparens{#1}}
+\DeclareFieldFormat*{pages}{%
+ \mkbibparens{\mkpageprefix[bookpagination]{#1}}}
+\DeclareFieldFormat[article,review,suppperiodical]{pages}{#1}
+\renewcommand{\bibpagespunct}{%
+ \iffieldundef{journaltitle}
+ {\addspace}
+ {\addcomma\space}}
+\DeclareFieldFormat*{urldate}{\mkbibbrackets{#1\unspace}}
+\DeclareFieldFormat*{url}{\url{#1}}
+\DeclareFieldFormat{doi}{%
+ \ifhyperref
+ {\href{http://dx.doi.org/#1}{\nolinkurl{doi:#1}}}
+ {\nolinkurl{doi:#1}}}
+\renewcommand{\typeinstitutiondelim}{\addcomma\space}
+\xpatchbibmacro{thesistype}{bibstring}{biblstring}{}{}
+\renewcommand{\articlesubtitlepunct}{\subtitlepunct}
+\endinput
+%%
+%% End of file `dguf-apa.bbx'.