summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/publ-ini.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/publ-ini.mkiv')
-rw-r--r--Master/texmf-dist/tex/context/base/publ-ini.mkiv24
1 files changed, 13 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/context/base/publ-ini.mkiv b/Master/texmf-dist/tex/context/base/publ-ini.mkiv
index 6d57a233d02..2d55832f9c2 100644
--- a/Master/texmf-dist/tex/context/base/publ-ini.mkiv
+++ b/Master/texmf-dist/tex/context/base/publ-ini.mkiv
@@ -624,20 +624,16 @@
\setbtxlist % probably already set
\btx_reset_page
\setbtxparameterset\s!list\s!page
- \btxparameter\c!pagecommand
+ \btxparameter\c!command
{\usebtxstyleandcolor\c!style\c!color
- \btxparameter\c!pageleft
+ \btxparameter\c!left
\clf_btxflushpages{\currentbtxdataset}{\currentbtxtag}%
- \btxparameter\c!pageright}%
+ \btxparameter\c!right}%
\endgroup}
-\unexpanded\def\btxpagesetup#1% nothing yet
+\unexpanded\def\btxpagesetup#1% there will b eno left|right|command|style at this inner level
{\begingroup
- %\setbtxparameterset{\c!page:\s!default}\currentbtxnumbering
- \btxparameter\c!left
- % \btxparameter\c!command{\publ_fast_setup\plusfive\s!list\s!page}%
\publ_fast_setup\plusfive\s!list\s!page
- \btxparameter\c!right
\endgroup
\btx_reset_page} % probably not needed
@@ -655,6 +651,7 @@
\unexpanded\def\btx_entry_inject
{\begingroup
+ \redoconvertfont % see (**) in strc-lst, this will become an configuration option
\edef\currentbtxcategory{\btxfield{category}}%
\ignorespaces
\ifconditional\c_btx_list_texts
@@ -1361,6 +1358,12 @@
\let\nocite \btxnocitation
\let\nocitation\btxnocitation
+\unexpanded\def\cite {\doifelsenextoptionalcs\btxcitation \btxdirectcite}
+\unexpanded\def\nocite{\doifelsenextoptionalcs\btxnocitation\btxdirectnocite}
+
+\unexpanded\def\btxdirectcite #1{\btxcitation [#1]\relax} % no optional arguments
+\unexpanded\def\btxdirectnocite#1{\btxnocitation[#1]\relax} % no optional arguments
+
%D Setup helpers, beware, we need to wrap this .. now we need to know
%D how setups are implemented.
@@ -1738,8 +1741,6 @@
%\c!saveinlist=\v!no, % maybe for before/after
\c!textstate=\v!start,
\c!width=\v!auto,
- %\c!pageright=,
- %\c!pageleft=,
\c!separator={;\space},
\c!distance=1.5\emwidth]
@@ -1771,7 +1772,8 @@
\c!separator:names:4=\btxparameter{\c!separator:2}, % between only two names
\c!separator:2={;\space}, % aka pubsep - separates multiple objects
\c!separator:3=\btxparameter{separator:2}, % before last object in a list
- \c!separator:4=\btxparameter{separator:2}] % between only two objects
+ \c!separator:4=\btxparameter{separator:2}, % between only two objects
+ \c!pagestate=\v!stop]
% Do we want these in the format? Loading them delayed is somewhat messy.