Date: prev next · Thread: first prev next last
September 2019 Archives by date, by thread · List index


https://bugs.documentfoundation.org/show_bug.cgi?id=127319

--- Comment #10 from Justin L <jluth@mail.com> ---
I notice that auto-spellcheck ignores 6But - so that gives some kind of
precedence to ignoring certain parts of a "word". And Word 2003 already treats
superscripted text as a separate word.

But superscripting (from a computer perspective) is no different than setting
some characters in a word to be a different colour, or bold, or italics etc. I
imagine that treating superscripting separately would be tricky and CPU
intensive. So I would tend to put the burden on the user to create a
well-formed document, and make a separation between what they consider to be
non-word-forming characters and the word itself.

For this particular document, one user workaround could be to search for
superscripted characters, and insert a ZERO WIDTH NO-BREAK SPACE character in
front of it (which can be created by typing U+FEFF and then hitting Alt-x).

Finding these is possible in "Find and Replace". Press the Format button and
select Format tab, superscript, and relative font size 80.

Since this is a huge document, here is an advanced find/replace (that needs to
be copy/pasted, since it contains the invisible zero-width no-break
space(ZWNBS) in it.) You need to enable the "regular expressions" option to use
this search.
Find:(?<=[^ ])([^ ])
Replace:$1
[Hint: to ensure that you have the correct REPLACE contents (including the
ZWNBS), use the keyboard to select. Start from the end (after $1), hold shift
and use the left arrow key to select everything including the colon, and then
press the right arrow key once to deselect the colon.]

Spelled out this finds *something* that is not a space or a ZWNBS that follows
something else that is not a space or a ZWNBS.
Replace *something* with a ZWNBS and *something*.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.