Which e-book file format (EPUB, PDF, DjVu, XPS, CBT, CBZ, FB2, PDB, HTML, DOC, MOBI, etc.) allows inserting a hyperlink to another e-book file in the same folder in an e-book reader?

I want to make an offline Wikipedia by storing every article in a separate e-book file.


That is very absurd way of doing it, because essentially when you are reading an e-book, you are using an application/software to do that so lets say when you are reading a PDF in a PDF reader then you cannot add a hyperlink to a PDF to open in the PDF (if that makes sense), what you can do is add link to the file and then it gets opened in a reader (as separate file) which is basically like hyperlinking to a link.

It is like saying can a text file open another text file? (Answer is NO) because a text file is primarily dependent on a Text Reader to open. And hence an e-book is a file not an application

Another way of seeing at it is an e-book cannot open or read or run an e-book, but e-book reading software/application can do.

To make more sense, when you simply browse in your mobile phone, then you do notice that certain links open in certain applications installed in the mobile phone (Like play.google.com links open in Play Store application automatically). Similarly when you click on a hyperlink (of some website) within some application then it opens up in a browser if there is no dedicated application for that to open/read it.

Summing Up

e-book cannot link to a file (another e-book) to open it because that is an application/software's functionality (interacting with running OS on a target device) and e-books aren't made or designed to directly interact or work with OS, they depend on an application

You can explore this conversation for more insights

But if we come to solve your purpose of doing you can look for another approach and explore this

  • I am not asking about opening another e-book INSIDE an e-book like embedding, I was asking about hyperlinking FROM one e-book TO another one in the same folder, just like one HTML document can link to another HTML document using <a href="...">. Do you know any e-book reader which allows it?
    – niutech
    Nov 17 at 16:13
  • you should more focus on building such software rather than how to do it in ebooks, because its the reader that has to infer what file it has to open based on the reference link provided, by that the very format of hyperlinking (<a href ... >) would work in all ebook formats. You can take inspiration from here
    – MJK618
    Nov 17 at 16:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.