Issue 93757 - spellcheck opt without superscripts & subscripts
Summary: spellcheck opt without superscripts & subscripts
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 2.4.0
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 44018 (view as issue list)
Depends on:
Blocks:
 
Reported: 2008-09-11 10:24 UTC by nicklevinson
Modified: 2014-03-23 12:39 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: 4.1.0-beta
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description nicklevinson 2008-09-11 10:24:21 UTC
Spellcheck should optionally exclude superscripts and subscripts, such as those
used for footnote or endnote references and chemistry symbolism, regardless of
the content of the superscripted string, which might be numerals, letters,
asterisks, or any other characters in any font.

This does not apply to superscript references created via Insert menu >
Footnote. In those cases, Spellcheck correctly distinguishes a word from a
reference. However, some recipients of word-processed documents containing
footnotes or endnotes require that submissions use notes and note references
that are created manually, preventing interplatform incompatibility. For users
preparing documents using manual notes and note references, Spellcheck should
have an option to ignore superscripts and subscripts. The option can be made
operational or not via a checkbox.

I'm using OOo Writer 2.4.0 without Java Runtime Environment on Linux Fedora Core
4 with Gnome 2.10.0 desktop on a Pentium 4 laptop. I didn't see this feature.

Thank you.

-- 
Nick
Comment 1 michael.ruess 2008-09-11 11:31:20 UTC
Reassigned to requirements.
Comment 2 Edwin Sharp 2014-03-19 15:06:57 UTC
Chemical formulas with subscripts are ignored by the spell checker.
AOO410m14(Build:9760)  -  Rev. 1573062
2014-03-01_04:11:01 - Rev. 1573123
Debian
Comment 3 nicklevinson 2014-03-22 16:37:39 UTC
That's a more limited case. This enhancement would check the spelling of chemical formulas and other strings but ignore superscripts and subscripts themselves. Example, where "3" is a superscript: "Jones said there was plenty of food at the store3 but not in the pantry." Spell-checking should ignore the "3" and verify that "store" is correctly spelled. If it had been typed as "storr3" ("storr" being a misspelling), even ignoring the "3" it should reject the spelling. Ignoring the whole string ("store3" or "storr3") would not help.
Comment 4 Edwin Sharp 2014-03-22 18:02:54 UTC
Maybe something like:
Tools - Spelling and Grammar... - Options... - Writing aids - Options - Retain super/sub script strings
Comment 5 Edwin Sharp 2014-03-23 11:36:51 UTC
*** Issue 44018 has been marked as a duplicate of this issue. ***
Comment 6 mroe 2014-03-23 12:39:12 UTC
Because a subscript/superscript is only a formatting attribute of a character it does not begin or end a word. Using Insert → Footnote/Endnote… or other fields there will be a defined break ending the word before.

Introducing a field type "Subscript/Superscript" could be a solution. But with the reason that the format (font, typeface, font effects, …) can differ from the surrounded text it would not be easier than following possibilities:

Insert → Formatting mark → Non-breaking space between word and superscript/subscript.

Insert the Unicode character u200B directly via keyboard (dependent from used operating system/window manager) between word and superscript/subscript.
http://en.wikipedia.org/wiki/Zero-width_space
http://en.wikipedia.org/wiki/Space_%28punctuation%29

Insert → Fields → Other…, tab Variables.
Using e. g. "User Field" or "Number rage" and format it as superscript/subscript.

Because a subscript or a superscript can also be a word that should have been spell checked, spell check shouldn't respect any formatting attribute.