summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ucharcat/ucharcat.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ucharcat/ucharcat.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ucharcat/ucharcat.sty5
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/ucharcat/ucharcat.sty b/Master/texmf-dist/tex/latex/ucharcat/ucharcat.sty
index 1bad5082f8f..3a1a67fd5e5 100644
--- a/Master/texmf-dist/tex/latex/ucharcat/ucharcat.sty
+++ b/Master/texmf-dist/tex/latex/ucharcat/ucharcat.sty
@@ -13,7 +13,7 @@
%% See README for details.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{ucharcat}
- [2015/05/20 v0.01 ucharcat for luaLaTeX (DPC)]
+ [2015/08/23 v0.02 ucharcat for luaLaTeX (DPC)]
\ifx\directlua\@undefined
\ifx\Ucharcat\@undefined
\ifx\XeTeXinterchartokenstate\@undefined
@@ -30,10 +30,11 @@
\fi
\ifx\newcatcodetable\@undefined
\chardef\ucharcat@table"7000
+ \directlua{tex.enableprimitives("",{"initcatcodetable"})}
+ \initcatcodetable\ucharcat@table
\else
\newcatcodetable\ucharcat@table
\fi
-\luatexinitcatcodetable\ucharcat@table
\directlua{%
function UcharcatLua()
local mych = newtoken.scan_int()