bugGNU TeXmacs - Bugs: bug #60918, mismatch in number of cells in...

 
 

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

bug #60918: mismatch in number of cells in tabular

Submitter:  Gennady Uraltsev <guraltsev>
Submitted:  Wed 14 Jul 2021 07:07:55 PM UTC
   
 
Category:  Editor Priority:  5 - Normal
Item Group:  Error Status:  Wont Fix
Privacy:  Public Assigned to:  vdhoeven
Originator Name:  Open/Closed:  Closed
Release:  None Release:  2.1
Fixed Release:  None Fixed Release: 
Keywords: 

Wed 10 Nov 2021 02:28:23 PM UTC, comment #1: 

I would need a way to reproduce this problem.
In principle, there should always be 'cell' tags.
It is true that we might add more safeguards,
but the actual bug is when the table becomes invalid.

Please re-open if you have a reproducable way to construct invalid tables.

Joris van der Hoeven <vdhoeven>
Group administrator
Wed 14 Jul 2021 07:07:55 PM UTC, original submission:  

I am not sure this is a bug but it seems so. Often, when typesetting formulae with alignment (I use tabular inside an equation environment) I end up with something like this:
`
<tabular*|
  <tformat|
    <cwith|1|-1|2|2|cell-halign|l>|
    <twith|table-width|1par>|
    <twith|table-hmode|exact>|
    <table|
        <row|<cell|a>|b|<cell|c>>|
        <row|<cell|d>|<cell|e>|<cell|f>>>>>
`
As you can see the cell slot for `b` is not surrounded by a `cell` tag. In the gui visualization this can be detected by some slight misalignment of the cells. The only way I can "fix" the problem is to go to source editing and type `\ c e l l <RET>`. If I try to do the same thing in the GUI and not in the source editing view the same action catapults me to a completely different part of the document. Once Texmacs just crashed.

I do not know the specific actions to reproduce this problem. It happens often when copy-pasting tables. I will add details if more arise. In any case, there should be some failsafe behavior. for TeXmacs to "fix" such tables automatically.

Gennady Uraltsev <guraltsev>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vdhoeven (Posted a comment)
  • -email is unavailable- added by guraltsev (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-10 vdhoeven StatusNone Wont Fix
        Assigned toNone vdhoeven
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code