| Summary: | [HELPAUTHORING] implement <sup> and <sub> tags in HelpAuthoring extension | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Olivier Hallot <olivier.hallot> |
| Component: | Documentation | Assignee: | beimaginativeegroup |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | beimaginativeegroup, olivier.hallot |
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:5.5.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 93580 | ||
|
Description
Olivier Hallot
2017-05-24 11:34:36 UTC
Correction: 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 (https://wiki.documentfoundation.org/HelpContentAuthoring/3) Providing documentation. 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: help_sup help_sub 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": http://cgit.freedesktop.org/libreoffice/contrib/dev-tools/commit/?id=cbc76cb097e3b3e2fb3912153171c1dd1e799955 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 http://dev-www.libreoffice.org/helpauthoring/ 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 > > http://dev-www.libreoffice.org/helpauthoring/ > > Thanks for the fix!!!!. File uploaded. No need to open a redmine ticket. |