diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-03-09 20:15:05 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-03-09 20:15:05 +0100 |
commit | dc98ffdc842271d05903846b460fab90d4d83739 (patch) | |
tree | 49603cd805408ebdde3a7eafc59c40279dc7e9ad /tex/context/base/publ-imp-aps.mkvi | |
parent | 08128a9710f7a34e16f7487b3bccfe7feadb36f1 (diff) | |
download | context-dc98ffdc842271d05903846b460fab90d4d83739.tar.gz |
2015-03-09 19:29:00
Diffstat (limited to 'tex/context/base/publ-imp-aps.mkvi')
-rw-r--r-- | tex/context/base/publ-imp-aps.mkvi | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/tex/context/base/publ-imp-aps.mkvi b/tex/context/base/publ-imp-aps.mkvi index bd07a9a55..dde6a289a 100644 --- a/tex/context/base/publ-imp-aps.mkvi +++ b/tex/context/base/publ-imp-aps.mkvi @@ -1,3 +1,7 @@ +\endinput + +% todo + %D \module %D [ file=publ-imp-aps, %D version=2013.12.12, @@ -10,8 +14,6 @@ %C This module is part of the \CONTEXT\ macro||package and is therefore copyrighted %D by \PRAGMA. See mreadme.pdf for details. -% \loadbtxdefinitionfile[def] - \startbtxrenderingdefinitions[aps] %D Reference: @@ -31,7 +33,12 @@ % set all APS compliant values (may be redundant but we do not count on defaults.) -\setupbtxlistvariant +\setupbtxrendering + [sorttype=, % num ? + numbering=yes] + +\definebtxlistvariant + [aps] [\c!namesep={,\space}, \c!lastnamesep={,\space and\space}, \c!finalnamesep={,\space and\space}, @@ -123,11 +130,6 @@ \c!finalnamesep={\space\btxlabeltext{\currentbtxspecification:and}\space}, % no comma! \c!authorconversion=\v!name] -\setupbtxrendering - [sorttype=, % num ? - numbering=yes] - -% Should the following be loaded by default? %D In order to be able to get journals expanded (or normalized or abbreviated) you need %D to load a list: @@ -513,15 +515,15 @@ \btxspace \begingroup \setbreakpoints[doi] - \btxdoifelseinteractive {url} { + \ifconditional\btxinteractive \goto { \btxflush{url} } [ url(\btxflush{url}) ] - } { + \else \btxflush{url} - } + \fi \endgroup \stoptexdefinition @@ -530,15 +532,15 @@ \btxspace \begingroup \setbreakpoints[doi] - \btxdoifelseinteractive {doi} { + \ifconditional\btxinteractive \goto { doi:\btxflush{doi} } [ url(http://dx.doi.org/\btxflush{doi}) ] - } { + \else doi:\btxflush{doi} - } + \fi \endgroup \stoptexdefinition |