>> ``` >> \input texinfo >> >> @code{45°} >> >> @code{45@textdegree{}} >> >> @bye >> ``` > > It is better to be consistent in my opinion.
Consistent with what exactly? > Here is a proposed patch, it does not use @textdegree but leads to > the same output as @textdegree{}. It fails in @math{}, but the > preceding mapping also failed in @math. Does this map back to U+00B0 for cut and paste? >> Of course, the glyph width must be adjusted for typewriter, which I >> haven't done here. > > I do not think that it is done for @textdegree{}, nor for many > substitutions of non-ascii characters. The previous mapping got a > fixed-width, though, as it used a space accented with a ringaccent. Well, I think it is *essential* in typewriter to get the same width as all other glyphs if entered as U+00BO. Otherwise code listings look bad. In other words, there is a difference between entering U+00B0 and `@textdegree{}`: The former *must* be fixed-width, the latter can be non-fixed-width also. AFAICS, your patch doesn't do that, so I disagree with it. Werner