Re: backward compatibility and more

Dumas Patrice <[email protected]> Wed, 21 Jan 2004 19:41:35 +0100
Newsgroups gmane.comp.tex.texi2html.devel
Message-ID <[email protected]>
I respond to myself for some questions:

> 1) I would like to make a change to the texi2html interface that will introduce
> some backward incompatibility. I am fairly certain that this has to be done,
> the issue is how. The problem is with @-commands in the style_map which have

I made it. The old interface is still available, the new is used if the value 
in %style_map is a hash reference.

> 2) I think that it would be better if functions reference were used in the
> %style_map hash instead of strings like '&func1. No issue of backward
> compatibility here. Right ?

I didn't do that, as now with the new interface function references are used.
This issue is obsolete.
 
> 3) texi2html now verifies that an accented letter is in an unicode map and
> otherwise warns the user. On the texinfo mailing list this feature wasn't
> considered good. Should I remove it ?

This wasn't totally true. In fact texi2html verifies that the accented letter
is a precomposed unicode character. Thus I think this isn't a good feature 
as all the characters can be composed in unicode and thus all the characters
should be available. Moreover it should be rather easy to output decomposed
characters whenever the precomposed one doesn't exist. It could even be better
to use decomposed characters only and use Unicode::Normalize to normalize to
a given form. 

Still on that subject, I think the form C would be the better one when 
outputting utf8.
See
http://www.unicode.org/unicode/reports/tr15/
or
http://www.cl.cam.ac.uk/~mgk25/unicode.html
for more on that subject.

Pat