Re: [NTG-context] change in treating errors
On Mon, 15 Apr 2019 23:11:17 -0400 Mohammad Hossein Bateni wrote: > Hi, > > ConTeXt used to recover better from errors. Consider the following file: > > = > \xyz > \abc > > \starttext > HELLO > \stoptext > = > > Running ConTeXt ver: 2019.03.21 21:39 MKIV beta fmt: 2019.3.26 int: > english/english would catch both "Undefined control sequence" errors before > exiting with the message "mtx-context | fatal error: return code: > 256". (I either press enter to move to the next error, or I use the > --nonstopmode option.) > > Now with ConTeXt ver: 2019.04.13 17:01 MKIV beta fmt: 2019.4.15 int: > english/english, even when I do not supply the --nonstopmode option, > ConTeXt exits abnormally with the same error message right after > discovering the first undefined control sequence. The old "?" TeX prompt > allowing once to fix the misspellings, etc. does not appear at all. > > Has some defaults changed? Is it possible to get the old behavior? > > Thanks, > ~MHB I much prefer the new behavior, for the previous prompt was pretty useless and there was little point going on without correcting an earlier error. Furthermore, the model would often leave a furtive process running in the background following a keyboard interrupt (especially on Mac OSX). The new process does not do this. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] change in treating errors
Hi, ConTeXt used to recover better from errors. Consider the following file: = \xyz \abc \starttext HELLO \stoptext = Running ConTeXt ver: 2019.03.21 21:39 MKIV beta fmt: 2019.3.26 int: english/english would catch both "Undefined control sequence" errors before exiting with the message "mtx-context | fatal error: return code: 256". (I either press enter to move to the next error, or I use the --nonstopmode option.) Now with ConTeXt ver: 2019.04.13 17:01 MKIV beta fmt: 2019.4.15 int: english/english, even when I do not supply the --nonstopmode option, ConTeXt exits abnormally with the same error message right after discovering the first undefined control sequence. The old "?" TeX prompt allowing once to fix the misspellings, etc. does not appear at all. Has some defaults changed? Is it possible to get the old behavior? Thanks, ~MHB ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Missing modules crossref and pararef
Hi Hraban, As lonely wiki pages your module documentation gets overlooked, you might have linked them in https://wiki.contextgarden.net/References. Thanks for the suggestion... done it. And yes, I never was into including my modules into the context-minimal distribution, but this incident made me realize that I should have. So I like to add them now. But that will be a seperate post. Greetings, Haeske -- Zenlima Inhaber / Владелец / Owner: Henning Haeske Ostseestraße 65 - 23689 Luschendorf Deutschland / Германия / Germany ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \abovedisplayshortskip
Hi, is \abovedisplayshortskip inserted in formulas that come after short lines? Or is there a more ConTeXt-way to tune this? Small example file below, but I see no change after I set it, so I guess it is not used? /Mikael \starttext Foo \startformula 1+1=2 \stopformula \abovedisplayshortskip = -12pt Foo \startformula 1+1=2 \stopformula \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Adjust kerning with superscript
On 4/15/2019 11:23 AM, Henri Menke wrote: On 15/04/19 9:06 PM, Hans Hagen wrote: On 4/15/2019 9:50 AM, Henri Menke wrote: Dear list, I am unhappy with how some fonts kern particular subscripts. For example in the default Latin Modern, subscripts to the Greek capital gamma could use some negative kerning. Because I can't (and don't want to) fix the font, I thought that I could patch the font on-the-fly in ConTeXt. The usual approach with fonts.handlers.otf.addfeature works well in math mode, but does not extend into subscripts (MWE below). Is there a method to adjust subscript kernings? Could this be done using mathkerns? Latin Modern doesn't have any but maybe they can be added on the fly. Cheers, Henri --- \startluacode fonts.handlers.otf.addfeature { type = "kern", name = "kern", data = { [0x0393] = { [0x0030] = -200 } } } \stopluacode \setupbodyfont[modern] \starttext $\Gamma0$ % works fine :) $\Gamma_0$ % doesn't work :( \stoptext see pagella-math.lfg Thanks for the hint. Is there a possibility to do this without goodies? They are not available in generic. i suppose that you can use one of the hooks that adapt fonts beforehand: just add features after the font gets loaded but before it gets passed to tex (it's character.mathkerns) (at some point i'll probably add such stacked kern definitions in context but it depends on how the gyre fonts evolve) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Adjust kerning with superscript
On 15/04/19 9:06 PM, Hans Hagen wrote: > On 4/15/2019 9:50 AM, Henri Menke wrote: >> Dear list, >> >> I am unhappy with how some fonts kern particular subscripts. For example in >> the default Latin Modern, subscripts to the Greek capital gamma could use >> some >> negative kerning. Because I can't (and don't want to) fix the font, I >> thought >> that I could patch the font on-the-fly in ConTeXt. >> >> The usual approach with fonts.handlers.otf.addfeature works well in math >> mode, >> but does not extend into subscripts (MWE below). Is there a method to adjust >> subscript kernings? Could this be done using mathkerns? Latin Modern >> doesn't >> have any but maybe they can be added on the fly. >> >> Cheers, Henri >> >> --- >> >> \startluacode >> fonts.handlers.otf.addfeature { >> type = "kern", >> name = "kern", >> data = { [0x0393] = { [0x0030] = -200 } } >> } >> \stopluacode >> >> \setupbodyfont[modern] >> >> \starttext >> $\Gamma0$ % works fine :) >> >> $\Gamma_0$ % doesn't work :( >> \stoptext > see pagella-math.lfg Thanks for the hint. Is there a possibility to do this without goodies? They are not available in generic. Cheers, Henri > > > - >Hans Hagen | PRAGMA ADE >Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > - > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Adjust kerning with superscript
On 4/15/2019 9:50 AM, Henri Menke wrote: Dear list, I am unhappy with how some fonts kern particular subscripts. For example in the default Latin Modern, subscripts to the Greek capital gamma could use some negative kerning. Because I can't (and don't want to) fix the font, I thought that I could patch the font on-the-fly in ConTeXt. The usual approach with fonts.handlers.otf.addfeature works well in math mode, but does not extend into subscripts (MWE below). Is there a method to adjust subscript kernings? Could this be done using mathkerns? Latin Modern doesn't have any but maybe they can be added on the fly. Cheers, Henri --- \startluacode fonts.handlers.otf.addfeature { type = "kern", name = "kern", data = { [0x0393] = { [0x0030] = -200 } } } \stopluacode \setupbodyfont[modern] \starttext $\Gamma0$ % works fine :) $\Gamma_0$ % doesn't work :( \stoptext see pagella-math.lfg - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Missing font features in page header if \feature[-] is used in header text
On 4/14/2019 6:20 PM, Joseph Canedo wrote: Dear list, With latest ConTeXt beta (13-04-2019) I notice that font features seem ignored in page header rendering. (missing kern between Ps in « Psalme » and different Th in « Thimothee ». Anything I am doing wrong ? fixed in next beta - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Adjust kerning with superscript
Dear list, I am unhappy with how some fonts kern particular subscripts. For example in the default Latin Modern, subscripts to the Greek capital gamma could use some negative kerning. Because I can't (and don't want to) fix the font, I thought that I could patch the font on-the-fly in ConTeXt. The usual approach with fonts.handlers.otf.addfeature works well in math mode, but does not extend into subscripts (MWE below). Is there a method to adjust subscript kernings? Could this be done using mathkerns? Latin Modern doesn't have any but maybe they can be added on the fly. Cheers, Henri --- \startluacode fonts.handlers.otf.addfeature { type = "kern", name = "kern", data = { [0x0393] = { [0x0030] = -200 } } } \stopluacode \setupbodyfont[modern] \starttext $\Gamma0$ % works fine :) $\Gamma_0$ % doesn't work :( \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___