5,493 reputation
1630
bio website bitbucket.org/phg
location Golgafrincham
age
visits member for 2 years, 7 months
seen Oct 26 at 8:29

Apr
15
comment Querying a SharePoint list and typesetting the response with LuaLaTeX
If you could drop the hard requirement on Latex, Context should be able to do it out of the box: It too uses curl transparently and comes with a builtin XML parser. Sorry I can’t help you any further.
Apr
14
comment Querying a SharePoint list and typesetting the response with LuaLaTeX
Is it possible to send such a request directly from LuaLaTeX -- Yes, but you’re going to have to use an SSL wrapper like luasec to make the requests. Or call the curl binary using os.execute() like Context does. Then use the XML library of your choice to extract the data and process it like any normal document. I’ve never used Sharepoint so I can’t help you with the details.
Mar
28
comment Accessing MySQL or SQLite from Lua(La)TeX
a) That’s a destestable comparison by any conceivable moral standard; b) it’s a lot easier to port Context code to Latex than PHP, so it should be relevant as a starting point; c) you surrounded the “La” in “Lua(La)TeX” in parentheses and omitted the “Latex” tag, so my comment is 100% relevant to the question as you put it.
Mar
27
comment Accessing MySQL or SQLite from Lua(La)TeX
Context comes with an SQL interface out of the box.
Mar
19
comment how to generate a PDF with real UTF characters
Did you follow the advice here: tex.stackexchange.com/a/6067/14066 as others are suggesting?
Mar
9
comment ConTeXt: Bibliographies in current ConTeXt not working any more?
The bibliography subsystem is undergoing drastic changes at the moment. All of it is still considered experimental and might not work out of the box. Your best chance of getting help is to post a minimal example of what went wrong on the mailing list.
Mar
7
comment ConTeXt: Double or Triple Hyphen are Interpreted inside Verbatim Blocks
Add the parameter style=mono. Those “ligatures” (i.e. the tlig feature) need to be disabled when defining a font. It doesn’t appear to be possible to do that with the style key. Related post by Wolfgang: ntg.nl/pipermail/ntg-context/2012/067283.html
Mar
3
comment how to generate a PDF with real UTF characters
Can you please run this code: \documentclass{scrartcl}\usepackage{fontspec}\begin{document}à\end{document} through Luatex and report back? I definitely get a single-character à (Unicode 0x00e0 / UTF-8 c3a0) when copying from the PDF.
Feb
27
comment How convert any.text to any.tex file or html file to tex
UTF-8 does not support the Russian alphabet or Arabic. -- well, in a manner of speaking that’s true: UTF-8 is an encoding to store (up to) 31 bit values. It does, however, happen to harmonize pretty nicely with the Unicode character set which does offer codepoints for -- among many others -- Cyrillic and Arabic scripts.
Feb
25
comment LuaLateX (luaotfload & blacklist) do not work in Mac OS X Mavericks (Segmentation error)
Glad to hear another Luaotfload success story! =)
Feb
24
comment LuaLateX (luaotfload & blacklist) do not work in Mac OS X Mavericks (Segmentation error)
those aren’t stupid questions. If your luaotfload-tool lacks the -b (or --show-blacklist) flag, this might indicate that there is something wrong with your installation. Could you please post the output of luoatfload-tool --version? If it doesn’t print the version string 2.4-3 then the upgrade wasn’t successful. (There should definitely be a -b flag and with --verbose=2 the font names should be printed.)
Feb
24
revised Using \frak with context
add picture
Feb
24
comment Using \frak with context
@Torbjørn T. done!
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.