-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Printout of "The Rust Programming Language" is truncated #840
Comments
I ended up here from https://bugzilla.mozilla.org/show_bug.cgi?id=1511461 While debugging to figure out if this was a Mozilla or mdBook bug I discovered that the issue is fixed in the latest version of the book: |
@jwatt the PDF looks the same to me even with the latest version of the book. I found a workaround though:
|
This seems to be fixed in the latest mdbook. For example: https://doc.rust-lang.org/nightly/book/print.html works. TRPL was updated to mdbook 0.2 just recently (rust-lang/rust#59876), and will ride the train with rust 1.36. |
Indeed the nightly version of the book prints nicely. Thanks! |
Using Firefox, go to "The Rust Programming Language" manual page and click on the print button on the upper right corner of the page. This redirectos to a printable page with the whole manual, and a bit later the print dialog pops-up, so select "print to PDF". The full URL is this:
https://doc.rust-lang.org/book/2018-edition/print.html
Results: The margins in the generated PDF file are messed up. The left half of the page is empty, the right half is missing (text is truncated in all pages). See attachment "mozilla.pdf", which is a printout of the first 10 pages of the manual.
mozilla.pdf
The text was updated successfully, but these errors were encountered: