executablebooks / sphinx-book-theme

A clean book theme for scientific explanations and documentation with Sphinx
https://sphinx-book-theme.readthedocs.io
BSD 3-Clause "New" or "Revised" License
409 stars 196 forks source link

some lines at the bottom are covered by 'skip to main content' while print to pdf #828

Closed berlin2123 closed 2 months ago

berlin2123 commented 3 months ago

Describe the bug

context When I print to pdf by the ‘download’ icon at the top-right of a webpage.

expectation I expected that all text will be displayed in the pdf file.

bug But instead some lines at the bottom of some pdf page are covered by 'skip to main content'

Here's Here's a screenshot of the pdf

F`V)(Z0EW1D21F_Q6M(UTHA

And the screenshot of webpage:

F G@YXG38AOL C}YQ{H$~63

the lines of the follow words are covered. induced norm. aaa bbb ccc ddd eee fff ggg hhh iii jjj kkk ooo ppp qqq rrr sss ttt uuu vvv www xxx yyy zzz.

Reproduce the bug

try 'print to pdf' of some pages, you may see it.

While not all pdf pages will be covered, there is always the possibility that they will be.

List your environment

jupyter-book: command not found

sphinx_book_theme-1.1.2

berlin2123 commented 2 months ago

fixed by https://github.com/pydata/pydata-sphinx-theme/pull/1770