summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/publ-imp-apa.mkvi
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-02-26 17:15:09 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-02-26 17:15:09 +0100
commit48c3ce21b30a886099e9afc2edf683e8a47ba29e (patch)
tree48696e275e7ed22db328f6aa600fbf0c9c73c267 /tex/context/base/mkiv/publ-imp-apa.mkvi
parent2956fe45a7fd41b8f84ccec8edcba66a3445e6e9 (diff)
downloadcontext-48c3ce21b30a886099e9afc2edf683e8a47ba29e.tar.gz
2016-02-26 16:11:00
Diffstat (limited to 'tex/context/base/mkiv/publ-imp-apa.mkvi')
-rw-r--r--tex/context/base/mkiv/publ-imp-apa.mkvi14
1 files changed, 13 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/publ-imp-apa.mkvi b/tex/context/base/mkiv/publ-imp-apa.mkvi
index fae2dcc6d..5600b5722 100644
--- a/tex/context/base/mkiv/publ-imp-apa.mkvi
+++ b/tex/context/base/mkiv/publ-imp-apa.mkvi
@@ -81,6 +81,11 @@
[apa:\s!list:author]
\definebtx
+ [apa:\s!list:translator]
+ [apa:\s!list:author]
+ [\c!authorconversion=normalshort]
+
+\definebtx
[apa:\s!list:suffix]
[apa:\s!list]
@@ -482,7 +487,7 @@
apa:Directors=Directors,
apa:Recordedby={Recorded by},
apa:Author=Author,
- apa:Translator={Trans.}, % Translator(s) (not used?)
+ apa:Translator={Trans.}, % Translator(s)
apa:Advanced={Advanced online publication},
apa:Retrieved={Available from}, % {Retrieved from},
apa:In=In]
@@ -792,6 +797,13 @@
\texdefinition{btx:apa:composed-title}{title}
}
\btxdoif {title} {
+ \btxdoif {translator} {
+ \btxleftparenthesis
+ \btxflush{translator}
+ \btxcomma
+ \btxlabeltext{apa:Translator}
+ \btxrightparenthesis
+ }
\btxperiod
% TODO: this period may NOT be wanted, as in: Title (2nd ed.).
}