summaryrefslogtreecommitdiff
path: root/tex/context/base/publ-imp-aps.mkvi
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2015-05-11 22:15:04 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2015-05-11 22:15:04 +0200
commitd70443b76f95f8ff6341534d159df499d4c787df (patch)
treed787c472d8af59fe8a7bc03993826492ca056e9a /tex/context/base/publ-imp-aps.mkvi
parent9c3dadc3ca50cfe8914492c0912df6d06e007b5f (diff)
downloadcontext-d70443b76f95f8ff6341534d159df499d4c787df.tar.gz
2015-05-11 21:56:00
Diffstat (limited to 'tex/context/base/publ-imp-aps.mkvi')
-rw-r--r--tex/context/base/publ-imp-aps.mkvi33
1 files changed, 9 insertions, 24 deletions
diff --git a/tex/context/base/publ-imp-aps.mkvi b/tex/context/base/publ-imp-aps.mkvi
index 948cca8bc..a173e0e4c 100644
--- a/tex/context/base/publ-imp-aps.mkvi
+++ b/tex/context/base/publ-imp-aps.mkvi
@@ -83,7 +83,12 @@
\definebtx
[aps:\s!list:\s!page]
[aps:\s!list]
- [\c!left={\space}]
+ [\c!separator:2={,\space},
+ \c!separator:3={,\space\btxlabeltext{aps:and}\space},
+ \c!separator:4={\space\btxlabeltext{aps:and}\space},
+ \c!left={\btxleftparenthesis},
+ \c!right={\btxrightparenthesis},
+ \c!command={\wordright}]
\definebtx
[aps:\s!list:numbering]
@@ -561,35 +566,15 @@
\fastsetup{btx:aps:cite:author:year}
\stopsetups
-\startsetups [btx:aps:list:page]
- \fastsetup{\s!btx:\s!page:concat}
+% used in publ-imp-page.mkvi
+
+\startsetups [btx:aps:list:page-or-pages]
\ifx\currentbtxlastpage\empty
\btxlabeltext{aps:page}
\else
\btxlabeltext{aps:pages}
\fi
\btxnbsp
- \ifconditional\btxinteractive
- \goto {
- \currentbtxfirstpage
- } [
- internal(\currentbtxfirstinternal)
- ]
- \ifx\currentbtxlastpage\empty \else
- \btxparameter\c!pageconnector
- \goto {
- \currentbtxlastpage
- } [
- internal(\currentbtxlastinternal)
- ]
- \fi
- \else
- \currentbtxfirstpage
- \ifx\currentbtxlastpage\empty \else
- \btxparameter\c!pageconnector
- \currentbtxlastpage
- \fi
- \fi
\stopsetups
%D Instead of texdefinitions without arguments, we could have used setups but in my