summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/strc-mar.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/strc-mar.mkiv')
-rw-r--r--Master/texmf-dist/tex/context/base/strc-mar.mkiv8
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/context/base/strc-mar.mkiv b/Master/texmf-dist/tex/context/base/strc-mar.mkiv
index 19fc30c3191..3685b66a702 100644
--- a/Master/texmf-dist/tex/context/base/strc-mar.mkiv
+++ b/Master/texmf-dist/tex/context/base/strc-mar.mkiv
@@ -77,8 +77,14 @@
\def\strc_markings_synchronize[#1][#2][#3]% #1=class #2=boxnumber (some day also name) #3=options, maybe second argument table
{\ifvoid#2\else\ctxcommand{synchronizemarking("#1",\number#2,"#3")}\fi}
+% \def\doifelsemarking#1% why no \unexpanded
+% {\ctxcommand{doifelsemarking("#1")}}
+
+% \def\doifelsemarking#1%
+% {\normalexpanded{\noexpand\ctxcommand{doifelsemarking("\noexpand\detokenize{#1}")}}}
+
\def\doifelsemarking#1%
- {\ctxcommand{doifelsemarking("#1")}}
+ {\ctxcommand{doifelsemarking(\!!bs#1\!!es)}}
% \appendtoks
% \strc_markings_synchronize[\v!page][\normalpagebox][\v!keep]% keep if no marks