Open phockett opened 1 year ago
For quick builds, add \nonstopmode
to preamble (via _config.yml
), but should be careful with this, and fix properly!
See https://tex.stackexchange.com/questions/140845/how-can-i-ignore-latex-error-while-compiling
Builds with QuTip matrix output now failing completely after Docker container rebuild (v220423), but was OK in previous version (v130423) - not sure what has changed, but QuTip output produces runaway arg:
! Argument of \split has an extra }.
<inserted text>
\par
l.2704 ...{array}\right)\end{equation*}\end{split}
Runaway argument?
\collect@body \gather@split Quantum object: dims = [[25], [25]], shap\ETC.
! Paragraph ended before \split was complete.
<to be read again>
\par
l.2704 ...{array}\right)\end{equation*}\end{split}
! Missing $ inserted.
<inserted text>
$
l.2704 ...{array}\right)\end{equation*}\end{split}
! Missing } inserted.
<inserted text>
}
l.2704 ...{array}\right)\end{equation*}\end{split}
! Missing \endgroup inserted.
<inserted text>
\endgroup
l.2704 ...{array}\right)\end{equation*}\end{split}
! Missing \endgroup inserted.
<inserted text>
\endgroup
l.2704 ...{array}\right)\end{equation*}\end{split}
...
(That makes 100 errors; please try again.)
Output written on QM3.pdf (55 pages).
Transcript written on QM3.log.
...
Maybe change in JupyterBook or Sphinx parsing of QuTip output? May need to modify/wrap this somehow... for now just omit it for PDF build testing.
This might be useful: https://github.com/qutip/qutip/pull/2017
Getting build errors for QuTip objects, specifically matrices.
$
--keep-going
set, see https://jupyterbook.org/en/stable/reference/cli.html#cmdoption-jupyter-book-build-keep-going).Seems like something similar to use of
\protect
in figure case (https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/276#issuecomment-1102154800) may be required here - something is presumably getting stripped incorrectly during preprocessing. May be to do with mixed nature of object, with text and matrix? In notebook this is clear, but in built output the label text is wrapped too?Current example from .tex output: