[NTG-context] italic correction (before the glyph)

2019-06-23 Thread Pablo Rodriguez
Dear list, I have the following sample: \def\DesiredFont{TeX Gyre Termes} \definefontfeature[italic][itlc=yes,textitalics=yes] \setupitaliccorrection[global, always] \definefontfamily [mainface] [rm] [\DesiredFont] \definefontfamily

Re: [NTG-context] italic correction after math

2018-02-14 Thread Hans Hagen
On 2/14/2018 5:30 PM, Alan Braslau wrote: On Wed, 14 Feb 2018 10:12:22 +0100 Ulrike Fischer wrote: ⟂ U+27C2 \perp, for example. This is a "show-stopper" for me. Works ok for me on latex + windows: \documentclass{article} \usepackage{unicode-math} \setmathfont{Cambria

Re: [NTG-context] italic correction after math

2018-02-14 Thread Alan Braslau
On Wed, 14 Feb 2018 10:12:22 +0100 Ulrike Fischer wrote: > > ⟂ U+27C2 \perp, for example. This is a "show-stopper" for me. > > Works ok for me on latex + windows: > > \documentclass{article} > \usepackage{unicode-math} > \setmathfont{Cambria Math} >

Re: [NTG-context] italic correction after math

2018-02-14 Thread Hans Hagen
On 2/14/2018 2:21 PM, Ulrike Fischer wrote: Am Wed, 14 Feb 2018 10:34:49 +0100 schrieb Hans Hagen: Looks good. And for the record: \strut works the other way round and suppress the kern. Yes, because a zwj is a real character and can be used to fool the mechanism A bit to real ;-(. I get a

Re: [NTG-context] italic correction after math

2018-02-14 Thread Ulrike Fischer
Am Wed, 14 Feb 2018 10:34:49 +0100 schrieb Hans Hagen: >> Looks good. And for the record: \strut works the other way round and >> suppress the kern. > > Yes, because a zwj is a real character and can be used to fool the mechanism A bit to real ;-(. I get a sort of sign post (a rule with a x on

Re: [NTG-context] italic correction after math

2018-02-14 Thread Hans Hagen
On 2/14/2018 10:22 AM, Ulrike Fischer wrote: Am Tue, 13 Feb 2018 19:21:21 +0100 schrieb Hans Hagen: But xits is in this case not lying about the italic. The cal-P has a large overhang and one would like to take this somehow into account. well, how should math (or whatever) know what comes

Re: [NTG-context] italic correction after math

2018-02-14 Thread Ulrike Fischer
Am Tue, 13 Feb 2018 19:21:21 +0100 schrieb Hans Hagen: >> But xits is in this case not lying about the italic. The cal-P has a >> large overhang and one would like to take this somehow into account. > > well, how should math (or whatever) know what comes after it ... I wasn't looking for a

Re: [NTG-context] italic correction after math

2018-02-14 Thread Ulrike Fischer
Am Tue, 13 Feb 2018 20:58:52 -0700 schrieb Alan Braslau: >>> 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. Works ok for me on latex + windows:

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] 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] 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] 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] Italic correction behaviour is odd

2017-01-18 Thread Hans Hagen
On 1/11/2017 10:11 PM, Henri Menke wrote: Dear list, why are italic corrections in the MWE below not inserted according to the rules stated in the new font manual? See comments in the code for details. I can reproduce the issue with TL2016 and latest beta. you can test with local

[NTG-context] Italic correction behaviour is odd

2017-01-11 Thread Henri Menke
Dear list, why are italic corrections in the MWE below not inserted according to the rules stated in the new font manual? See comments in the code for details. I can reproduce the issue with TL2016 and latest beta. Cheers, Henri --- \definefontfeature [default] [default] [itlc=yes]

[NTG-context] Italic correction (line starts with comma)

2011-11-07 Thread Andreas Harder
Hi Hans, as a side effect of italic correction some lines start with an comma. \setuppapersize[A5] \definefontfeature[default][default][itlc=yes] \setupitaliccorrection[always] \starttext \showframe[text] \startbuffer {\it italic}, normal, {\em emphasized}, normal \stopbuffer

Re: [NTG-context] Italic correction (line starts with comma)

2011-11-07 Thread Hans Hagen
On 7-11-2011 15:08, Andreas Harder wrote: Hi Hans, as a side effect of italic correction some lines start with an comma. \setuppapersize[A5] \definefontfeature[default][default][itlc=yes] \setupitaliccorrection[always] \starttext \showframe[text] \startbuffer {\it italic}, normal,

[NTG-context] Italic correction spoils XHTML-output

2011-10-31 Thread Andreas Harder
Hi all, I spotted an curious side effect while using italic correction together with the export feature. The XHTML-export has unwanted spaces while the PDF is fine. \startbuffer[css] highlight[detail=emph] { font-style: italic } \stopbuffer \savebuffer[css][test.css] % - do not work!

Re: [NTG-context] Italic correction spoils XHTML-output

2011-10-31 Thread Aditya Mahajan
PS. By composing this example I noticed that \savebuffer do nothing. Unless something has changed recently, \savebuffer[buffer-list][filename] concatenates all the buffers in `buffer-list` and saves them to the file `\jobname-filename.tmp`. In the filter module, I work around this

[NTG-context] Italic correction

2011-08-15 Thread Wolfgang Schuster
Hi, is italic correction still supported with MkIV because in the following example the second sentence has the same length as the first. % engine=pdftex \starttext \setbox\scratchbox\hbox{A short sentence with a {\it italic} word.} \the\wd\scratchbox\ : \box\scratchbox\par

Re: [NTG-context] Italic correction

2011-08-15 Thread Hans Hagen
On 15-8-2011 8:04, Wolfgang Schuster wrote: Hi, is italic correction still supported with MkIV because in the following example the second sentence has the same length as the first. % engine=pdftex \starttext \setbox\scratchbox\hbox{A short sentence with a {\it italic} word.}

Re: [NTG-context] Italic correction

2011-08-15 Thread Wolfgang Schuster
Am 15.08.2011 um 21:13 schrieb Hans Hagen: On 15-8-2011 8:04, Wolfgang Schuster wrote: Hi, is italic correction still supported with MkIV because in the following example the second sentence has the same length as the first. % engine=pdftex \starttext \setbox\scratchbox\hbox{A

Re: [NTG-context] Italic correction

2011-08-15 Thread Hans Hagen
On 15-8-2011 9:35, Wolfgang Schuster wrote: Works. Can this be added to the default features? depends on the performance drop I guess Hans - Hans Hagen | PRAGMA ADE

[NTG-context] Italic correction is missing.

2010-03-10 Thread Mehdi Omidali
Hi If you run \starttext \startformula V) V\exists F\exists \stopformula \stoptext the space between V and ) for example is not correct. (luatex .50) MO ___ If your question is of interest to others as well, please

Re: [NTG-context] Italic correction is missing.

2010-03-10 Thread Taco Hoekwater
Mehdi Omidali wrote: Hi If you run \starttext \startformula V) V\exists F\exists \stopformula \stoptext the space between V and ) for example is not correct. (luatex .50) The reason why there is no italic correction is because luatex sees a simple list of mathords, and it does not apply italic

[NTG-context] italic correction

2003-09-23 Thread Idris S Hamid
Dear syndicate, Sometimes I make a definition like \def\TR{\it} for certain purposes (structural consistency, etc.). How do I modify this to automatically do an italic correction the way \em is set up to do in \ConTeXt? == By the way, did Hans ever make a final ConTeXt