Re: [Groff] Groff and ePub?

2010-12-18 Thread Larry Kollar
brian m. carlson wrote: > On Fri, Dec 17, 2010 at 04:49:43PM -0500, Timothy Groves wrote: >> Has anyone come up with filters, macros, etc., to produce an ePub >> file from groff source? > > Since ePub is basically XHTML in a zip file, you could create one with > -Txhtml. The problem with using

[Groff] caching result of charinfo::get_flags

2010-12-18 Thread Werner LEMBERG
Colin, Daiki-san, if there are a lot of character classes, the frequently used function `charinfo::get_flags' can get expensive. Any idea how to cache its return value? Essentially, it needs to be computed only once, but as soon as `.class' is called again, it has to be recomputed (again, only

Re: [Groff] Groff and ePub?

2010-12-18 Thread Pierre-Jean
"brian m. carlson" wrote: > On Fri, Dec 17, 2010 at 04:49:43PM -0500, Timothy Groves wrote: > > Has anyone come up with filters, macros, etc., to produce an ePub > > file from groff source? > > Since ePub is basically XHTML in a zip file, you could create one with > -Txhtml. The problem with usi

Re: [Groff] Re: Bug#552201: groff-base: Japanese manpages are shown with too wide spaces

2010-12-18 Thread Werner LEMBERG
>> The only thing which I consider bad is that there is `(' at the >> line end. Can this be improved by adjusting the calls to .cflags? > > Hmm, I tried to add `(' to CJKpostpunct class, but it did not help. > >>リストでは合計実行時間、呼び出し回 数、そのルーチン自身で消費した時間 ( > > Groff adds a space between (non-punc