[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [wdiff-bugs] html support
From: |
Bruno Haible |
Subject: |
Re: [wdiff-bugs] html support |
Date: |
Wed, 30 Jan 2008 11:08:23 +0100 |
User-agent: |
KMail/1.5.4 |
Andrew Clausen wrote:
> I'll take a look at adding html support.
Note that GNU gettext already has code for converting output to HTML on the fly.
[1] [2] [3] [4] [5]
It's structured as a few C++-like "classes", and should therefore make reuse
possible; the code already has module descriptions that gnulib-tool understands.
Additionally, it has support for producing styled output (color, font changes,
underlining), using an API that works the same for HTML output and for text
(tty) output. [6] [7] [8]
This code is currently used in GNU gettext's 'msgcat' program. I plan to move
it into a reusable library once I have written a manual for it.
Bruno
[1]
http://cvs.savannah.gnu.org/viewvc/gettext/gnulib-local/lib/ostream.oo.h?revision=1.2&root=gettext&view=markup
[2]
http://cvs.savannah.gnu.org/viewvc/gettext/gnulib-local/modules/html-ostream?revision=1.5&root=gettext&view=markup
[3]
http://cvs.savannah.gnu.org/viewvc/gettext/gnulib-local/modules/file-ostream?revision=1.5&root=gettext&view=markup
[4]
http://cvs.savannah.gnu.org/viewvc/gettext/gnulib-local/modules/fd-ostream?revision=1.5&root=gettext&view=markup
[5]
http://cvs.savannah.gnu.org/viewvc/gettext/gnulib-local/lib/iconv-ostream.oo.h?revision=1.2&root=gettext&view=markup
[6]
http://cvs.savannah.gnu.org/viewvc/gettext/gnulib-local/lib/styled-ostream.oo.h?revision=1.2&root=gettext&view=markup
[7]
http://cvs.savannah.gnu.org/viewvc/gettext/gnulib-local/lib/html-styled-ostream.oo.h?revision=1.2&root=gettext&view=markup
[8]
http://cvs.savannah.gnu.org/viewvc/gettext/gnulib-local/lib/term-styled-ostream.oo.h?revision=1.2&root=gettext&view=markup