book
book copied to clipboard
HTML print output does not include chapter numbers
trafficstars
When I click on https://doc.rust-lang.org/book/ → Printer icon 🖶 in the right upper corner, this page loads https://doc.rust-lang.org/book/print.html. I print the output. All the hyperlinks are now gone.
The printout speaks on several places about chapters using numbers, e. g. on page 587 “Valid pattern syntax in macro definitions is different than the pattern syntax covered in Chapter 18 because macro patterns are matched against Rust code structure rather than values.”
The problem report is, that when the file is printed, there is no “Chapter 18”: the chapters are labelled only by names, not by numbers.
- Include in the output the chapter numbers, before the chapter names. E.g on page 44 replace “Common Programming Concepts” with “3. Common Programming Concepts”.