diff options
author | Karl Berry <karl@freefriends.org> | 2017-03-12 21:56:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-03-12 21:56:12 +0000 |
commit | a254eee571b07cfc336f00d508fe6a4bd7dca5a3 (patch) | |
tree | 3b626b95dcafc353c85d7205600628affb4de3c5 /Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.bbx | |
parent | 07604bb1d61b7ba4d6d79bfd1f68c95e29a34741 (diff) |
biblatex-archaeology (12mar17)
git-svn-id: svn://tug.org/texlive/trunk@43480 c570f23f-e606-0410-a88d-b1316a301751
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.bbx | 197 |
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'. |