You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to print from Chrome 126.0.6478.127 results in a pdf with links that redirect to the wrong sections (pages) and, if the book is long enough, an "a number is out of range" error message from Adobe Acrobat.
I did try creating a new minimal mkdocs site, and the TOC links still redirected to the wrong pages in the pdf, but that site (just one section of our user guide) was not long enough to trigger the number out of range error.
mkdocs.yml below without our entire nav section. Note that the nav works on the mkdocs-generated site and on the print-site.html page, it just isn't working in the pdf.
These were all working in late May with our same environment, but by early June, the pdf links quit working correctly. I suspect a Chrome update broke something, as I hadn't upgraded the other tools until I ran into this issue, and it broke anyway.
I tried upgrading mkdocs, mkdocs-material, Acrobat, and mkdocs-print-site-plugin, but no change. Current versions are:
mkdocs --version
mkdocs, version 1.6.0 from /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/mkdocs (Python 3.12)
pip3 show mkdocs-material
Name: mkdocs-material
Version: 9.5.28
Summary: Documentation that simply works
Home-page:
Author:
Author-email: Martin Donath [email protected]
License:
Location: /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages
Requires: babel, colorama, jinja2, markdown, mkdocs, mkdocs-material-extensions, paginate, pygments, pymdown-extensions, regex, requests
Required-by: mkdocs-exporter, mkdocs-print-site-plugin
pip3 show mkdocs-print-site-plugin
Name: mkdocs-print-site-plugin
Version: 2.5.0
Summary: MkDocs plugin that combines all pages into one, allowing for easy export to PDF and standalone HTML.
Home-page: https://github.com/timvink/mkdocs-print-site-plugin
Author: Tim Vink
Author-email: [email protected]
License: MIT
Location: /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages
Requires: mkdocs-material
Required-by:
Trying to print from Chrome 126.0.6478.127 results in a pdf with links that redirect to the wrong sections (pages) and, if the book is long enough, an "a number is out of range" error message from Adobe Acrobat.
I did try creating a new minimal mkdocs site, and the TOC links still redirected to the wrong pages in the pdf, but that site (just one section of our user guide) was not long enough to trigger the number out of range error.
mkdocs.yml below without our entire nav section. Note that the nav works on the mkdocs-generated site and on the print-site.html page, it just isn't working in the pdf.
The text was updated successfully, but these errors were encountered: