5,103 reputation
1527
bio website bitbucket.org/phg
location Golgafrincham
age
visits member for 2 years, 3 months
seen 1 hour ago

Feb
24
answered Using \frak with context
Feb
24
comment How to get the current directory name in ConTeXt?
@Sean Allred: If you’re curious about Context’s Lua integration, I can recommend mk.pdf, hybrid.pdf and the lists status-files.pdf as well as status-lua.pdf.
Feb
24
comment LuaLateX (luaotfload & blacklist) do not work in Mac OS X Mavericks (Segmentation error)
Btw. the current version of Luatex has the buggy AAT support removed; this entire class of problems will vanish with this year’s release of texlive.
Feb
24
comment LuaLateX (luaotfload & blacklist) do not work in Mac OS X Mavericks (Segmentation error)
1) Please post the output of luaotfload-tool -b; the font should be listed with the exact name of the actual font file which by default is Skia.ttf. The same goes for those other fonts you mention. 2) If the font is missing from the output, it means that Luaotfload can’t find the blacklist file. Symlink or copy it to the working directory and try again. 3) Fyi, luaotfload-tool -v -vvv is redundant and maybe ineffective. Use luaotfload-tool -vvuf (or luaotfload-tool --update --force --verbose=2 to trace font files being read. I recommend you read man 1 luaotfload-tool.
Feb
23
comment How to get the current directory name in ConTeXt?
Or like in Context, Latex users can just use Luatex: \directlua {tex.sprint (lfs.currentdir())}.
Feb
23
answered How to get the current directory name in ConTeXt?
Feb
22
comment How to make ligatures searchable and copiable in LuaTeX?
@Psychic Birdy Looks like a problem with cached fonts. After updating Luaotfload it’s advisable to run luaotfload-tool --cache=erase; well it was, anyhow, since recent versions delete the cache automatically if a version change is detected.
Feb
21
comment fontspec throwing error with lualatex - broken?
@castle-bravo Your version of luaotfload is quite old. Could you please update your texlive installation? Normally I’d recommend using tlmgr for that but you appear to have texlive under your distro’s package manager, so you’re going to have to use that for updating.
Feb
21
comment fontspec throwing error with lualatex - broken?
Please paste the output of luaotfload-tool --version and luaotfload-tool --diagnose=environment,permissions.
Feb
21
comment Using \frak with context
As @torbjorn-t says, in MkIV \frak will only have an effect in math mode since it tests for math mode explicitly.
Feb
21
comment Can LuaTeX create HTML?
To add to what @Marco and @ mbork pointed out in their comments: Context does indeed produce XML out of the box, but it does not actuall need to “modify the output routine”. (That’s actually pretty obvious since HTML doesn’t have the concept of a page like TeX does.) Instead, the relevant structural commands are extended to tag regions of text by means of Luatex attributes, which doesn’t even require much effort since most user-level commands are derived from generic ones.
Feb
2
awarded  Revival
Feb
2
comment LuaTeX callback for single line captions
@egreg Thank you too for the reminder!
Feb
2
answered LuaTeX callback for single line captions
Jan
25
comment How to vertically center content of page without makeup in ConTeXt?
@Aditya I incorporated your suggestion into the answer, though it’s not really semantic because OP didn’t give the purpose of the centered content.
Jan
25
revised How to vertically center content of page without makeup in ConTeXt?
add better, alternative solution
Jan
24
comment How to vertically center content of page without makeup in ConTeXt?
@Aditya That’d amount to some makeshift version of makeups, wouldn’t it?
Jan
24
answered How to vertically center content of page without makeup in ConTeXt?
Jan
23
comment How to vertically center content of page without makeup in ConTeXt?
\dontleavehmode \vfill foo bar \vfill.
Jan
21
comment LuaTeX: \luaexec leads to 'Missing number, treated as zero.'
\directlua{} instead of \luaexec{} appears to work.