bugtexinfo - GNU documentation system - Bugs: bug #15513, no error with missing @item

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #15513: no error with missing @item

Submitted by:  Karl Berry <karl>
Submitted on:  Mon 23 Jan 2006 09:29:39 PM UTC  
 
Category: makeinfoRelease: 
Priority: 5 - NormalSeverity: 3 - Normal
Item Group: bugPrivacy: Public
Open/Closed: OpenAssigned to: None
Status: None

Wed 02 Sep 2009 03:33:01 PM UTC, comment #3:

This should be fixed in texi2html.

Patrice Dumas <pertusus>
Wed 26 Aug 2009 12:36:34 AM UTC, comment #2:

i think it would be good to have a warning if an @itemize or @table, etc., lacks any @item but has nonempty text -- much more likely that it's a typo than intended. and just a warning won't affect anyone.

as for a completely empty environment like
@quotation
@end quotation
i am not sure either, but i'm inclined to say no warning.
unlike the previous case, i can't quite picture it happening by accident.

Karl Berry <karl>
Project Administrator
Tue 25 Aug 2009 12:40:43 PM UTC, comment #1:

I think that it is not incorrect texinfo. All the formats with @item accept text before the first item. It is unclear whether it is correct, and the result of the formatting is unspecified, but it shouldn't be an error in my opinion.

Now the question is whether an empty format (a really empty format like

@quotation
@end quotation

or a format like @itemize or @table without @item as reported in this bug) should lead to a warning. I don't think so, but I am not sure.

Patrice Dumas <pertusus>
Mon 23 Jan 2006 09:29:39 PM UTC, original submission:

ate: Mon, 23 Jan 2006 17:23:34 +0100
From: Akim Demaille <akim@lrde.epita.fr>
To: Texinfo Bugs <bug-texinfo@gnu.org>
Subject: Missing @item

I don't know whether the following should be considered correct, but
it is accepted by makeinfo and was definitely an error: the @item was
missing.

\input texinfo @c --texinfo--
@c %**start of header
@setfilename unopened-item.info
@settitle Foo

@node Top
@top Unopened-Item

@itemize
Of course adjectives to not have a plural form:
@end itemize

@bye

Karl Berry <karl>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by pertusus (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter 421 here (basic anti-spam test):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup