Dom's book was available in ebub format from the beginning, I read the early drafts in epub.
Note hat the book is not needed to learn Nim, there are many great resources for beginners now: https://nim-lang.org/learn.html The book is a nice to have, for some special examples like writing a twitter clone. From time to time Manning offers the electronic release for only 20 $, if you buy that you get epub and PDF. Mirans tutorial is available as PDF and HTML, it is based on Asciidoctor, maybe you can generate epub yourself. For update of "Nim in Action": The book should be compatible with Nim 1.0, there are only some minimal inconsistencies, like in old Nim strings and seqs could be nil. No serious reason not to buy the book.
Mirans tutorial is available as PDF and HTML, it is based on Asciidoctor, maybe you can generate epub yourself.
If there is a need for .epub format, I can see if I can make one officially available.
would you please provide an EPUB format along with other formats as well?
@pouya, can you please try this and give me feedback: https://github.com/narimiran/nim-basics/raw/master/nim-basics.epub
This is the initial version that I made in an hour. It looks ok when I view it in Calibre, but I don't know how it is on a physical ebook reader.
What I'm interested in: are font sizes ok (I guess you can change that to your suiting, but I'd like to have sane defaults), are left and right margins ok, are code samples shown properly (without some unintended line breaks where there should be none), and... anything else that you notice.
@miron Many thanks for your time and effort. I scanned through the book on my kindle paper white (actually its pretty and old one. Generation 1)
Things that took my attention:
I took some pictures but it seems there is no way to upload images in the forum. In general, It is accepted and man i wish you have never stopped typing the material is pretty useful and crystal clear. Many thanks, hope you continue to write more about NIM. Cause this is an awesome language with many potentials.
there is no way to upload images in the forum
If you could upload them to imgur or any other image-sharing site, and then post links here, it would be really helpful for me to see what is going on. (I'm not seeing that in Calibre)
Table Of Contents doesn't work as expected.
Can you please expand on this? You cannot click on an item that leads you to some chapter/section? Something else?
i wish you have never stopped typing the material is pretty useful and crystal clear. Many thanks, hope you continue to write more about NIM.
Thank you for your kind words :) Who knows, maybe in 2020 I manage to write a sequel ;)
@miran sorry for late reply, cause an image worth thousand words here are the images.
regarding TOC, I meant navigating through TOC using Kindle Go to option in the Toolbar. Normally it should list all the heading and subheading of the book. The following is the image of Go To option on my paper white:
Thank you for your kind words :) Who knows, maybe in 2020 I manage to write a sequel ;)
It would be great to see a NIM for dummies in 2020. :)
@pouya Now I use completely different tool for creating .epub version, and I have basically zero options to decide about some style details, but on the other hand, it should have better support for e-readers out of the box. (e.g. table of contents is now there)
The link is the same as before: https://github.com/narimiran/nim-basics/raw/master/nim-basics.epub
I would like to hear your feedback, but I think it is better if we continue this discussion in the thread about Nim Basics: https://forum.nim-lang.org/t/3917