diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.cbx | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.cbx b/Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.cbx new file mode 100644 index 00000000000..c7d8b3645af --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.cbx @@ -0,0 +1,46 @@ +%% +%% This is file `dguf-apa.cbx', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% biblatex-archaeology.dtx (with options: `dgufapaCBX,barecitations') +%% 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.cbx} +[2017/03/11 v1.0 biblatex-archaeology citation style (IB)] +\RequireCitationStyle{authoryear-archaeology} +\def\archaeocitestyletitle{\blxarch@style@dgufapa} +\xpatchbibmacro{cite}{\printnames{labelname}}{% + \ifboolexpr{ + not test {\ifciteseen} + and + test {\ifnumcomp{6}{>}{\value{labelname}}} + } + {\printnames[][-\value{listtotal}]{labelname}} + {\printnames{labelname}}% +}{}{} +\xpatchbibmacro{textcite}{\printnames{labelname}}{% + \ifboolexpr{ + not test {\ifciteseen} + and + test {\ifnumcomp{6}{>}{\value{labelname}}} + } + {\printnames[][-\value{listtotal}]{labelname}} + {\printnames{labelname}}% +}{}{} +\DeclareFieldFormat*{postnote}{#1} +\DeclareFieldFormat*{volcitevolume}{#1} +\DeclareFieldFormat*{volcitepages}{#1} +\endinput +%% +%% End of file `dguf-apa.cbx'. |