Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling unimath-symbols.ltx fails #570

Open
2 tasks done
stone-zeng opened this issue Jun 12, 2021 · 3 comments
Open
2 tasks done

Compiling unimath-symbols.ltx fails #570

stone-zeng opened this issue Jun 12, 2021 · 3 comments

Comments

@stone-zeng
Copy link
Contributor

Description

Recently compiling unimath-symbols.ltx will lead to error:

! Dimension too large.
\LT@max@sel #1#2->{\ifdim #2=\wd \tw@ 
                                      #1\else \number \c@LT@chunks \fi }{\th...

l.191 \SHOW\mathopen
                  
?

Add info or delete as appropriate:

  • Relevant for XeTeX
  • Relevant for LuaTeX
  • Issue tracker has been searched for similar issues?
  • Links to <tex.stackexchange.com> discussion if appropriate

Version information

  • TeX Live 2021
  • LaTeX2e + L3 2021-06-01
  • Other packages are all up-to-date
@stone-zeng
Copy link
Contributor Author

@davidcarlisle
Copy link
Member

davidcarlisle commented Jun 12, 2021

It also fails for me on the name for the stix two math font, this runs without error although the count ref are broken somewhere

diff --git a/unimath-symbols.ltx b/unimath-symbols.ltx
index df6ac0e..972bcd4 100644
--- a/unimath-symbols.ltx
+++ b/unimath-symbols.ltx
@@ -10,7 +10,7 @@
 \documentclass[final]{article}
 \makeatletter
 
-\usepackage{ragged2e,setspace,booktabs,catchfile,shortvrb,geometry,metalogo,textcomp,longtable,tabu,hyperref}
+\usepackage{ragged2e,setspace,booktabs,catchfile,shortvrb,geometry,metalogo,textcomp,longtable,array,hyperref}
 
 \geometry{margin=3cm}
 \hypersetup{colorlinks,linkcolor=black}
@@ -52,7 +52,7 @@
 
 \defmathfont{lm}{latinmodern-math.otf}{CC6666}{L}
 \defmathfont{xits}{XITSMath-Regular.otf}{6666CC}{X}
-\defmathfont{stix}{STIX2Math.otf}{66CC66}{S}
+\defmathfont{stix}{STIXTwoMath-Regular.otf}{66CC66}{S}
 \defmathfont{pagella}{texgyrepagella-math.otf}{AA6666}{P}
 \defmathfont{dejavu}{texgyredejavu-math.otf}{AACC66}{D}
 \defmathfont{fira}{FiraMath-Regular.otf}{AA66CC}{F}
@@ -60,13 +60,14 @@
 \def\INPUT{\input{unicode-math-table.tex}}
 \def\TABLE{%
 \par\noindent
-\begin{longtabu}[l]{@{}l *{\Nfonts}{c} lX[l]@{}}
+\setlength\tabcolsep{4pt}%
+\begin{longtable}[l]{@{}l *{\Nfonts}{c} lp{100pt}@{}}
   \toprule
   \textsc{usv} & \Llm & \Lxits & \Lstix & \Lpagella & \Ldejavu & \Lfira & Macro & Description \\
   \midrule \endhead
   \INPUT\\
   \bottomrule
-\end{longtabu}
+\end{longtable}
 }
 \makeatletter
 \def\USV#1{\footnotesize\scshape\MakeLowercase{u+\@gobble#1}}

@davidcarlisle
Copy link
Member

if you add an \mbox{} after \FINISH the laels get written to the aux file, we shoudl check the kernel last page handling...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants