Skip to main content


So, I've been using nov.el for #emacs to read epubs. It does a pretty decent job of it, but I have one point of irritation: I can't for the life of me find a way to tell how far through the book I am. Is there some way to see this?

reshared this

in reply to Jonathan Lamothe

I use it! It shows a % figure on the bottom line, but it does it only if I maximize past the 80 columns (in other words, it doesn't appear on my VT terminal!).
in reply to peron

@peron Yeah, but that's the percentage through the current buffer (chapter).
in reply to Jonathan Lamothe

I think this might help
codeberg.org/divyaranjan/emacs…

ps - I know this is not related to your question about nov.el specifically but I saw its readme, it shows page number in modeline

This entry was edited (3 weeks ago)
in reply to मोक्ष / untrusem ⁂

@मोक्ष / untrusem ⁂ This package appears to render documents using SVG output. Considering that I spend 95% of my time in the terminal, this would likely be a deal-breaker for me unfortunately. 🙁
in reply to Jonathan Lamothe

this is for Doom but might give you some ideas? I stole some code from here and it's a bit beyond me but involves setting a custom modeline when in nov mode > tecosaur.github.io/emacs-confi…
in reply to Jonathan Lamothe

Nov.el is on my list of things to do when I get back to working on my config. But do you not display your file location in your modeline?

I'd have to fire it up and check, but I'd expect my usual modeline indicators to be there.

in reply to Zenie

@Zenie The mode line shows the position in the current buffer. The buffer displays the current chapter. Thus, it shows your position in the current chapter, not the book overall.
in reply to Jonathan Lamothe

It might be a week or two, but I'll take a look. Or maybe just ask for the feature on GitHub.

There might be some difficulties, each chapter would need an index to know it's overall position.

Hacking elisp is fun, and I'm wanting to switch to nov.el so adding a percent complete indicator falls in my path of desires.

in reply to Zenie

@Zenie The feature might actually exist for all I know, so I hesitate to put in a feature request. I was just hoping that it was an already solved problem.
in reply to Jonathan Lamothe

I glanced at the code. But I'm not at my usual computer so I can't look at help, the mode or the code more thoroughly. I only just installed it recently so don't know it well.

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.