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: Eli Zaretskii
Subject: Re: do not upper case @sc argument in HTML cross manual Cross References
Date: Wed, 08 Mar 2023 21:55:29 +0200

> Date: Wed, 8 Mar 2023 20:36:49 +0100
> From: Patrice Dumas <pertusus@free.fr>
> Cc: bug-texinfo@gnu.org
> 
> > >  For @sc, any letters are capitalized.
> > > 
> > > I'd like to change that for 3 reasons
> > > * what capitalization means could differ for locales
> > 
> > Not for ASCII characters, right?
> 
> Probably not, but this rule applies to any character.

Yes, but how likely is it that @sc will be used for non-ASCII text?
Did you ever see such usage?

> > > * how this capitalization applies to @sc arguments is not well defined
> > 
> > You mean, what happens with upper-case characters?  Or what do you
> > mean?
> 
> When you have something like
> @sc{@abbr{a,b}}, should the a inside @abbr be upper-cased?

If that's the problem, then I don't think I care about those cases.
@sc exists for other uses, where the rules are much more clear and
make much more sense.

> > You are basically suggesting to make @sc a no-op in HTML output?  So,
> > for example, "@sc{gnu}" will produce "gnu"?  Is that reasonable?
> 
> No, not at all, not for HTML output in general, only for the
> construction of <a> href targets and id for HTML cross references.
> For what is described here:
> https://www.gnu.org/software/texinfo/manual/texinfo/html_node/HTML-Xref.html

So @sc will sometimes work and sometimes not?  Is the inconsistency a
good idea?



reply via email to

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