Live data from Hacker News

Major Mode for Reading EPUBs in Emacs

github.com

41–50 of 70 posts

Re: Major Mode for Reading EPUBs in Emacs

#43
post #39
post #15

Earlier quoted context omitted.

If they work thru big publishers authors get actually very little from every book purchase. So in practice most of your payments go to feed large majors. I wish more authors would go the path of self publishing so they can maximize their compensation per book sale.

More authors are self publishing than ever before. The problem is that you never hear about them. Additionally, the editing on self-published books tends to be a lot rougher.

Plus, they tend to price very cheap, so they’re probably getting about the same per sale as a normal royalty on a print book. And, any editorial service (proofreading, copyediting, etc.) has to be paid out of the author’s share.

Re: Major Mode for Reading EPUBs in Emacs

#44

Shameless plug for a personal project: https://github.com/ashton314/homebrew-mm This is really just a one-liner I put in a shell script to pass things to Pandoc so I could read them like a man page in my terminal. Love the Emacs lib though. The more emacs I my life the better. :)

A screenshot would be great. I'm not sure what the output would look like and therefore if it's something worth trying. Though as you say it's only a one liner...

Re: Major Mode for Reading EPUBs in Emacs

#45
post #3

From where do you guys purchase or download (free) EPUBS? I wanted Christensen books and didn't find any. Either they are tied to Kindle or Noob.

If you enjoy sci-fi, Tor Books gives a free novel in epub and mobi formats each month or so; just sign up for the e-newsletter.

This is literally the reason I'm excited to learn about nov.el and other epub readers; when I get an epub book, I sigh inwardly because there's 2-3 more steps to go before I can actually read it, e.g. email the file to my kindle address, wait for Amzn to ask me to verify it's not spam, then finally download it to my Kindle.

Re: Major Mode for Reading EPUBs in Emacs

#46

Earlier quoted context omitted.

F1-m translates to "C-h m", which is the standard Emacs command to show information about the current major-mode. It's not specific to nov.el.

I did not know that. And I have been using Emacs since 1984. I use "M-X apropos".

C-h v - display the full documentation of variable C-h k - display documentation of the function invoked by key

Re: Major Mode for Reading EPUBs in Emacs

#47
That's a pity the FB2 format is not nearly as popular as EPUB is. It's a single-file pure tidy (I mean a simple, intuitive, bloat-free, well-documented schema) XML with purely semantic layout and no formatting. It's a pleasure to write code processing it. The user/app/device is the only to decide how to view it (neither pages nor fonts are specified). Isn't this lovely?

Re: Major Mode for Reading EPUBs in Emacs

#48
I've been heads down looking at implementing EPUB for Polar and there's no way this could work reliably in Emacs. If so I'd be very very very impressed if Emacs could pull it off but I'd bet money that it can't.

I think a good 80% of them could work but you don't want to be halfway done an EPUB only to find out that code highlights weren't being rendered or that rending is halfway broken for some small percentage of the document.

Re: Major Mode for Reading EPUBs in Emacs

#49

Earlier quoted context omitted.

From the same people that run sci hub. Please remember that authors need to eat too though. If you have money you should support them by buying their books or they may write fewer of them for you to enjoy.

This doesn't excuse DRM. Personally I don't read ebooks because (1) I won't accept DRM, (2) I won't pirate. Instead I buy a few books in dead tree format but mainly lots of authors are losing out.

You could buy the dead tree and pirate the ebook supporting the author but not drm.

Re: Major Mode for Reading EPUBs in Emacs

#50

Shameless plug for a personal project: https://github.com/ashton314/homebrew-mm This is really just a one-liner I put in a shell script to pass things to Pandoc so I could read them like a man page in my terminal. Love the Emacs lib though. The more emacs I my life the better. :)

A screenshot would be great. I'm not sure what the output would look like and therefore if it's something worth trying. Though as you say it's only a one liner...

Great advice! Thanks!
Post reply on HN