-
Notifications
You must be signed in to change notification settings - Fork 51
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
Not an Issue, but a guide to convert to epub #64
Comments
Hello there @DieselMeister. Thanks for the suggestion even I though I can't think of any good reason why someone would want to read this on anything but a browser: there are links to references, git repositories, animations and typos are fixed in real-time. |
Hi. I am on the way to go to bed and I want to read this on my kindle :D So I decided to convert this for this reason and share the knowledge. But you are right. With the references the best way is to read it in the browser. |
Well fair enough 😄 good night! |
Well, one reason for an epub/pdf version is that you can put it down and come back later to the same place you left off (ebook readers/acrobat remembers this information - browsers generally don't). But, it is static and you do lose out on the updated information when it is available. |
As there seems to be some epub users, could it be possible to link some old version to git repo? Edit: For me, it's more like a bookmark: read these when you have some extra time. Easier to remember from Kindle / Google Books library where are all the other unread books and research papers. Libraries of web-links tend to expire and go missing. |
For me reading technical books in paper/ebook is more effective than in a browser: There are less distractions. If I get stuck I can still go to a computer to research the problem in question, but my method is usually reading up on the topic, gathering knowledge and context in a larger sprint, then later doing assignments, or practice or starting to use something in larger experiments in a larger batch/sprint. Also the (e)book I have won't go 404, as Thorium noted. |
It's not perfect, but for those who want'S to read it on a e-ink reader or something. M;aybe that helps.
download pandoc (https://pandoc.org/)
convert all images in the md-files to a proper md-format (I used notpad++)
replace in all files:
the images-tags
(<resolved-image source=")(.*)(" />)
to![.$2]\(.$2\)
the highlight-tags inside the code blocks
\{highlight: \[.*\]\}
to(empty-string)
\{ highlight: \[.*\]\ }
to(empty-string)
\{\s*highlight:\s*\[.*\]\s*\}
to(empty-string)
use following script (state: 2020-03-18) (cmd for windows - sorry guys)
Update: had to adjust the highlight replace regex
The text was updated successfully, but these errors were encountered: