texinfo-devel
[Top][All Lists]
Advanced

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

Re: 12 questions for FIXMEs


From: Patrice Dumas
Subject: Re: 12 questions for FIXMEs
Date: Fri, 11 Nov 2011 16:43:01 +0100
User-agent: Mutt/1.4.2.2i

On Sun, Nov 06, 2011 at 12:12:55AM +0000, Karl Berry wrote:
> Yes, match @end only at ^.  I just tried 
> @example
> foo
>  @end example
> with texinfo.tex, and got two lines of output (the second one blank).

A precision, there is systematically an error message when @end
is not at the line beginning.  The question is whether there should 
be a match if not beginning only with blank lines.

>     4. Should something that remains after an @end ifhtml and similar
>     command on the like be ignored?  Or should there be an error
>     message?  I think that a @comment is valid, so not doing anything
>     and keeping what is on the line as is now and putting a comment in
>     the code may be enough.
> 
> Right, @c (and whitespace) is ok there.  Anything else is not ok.  Both
> texinfo.tex and C makeinfo give errors, e.g., with the input

Also a precision here, right now there is always an error message with
something along 

 @ihftml
 aa
 @end ifhtml truc

But with something like 

 @ihftml
 aa
 @end ifhtml @asis{truc}

there is only an error message if @ifhtml is expanded.

For
 @html
 gg
 @end html truc
there is always an error message.

But for 
 @html
 gg
 @end html @asis{truc}
there is never an error message.

Hrm.  That does not look good to me.  At least, there should be an error
message when @html is expanded.

-- 
Pat



reply via email to

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