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
439 stars 201 forks source link

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

Closed berlin2123 closed 6 months ago

berlin2123 commented 8 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 6 months ago

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