5,008 reputation
1326
bio website bitbucket.org/phg
location Golgafrincham
age
visits member for 2 years, 2 months
seen 8 hours ago

May
14
comment Font found with XeLaTeX not found with LuaLaTeX on Linux
@darthbith I’ve tested your Latex code (on a Linux machine but that shouldn’t matter) and it works ok: If Cambria is found by luaotfload-tool --find, then Luaotfload will locate it correctly during a TeX run. Fwiw here’s a minimal test file for Plain: gist.github.com/phi-gamma/a112d0487cabb1d0077e -- if that one fails on your setup, then there might be some old luaotfload-names.lua file at a different location interfering. If you’re certain the problem persists, please open an item on the official tracker.
May
13
comment Font found with XeLaTeX not found with LuaLaTeX on Linux
@DavidCarlisle Even if it was legally possible to restrict the use of a font the way you describe, you don’t actually have to “install” (whatever that means) the font “on Linux”. Just mount a Windows partition and then put a symlink to the file in ~/.fonts and it should be usable directly.
May
12
comment Why does using small caps break endash ligatures is lualatex?
@Caleb Since there’s a major subsystem rewrite underway I keep the changes in my repo until I’m confident they don’t break everything when merged into master. I haven’t checked whether the fix applies to older versions.
May
12
comment Why does using small caps break endash ligatures is lualatex?
Hans fixed it. The new code will be part of the next version of Luaotfload.
May
11
comment Why does using small caps break endash ligatures is lualatex?
Reported.
Apr
29
awarded  Yearling
Apr
26
comment Can't generate ligatures with LuaLaTeX under TeXLive 2014 when using certain fonts
@Mico Sorry I can’t help you here. I’ve never even seen an AAT font. My best advice is to run standard tools on the file, e.g. otfinfo, ttx, or Fontforge itself.
Apr
26
comment Can't generate ligatures with LuaLaTeX under TeXLive 2014 when using certain fonts
@Mico If those fonts are in fact AAT fonts then Luaotfload can’t help you -- the FontForge libraries are part of LuaTeX so we’re limited to whatever falls out of the fontloader library. If the issue is reproducible with regular OpenType fonts then you hit a bug.
Apr
26
comment Can't generate ligatures with LuaLaTeX under TeXLive 2014 when using certain fonts
@Mico: Ah, OK. It was worth a try, though. Btw. thanks for being brave and running the pretest -- a Luaotfload update is coming soon.
Apr
26
comment Can't generate ligatures with LuaLaTeX under TeXLive 2014 when using certain fonts
Maybe a caching issue? Did you run luaotfload-tool --cache=erase after the update to tl 2014?
Apr
25
comment Luatex ligatures after \newpage
@sujeet Too old. The current version is 2.4, please update.
Apr
24
comment Luatex ligatures after \newpage
@sujeet Please post the output of luaotfload-tool --version.
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.