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

Nov
15
comment Is there a list of <float> in ConTeXt?
@NobbZ you’re correct, of course. Regarding the numbering, I cannot reproduce your result with either of my examples, anyways have a look at conversion sets.
Nov
15
revised Is there a list of <float> in ConTeXt?
correction by OP
Nov
15
answered Is there a list of <float> in ConTeXt?
Nov
15
comment Is there a list of <float> in ConTeXt?
1) Use \place... instead of \complete... and supply your own heading. 2) \setuplist should get you started.
Nov
15
comment Randomly reduce the number of pages
1) If you remove pages at random you’re going to get dangling references in indices and lists. 2) I’d start with the pre_output_filter callback since that should give you access to the completed page.
Nov
15
comment Is there a list of <float> in ConTeXt?
Search the manual for \placelistof<<floats>> and \completelistof<<floats>>.
Nov
14
comment Measuring the true height of a character
The Luatex fontloader also keeps the bounding boxes for each character around, see tex.stackexchange.com/a/130320/14066
Nov
14
comment Why can't we use a \define'd value as a parameter to \switchtobodyfont[…]?
@LarsH \protected (or it’s Context alias \unexpanded) is described in the ε-TeX manual (p. 14 of the PDF version, see also the reference).
Nov
13
comment Why can't we use a \define'd value as a parameter to \switchtobodyfont[…]?
\define creates \unexpanded macros that interfere with the parser. Also, the \{setup,switchto}bodyfont macros are known to have some quirks: wiki.contextgarden.net/…
Nov
13
comment Are \def and \define the same in ConTeXt?
@LarsH Yes, Mk**VI** (not MkIV!) macros are the ones with (optional) parameter names. I’m not sure there exists any user-level documentation besides the source: the preprocessor code can be found in luat-mac.lua (for Context) and luatex-preprocessor.lua for Luatex-Plain. Hth.
Nov
10
comment LuaLaTeX — too high memory usage
@Georg In that case I have no advice to offer besides platitudes: clone the code and bisect until memory consumption drops. Without a concrete test document there isn’t much hope for remote help, sorry.
Nov
10
comment LuaLaTeX — too high memory usage
@Georg This rules out one class of causes. What changes did you make to the document since it now compiles?
Nov
9
comment LuaLaTeX — too high memory usage
Does the leak occur when running luaotfload-tool -uf as well? The font index is rebuilt while compiling a document under some circumstances, and depending on the fonts on your machine it can eat tons of memory.
Nov
6
awarded  context-mkiv
Nov
5
answered How can I list fonts available to LuaTeX in ConTeXt (TeX Live 2013)?
Nov
1
awarded  Enlightened
Nov
1
awarded  Nice Answer
Oct
9
comment How to debug error message from luaotfload-database.lua
You could try using the corrected file from that commit: raw.github.com/lualatex/luaotfload/… but backup the existing file before you do so. It’s been a while and I don’t quite remember if this is still compatible with the version on CTAN.
Oct
9
comment How to debug error message from luaotfload-database.lua
This happens when for a given font family there are members of the same style that come with and without design size information. Fixed in the dev version a while ago: github.com/lualatex/luaotfload/commit/…
Oct
6
comment fontspec option “Renderer=Basic” - what does it mean?
@egreg Once it’s official, sure. Right now I’m still waiting for Robert’s input so the implementation can be finalized. I appreciate that you guys are keen on leaving nothing unanswered. On the other hand, an answer that might be invalidated by the next release isn’t worth much. At the moment letterspacing in Luaotfload is still in flux (in fact, there are two mutually incompatible implementations of it!).