Bug 133135

Summary: Exponents imported from DOCX appear as text, not superscript
Product: LibreOffice Reporter: konsultor <uc>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: buzea.bogdan, uc
Priority: medium    
Version: 6.4.2.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Instructions DOCX where "squared" 2 is not superscript
The example file in Word
In Word 365

Description konsultor 2020-05-17 22:40:57 UTC
Description:
The document sample from IEEE for conference papers describes formats and styles with examples.  Section III.B contains what should be Webers per meter squared but reads Wb/m2, not a superscript.  

Steps to Reproduce:
1.  download file from https://www.ieee.org/content/dam/ieee-org/ieee/web/org/conferences/conference-template-letter.docx
2.  Select open with LibreOffice
3.

Actual Results:
text reads Wb/m2

Expected Results:
should display with "2" as a superscript


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.4.2.2
Build ID: 40(Build:2)
CPU threads: 12; OS: Linux 4.12; UI render: default; VCL: kf5; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

from OpenSuse
OpenGL is not on
Comment 1 konsultor 2020-05-17 22:43:48 UTC
Created attachment 160959 [details]
Instructions DOCX where "squared" 2 is not superscript

IEEE consistently uses superscript 2 in journals
Comment 2 BogdanB 2020-05-18 04:57:06 UTC
Please send a printscreen from another app that opens this documents and it shows there the number 2 with superscript.
Comment 3 BogdanB 2020-05-18 05:02:44 UTC
This is how the code looks like in this document.

	<li class="block_13"><span class="text_5">Do not mix complete spellings and abbreviations of units: “Wb/m2” or “webers per square meter”, not “webers<span style="white-space:pre-wrap">/m2”.  Spell out units when they appear in text: “. . . a few </span></span><span

And this is the same document if I replace m2 with superscript

<div style="display:table-row" class="block_19"> <span class="text_6">Do not mix complete spellings and abbreviations of units: “Wb/m<sup>2</sup>” or “webers per square meter”, not “webers/m<sup>2</sup><span style="white-space:pre-wrap">”.  Spell out units when they appear in text: “. . . a few henries”, not “. . . a few H”.</span></span></div>

So, I consider that here they have simple text and NOT a superscript. 
Waiting for a printscreen showing that other programms shows there a superscript. Or another prove that there is not a mistake in their document.
Comment 4 konsultor 2020-05-18 05:08:59 UTC
Sorry.  Don't have MS Word, only LO.
When the pandemic is over I will go the Library and take a screen shot.  Could be an error in the IEEE doc, but this file is a template for all conference papers so I'd thought they would have corrected something like this.
Comment 5 NISZ LibreOffice Team 2020-05-18 06:24:30 UTC
Created attachment 160962 [details]
The example file in Word

It's not superscript in Word 2013, but normal text.
Comment 6 Pedro 2020-05-18 09:09:25 UTC
Created attachment 160966 [details]
In Word 365

In Word 365 it also shows without superscript.
Comment 7 konsultor 2020-05-18 14:10:36 UTC
Thanks to all of you for checking.  I'll tell IEEE.