summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.cbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-03-12 21:56:12 +0000
committerKarl Berry <karl@freefriends.org>2017-03-12 21:56:12 +0000
commita254eee571b07cfc336f00d508fe6a4bd7dca5a3 (patch)
tree3b626b95dcafc353c85d7205600628affb4de3c5 /Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.cbx
parent07604bb1d61b7ba4d6d79bfd1f68c95e29a34741 (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.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.cbx46
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'.