On Fri, Mar 30, 2012 at 11:14:41AM -0700, Karl Berry wrote:
> Hi Patrice,
> 
>     @verb{. @ {} . .}
> 
> I'm not sure that handling @verb is at all feasible in section titles,
> etc., since it totally messes up normal parsing.  In any case, it's
> definitely too much work for not enough return.  It's also been

Ok.  It has some advantages, but I agree that the return is fairly low.

> documented forever that it shouldn't be used "inside" Texinfo commands:
> 
>   In particular, it does not work to use @code{@@verb} in
>   anything related to cross-referencing, such as section titles or
>   figure captions.
> 
> Can you change makeinfo to give a warning if it occurs there?

You mean precisely in section titles and figure captions?  In section
titles it is easy, but in figure captions it is harder, as captions are
set up as accepting anything.  And for warning to appear in shortcaption,
a warning should also appear in 

                     'titlefont', 'anchor', 'xref','ref','pxref',
                     'inforef', 'shortcaption', 'math', 'indicateurl',
                     'email', 'uref', 'url', 'image', 'abbr', 'acronym',
                     'dmn', 'ctrl', 'errormsg' 

Maybe this calls for another design of the code determining what is 
accepted where that allows for more fine tuning.  I have an idea on the
design that would be better than teh current design, allow to easily
make specific change for a given command, and maybe will be easier
to customize.

-- 
Pat

Reply via email to