bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: do not upper case @sc argument in HTML cross manual Cross References


From: pertusus
Subject: Re: do not upper case @sc argument in HTML cross manual Cross References
Date: Thu, 9 Mar 2023 21:14:52 +0100

On Thu, Mar 09, 2023 at 09:01:08AM +0200, Eli Zaretskii wrote:
> > There may be some need to modify texi2any more generally (for
> > example for upper casing, for locale dependent index keys sorting,
> > maybe for line breaking in Info output).  There may be some trouble
> > with presentation of index split by letter too.
> > 
> > >  The letter-case
> > > issues in that locale can easily break many applications that don't
> > > expect case-fiddling of ASCII characters to produce non-ASCII
> > > characters.
> > 
> > I do not think that it matters in texi2any (and for perl character
> > strings more generally).
> 
> It could matter if texi2any up-cases some text that includes 'i',
> e.g. for case-insensitive comparison or for producing text that must
> be in upper case, like commands for some network protocol.  E.g., what
> happens with sorting the index entries of a Texinfo manual?

The Unicode::Collate perl module is used for sorting.  The
Unicode::Collate::Locale package could be used in the future.

When sorting by letter, then the first letter has to be determined,
upper-cased.  This is probably not well done for now.

-- 
Pat



reply via email to

[Prev in Thread] Current Thread [Next in Thread]