Live data from Hacker News

Major Mode for Reading EPUBs in Emacs

github.com

21–30 of 70 posts

Re: Major Mode for Reading EPUBs in Emacs

#22

"Keybinds can be viewed with F1-m". This information should be in the first chapter of README. :-/

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".

Re: Major Mode for Reading EPUBs in Emacs

#23
https://github.com/bddean/emacs-ereader is another one. Similar features, the biggest difference is that nov shows a chapter at a time while ereader renders the entire document at once which allows doing isearch over the whole thing.

Both of these take advantage of the shr HTML renderer built into Emacs which in turn uses libxml2 to do the heavy lifting.

Re: Major Mode for Reading EPUBs in Emacs

#24

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".

Ctrl-k Ctrl-h-m

Go emacs!

Re: Major Mode for Reading EPUBs in Emacs

#25
post #23

https://github.com/bddean/emacs-ereader is another one. Similar features, the biggest difference is that nov shows a chapter at a time while ereader renders the entire document at once which allows doing isearch over the whole thing. Both of these take advantage of the shr HTML renderer built into Emacs which in turn uses libxml2 to do the heavy lifting.

From the screenshot, my one big complaint is that it's typeset ragged right instead of flush right (which is, generally, how books and most ebook readers do it), but I suppose that's just a CSS fix, then?

Re: Major Mode for Reading EPUBs in Emacs

#26

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.

Some publishers do not use DRM - I believe that's the case for Tor and Baen, in SF/Fantasy. Baen sells direct in their site, including monthly bundles.

Re: Major Mode for Reading EPUBs in Emacs

#27
post #25
post #23

https://github.com/bddean/emacs-ereader is another one. Similar features, the biggest difference is that nov shows a chapter at a time while ereader renders the entire document at once which allows doing isearch over the whole thing. Both of these take advantage of the shr HTML renderer built into Emacs which in turn uses libxml2 to do the heavy lifting.

From the screenshot, my one big complaint is that it's typeset ragged right instead of flush right (which is, generally, how books and most ebook readers do it), but I suppose that's just a CSS fix, then?

CSS should fix that, and give you all those unevenly spaced words you so desire.

Re: Major Mode for Reading EPUBs in Emacs

#28
post #25
post #23

https://github.com/bddean/emacs-ereader is another one. Similar features, the biggest difference is that nov shows a chapter at a time while ereader renders the entire document at once which allows doing isearch over the whole thing. Both of these take advantage of the shr HTML renderer built into Emacs which in turn uses libxml2 to do the heavy lifting.

From the screenshot, my one big complaint is that it's typeset ragged right instead of flush right (which is, generally, how books and most ebook readers do it), but I suppose that's just a CSS fix, then?

If you scroll down, the README tells you how to make it flush right: https://github.com/wasamasa/nov.el#rendering
Post reply on HN