> 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)
>
> Appa
On 10 January 2016 at 19:21, Gavin Smith 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
On 10 January 2016 at 17:59, Masamichi HOSODA wrote:
> In XeTeX and LuaTex, non-ascii chapter name of ``Table of contents''
> is broken.
> In pdfTeX, it is not broken.
For LuaTeX the code should be something like
local function convert_line_out (line)
local line_out = ''
for p, c in unicode.
In XeTeX and LuaTex, non-ascii chapter name of ``Table of contents''
is broken.
In pdfTeX, it is not broken.
Attached files are texi file and screenshots of PDFs.
\input texinfo.tex
@documentencoding UTF-8
@contents
@chapter für
für
@bye