LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Will Robertson <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Mon, 29 Apr 2019 00:15:19 +0930
Content-Type:
text/plain
Parts/Attachments:
text/plain (82 lines)
Hi Reinhard,

Thanks for the detailed report.

I’m afraid this issue has been logged in the past (albeit relatively recently) and I haven’t had the time to look into it properly. It certainly needs to be addressed. See: https://github.com/wspr/unicode-math/issues/497

Regarding the loading order, I have even thought that unicode-math should load amsmath automatically, but I shy away from present unicode-math as a one-stop-shop. I’ll revisit whether I can force a more explicit warning or error, even if it’s via changes to amsmath.sty itself.

Thanks also for the invite to BachoTeX — I would truly love to go, I just need to line it up one year with some additional conference travel to make it worth the lengthy trip. (It looks like Adelaide to Bydgoszcz is 2 or 3 stops and 30+ hrs travel time…)

Regards,
Will



> On 28 Apr 2019, at 2:23 pm, Reinhard Kotucha <[log in to unmask]> wrote:
>
> Hello Will,
> when I load unicode-math after amsmath, the amsmath option intlimits
> has no effect any more. The options sumlimits and namelimits still
> work as expected.
>
> \documentclass{article}
> \usepackage[intlimits,sumlimits,namelimits]{amsmath}
> \usepackage{unicode-math}
>
> \begin{document}
> \[ \int_{0}^{1} \]
> \[ \sum_{i=0}^{1} \]
> \[ \lim_{x\to\infty} \]
> \end{document}
>
> Even worse, when I reverse the order (loading unicode-math first), the
> operator \lim is printed in italics. This is so strange that I can't
> believe it. Can anybody confirm this behavior?
>
> I tested with both, lualatex and xelatex and TeX Live 2012, 2013,..,2019.
> Same result, as expected.
>
> The above is a minimal example. When unicode-math is loaded first I
> only get a warning "Package amsmath Warning: Unable to redefine math
> accent \mathring.". But when I use other fonts like TeX Gyre Pagella
> with fontspec and texgyrepagella-math.otf with unicode-math, I get
> zillions of error messages about already defined control sequences.
>
> Thus I suppose that amsmath has to be loaded before unicode-math
> unconditionally. If this assumption is true it would be better if
> amsmath aborts with a meaningful error message if it detects an
> already loaded unicode-math.
>
> I'm aware that not all dependency issues can be resolved this way.
> ATM there are 180,000 files in TeX Live, three times more than ten
> years ago and the number is steadily growing. But if only the LaTeX
> core packages complain when loaded in an inappropriate order, that
> would be a great advantage.
>
> I'll meet Frank next week at the BachoTeX conference in Poland.
>
> Will, did you ever consider to attend this amazing conferece? Though
> it's [officially] the conference of the Polish TeX User Group, it's
> quite international. In the past it was attended by people from
> innumerable European countries, Japan, America, and Australia. The
> conference site (in a nature sanctuary) is an ideal place where
> families with [little] children can relax. BachoTeX even offers
> workshops which little kids can attend.
>
> See
> http://www.gust.org.pl/bachotex/bachotex-promo/bachotex-1920x1080.pdf
>
> If you didn't register already, I really hope to meet you there next
> year.
>
> Regards,
> Reinhard
>
> --
> ------------------------------------------------------------------
> Reinhard Kotucha Phone: +49-511-3373112
> Marschnerstr. 25
> D-30167 Hannover mailto:[log in to unmask]
> ------------------------------------------------------------------

ATOM RSS1 RSS2