You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LaTeX: v3.5.1 verbatimmaxunderfull setting does not work as expected #8925
Describe the bug
A clear and concise description of what the bug is.
At v3.5.1, a new latex key verbatimforcewraps was added to use with latex_elements['sphinxsetup'] to optionally trigger hard-wrap of code-blocks with unbreakable contents overflowing in margin. Secondary settings verbatimmaxunderfull (and overfull) governs the decision to hard-wrap.
But the underfull condition is too easy to occur, because the last line is taken into account. For example from
Activity
LaTeX: let underfull calculation in wrapped code lines ignore last line
LaTeX: let underfull calculation in wrapped code lines ignore last line
LaTeX: let underfull calculation in wrapped code lines ignore last line
jfbu commentedon Feb 24, 2021
Fixed at 294870b (#8926)
Master.patch (#1)