Re: [NTG-context] lua code prevents compilation

2015-04-02 Thread Pablo Rodriguez
On 04/02/2015 02:23 AM, Hans Hagen wrote: On 4/2/2015 1:21 AM, Pablo Rodriguez wrote: [...] Both lack the underscore glyph. This causes the crash, since it works fine if I replace the glyph with an existing glyph in the font. [...] Would it be possible that ConTeXt silently ignores that the

Re: [NTG-context] lua code prevents compilation

2015-04-01 Thread Hans Hagen
On 4/2/2015 1:21 AM, Pablo Rodriguez wrote: On 03/30/2015 10:33 PM, Hans Hagen wrote: On 3/30/2015 5:19 PM, Pablo Rodriguez wrote: [...] For some reason unknown to me, the only way to compile the sample is to remove the luacode snippet. I need the lua code to have underscore hyphenation in

Re: [NTG-context] lua code prevents compilation

2015-04-01 Thread Pablo Rodriguez
On 03/30/2015 10:33 PM, Hans Hagen wrote: On 3/30/2015 5:19 PM, Pablo Rodriguez wrote: [...] For some reason unknown to me, the only way to compile the sample is to remove the luacode snippet. I need the lua code to have underscore hyphenation in type commands. And I need two extra

[NTG-context] lua code prevents compilation

2015-03-30 Thread Pablo Rodriguez
Dear list, I have the following sample: \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte(_) local char = tfmdata.characters[underscore] tfmdata.characters[0xFE000] = { width= 0, height = 0,

Re: [NTG-context] lua code prevents compilation

2015-03-30 Thread Hans Hagen
On 3/30/2015 5:19 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte(_) local char = tfmdata.characters[underscore] tfmdata.characters[0xFE000] = {