Skip to content

Search box cover up text in PDFs #203

Closed

Description

@gabaryza

Documentation

Python 3.13.0

I attempted to save a documentation web page, the beginning of the Language Reference, as a PDF for reading offline. In the second and subsequent pages of the saved PDF, the search box from the top of the web page overlays the first line(s) of each PDF page rendering them unreadable.

Demo: https://python-docs-theme-previews--204.org.readthedocs.build/en/204/

Activity

  1. hugovk commented on Oct 31, 2024

    @hugovk
    Member

    Please can you share a screenshot, and maybe upload the PDF? It might need zipping first.

    How did you save the PDF? Using which browser and OS?

    I don't think we've done anything to optimise the pages for printing, and perhaps we can improve it.

    But did you know we have pre-made PDFs of the docs available at https://docs.python.org/3/download.html

    Perhaps they're more suitable for you?

  2. gabaryza commented on Oct 31, 2024

    @gabaryza
    Author

    My appologies for omitting the info.

    The OS is Windows 11 Pro 22H2 Build 22621.4314 (64-bit)
    The browser is Microsoft Edge Version 130.0.2849.56 (Official build) (64-bit)

    I typed Ctrl-P and selected "Save as PDF" for my print device.

    I have attached the first three pages of Chapter 2 of the Language Reference to illustrate
    the issue.

    Example-126254.pdf

  3. transferred this issue frompython/cpythonon Oct 31, 2024
  4. hugovk commented on Oct 31, 2024

    @hugovk
    Member

    Thanks!

    It looks like this for page 1:

    image

    And is worse for subsequent pages:

    image
  5. hugovk commented on Oct 31, 2024

    @hugovk
    Member
  6. gabaryza commented on Dec 14, 2024

    @gabaryza
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions