Example:
$C = {mathbf{u}_1,mathbf{u}_2,mathbf{u}_3, mathbf{u}_4 } $
Renders fine, but pdf generation fails because of the extra space at the end.
! LaTeX Error: \mathbf allowed only in math mode.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.575 \$C = \{\mathbf
{u}\_1,\mathbf{u}\_2,\mathbf{u}\_3, \mathbf{u}\_4 \} \$
?
! Emergency stop.
@mpacer Does this sound like a bug? I can confirm that once I remove the space before the final $, I am able to download as PDF.
Okay, thanks for the hint with the space, I was about to file a bug report as well. I would certainly consider this a bug, because the code is valid, with or without space and it is by no means obvious to the user why this fails.
Most helpful comment
@mpacer Does this sound like a bug? I can confirm that once I remove the space before the final
$, I am able to download as PDF.