Quote:
Originally Posted by Shohreh
Hello,
To read long man pages on an e-reader, what application would you recommend to convert those to an epub file?
|
I wouldn't use an application per se. I also wouldn't use pandoc.
Unix man pages use a markup format called roff (runoff) inherited from Multics. I would use groff (or troff) to render the manpage source as HTML:
zcat /usr/share/man/man1/groff.1.gz | groff -mandoc -Thtml > groff.html
Then use ebook-convert to turn that HTML into an ePub. This should generate a nicely formatted ePub.