summaryrefslogtreecommitdiff
path: root/tex/context/base/syst-aux.mkiv
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-01-09 13:40:16 +0200
committerMarius <mariausol@gmail.com>2013-01-09 13:40:16 +0200
commit0f948daabca9dcfb92d6325b9a7a5edba22c5abb (patch)
treea70b7921c3d494edcfee002d3a7984327c5319ae /tex/context/base/syst-aux.mkiv
parent4fc90550eb4fa4fea7a1721f800fcefb4081e24a (diff)
downloadcontext-0f948daabca9dcfb92d6325b9a7a5edba22c5abb.tar.gz
beta 2013.01.09 10:51
Diffstat (limited to 'tex/context/base/syst-aux.mkiv')
-rw-r--r--tex/context/base/syst-aux.mkiv15
1 files changed, 15 insertions, 0 deletions
diff --git a/tex/context/base/syst-aux.mkiv b/tex/context/base/syst-aux.mkiv
index 406bbae8b..9a6c75f3c 100644
--- a/tex/context/base/syst-aux.mkiv
+++ b/tex/context/base/syst-aux.mkiv
@@ -58,6 +58,21 @@
\let\unexpanded\normalprotected
+% %D \macros
+% %D {expunded}
+% %D
+% %D \unexpanded\edef\TestA{zzz}
+% %D \edef\TestB{zzz}
+% %D
+% %D \doifelse {\TestA} {\TestB} {WRONG} {OKAY} \par
+% %D \doifelse {\TestA} {\expunded\TestB} {WRONG} {OKAY} \par
+% %D \doifelse {\expunded\TestA} {\TestB} {OKAY} {WRONG} \par
+% %D \doifelse {\expunded\TestA} {\expunded\TestB} {OKAY} {WRONG} \par
+
+% %def\expunded#1{\normalexpanded\expandafter{#1}}
+% \def\expunded#1{\expandafter\empty#1} % used within an edef anyway
+
+
%D As we don't have namespace definers yet, we use a special one:
\newcount\c_syst_helpers_n_of_namespaces \c_syst_helpers_n_of_namespaces\pluseight % 1-8 reserved for catcodes