[bug #15513] no error with missing @item

View: New views
4 Messages — Rating Filter:   Alert me  

[bug #15513] no error with missing @item

by anonymous-27 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15513>

                 Summary: no error with missing @item
                 Project: texinfo - GNU documentation system
            Submitted by: karl
            Submitted on: Mon 01/23/06 at 13:29
                Category: makeinfo
                 Release:
                Priority: Normal
                Severity: 3 - Normal
              Item Group: bug
                 Privacy: Public
             Open/Closed: Open
             Assigned to: None
                  Status: None

    _______________________________________________________

Details:

ate: Mon, 23 Jan 2006 17:23:34 +0100
From: Akim Demaille <akim@...>
To: Texinfo Bugs <bug-texinfo@...>
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







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15513>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo/
bug-texinfo@...
http://lists.gnu.org/mailman/listinfo/bug-texinfo

[bug #15513] no error with missing @item

by Sebastian Gerhardt-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Follow-up Comment #1, bug #15513 (project texinfo):

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.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?15513>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




[bug #15513] no error with missing @item

by Sebastian Gerhardt-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Follow-up Comment #2, bug #15513 (project texinfo):

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.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?15513>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




[bug #15513] no error with missing @item

by Sebastian Gerhardt-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Follow-up Comment #3, bug #15513 (project texinfo):

This should be fixed in texi2html.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?15513>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/