summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-apa/german-apa.lbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-29 00:31:31 +0000
committerKarl Berry <karl@freefriends.org>2010-09-29 00:31:31 +0000
commit99fce12bb0c432257f4b918dc1eb760b7b583382 (patch)
tree0ee57c017eb9e2b7aa1318c1f218c61b7d3227eb /Master/texmf-dist/tex/latex/biblatex-apa/german-apa.lbx
parent3d9a319aa3208d7a4277f3dd31851bf878f57c41 (diff)
biblatex-apa (28sep10)
git-svn-id: svn://tug.org/texlive/trunk@19938 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-apa/german-apa.lbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-apa/german-apa.lbx31
1 files changed, 17 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-apa/german-apa.lbx b/Master/texmf-dist/tex/latex/biblatex-apa/german-apa.lbx
index 23350780985..5f90c08248a 100644
--- a/Master/texmf-dist/tex/latex/biblatex-apa/german-apa.lbx
+++ b/Master/texmf-dist/tex/latex/biblatex-apa/german-apa.lbx
@@ -62,23 +62,26 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% (APA 7.10 Example 68) Drop end* when they are the same as *
-\DefineBibliographyExtras{american}{%
+% You must use \printdate to get here otherwise it will be ignored
+\DefineBibliographyExtras{german}{%
\protected\def\mkbibdatelong#1#2#3{%
- \iffieldundef{#1}
- {}
- {\ifthenelse{\equal{#1}{endyear}\AND\iffieldsequal{year}{endyear}}
- {}
- {\thefield{#1},\space}}%
- \iffieldundef{#2}
+ \ifthenelse{\iffieldundef{#1}}
{}
- {\ifthenelse{\equal{#2}{endmonth}\AND\iffieldsequal{month}{endmonth}}
- {}
- {\mkbibmonth{\thefield{#2}}\addspace}%
- \iffieldundef{#3}
- {}
- {\ifthenelse{\equal{#3}{endday}\AND\iffieldsequal{day}{endday}}
+ {\thefield{#1}%
+ \ifthenelse{\(\equal{#1}{year}\AND\iffieldundef{month}\)\OR%
+ \(\equal{#1}{endyear}\AND\iffieldundef{endmonth}\)}
+ {}
+ {\addcomma\addspace}}%
+ \ifthenelse{\iffieldundef{#3}}
{}
- {\stripzeros{\thefield{#3}}}}}}}
+ {\stripzeros{\thefield{#3}}%
+ \ifthenelse{\(\equal{#3}{day}\AND\iffieldundef{month}\)\OR%
+ \(\equal{#2}{endday}\AND\iffieldundef{endmonth}\)}
+ {}
+ {\adddot\addspace}}%
+ \ifthenelse{\iffieldundef{#2}}
+ {}
+ {\mkbibmonth{\thefield{#2}}}}}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%