Re: backward compatibility and more

Derek Robert Price <[email protected]> Fri, 06 Feb 2004 13:06:51 -0500
Newsgroups gmane.comp.tex.texi2html.devel
Organization Ximbiot <http://ximbiot.com>
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dumas Patrice wrote:

>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.


Cool.  That's about what I was going to suggest.  :)

>>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.


Cool.  :)

>>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.


I know so little about unicode that the best I can say here is that if
you think so and the folks on the texinfo list agree, then you are
probably right.  I'll see if I can't make time to read these links soon
so I can opine some more.  :)

Derek

- --
                *8^)

Email: [email protected]

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQFAI9e7LD1OTBfyMaQRAkV9AJ4v6uOBcCMWdZfOjadTeXDxoy7+LwCeM2i9
VAcGujzVa3VRYDb8AxcAJm4=
=7uMC
-----END PGP SIGNATURE-----