In TeX Live 2016 the following simple document fails to compile:
\documentclass[11pt]{scrartcl}
\usepackage{amsmath}
\begin{document}
\[ \left( x+1 \right) \dots \left( x+8 \right). \]
\end{document}
Several errors are thrown, the first of which are:
! Argument of \zap@to@space has an extra }.
<inserted text>
\par
l.6 \[ \left( x+1 \right) \dots \left
( x+8 \right). \]
?
Runaway argument?
\left..........
! Paragraph ended before \zap@to@space was complete.
<to be read again>
\par
l.6 \[ \left( x+1 \right) \dots \left
( x+8 \right). \]
?
In addition, any of the following appear to cause the issue to go away:
- Changing from
scrartcltoarticle - Removing the line
\usepackage{amsmath} - Not using
\left(and\right) - Using an earlier version of TeXLive
I'm assuming this is a bug somewhere, but I'm not sure how to fix it (other than just manually using \cdots instead of \dots, I suppose). Does anyone have any ideas on how to make things behave the way they should?
[EDIT: to clarify, compiling with PDFLaTeX, on TeX Live 2016, Arch Linux.]
\dotsinamsmathfor tex live 2016, required by some changes in luatex that i can't really explain. but the changes were iterative, and your result may depend on when various files were installed on your system. i'm pinging @DavidCarlisle to take a look at this; he knows the details. – barbara beeton Aug 15 '16 at 20:47\documentclass[amsmath,11pt]{scrartcl}– JPi Aug 15 '16 at 20:49scrartcldoesn't appear to have anamsmathoption, so that's just same as not specifying amsmath isn't it? – David Carlisle Aug 15 '16 at 22:04