ebook format

2021-06-10 Thread Wim Stockman
What is the best and easiest way to convert a groff document to kindle friendly format? or other opensource ereader format , not pdf format? kind regards Wim Stockman

Re: ebook format

2021-06-10 Thread Oliver Corff
Hi Wim, the answer depends very much on the complexity and markup of your source document. pandoc(1) can read man and write epub: $ pandoc -f man -t epub [FILE] Frustratingly, it can produce ms but does not seem to have an input filter for it. pandoc is written in Haskell and uses reader and

Re: ebook format

2021-06-10 Thread Oliver Corff
Actually, I was thinking along the same lines. I also have a perl script which reads the text sources I am working on currently, processes their very special (and terse) markup and produces a groff file which is processed with groff -ms and a few parameters defining "paper size" etc. The groff fil

Re: ebook format

2021-06-15 Thread Dave Kemper
On 6/10/21, Deri wrote: > Just out of interest, why do you dismiss pdf format for reading on the > kindle? I find you have > greater control over the way you want it to look using groff and pdf. As a creator, that may have some appeal. But most readers won't be happy with this, because it means

Re: ebook format

2021-06-16 Thread Oliver Corff
On 16/06/2021 08:56, Dave Kemper wrote: On 6/10/21, Deri wrote: Just out of interest, why do you dismiss pdf format for reading on the kindle? I find you have greater control over the way you want it to look using groff and pdf. As a creator, that may have some appeal. But most readers won'

Re: ebook format

2021-06-16 Thread Wim Stockman
If any one knows how to run groff on a e-reader. I d love that :-). Just vim and groff :-) Op wo 16 jun. 2021 10:25 schreef Oliver Corff : > On 16/06/2021 08:56, Dave Kemper wrote: > > > On 6/10/21, Deri wrote: > >> Just out of interest, why do you dismiss pdf format for reading on the > kindle?

Re: ebook format

2021-06-16 Thread Oliver Corff
Hi, this looks like a promising route: https://www.mobileread.com/forums/showthread.php?t=325185 (not tried or tested yet, though I own a compatible device). The processor of most e-readers seems to be similar to the one used in the raspberry Pi series. So if you can cross-compile groff for P

Re: ebook format

2021-06-17 Thread Dorai Sitaram via
I've had some success sending a single-page HTML to my Kindle. The Kindle will only accept HTML pages that have no dependencies on external files, i.e., no external CSS, and no external image files, both of which problems can be solved. HTML is obviously nicer than PDF on the Kindle because the