Perry Smith <[email protected]> writes:

> I won’t go into why I found it but I discovered a directory on my Mac
> down the ~/Library/Mobile Documents/iCloud~com~apple~iBooks/Documents
> path called “The Org Manual.epub”. The contents appears to be the Org
> manual around 2022, release 9.5, from “The Org Mode Developers”. There
> is another directory for a Canon lens that is also in epub format.
>
> Can anyone give me a clue as to where the epub version of the Org
> manual came from?  Did Apple Books decode the PDF into an epub format?

I don't know, but it's easy to make a basic epub from the .texi
file of the manual.

For foo.org -> foo.texi -> foo.epub, in four easy steps:

1. Enable the Texinfo exporter in Org
   : '(require ox-texinfo)
2. Install the texinfo cli tools
   -- for Mac, I believe they're on Homebrew
3. Export foo.org to Texinfo
4. Convert to epub
   : makeinfo --epub3 foo.texi

> Part of what I’m doing is researching what it will take to get Org to
> export to EPUB. There is at least one repo that claims to do this but
> it looks rather dated.

If you take ox-epub for a spin, I'd love to hear how it goes. It doesn't
seem is why I didn't include it straight away the other day when I
refurbished the community exporters page
(https://orgmode.org/worg/exporters/). But if you take ox-epub for a
spin (https://github.com/ofosos/org-epub, also available on Melpa via
the package manager), I'd love to hear how it goes.

Peter Prevos has some notes on it here:
https://lucidmanager.org/productivity/publishing-with-org-mode-export/






Reply via email to