News for hackers. Stuff that matters.
Re:Free and Open-Source Mathematics Textbooks by throwaway17_17 on Saturday December 21, 2019 @12:02PM (#21852146)
Does anyone have a good strategy for archiving and downloading the textbooks from aimath.org? They are all excellently formatted in HTML, but I am not certain what the best way to get the complete book would be.
Re:Free and Open-Source Mathematics Textbooks by BlackLotus89 on Saturday December 21, 2019 @12:51PM (#21852401)
When I have books in form of webpages I normally write a small crawler in python, extract the text div with beautifulsoup, add <hn> tags for chapter names and throw them all together in html form. Add a cover image and combine everything with pandoc.

Nothing fancy but works reliable in an automated fashion