latex3 / unicode-math

XeLaTeX/LuaLaTeX package for using unicode/OpenType maths fonts
http://ctan.org/pkg/unicode-math
LaTeX Project Public License v1.3c
239 stars 28 forks source link

Nested n-th root under XeTeX makes compilation extremely slow #490

Open stone-zeng opened 5 years ago

stone-zeng commented 5 years ago

Description

Nested n-th root under XeTeX makes compilation extremely slow. However, when using LuaTeX, the compilation time seems normal (in my computer only 1/7 time of xetex).

Check/indicate

Minimal example demonstrating the issue

\documentclass{article}
\usepackage{unicode-math}

\begin{document}
\[ \sqrt[x]{y} \]
\[ \sqrt[x]{\sqrt[x]{\sqrt[x]{\sqrt[x]{\sqrt[x]{\sqrt[x]{\sqrt[x]{\sqrt[x]{y}}}}}}}} \]
\end{document}

Further details