-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LaTeX build log still contains Overfull \hbox
reports although verbatimforcewraps
is active and has actually solved the PDF output problem
#12722
Comments
Just wondering but can't we use lstlisting environments instead of verbatim? (unless we already use them). The environment supports automatic line wrapping so it shouldn't be an issue. But I'm not sure ot supports stylings (how do we actually render those boxes? or even create them?) |
I will try to answer concisely (which is tough for me!). We use a combination of We do not use the LaTeX "verbatim" but an extension provided by As per So mid-term or long-term we could drop entirely having our |
Describe the bug
but the output is absolutely fine:
because
verbatimforcewraps
solved the problem of digits overflowing into margin.How to Reproduce
index.rst:
conf.py contains:
then
make latexpdf
and check the TeX log.Environment Information
Sphinx extensions
No response
Additional context
With
verbatimforcewraps
Sphinx uses a "measuring phase" when rendering code-blocks to detect overflows. TheOverfull \hbox
originates in this measuring phase.Having it in log file gives false positives which complicates search for other overflowing not originating in code-blocks. On the other hand it gives a way to locate where the
verbatimforcewraps
kicked in...relates sympy/sympy#26867
The text was updated successfully, but these errors were encountered: