[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XeTeX encoding problem
From: |
Gavin Smith |
Subject: |
Re: XeTeX encoding problem |
Date: |
Sun, 10 Jan 2016 19:47:19 +0000 |
On 10 January 2016 at 19:21, Gavin Smith <address@hidden> wrote:
> For LuaTeX the code should be something like
Here's the code that worked for me:
local function convert_line_out (line)
local line_out = ""
for c in string.utfvalues(line) do
line_out = line_out .. string.char(c)
end
return line_out
end
callback.register("process_output_buffer", convert_line_out)
Apparently LuaTeX will freeze if there's an error in the lua code.
Also it has its own versions of the Lua libraries: string.utfvalues
was mentioned in the LuaTeX reference manual, and the other functions
I was trying to use evidently weren't there.
- Re: luatex problems with texinfo.tex, (continued)
- Re: luatex problems with texinfo.tex, Karl Berry, 2016/01/03
- Re: luatex problems with texinfo.tex, Werner LEMBERG, 2016/01/03
- Re: luatex problems with texinfo.tex, Gavin Smith, 2016/01/04
- Re: luatex problems with texinfo.tex, Masamichi HOSODA, 2016/01/04
- XeTeX @image support (was Re: luatex problems with texinfo.tex), Masamichi HOSODA, 2016/01/05
- Re: XeTeX @image support, Masamichi HOSODA, 2016/01/05
- Re: XeTeX @image support, Masamichi HOSODA, 2016/01/06
- XeTeX encoding problem (was Re: luatex problems with texinfo.tex), Masamichi Hosoda, 2016/01/06
- Re: XeTeX encoding problem, Masamichi HOSODA, 2016/01/10
- Re: XeTeX encoding problem, Gavin Smith, 2016/01/10
- Re: XeTeX encoding problem,
Gavin Smith <=
- Re: XeTeX encoding problem, Masamichi HOSODA, 2016/01/10
- Re: XeTeX encoding problem, Gavin Smith, 2016/01/11
- Re: XeTeX encoding problem, Masamichi HOSODA, 2016/01/11
- Re: XeTeX encoding problem, Gavin Smith, 2016/01/11
- Re: XeTeX encoding problem, Masamichi HOSODA, 2016/01/13
- Re: XeTeX encoding problem, Karl Berry, 2016/01/14
- Re: XeTeX encoding problem, Gavin Smith, 2016/01/15
- Re: XeTeX encoding problem, Masamichi HOSODA, 2016/01/15
- Re: XeTeX encoding problem, Gavin Smith, 2016/01/15
- Re: XeTeX encoding problem, Masamichi HOSODA, 2016/01/15