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: color leaks for code-line inside a warning-type admonition since page-breaks can happen in the middle of wrapped highlighted code-lines #10650
Labels
Milestone
Comments
Fixed in WIP #10648 |
jfbu
added a commit
to jfbu/sphinx
that referenced
this issue
Jul 8, 2022
jfbu
added a commit
to jfbu/sphinx
that referenced
this issue
Jul 8, 2022
jfbu
added a commit
to jfbu/sphinx
that referenced
this issue
Jul 9, 2022
- LaTeX: box padding (t,r,b,l), borders (t,r,b,l), shadows (x,y) or radii - LaTeX: fix sphinx-doc#10650 via usage of our own sophisticated \fcolorbox - LaTeX: user interface via 'sphinxsetup' to enhanced code-blocks frames - LaTeX: user interface via 'sphinxsetup' to enhanced topic boxes - LaTeX: CSS-named-alikes 'sphinxsetup' options for code-blocks and topics - LaTeX: CSS-named-alikes 'sphinxsetup' keys for warning type notices (fix sphinx-doc#10651) - LaTeX: documentation of the new CSS-like options
5 tasks
jfbu
added a commit
to jfbu/sphinx
that referenced
this issue
Jul 9, 2022
- LaTeX: box padding (t,r,b,l), borders (t,r,b,l), shadows (x,y) or radii - LaTeX: fix sphinx-doc#10650 via usage of our own sophisticated \fcolorbox - LaTeX: user interface via 'sphinxsetup' to enhanced code-blocks frames - LaTeX: user interface via 'sphinxsetup' to enhanced topic boxes - LaTeX: CSS-named-alikes 'sphinxsetup' options for code-blocks and topics - LaTeX: CSS-named-alikes 'sphinxsetup' keys for warning type notices (fix sphinx-doc#10651) - LaTeX: documentation of the new CSS-like options
jfbu
added a commit
to jfbu/sphinx
that referenced
this issue
Jul 9, 2022
- LaTeX: box padding (t,r,b,l), borders (t,r,b,l), shadows (x,y) or radii - LaTeX: fix sphinx-doc#10650 via usage of our own sophisticated \fcolorbox - LaTeX: user interface via 'sphinxsetup' to enhanced code-blocks frames - LaTeX: user interface via 'sphinxsetup' to enhanced topic boxes - LaTeX: CSS-named-alikes 'sphinxsetup' options for code-blocks and topics - LaTeX: CSS-named-alikes 'sphinxsetup' keys for warning type notices (fix sphinx-doc#10651) - LaTeX: documentation of the new CSS-like options
jfbu
added a commit
to jfbu/sphinx
that referenced
this issue
Jul 9, 2022
- LaTeX: box padding (t,r,b,l), borders (t,r,b,l), shadows (x,y) or radii - LaTeX: fix sphinx-doc#10650 via usage of our own sophisticated \fcolorbox - LaTeX: user interface via 'sphinxsetup' to enhanced code-blocks frames - LaTeX: user interface via 'sphinxsetup' to enhanced topic boxes - LaTeX: CSS-named-alikes 'sphinxsetup' options for code-blocks and topics - LaTeX: CSS-named-alikes 'sphinxsetup' keys for warning type notices (fix sphinx-doc#10651) - LaTeX: documentation of the new CSS-like options
jfbu
added a commit
to jfbu/sphinx
that referenced
this issue
Jul 10, 2022
- LaTeX: box padding (t,r,b,l), borders (t,r,b,l), shadows (x,y) or radii - LaTeX: fix sphinx-doc#10650 via usage of our own sophisticated \fcolorbox - LaTeX: user interface via 'sphinxsetup' to enhanced code-blocks frames - LaTeX: user interface via 'sphinxsetup' to enhanced topic boxes - LaTeX: CSS-named-alikes 'sphinxsetup' options for code-blocks and topics - LaTeX: CSS-named-alikes 'sphinxsetup' keys for warning type notices (fix sphinx-doc#10651) - LaTeX: documentation of the new CSS-like options
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
This is a revival of #10615.
Here is an example (the emphasizing of the wrapped code line has no influence on this):
Notice that the framing of the first part of the Danger notice has disappeared, and that on page 2 the string highlighting is gone.
How to Reproduce
Put near a pagebreak
Expected behavior
No color leaks
Your project
n/a
Screenshots
No response
OS
Mac
Python version
3.10.4
Sphinx version
5.x since fix of #8686 via #10577
Sphinx extensions
No response
Extra tools
No response
Additional context
The cause is simply that framing (of individual chunks) is done by
\fcolorbox
. The fix is easy as we have recently added to Sphinx a sophisticated enhancement of LaTeX's\fcolorbox
which in particular solves this problem.The text was updated successfully, but these errors were encountered: