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
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
This is motivated by #5974, in the light of #8854 new verbatimforcewraps, which is an optional feature for Sphinx 3.5.0.
Wrapping of long code lines in latexpdf output is done since Sphinx 1.4.2 (#2343). It happens at spaces and also at ascii punctuation. Sometimes a string has no breakpoints (typically an hexstring #8849, or any string composed only of digits and letters) and if it is too long it then moves to next line and may even then overflow into margin if long enough. With #8854 this is fixed optionally by allowing breakpoints at every character.
The #8854 (which will be part of Sphinx 3.5.0) works even if the characters are part of a token which is rendered by the Pygments style with a colored background. See #5974 (comment) for an example.
This feature request is for an intermediate solution for colored backgrounds which is to let linebreaks happen as if there was no background color.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
This is motivated by #5974, in the light of #8854 new
verbatimforcewraps
, which is an optional feature for Sphinx 3.5.0.Wrapping of long code lines in latexpdf output is done since Sphinx 1.4.2 (#2343). It happens at spaces and also at ascii punctuation. Sometimes a string has no breakpoints (typically an hexstring #8849, or any string composed only of digits and letters) and if it is too long it then moves to next line and may even then overflow into margin if long enough. With #8854 this is fixed optionally by allowing breakpoints at every character.
The #8854 (which will be part of Sphinx 3.5.0) works even if the characters are part of a token which is rendered by the Pygments style with a colored background. See #5974 (comment) for an example.
This feature request is for an intermediate solution for colored backgrounds which is to let linebreaks happen as if there was no background color.
The text was updated successfully, but these errors were encountered: