BUG REPORT: Italic Correction in ConTeXt LMTX
![](https://secure.gravatar.com/avatar/3b9beda3e384e2080a4191da490f0b8e.jpg?s=120&d=mm&r=g)
Hello, I started using ConTeXt LMTX 2 days ago and after some initial testing I noticed an unexpected behavior regarding italic correction. In short, I cannot seem to produce italic correction like I could in plain TeX or even LaTeX. I've asked the question on TeX StackExchange and another user confirmed the suspicion in his answer. I would suggest you take a look at it because the formatting of the question and the answer is prettier than in this plain text email. Furthermore, a person who provided the answer already did some research. See the question here: https://tex.stackexchange.com/questions/724568/how-to-invoke-italic-correcti... Here is what I observed: Compare the kerning produced in between 'r' and 'p' in the word "airport" when italic correction is applied in plain TeX (compiled with `pdftex`) and in ConTeXt LMTX (compiled with `luametatex`). Here are the minimal working examples. Plain TeX ``` airport (regular font) {\it air\/}port (italic correction applied) {\it air}port (no italic correction applied) \bye ``` ConTeXt LMTX ``` \starttext airport (regular font) {\it air\/}port (italic correction applied) {\it air}port (no italic correction applied) \stoptext ``` Please confirm if this, in fact, is the issue/bug or if I am not approaching this correctly. I am brand new to ConTeXt, so it could be me. Thank you in advance! Vladimir
![](https://secure.gravatar.com/avatar/e0f8d84b235b67d60a3c7fd0e326db8d.jpg?s=120&d=mm&r=g)
On 26 Aug 2024, at 19:32, contact@vladimirgrbic.com wrote:
Please confirm if this, in fact, is the issue/bug or if I am not approaching this correctly. I am brand new to ConTeXt, so it could be me. Thank you in advance!
It seems as though it used to work (see https://www.mail-archive.com/ntg-context@ntg.nl/msg60905.html) but not now, so I would assume it's a bug. Your usage looks to be okay. — Bruce Horrocks Hampshire, UK
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 8/26/2024 8:32 PM, contact@vladimirgrbic.com wrote:
Hello,
I started using ConTeXt LMTX 2 days ago and after some initial testing I noticed an unexpected behavior regarding italic correction.
In short, I cannot seem to produce italic correction like I could in plain TeX or even LaTeX. There are three ways:
the{\sl air\/}port the{\em air}port the{\sl\shapecorrection[right]air}port % shape correction can be left right both the first one doesn't work but is fixed in next upload (sometime this week) 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/3b9beda3e384e2080a4191da490f0b8e.jpg?s=120&d=mm&r=g)
Thank you all, I am looking forward to it being fixed.
Vladimir
On Tuesday, August 27th, 2024 at 03:07, Hans Hagen
On 8/26/2024 8:32 PM, contact@vladimirgrbic.com wrote:
Hello,
I started using ConTeXt LMTX 2 days ago and after some initial testing I noticed an unexpected behavior regarding italic correction.
In short, I cannot seem to produce italic correction like I could in plain TeX or even LaTeX.
There are three ways:
the{\sl air\/}port
the{\em air}port
the{\sl\shapecorrection[right]air}port
% shape correction can be left right both
the first one doesn't work but is fixed in next upload (sometime this week)
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 / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
Thank you all, I am looking forward to it being fixed. keep in mind that there is no italic correction in open type fonts so we use (in lmtx) different trickery which is why we also have left correction; there is also some enabled 'autromatic' correction wrt
On 8/27/2024 5:20 PM, Vladimir Grbić wrote: punctuation after italic math 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/15d93940b13873af4b98ba1d6a6855d1.jpg?s=120&d=mm&r=g)
On Tue, Aug 27, 2024 at 09:07 (+0200), Hans Hagen wrote:
On 8/26/2024 8:32 PM, contact@vladimirgrbic.com wrote:
Hello,
I started using ConTeXt LMTX 2 days ago and after some initial testing I noticed an unexpected behavior regarding italic correction.
In short, I cannot seem to produce italic correction like I could in plain TeX or even LaTeX.
There are three ways:
the{\sl air\/}port
the{\em air}port
the{\sl\shapecorrection[right]air}port
% shape correction can be left right both
the first one doesn't work but is fixed in next upload (sometime this week)
Hans (et al), I'm a couple of days late to this party, but none of the above suggestions give me any italic correction. I updated my ConTeXt today, but the fact that the first one doesn't work didn't surprise me, given your last sentence. However, since the second two don't work, can anyone speculate as to what I might be doing wrong? Or, did I somehow misinterpret what "There are three ways:" means? Thanks. Jim
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
Jim schrieb am 29.08.2024 um 21:19:
Hans (et al), I'm a couple of days late to this party, but none of the above suggestions give me any italic correction. I updated my ConTeXt today, but the fact that the first one doesn't work didn't surprise me, given your last sentence.
However, since the second two don't work, can anyone speculate as to what I might be doing wrong? Or, did I somehow misinterpret what "There are three ways:" means?
Italic correction is fixed (for \/ and \italiccorrection) but there hasn't been a new context release since then. The \em variant didn't work because it inserts \/ (which was broken) at the end of the text. Wolfgang
![](https://secure.gravatar.com/avatar/15d93940b13873af4b98ba1d6a6855d1.jpg?s=120&d=mm&r=g)
On Thu, Aug 29, 2024 at 23:04 (+0200), Wolfgang Schuster wrote:
Jim schrieb am 29.08.2024 um 21:19:
Hans (et al), I'm a couple of days late to this party, but none of the above suggestions give me any italic correction. I updated my ConTeXt today, but the fact that the first one doesn't work didn't surprise me, given your last sentence.
However, since the second two don't work, can anyone speculate as to what I might be doing wrong? Or, did I somehow misinterpret what "There are three ways:" means?
Italic correction is fixed (for \/ and \italiccorrection) but there hasn't been a new context release since then.
The \em variant didn't work because it inserts \/ (which was broken) at the end of the text.
Thanks Wolfgang. I read Hans' messages as saying the last two were currently working. I will look forward to the next release. Jim
participants (6)
-
Bruce Horrocks
-
contact@vladimirgrbic.com
-
Hans Hagen
-
Jim
-
Vladimir Grbić
-
Wolfgang Schuster