bugGNU TeXmacs - Bugs: bug #63357, Underlining goes on after...


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

bug #63357: Underlining goes on after <underline> tag end

Submitter:  Basile <baudoly>
Submitted:  Sun 13 Nov 2022 02:44:51 PM UTC
Category:  Typesetter Priority:  5 - Normal
Item Group:  Error Status:  Fixed
Privacy:  Public Assigned to:  vdhoeven
Originator Name:  Open/Closed:  Closed
Release:  None Release:  2.1.1
Fixed Release:  None Fixed Release: 

Mon 30 Oct 2023 04:21:27 PM UTC, comment #4: 

Fixed in revision 14231.

Note however that 'underline' is a tag for text.
Inside mathematics it is better to use a 'wide bar accent under'.

Joris van der Hoeven <vdhoeven>
Group administrator
Sat 25 Mar 2023 10:25:39 AM UTC, comment #3: 

actually there was already a report for that http://savannah.gnu.org/bugs/?60628

Philippe Joyez <pjoyez>
Group Member
Tue 24 Jan 2023 07:55:58 PM UTC, comment #2: 

The bug happens when datom closes just before an rsub or rsub.

Philippe Joyez <pjoyez>
Group Member
Mon 14 Nov 2022 08:09:56 PM UTC, comment #1: 

yes, the underline tag is misbehaving. In <concat|<math|<underline|u><rsub|1>xyz>| abc>, everything gets underlined, as if underline is "turned on" and waiting to be "turned off".

You get the desired behavior by using the <math|<wide*|u|\<wide-bar\>><rsub|1>> or <math|<wide*|u|\<bar\>><rsub|1>>.

Philippe Joyez <pjoyez>
Group Member
Sun 13 Nov 2022 02:44:51 PM UTC, original submission:  

I cannot typeset $\underline{u}_1$ with the subscript outside the underline.

Steps to reproduce the bug:
type <math|<underline|u>>
position the cursor immediately after the character "u" (inside the underline)
hit "right-arrow" once (to exit from underline)
hit "_" and then "1"

The subscript is erroneously created INSIDE the underline environment, as if I did not use "right-arrow".

If I type right-arrow twice, the cursor ends up outside of math mode.

Basile <baudoly>


(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 pjoyez (Posted a comment)
  • -email is unavailable- added by baudoly (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-10-30 vdhoeven StatusConfirmed Fixed
        Assigned toNone vdhoeven
        Open/ClosedOpen Closed
    2023-01-14 pjoyez CategoryEditor Typesetter
        StatusNone Confirmed
        SummaryMissing cursor position in math mode Underlining goes on after <underline> tag end

    Back to the top

    Powered by Savane 3.12