Re:At full speed with Python: a book for self-learners
by depressedpanda on Monday March 19, 2018 @08:08PM
(#16624693)
Pandoc[1] should do it for you. Running this -- from the root of the cloned project -- produced decent output for me:
pandoc \
book.tex \
chapters/basic-datatypes.tex \
chapters/classes.tex \
chapters/dictionaries.tex \
chapters/functions.tex \
chapters/installation.tex \
chapters/introduction.tex \
chapters/loops.tex \
-o full-speed-python.epub
(you may replace .epub with .mobi to get that file format, but it seems to not support TeX math properly)
Re:At full speed with Python: a book for self-learners
by jventura on Monday March 19, 2018 @05:25PM
(#16623338)
If enough people are interested, i may try to do something with pandoc to generate an ebook!
Re:At full speed with Python: a book for self-learners
by n0n on Monday March 19, 2018 @05:35PM
(#16623429)
I would be interested
Re:At full speed with Python: a book for self-learners
by natch on Monday March 19, 2018 @10:19PM
(#16625477)
Would be interested if the focus is on Python 3.
Re:At full speed with Python: a book for self-learners
by jventura on Monday March 19, 2018 @10:45PM
(#16625599)
Yes, the focus is on Python 3, definitely..
Re:At full speed with Python: a book for self-learners
by unixhero on Monday March 19, 2018 @05:52PM
(#16623572)
Me too
Epub and mobi formats would be great
Re:At full speed with Python: a book for self-learners
by jventura on Monday March 19, 2018 @06:40PM
(#16623987)
I will check if i can produce an epub easily! Thanks for all sugestions..
Re:At full speed with Python: a book for self-learners
by anarchimedes on Monday March 19, 2018 @06:13PM
(#16623737)
I would also be interested. LeanPub might also be a good shout.
Re:At full speed with Python: a book for self-learners
by jventura on Monday March 19, 2018 @06:39PM
(#16623976)
Definitely, the problem with leanpub is that they ask for 99$ to start a book. I thought about that before, but i don't know if i could sell enough books to recover at least that inital value..
Re:At full speed with Python: a book for self-learners
by dvtv75 on Monday March 19, 2018 @07:03PM
(#16624176)
Definitely.
Re:At full speed with Python: a book for self-learners
by lighttower on Monday March 19, 2018 @06:16PM
(#16623770)
Yes. Me too
Re:At full speed with Python: a book for self-learners
by inovica on Monday March 19, 2018 @06:42PM
(#16624004)
I am :)
Re:At full speed with Python: a book for self-learners
by jventura on Monday March 19, 2018 @11:17PM
(#16625749)
I've included a pandoc generated epub at https://github.com/joaoventura/full-speed-python/releases/
Re:At full speed with Python: a book for self-learners
by dmlorenzetti on Monday March 19, 2018 @07:37PM
(#16624469)
I've had mixed results using Calibre (https://calibre-ebook.com/).
In all, I've converted 3 PDFs to Kindle format -- one is OK, one is a slog to read, and the third I forgot I was reading a converted version. Have never tried using it to convert a LaTeX-generated document of my own, though.
Every time I tried to generate mobi files from Tex they were terrible formatted. O'Reilly does it fine with some open source books, but I've never managed to do it myself. Are the good publishing tools for ebooks just avaiable for specialized publishers?
Which techniques do you have to convert these Tex books to mobi (the Kindle format)?