Reputation
25,059
Next tag badge:
197/100 score
12/20 answers
Badges
6 87 193
Newest
 Nice Answer
Impact
~901k people reached

Apr
18
comment LuaLaTeX escape input buffer
As I said: the contents of mybuf is fine, the lines in the loop do not contain the backslash (function test_print()).
Apr
18
comment LuaLaTeX escape input buffer
Sorry, I meant that you can use the texio.write_nl() lines to debug the output (it gets written to the console).
Apr
18
comment LuaLaTeX escape input buffer
The for line in mybuf:gmatch(...) is wrong. Use texio.write_nl(mybuf) before that line and texio.write_nl(line) right after that line. The match strips the backslash.
Apr
16
comment Split list into tabular with luatex
@HeikoOberdiek I guess you know of string.explode() to split the string?! It is built into LuaTeX.
Apr
16
revised Split list into tabular with luatex
make function more generic
Apr
16
comment Split list into tabular with luatex
@MB78 That's easy, I'll edit my post in a second
Apr
16
revised Split list into tabular with luatex
replace lualatexescapestring with luastring
Apr
16
comment Split list into tabular with luatex
@Mico where is \luastring{} defined? Is it “new”? – I see, I should read the fine luacode manual. Thanks for the pointer!
Apr
16
answered Split list into tabular with luatex
Apr
13
awarded  Nice Answer
Apr
11
comment What have been the most important changes to LaTeX in the last five years? (2011–2016)
You are right, @MartinSchröder. Time is running so fast :)
Apr
10
comment What have been the most important changes to LaTeX in the last five years? (2011–2016)
@Leonid I don't want to do shameless self-promotion, but here you are: github.com/speedata/publisher is such a software based on LuaTeX. See also wiki.luatex.org/index.php/TeX_without_TeX for some background information.
Apr
10
answered What have been the most important changes to LaTeX in the last five years? (2011–2016)
Apr
10
comment What have been the most important changes to LaTeX in the last five years? (2011–2016)
18 upvotes and no comment/answer yet?
Apr
3
awarded  Notable Question
Apr
2
answered In LuaTeX, how can I escape text that will be inserted in LaTeX?
Apr
2
comment In LuaTeX, how can I escape text that will be inserted in LaTeX?
Use tex.print(-2, s). That should be it.
Mar
30
comment Historical, stable version archive of packages
@Werner the archive is currently 350 gigabytes (stored as a git repository)...
Mar
30
answered Historical, stable version archive of packages
Feb
23
comment Is there a way to step through LuaLaTeX macros using a remote debugger?
I usually do printf debugging in combination with viz-nodelist (when appropriate, see for an example output tex.stackexchange.com/a/107398/243). My printf debug functions are here: github.com/speedata/publisher/blob/develop/src/lua/common/…, especially w() and printtable().