On Mon, 17 Feb 2025 at 17:13, luigi scarso <[email protected]> wrote:
> > > On Mon, 17 Feb 2025 at 16:45, Ulrike Fischer <[email protected]> wrote: > >> Am Mon, 17 Feb 2025 16:33:47 +0100 schrieb luigi scarso: >> >> > On Mon, 17 Feb 2025 at 13:36, Petr Olsak <[email protected]> wrote: >> > >> >> Hi Luigi, >> >> >> >> I thought someone might be interested and might want to fix it for >> version >> >> TeXlive 2025. At least \/ behavior fixing. I understand, that the >> question >> >> in general (if insert italic correction at almost each end of math >> list or >> >> not) needs more analysis and more discussion. But \/ question is >> simpler. >> >> >> >> Personally, I don't mind that it won't be right away. We can wait. >> >> I agree with Petr that the handling of italic correction at the end >> of the math is a bit of a pain. It pops up in questions and >> discussions regularly. As luatex inserts it only if a character >> follows, we have experimented with zero width joiner and other >> options but nothing looks really natural. Eg >> >> \documentclass{article} >> \usepackage{unicode-math} >> \setmathfont{XITS Math} >> \begin{document} >> $\mathcal{P}x \mathcal{P}$x >> >> $\mathcal{P}\strut x \mathcal{P}\Uchar"200D$x >> \end{document} >> >> -- >> Ulrike Fischer >> http://www.troubleshooting-tex.de/ >> >> > So it's a bug even considering > 7.5.5 Math italic mess > of the reference luatex.pdf ? > Yes (or perhaps unfortunate design rather than bug) the mathitalicsmode parameter described in that section doesn't allow a specification of a behaviour compatible with other engines. As Ulrike says you have to try to force in an invisible character node or add the italic correction "by hand" for luatex. David > > -- > luigi > _______________________________________________ > dev-luatex mailing list -- [email protected] > To unsubscribe send an email to [email protected] >
_______________________________________________ dev-luatex mailing list -- [email protected] To unsubscribe send an email to [email protected]
