summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-ref.mkvi
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/strc-ref.mkvi')
-rw-r--r--tex/context/base/strc-ref.mkvi21
1 files changed, 21 insertions, 0 deletions
diff --git a/tex/context/base/strc-ref.mkvi b/tex/context/base/strc-ref.mkvi
index d2f36eb74..4d4b07e9c 100644
--- a/tex/context/base/strc-ref.mkvi
+++ b/tex/context/base/strc-ref.mkvi
@@ -2046,15 +2046,36 @@
\installcorenamespace{referencingprefix}
+% \def\getreferencestructureprefix#kind#name#category% name will change
+% {{
+% prefix = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefix",
+% separatorset = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefixseparatorset",
+% conversion = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefixconversion",
+% conversionset = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefixconversionset",
+% set = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefixset",
+% segments = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefixsegments",
+% connector = \!!bs\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefixconnector\!!es,
+% }}
+
\def\getreferencestructureprefix#kind#name#category% name will change
{{
prefix = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefix",
separatorset = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefixseparatorset",
conversion = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefixconversion",
conversionset = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefixconversionset",
+ starter = \!!bs\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefixstarter\!!es,
+ stopper = \!!bs\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefixstopper\!!es,
set = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefixset",
segments = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefixsegments",
connector = \!!bs\referencestructureprefixparameter{#kind}{#name}{#category}\c!prefixconnector\!!es,
+ },
+ {
+ separatorset = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!numberseparatorset",
+ conversion = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!numberconversion",
+ conversionset = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!numberconversionset",
+ starter = \!!bs\referencestructureprefixparameter{#kind}{#name}{#category}\c!numberstarter\!!es,
+ stopper = \!!bs\referencestructureprefixparameter{#kind}{#name}{#category}\c!numberstopper\!!es,
+ segments = "\referencestructureprefixparameter{#kind}{#name}{#category}\c!numbersegments",
}}
\unexpanded\def\setupreferencestructureprefix