Skip to content
Snippets Groups Projects
Commit 6f6b8db1 authored by Luigi Scarso's avatar Luigi Scarso
Browse files

small fix in scanner lib ; last version of manual -- trunk

parent 81746a93
Branches
Tags
No related merge requests found
......@@ -61,7 +61,11 @@ chapters on fonts and math we discuss a few more new ones.
There are three new primitives to test the version of \LUATEX:
\unexpanded\def\VersionHack#1% otherwise different luatex and luajittex runs
{\cldcontext{(string.gsub(string.match("\luatexbanner","(.+)\letterpercent("),"jit",""))}}
{\ctxlua{%
local banner = "\luatexbanner"
local banner = string.match(banner,"(.+)\letterpercent(") or banner
context(string.gsub(banner ,"jit",""))%
}}
\starttabulate[|l|l|pl|]
\DB primitive \BC value
......
No preview for this file type
......@@ -62,7 +62,7 @@
\startdocument
[manual=Lua\TeX,
status=experimental,
status=stable,
version=1.10]
\startnotmode[*export]
......
......@@ -381,10 +381,10 @@ static int run_scan_int(lua_State * L)
*/
# define add_to_buffer(chr) \
if (chr <= 255) { \
if (chr <= 127) { \
luaL_addchar(&b,(unsigned) (char) chr); \
} else { \
uindex = uni2string((char *)word,(unsigned) chr); \
uindex = uni2string((char *)word,(unsigned int) chr); \
*uindex = '\0'; \
luaL_addstring(&b,(char *) word); \
}
......
#define luatex_svn_revision 7088
#define luatex_svn_revision 7090
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment