bugtexinfo - GNU documentation system - Bugs: bug #15514, undiagnosed error - sectioning...

 
 

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

bug #15514: undiagnosed error - sectioning commands in tables

Submitted by:  Karl Berry <karl>
Submitted on:  Mon 23 Jan 2006 09:35:05 PM UTC  
 
Category: makeinfoRelease: 
Priority: 5 - NormalSeverity: 3 - Normal
Item Group: bugPrivacy: Public
Open/Closed: ClosedAssigned to: Patrice Dumas <pertusus>
Status: Fixed

Thu 17 Feb 2011 12:33:29 AM UTC, comment #3:

Great. In terms of the code, is it feasible for the error message to be more specific, such as
:8: @section seen before @end table
(where "8" is the line of @section)
or
:4: @table not finished before @section
(where "4" is the line of @table)
? wdyt?

BTW, @node should also cause the failure, in case that needed to be stated.

And of course every environment should fail in the same way, not just @table. @example, @figure, whatever. At least I can't think of any exceptions off the top of my head?

Thanks,
k

Karl Berry <karl>
Project Administrator
Tue 15 Feb 2011 11:16:08 PM UTC, comment #2:

There is a specific test now, and the current error message is (4 is on the @section line)

:4: No matching `@end table'

Is it right?

Patrice Dumas <pertusus>
Project MemberIn charge of this item.
Mon 14 Feb 2011 07:18:02 PM UTC, comment #1:

Thanks Akim. I've added a check for sectioning commands occurring outside of any env to texinfo.tex.

Patrice, if you don't already have this test, please add it, and close this out when done.

Thanks,
karl

Karl Berry <karl>
Project Administrator
Mon 23 Jan 2006 09:35:05 PM UTC, original submission:

Date: Mon, 23 Jan 2006 16:29:30 +0100
From: Akim Demaille <akim@lrde.epita.fr>
To: Texinfo Bugs <bug-texinfo@gnu.org>
Subject: Sectioning commands in tables

Sectioning commands are accepted at weird places in info and TeX modes
(below, in a @table). I have not tested the HTML output, but the XML
output is broken.

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

@node Top
@top LRDE Guidelines

@table @asis
@item Before

@section Subsection

@item After

@end table

@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 pertusus (Posted a comment)
  • -unavailable- added by karl (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 the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 02 Nov 2011 08:57:37 PM UTCpertususOpen/ClosedOpen=>Closed
      StatusConfirmed=>Fixed
    Sat 17 Sep 2011 12:09:50 AM UTCpertususStatusFixed=>Confirmed
    Tue 15 Feb 2011 11:16:08 PM UTCpertususStatusNone=>Fixed
    Mon 14 Feb 2011 07:18:02 PM UTCkarlAssigned toNone=>pertusus

    Back to the top


    Powered by Savane 3.1-cleanup1