0

I updated, and now get an error with the following code and lualatex or xelatex (pdflatex is OK):

\documentclass{article}
\usepackage{newtxmath}
\begin{document}
Hello
\end{document}

The error is this:

! Undefined control sequence. 
l.2619 \pdfglyphtounicode
                       {nPerp}{2AEB 2215}% .. ..

I assume this is a bug.

How do I report it?

dedded
  • 2,236

1 Answers1

1

the tx fonts are 8bit fonts not really ideal for luatex but you can load the luatex85 compatibility to define the pdftex compatible command names.

\documentclass{article}
\usepackage{luatex85}
\usepackage{newtxmath}
\begin{document}
Hello
\end{document}

This should perhaps be reported to the newtxmath maintainer so it gives a better error or works automatically with luatex.

David Carlisle
  • 757,742