diff options
author | Karl Berry <karl@freefriends.org> | 2015-11-20 23:16:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-11-20 23:16:05 +0000 |
commit | af275c7f6fca66b476804270863d1a5e971cb956 (patch) | |
tree | 2babc0b07e29ab306dabc2d3d53da58f772c3cd5 /Master/texmf-dist/tex/latex/ucharcat | |
parent | d092745105741bf835e2735a9d93e8775c70d1ce (diff) |
ucharcat (20nov15)
git-svn-id: svn://tug.org/texlive/trunk@38907 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ucharcat')
-rw-r--r-- | Master/texmf-dist/tex/latex/ucharcat/ucharcat.sty | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/ucharcat/ucharcat.sty b/Master/texmf-dist/tex/latex/ucharcat/ucharcat.sty index 3a1a67fd5e5..e9f4e81396f 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/08/23 v0.02 ucharcat for luaLaTeX (DPC)] + [2015/11/19 v0.03 ucharcat for luaLaTeX (DPC)] \ifx\directlua\@undefined \ifx\Ucharcat\@undefined \ifx\XeTeXinterchartokenstate\@undefined @@ -36,9 +36,10 @@ \newcatcodetable\ucharcat@table \fi \directlua{% +local nt = newtoken or token function UcharcatLua() - local mych = newtoken.scan_int() - local mycat = newtoken.scan_int() + local mych = nt.scan_int() + local mycat = nt.scan_int() tex.setcatcode(\the\numexpr\ucharcat@table\relax,mych,mycat) tex.sprint(\the\numexpr\ucharcat@table\relax,unicode.utf8.char(mych)) end |