summaryrefslogtreecommitdiff
path: root/tex/context/base/publ-imp-list.mkvi
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/publ-imp-list.mkvi')
-rw-r--r--tex/context/base/publ-imp-list.mkvi76
1 files changed, 76 insertions, 0 deletions
diff --git a/tex/context/base/publ-imp-list.mkvi b/tex/context/base/publ-imp-list.mkvi
new file mode 100644
index 000000000..d585fd48f
--- /dev/null
+++ b/tex/context/base/publ-imp-list.mkvi
@@ -0,0 +1,76 @@
+%D \module
+%D [ file=publ-imp-list,
+%D version=2014.06.16,
+%D title=\CONTEXT\ Publication Support,
+%D subtitle=Lists,
+%D author=Hans Hagen,
+%D date=\currentdate,
+%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
+%C
+%C This module is part of the \CONTEXT\ macro||package and is
+%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
+%C details.
+
+\unprotect
+
+\starttexdefinition btx:list:inject #content
+ \ifconditional\btxinteractive
+ \ifx\currentbtxinternal\empty
+ #content
+ \else
+ \goto {
+ #content
+ } [
+ \s!internal(\currentbtxinternal)
+ ]
+ \fi
+ \else
+ #content
+ \fi
+\stoptexdefinition
+
+\startsetups \s!btx:\s!list:concat
+% \ifcase\currentbtxconcat \or \or
+% \btxcitevariantparameter\c!pubsep
+% \or
+% \btxcitevariantparameter\c!finalpubsep
+% \or
+% \btxcitevariantparameter\c!lastpubsep
+% \fi
+ \space
+\stopsetups
+
+\startsetups \s!btx:\s!list:page
+ \directsetup{\s!btx:\s!list:concat}
+ \texdefinition {btx:list:inject} {
+ % real pagenumber: todo, userpage
+ \currentbtxfirst
+ % order
+ \high{\currentbtxsecond}
+ }
+\stopsetups
+
+\startsetups \s!btx:\s!list:yes
+ \texdefinition {btx:list:inject} {
+ \currentbtxfirst
+ }
+\stopsetups
+
+\startsetups \s!btx:\s!list:short
+ \texdefinition {btx:list:inject} {
+ \currentbtxfirst
+ \currentbtxsecond
+ }
+\stopsetups
+
+\startsetups \s!btx:\s!list:num
+ \directsetup{\s!btx:\s!list:yes}
+\stopsetups
+\startsetups \s!btx:\s!list:bib
+ \directsetup{\s!btx:\s!list:yes}
+\stopsetups
+\startsetups \s!btx:\s!list:unknown
+ \directsetup{\s!btx:\s!list:yes}
+\stopsetups
+
+\protect