Bug 140309

Summary: Subscript NOT displaying certain character combination (to)
Product: LibreOffice Reporter: Richard <rre.ellsworth>
Component: Formula EditorAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: vsfoote
Priority: medium    
Version: 7.0.4.2 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Formula with this bug.

Description Richard 2021-02-10 01:28:13 UTC
Created attachment 169640 [details]
Formula with this bug.

Description:
   The formula editor will not display the subscript 'to' in either upper or lower  
   case and with or without brackets{}.

Steps to reproduce:
   1. Open LibreOffice Math or the Formula Editor
   2. Enter a single character or a word with the subscript(in any case): 'to'
      e.g. - V_TO or V_{to}

Actual Results:
   The first letter or word displays correctly but any subscript of 'to' will not 
   display. The subscript is shown in red as '¿'.

Expected Results:
   The subscript 'to' should display.
Comment 1 V Stuart Foote 2021-02-26 20:06:05 UTC
Believe "TO" is a StarMath reserved word, so to treat as a literal it must be placed in quotes.

Try these riffs...

V_TP = V_"TO" = V_"to" = V_OT = I_"TO" = QWER_"TO" = QUERT_TP
newline
V^TP = V^"TO" = V^"to" = V^OT = I^"TO" = QWER^"TO" = QUERT^TP
newline
newline
V rsub TP = V rsub "TO" = V rsub "to" = V rsub OT = I rsub "TO" = QWER rsub "TO" = QUERT rsub TP
newline
V rsup TP = V rsup "TO" = V rsup "to" = V rsup OT = I rsup "TO" = QWER rsup "TO" = QUERT rsup TP
newline


Also To assure desired rendering, braces around litterals and any spacing marks may be helpful.