Re: [NTG-context] italic correction after math

2018-02-13 Thread Alan Braslau
On Wed, 14 Feb 2018 00:13:16 +0100 Hans Hagen wrote: > > Cambria is missing math characters... > really? which ones (that the others do have .. afaik gyre have some > less than cambria) ⟂ U+27C2 \perp, for example. This is a "show-stopper" for me. It does NOT get reported by

Re: [NTG-context] Passing two arguments from Lua to Context

2018-02-13 Thread Hans Hagen
On 2/13/2018 10:16 PM, Otared Kavian wrote: On 13 Feb 2018, at 17:38, Hans Hagen wrote: […] context.goto( "Index", { "ref:index" }) \def\foo#1#2{} context.foo("a","b") \def\foo[#1][#2]{} context.foo( { "a" }, { "b" } ) etc Hi Hans, Thanks for your attention,

Re: [NTG-context] italic correction after math

2018-02-13 Thread Hans Hagen
On 2/13/2018 10:41 PM, Alan Braslau wrote: On Tue, 13 Feb 2018 16:26:10 +0100 Hans Hagen wrote: (so in practice for serious math i only use cambria or lucida) Cambria is missing math characters... really? which ones (that the others do have .. afaik gyre have some less than

Re: [NTG-context] italic correction after math

2018-02-13 Thread Alan Braslau
On Tue, 13 Feb 2018 16:26:10 +0100 Hans Hagen wrote: > (so in practice for serious math i only use cambria or lucida) Cambria is missing math characters... ___ If your question is of interest to

Re: [NTG-context] Passing two arguments from Lua to Context

2018-02-13 Thread Otared Kavian
> On 13 Feb 2018, at 17:38, Hans Hagen wrote: > >> […] > > context.goto( "Index", { "ref:index" }) > > \def\foo#1#2{} > > context.foo("a","b") > > \def\foo[#1][#2]{} > > context.foo( { "a" }, { "b" } ) > > etc Hi Hans, Thanks for your attention, your quick response

Re: [NTG-context] italic correction after math

2018-02-13 Thread Hans Hagen
On 2/13/2018 6:51 PM, Ulrike Fischer wrote: Am Tue, 13 Feb 2018 16:26:10 +0100 schrieb Hans Hagen: basically it boils down to fonts being bad: traditional tex fonts cheat about the width for italics and have lots or corrections that get always added as a starter and removed in some cases

Re: [NTG-context] italic correction after math

2018-02-13 Thread Ulrike Fischer
Am Tue, 13 Feb 2018 16:26:10 +0100 schrieb Hans Hagen: > basically it boils down to fonts being bad: traditional tex fonts cheat > about the width for italics and have lots or corrections that get always > added as a starter and removed in some cases (heuristics); opentype on > the other hand

Re: [NTG-context] Paasing two arguments from Lua to Context

2018-02-13 Thread Hans Hagen
On 2/13/2018 4:54 PM, Otared Kavian wrote: Hi all, After Hans showed me an example of using Lua code in ConTeXt, I am learning this stuff in the manual cld-mkiv.pdf, which is in [ConTeXt-StandAlone]/tex/texmf-context/doc/context/documents/general/manuals/cld-mkiv.pdf From that manual I

[NTG-context] Paasing two arguments from Lua to Context

2018-02-13 Thread Otared Kavian
Hi all, After Hans showed me an example of using Lua code in ConTeXt, I am learning this stuff in the manual cld-mkiv.pdf, which is in [ConTeXt-StandAlone]/tex/texmf-context/doc/context/documents/general/manuals/cld-mkiv.pdf From that manual I understand that if a macro command \mycommand is

Re: [NTG-context] italic correction after math

2018-02-13 Thread Hans Hagen
On 2/13/2018 4:11 PM, Ulrike Fischer wrote: Am Tue, 13 Feb 2018 15:44:20 +0100 schrieb Hans Hagen: hm, seems that i messed up a pointer ... i'll fix it ... Thanks. Will the fix be in the generic font loader or in some context-only files? In the second case, what could be done for latex in

Re: [NTG-context] italic correction after math

2018-02-13 Thread Ulrike Fischer
Am Tue, 13 Feb 2018 15:44:20 +0100 schrieb Hans Hagen: > hm, seems that i messed up a pointer ... i'll fix it ... Thanks. Will the fix be in the generic font loader or in some context-only files? In the second case, what could be done for latex in such cases? > (xetex inserts a kern of 2.45pt

Re: [NTG-context] italic correction after math

2018-02-13 Thread Hans Hagen
On 2/13/2018 12:12 PM, Ulrike Fischer wrote: In the following example the calligraphic P bumps into the following x. After some searching in the archive I found some discussions from 2012 and had the impression that this either shouldn't happen or that the behaviour could at least could be

[NTG-context] italic correction after math

2018-02-13 Thread Ulrike Fischer
In the following example the calligraphic P bumps into the following x. After some searching in the archive I found some discussions from 2012 and had the impression that this either shouldn't happen or that the behaviour could at least could be changed with \setupmathematics[italics=n]. But in

Re: [NTG-context] To \getbuffer or to \input: which one is it better?

2018-02-13 Thread Otared Kavian
> On 11 Feb 2018, at 14:17, Aditya Mahajan wrote: > > On Sun, 11 Feb 2018, Hans Hagen wrote: > […] > > I prefer starting with XML and converting it to a lua table using helper > functions. The advantage of XML is that you can verify the data using an RNC > schema. Hi