5,493 reputation
1630
bio website bitbucket.org/phg
location Golgafrincham
age
visits member for 2 years, 7 months
seen 42 mins ago

Jul
19
awarded  Nice Answer
Jul
14
awarded  Necromancer
Jul
12
comment How to get box dimensions within lualatex
@JPi “Is there a way of doing this for boxes generated in lua” -- Each hlist and vlist node has width, height and depth attributes. See the manual, section 8.1.2.
Jul
11
comment Small caps font is not enabled with fontspec and MinionPro
@egreg: Indeed. That is weird. I’m not that well informed about how things work on the Latex end, but my guess is that something (Fontspec? Microtype?) doesn’t get the feature string right. It should be something like +smcp;letterspace=5 instead (I have no clue as to what the value 50 might mean in this context).
Jul
11
comment Small caps font is not enabled with fontspec and MinionPro
@dmakarov Ah, the linked code does indeed lack small caps. You can try requesting letterspacing directly like so: \textsc{\addfontfeatures{RawFeature={letterspace=10}}foo bar baz} but I have no idea how to translate this into a more Fontspec’y / Latexnical idiom.
Jul
11
comment Small caps font is not enabled with fontspec and MinionPro
@dmakarov It might be easier to post the output on a paste site like gist.github.com pastebin.com -- they do a much better job at preserving formatting than these puny comments. Btw. your luaotfload and luatex look fine and you have more recent Minion Pro than me. I have no idea why it doesn’t work for you.
Jul
11
comment Small caps font is not enabled with fontspec and MinionPro
@dmakarov Can’t reproduce. Please post the output of luaotfload-tool -V, luaotfload-tool --find="MinionPro", and otfinfo -i FILENAME where FILENAME is the full path to the file output by the previous command.
Jul
11
comment Small caps font is not enabled with fontspec and MinionPro
@egreg “the chosen fontname seems invalid when letterspacing is involved.” -- What are you referring to? Minion Pro works perfectly well with both small caps and letterspacing enabled. Here’s the code: gist.github.com/70f8bbb8515ba71978b6
Jul
11
comment Small caps font is not enabled with fontspec and MinionPro
@dmakarov I tried your MWE with the TL 2014 luaotfload and it looks fine to me. Both marked regions are in small caps, and the document does use Minion. Can you please post an image demonstrating what is wrong on your setup? Thanks.
Jul
10
comment curious luatex warning checksum mismatch in font txr.vf ignored
Already reported
Jul
5
comment ConTeXt: How to prevent new paragraph after \hrule in section heading?
Rules don’t cause TeX to enter horizontal mode as text does. Try \setuphead[subsection][style=\tfb, before=\leavevmode\blackrule] (or \dontleavehmode\blackrule). See also wiki.contextgarden.net/…
Jul
4
comment GNU Readline- like history, for the latex terminal shell?
Dont forget to customize your ~/.inputrc!
Jul
4
comment GNU Readline- like history, for the latex terminal shell?
Did you try rlwrap pdflatex?
Jul
1
comment Why lua and not python?
lua-users.org/wiki/LuaVersusPython
Jun
30
comment ConTeXt vs LaTeX compilation time
Comparing “a document that compiles perfectly with either LaTeX or ConTeXt” doesn’t make much sense IMO. It’d be much more interesting to compare two different versions of a document, each of which is truly idiomatic in one of the formats. So you’d use Tikz and Biber/Biblatex on the Latex side, but Metafun and the new bibliography system with Context. Btw. even then the comparison wouldn’t be fair at all because you’d have to limit the Context version of the document to the subset of functionality that Latex is capable of, which is quite a restriction.
Jun
26
comment Error PracTeX Jurnal Modules at ConTeXt
For the mkii format, run texexec instead of context. If you want to modify the practex style, just modify the file that you are pointed to: error on line 323 in file C:/context/tex/texmf-context/tex/context/base/s-ptj-01.tex: ! Undefined control sequence -- That should be the location.
Jun
26
comment Error PracTeX Jurnal Modules at ConTeXt
ntg.nl/pipermail/ntg-context/2012/065169.html -- or compile with mkii.
Jun
25
comment Detecting the local style in a text with ConTeXt
@Aditya Actually the heuristic is even looser, even allowing for something as ridiculous as %foobarmacros=mkvi.
Jun
25
comment Detecting the local style in a text with ConTeXt
@Manuel That’s MkVI syntax. Context has a preprocessor (see luat-mac.lua that is applied if a file begins with the %macros=mkvi directive or its name has the extension .mkvi. The syntax is used extensively all over the Context source. There is not really anything to document since it works as you’d expect it to intuitively: named arguments are placeholders for TeX’s numbered ones.
Jun
25
answered Detecting the local style in a text with ConTeXt