Exporting docs to EPUB


#1

Hi! Is it possible to export Rust Book and Rust By Examples to EPUB? Have you a couple of hints, please?


#2

We used to officially provide it, but it’s fallen by the wayside. We plan
on doing PDF/EPUB officially eventually. For now, though:


#3

Thanks for the tip. Unfortunately that Ruby script depends on pandoc, and the last one doesn’t exist in official repo of my distribution (and unofficial way to install results in all-world-Haskell - again unofficial - installation). Probably there is a way to avoid pandoc - to get single md/html file would be sufficient. Isn’t there?


#4

Hi there,

I generated this copy from rust master using pandoc and the Ruby script just today.


#5

Got it. It seems the book doesn’t follow pandoc expected format in a whole - there are plenty of not-formatted code fragments mostly started with “rust,ignore”. At any case - thanks!