Bug 41176

Summary: VIEWING: Error in combination of subscript and superscript.
Product: LibreOffice Reporter: Luigi Boccia <luigi.boccia>
Component: Formula EditorAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: jbfaure
Priority: medium    
Version: 3.4.3 release   
Hardware: Other   
OS: All   
Whiteboard: BSA
Crash report or crash signature: Regression By:

Description Luigi Boccia 2011-09-24 15:36:42 UTC
Problem description: 
Strange error, tested on different installations of 3.4.3
Combination of subscript and superscript. Try to test the two expressions. In the second case, the one ending with "+", an error will appear. Why?


Steps to reproduce:
a. V_i^b --> correct output
b. V_i^+ --> wrong formatting

Current behaviour:
b. A Question mark appear erroneously.

Expected behavior:
Only the superscript + shour appear, without question mark.

This error is important in all RF microwave applications.
Comment 1 Alastair Rae 2011-09-29 02:40:03 UTC
Work around is to put plus in quotes. All these render correctly:
V_i sup "+"
V_i sup b
V_i^b
V_i^"+"
V sub i sup b
V sub i sup "+"
Comment 2 Jean-Baptiste Faure 2012-01-22 07:20:21 UTC
@Alastair Rae: it is not a workaround but the correct syntax. + is a binary operator then it waits for something on its right side.
Comment 3 Luigi Boccia 2012-01-24 09:12:08 UTC
Nice to know that this is a standard procedure. However, it is not 
mentioned in the documentation.

Thanks for your help.

L.

Nella citazione in data domenica 22 gennaio 2012 16:20:21, 
bugzilla-daemon@freedesktop.org ha scritto:
> https://bugs.freedesktop.org/show_bug.cgi?id=41176
>
> Jean-Baptiste Faure<jbf.faure@orange.fr>  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|UNCONFIRMED                 |RESOLVED
>           Resolution|                            |NOTABUG
>                   CC|                            |jbf.faure@orange.fr
>
> --- Comment #2 from Jean-Baptiste Faure<jbf.faure@orange.fr>  2012-01-22 07:20:21 PST ---
> @Alastair Rae: it is not a workaround but the correct syntax. + is a binary
> operator then it waits for something on its right side.
>