Why missing number for \blindmathpaper if use accents.sty & blindtext.sty with XeLaTeX?

by murray   Last Updated September 11, 2019 22:23 PM

Why does loading accents.sty together with blindtext.sty produce an error at \blindmathpaper in the following source, which uses a unicode-math.sty?

The error is:

./blindmathpaperXeLaTeXError.tex:16: Missing number, treated as zero.
<to be read again> 
                   \protect 
l.16 \blindmathpaper

The same error occurs with other OpenType fonts, e.g., TeX Gyre Termes

\documentclass{article}

\usepackage{amsmath}% need to load first to avoid \dddot clash
\usepackage{fontspec}
\usepackage[main=english]{babel}
\babelfont{rm}[Ligatures=TeX,SmallCapsFont={Latin Modern Roman Caps}]{Latin Modern Roman}
\usepackage{amsfonts}
\usepackage{unicode-math}
\setmathfont[Ligatures=TeX]{TeX Gyre Termes Math}

\usepackage{accents}
\usepackage[math]{blindtext}

\begin{document}

\blindmathpaper

\end{document}


Related Questions


Why is the fraction off the math axis in XeTeX?

Updated August 09, 2016 08:09 AM

ℕ goes as N into the text layer?

Updated February 19, 2019 01:23 AM

'Not element of' in Latin Modern

Updated January 11, 2018 02:23 AM

Remapping LaTeX symbol to another unicode value

Updated July 18, 2017 10:23 AM