bug-texinfo
[Top][All Lists]
Advanced

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

Re: some @-command constructs not accepted on section lines


From: Patrice Dumas
Subject: Re: some @-command constructs not accepted on section lines
Date: Fri, 20 Apr 2012 23:22:04 +0200
User-agent: Mutt/1.5.20 (2009-12-10)

On Sun, Apr 01, 2012 at 02:02:41PM -0700, Karl Berry wrote:
>     You mean precisely in section titles and figure captions?  
> 
> I'm not sure what I mean precisely :), but it would certainly be a good
> step to warn just in figure titles.
> 
>     for warning to appear in shortcaption,
>     a warning should also appear in 
> 
> Indeed, I doubt @verb works in any of those commands in texinfo.tex.
> Nor do I see that it needs to work in any of them, logically speaking.
> So I think it would be good to warn in all those cases.

Ok, I'll implement that.  In addition, I think it will be warned if
found in most line @-commands, except maybe @exdent, @center and @item
in @table. 

>     in figure captions it is harder, as captions are
>     set up as accepting anything.
> 
> Which makes sense.  Let me check about @verb in figure captions in
> texinfo.tex.  I was thinking of @shortcaption before.

I have checked, if there is a @shortcaption the @caption may contain
anything.  If there is no @shortcaption, what is in @caption is very
constrained, much like @shortcaption (even a @comment on a second line
is not accepted..).

This makes perfect sense, thus.  So constructs that are not allowed in
@shortcaption may trigger a warning/error when they appear in @caption 
and there is no @shortcaption.  However, the implementation would not be
that easy.  Do you think I should work on it nevertheless?

-- 
Pat



reply via email to

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