Subscripts and superscripts aren't allowed in help file except if the character already exist in the font.
This bug ask to implement <sup> and <sub> tags in Help pages XML and DTD, as well as the corresponding Help Authoring extension to allow subscript and superscripts.
Important when, e.g., numbers are expressed in scientific and engineering notation.
The issue is in Help Authoring extension, that has no support for them.
<sub> and <sup> are defined in DTD.
but not documented in original PDF document and its online version
Taking a look at the extension code and taking reference from commit 5f231ff8263565988470f7fbedb90ff3a4883174 and after seeing commit 33c72614de2a9d3add66a9fce81233f66fb55e6d, I'm assuming edits are needed to both soofice2xmlhelp.xsl and xmlhelp2soffice.xsl. Am I right in thinking this?
Yes, as well as I think it will be necessary to define 2 more character styles in the template:
If it isn't a problem, I'd like to take a look at this.
(In reply to beimaginativeegroup from comment #4)
> If it isn't a problem, I'd like to take a look at this.
No problem, please set the Assignee to you.
I have uploaded a Gerrit request that can be found at https://gerrit.libreoffice.org/#/c/38218/ that should fix this bug. Please let me know if I should change anything.
liongold committed a patch related to this issue.
It has been pushed to "master":
tdf#108054 - Implementing <sup> and <sub> in the HelpAuthoring extension
Will the new extension builds be generated automatically? Or is anything else needed from my end?
(In reply to beimaginativeegroup from comment #8)
> Will the new extension builds be generated automatically? Or is anything
> else needed from my end?
The extension is rebuild when you run make in dev-tools/helpauthoring/ and the result is available in dist/
Open a redmine ticket, attach the extension, and ask to upload to
Thanks for the fix!!!!.
(In reply to Olivier Hallot from comment #9)
> (In reply to beimaginativeegroup from comment #8)
> > Will the new extension builds be generated automatically? Or is anything
> > else needed from my end?
> The extension is rebuild when you run make in dev-tools/helpauthoring/ and
> the result is available in dist/
> Open a redmine ticket, attach the extension, and ask to upload to
> Thanks for the fix!!!!.
File uploaded. No need to open a redmine ticket.