Skip to content
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

Generate pdf matches Web-Documention design but has not TOC ... #273

Open
FredM67 opened this issue Aug 31, 2023 · 1 comment
Open

Generate pdf matches Web-Documention design but has not TOC ... #273

FredM67 opened this issue Aug 31, 2023 · 1 comment

Comments

@FredM67
Copy link

FredM67 commented Aug 31, 2023

The generated pdf matches the design of the Web-Document, but has a couple of issues:

  • no TOC
  • since no TOC, no way to jump directly to a chapter
  • "boxes" are often split over 2 pages

A pdf generated with the simplepdf extension has a clickable toc, does not split boxes over 2 pages (if possible) but:

  • has a slightly different design
@rkdarst
Copy link
Member

rkdarst commented Sep 6, 2023

For others testing:

$ pip install https://github.com/useblocks/sphinx-simplepdf/archive/main.zip
$ make simplepdf

and check the output in _build/simplepdf/

What do you think? I guess we should see which can fix #272 sooner to help us decide which to use.

The sphinx_pyppeteer_builder one does have clickable links on the first page, it just is the TOC that appears inline on the index page (in the table). It seems about as detailed for the main lesson as the other one, but is missing the quick ref / instructor guide / other stuff we don't render there. Another option is to make the main index page list everything we would want in the PDF table of contents.

Thanks again for these reports! These PDF builders seem rather new still, so I hope the PDFs will improve over time. I think it's still much better than the other options. (do you know of any other working options?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants