Hacker News new | past | comments | ask | show | jobs | submit login

Is it possible to make a PDF or an offline version? Sometimes i like to read these sort of things while i'm on the train etc.

I struggled to get the current rust book working on my ipad on the train without signal.




Good news! NoStarch will be printing an offline version soon ;)

Since we're concentrating on getting the text ready for print, we haven't been able to get pdf/offline reading working yet. https://github.com/rust-lang/book/issues/218


Thanks! I would absolutely love a single webpage version, that would be even better


You can click the "print" button in the upper right hand corner, which gives you http://rust-lang.github.io/book/print.html


Ah - those icons are quite small and subtle. I hadn't noticed them.

Also, while the top right one has a tooltip, the two top left ones don't so you have to click to find out what they do. Always a risky move!


For some reason that page has the title "Macros - The Rust Programming Language"


Weird, I'll file a bug, thanks.


The current rust docs should be able to be installed offline; they used to come by default but now you need to run a rustup command.

Eventually we'll provide a PDF of this, but the HTML should work offline. This edition might need some tweaks first; it's a priority for me though.


Which rustup command is that? I could only find "doc" which opens the documentation in a browser, which is not much help if you've got no internet.

Ah... I see. You have to run "rustup component list" and it'll print out a whole bunch of things that you can install like cargo and rustc and 44 different versions of std and also somewhere in there the docs. And then you have to know that that the thing you have to pass to "rustup component add" is not the string you get out of "rustup component list" (something like "rust-docs-armv7-unknown-linux-gnueabihf") but in fact just "rust-docs". And none of this seems documented anywhere in the help text in rustup itself, at least not the 1.0.0 version that I have.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: