Hyperlink ToC bookmarks in LibreOffice that don’t fight with Calibre

NOTE: UPDATED WITH VIDEO 6/24/18

If you read e-books, you’ve seen it. The Table of Contents at the beginning of a book, listed in blue. Tap or double-click a chapter name and voilĂ , you’re there. Nifty, huh? If you use Word, you know how to create that ToC, or can readily find out how, because instructions abound on the web. Heck, even KDP explains it somewhere. But what if you use a Mac and LibreOffice? You’ll find nothing helpful on Amazon’s KDP site because a) they’re indifferent to Mac users, b) they’re indifferent to LibreOffice users, and c) they’re indifferent to Mac users who utilize LibreOffice. What to do?

You could save your ODT file as a DOC or DOCX, which kind of defeats the purpose of using Libre if you ask me. Not so very long ago, KDP used to tell Mac users to hand code all the HTML, good luck! Now their not-so-helpful help entry merely says to use hyperlinks and bookmarks. Which brings me to the crux of the matter.

I use Calibre to create an EPUB from an ODT file. I never created that active ToC because I didn’t know how, didn’t have time to learn, and didn’t have the inclination to wander the web trying to find out how. Yesterday, however, through some semi-useful information found on the internet and a lot of trial and error, I figured it out. There may be a better and faster way, but this seems to work and is fairly simple. Continue reading