bug-texinfo
[Top][All Lists]
Advanced

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

Re: Double hyphens in variable names.


From: Werner LEMBERG
Subject: Re: Double hyphens in variable names.
Date: Sun, 05 Oct 2003 10:34:16 +0200 (CEST)

>     This seems more logical than the roman fonts (bold and slanted)
>     now being used, although the roman fonts are prettier and take
>     less space.
> 
> That sounds like a substantial change for the worse.

I agree.

> One other alternative is to use a fixed width font but slightly
> smaller than the roman font now used.  That might use little or no
> extra space.  It would have a drawback too, in reducing the
> visibility of the function name, but it still could be better
> overall than using a fixed width font of the same size.

As already mentioned, it is ugly.

A TeXnical solution: Make the hyphen character active in @def... like
in this example:

  a - a -- a --- a

  \let\hyphen=-
  \catcode`\- \active
  \def-{\hyphen{}}

  a - a -- a --- a

I don't know how tricky this is to add, but a quick look into
texinfo.tex shows that only @code changes the category code of the
hyphen locally.


    Werner




reply via email to

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