summaryrefslogtreecommitdiff
path: root/tex/context/base/supp-dir.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/supp-dir.mkiv')
-rw-r--r--tex/context/base/supp-dir.mkiv11
1 files changed, 11 insertions, 0 deletions
diff --git a/tex/context/base/supp-dir.mkiv b/tex/context/base/supp-dir.mkiv
index 0634bd36f..dce47a178 100644
--- a/tex/context/base/supp-dir.mkiv
+++ b/tex/context/base/supp-dir.mkiv
@@ -18,6 +18,17 @@
% \expanded{\defineactivecharacter \number"2000E} {\textdir TRT\relax}
% \expanded{\defineactivecharacter \number"2000F} {\textdir TLT\relax}
+%D As we have less directions now we can use something
+
+% \chardef\@@D@@TLT0
+% \chardef\@@D@@TRT1
+% \chardef\@@D@@RTT0
+% \chardef\@@D@@LRL1
+%
+% \def\thetextdir{\csname @@D@@\the\textdir\endcsname}
+%
+% \ifnum\thetextdir=0 L\else R\fi \textdir TRT \ifnum\thetextdir=0 L\else R\fi
+
\unexpanded\def\showdirsinmargin
{\doifelse{\the\pardir}\!!TLT
{\inleft{\normalexpanded{\noexpand\hbox dir TLT{\ttxx[\the\pardir,\the\textdir]}}}}