github executablebooks/sphinx-exercise v1.2.2

one hour ago

Bug Fixes

  • Fixed LaTeX Error: Not in outer par mode when building LaTeX/PDF output with a captioned figure inside an exercise or solution, including gated exercise-start / solution-start blocks (#94, #95)
    • Figures inside exercise and solution boxes are now written as \begin{figure}[H], as Sphinx already does for figures inside its own admonitions
    • This also covers code-cell outputs with mystnb: figure: caption: metadata inside a solution
    • HTML output is unchanged
  • Fixed CI test failures on Sphinx 6 and 7 caused by a newer pydata-sphinx-theme, by switching the gated directive test root to alabaster (#88)

Installation

pip install sphinx-exercise==1.2.2

See v1.2.2 release notes for full details.

Don't miss a new sphinx-exercise release

NewReleases is sending notifications on new releases.