summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-dir.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-12-07 00:30:00 +0100
committerHans Hagen <pragma@wxs.nl>2010-12-07 00:30:00 +0100
commit572b4ae0ac65c888eff366bb6bc83d722e9be913 (patch)
tree4fa79252139e80a825252a5fb9c30c450f278817 /tex/context/base/typo-dir.mkiv
parent6280d1ef2e5287ec38724e27e064f3373b275c57 (diff)
downloadcontext-572b4ae0ac65c888eff366bb6bc83d722e9be913.tar.gz
beta 2010.12.07 00:30
Diffstat (limited to 'tex/context/base/typo-dir.mkiv')
-rw-r--r--tex/context/base/typo-dir.mkiv4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/typo-dir.mkiv b/tex/context/base/typo-dir.mkiv
index 5487e7979..b4e7cb67f 100644
--- a/tex/context/base/typo-dir.mkiv
+++ b/tex/context/base/typo-dir.mkiv
@@ -89,7 +89,7 @@
\def\ARAB {محمد}
\startluacode
- function document.split_tokens(str)
+ function documentdata.split_tokens(str)
for s in str:bytes() do
tex.sprint(tex.ctxcatcodes,string.format("\\hbox{\\char %s}",s))
end
@@ -102,7 +102,7 @@
\enabletrackers[typesetters.directions]%
\framed[offset=overlay]{#1#3}\quad
\disabletrackers[typesetters.directions]%
- \tttf\ctxlua{document.split_tokens([[\detokenize{#3}]])}}}
+ \tttf\ctxlua{documentdata.split_tokens([[\detokenize{#3}]])}}}
\startbuffer[bidi-sample]
\biditest\Arabic{LATIN BARA}{\textdir TLT\relax \LATIN\ \ARAB}\par