Re: texi to epub
Perry Smith <[email protected]>
| Newsgroups | gmane.comp.tex.texinfo.general |
|---|---|
| Message-ID | <[email protected]> |
> On Jun 9, 2022, at 14:29, Patrice Dumas <[email protected]> wrote: > > On Thu, Jun 09, 2022 at 10:20:57AM -0500, Perry Smith wrote: >> Hi, >> >> I found this thread in the bug-texinfo mailing list[1]. I’m wanting to format the org-mode info file into ePub. Indeed, I’d like to reformat many of the info files into ePub assuming that I can find a tool chain that works and produces nice results. >> >> One of the last messages talks about a change but then the thread stops and so I’m left wondering where the current state of the art is with regards to info to ePub processing. I believe the tact was to first produce valid XHTML and then convert that to ePub perhaps via Calibre or perhaps by another processor — I’m not sure. > > It is implemented in the development version that you can take from git. > After installation it should be called with > texi2any --init epub3.pm mymanual.texi > Any feedback appreciated. > > There is a more recent thread on that subject: > https://www.mail-archive.com/[email protected]/msg10445.html This looks excellent so far. I formatted org.texi and then loaded it into Apple Books and just looked at a few pages and it looks really nice so far. As I read it, if I find any oddities I will report back. For other space travelers following in similar foot steps — all of this is documented but it took me a little bit to dig out. This is for an Apple M1 Mac (Apple silicon — not Intel. The paths change) 1) I had to “brew install” libtool, autoconf, help2man. 2) Prepend /opt/homebrew/opt/libtool/libexec/gnubin to my path so I could find libtoolize 3) ./autogen.sh followed by the traditional ./configure && make && make check (I did not make install because the brew for texinfo warns that doing so can cause confusion. The Mac comes with texinfo 4.8. Brew installs texinfo 6.8 (currently) “out of the way” which is why you need to adjust your path.) 4) Because I didn’t do make install, the texi2any command becomes: tp/texi2any.pl --init tp/init/epub3.pm /path/to/org.texi Thank you to all! Perry
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE5yOa/gCtQpb3oCpljxzk9yzE+MAFAmKiWlgACgkQjxzk9yzE +MBD3A//aKB+n+F8FK1/8764Z/klLPWJpcoPWWZNOjttgX3K9aA0I6/v039Zu8Fq w2e06XVoLwXOqnfdZi6VcCEGmoiDrafdq4Ooa3EgEyEHRq2Bn7n0VWB/jO9QIBgU aVyjAMK8SFICyzGHq4vgm/BEGIBihzYwH1K+lGLOA+CoauIu01Ce5prwrGiPPhPB Owyd0dFRDpsYZ/Y18Ciqs9B+2gMQURhexKI9aLrk6PnzPddsPPqUmhdZ6qQm/bld 2lfG2bihqN9oC7fSOlSCL6mEx83BLXSmMmUjXdrWkdnXUSra74OSVpU01sRsq53R g1/rc9+jbFrVXjumDp5mp7eW/HTnWSjD2HK9YdZLzoOlpCSsuIG4TddekuktbrHz Jsw7n6DsEpe+uzQD/w/dSoHRKMYTMLRnGMGejpPjnxbOTGW0Rz3jme/Z5u1Qe/J3 r/rDAN1+uvl2+vwbIjXuJH/SpzRMJh/UAwSnvlBthzsbnKaqfmzHvoCCt0Dm78fm za6xDu4BgI9MiQ37xpymoXwhoJ4RXRzWhrffIxQ3ARc4KatqNiXJkFWakGNBBIAL l+0LSQGaVda9aHsX5ytOuwZXk2DRWwuwbk+pNZOJNZvPmCsj+V1Yjv8AzYjjE+QM b879FcFxOleFoDig48MEpUwnPL5zMpXGoPbPrknywB7+Alys+0k= =fKs2 -----END PGP SIGNATURE-----