Example:
\usemodule[simplefonts]
\setmathfont[modern]
\starttext
\startfrontmatter
\input knuth
\stopfrontmatter
\stoptext
Expected Results
The text is on the first page.
Actual Results
The text is on the second page, the first page is blank.
Work Around
Remove
Ahoi, Moonshiners!
I rebuilt my invoice-writing setup and moved most of the logic from a python
script to Lua within ConTeXt.
Now I would like to replace the Python script completely.
Can you suggest libraries that work well with texlua (or are even built-in), WRT
- OO classes (ATM I’m using
Hello,
does ConTeXt contain a built-in Lua conversion routine to convert text in
UTF-16 (and others) to UTF-8 string?
Something like:
\startluacode
local str = "A unicode string" -- Or e.g. string loaded from a file
str = convert(str, "utf16", "utf8")
context(str)
\stopuacode
On 1/27/2017 1:48 PM, Procházka Lukáš Ing. wrote:
Hello,
does ConTeXt contain a built-in Lua conversion routine to convert text
in UTF-16 (and others) to UTF-8 string?
Something like:
\startluacode
local str = "A unicode string" -- Or e.g. string loaded from a file
str =
Hello Hans,
that's it, thank you!
Best regards,
Lukas
On Fri, 27 Jan 2017 14:08:42 +0100, Hans Hagen wrote:
utf16_to_utf8_le
--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz |
IDDS:nrpt3sn
Bezová 1658