I cannot set "Format ordinal numbers suffixes"

I have 3 docs:

Worked Before Template _Appeal Brief with Tables and Instructions

Keeps the original superscripts but won’t let me add new text and have it formatted correctly.

The second is Not Working.odt and based off _AH Default

Keeps the original superscripts but won’t let me add new text and have it formatted correctly.

The Third uses LO Default Template original form.

I can’t get them formatted correctly.

Searching here resulted in the following instruction:

Tools → AutoCorrect Options…, tab Localized Options, Format ordinal numbers suffixes (1st → 1^st)

I have done that, turned it off and on, dirty reinstalled this version, and checked old documents. Even documents that were made when this feature was working no longer accept the input to format the suffixes if I edit them.

I thought I would see if someone has a clue before I wipe and reinstall. Because I am worried about my templates getting broken.

Template Story:

_AH Default is my initial template. I write a new template on that and save it as a Template with the all of the formats from _AH Default, say 'Letter to client.ott" and then I will add any styles or change any styles save it as Letter to client.ott .Then I will write a form letter and add any other styles or change any styles save it as “Letter Reminder.ott”.
Ultimately everything began with _AH Default.

Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Processor 11th Gen Intel(R) Core™ i7-11800H @ 2.30GHz 2.30 GHz

Installed RAM 64.0 GB (63.7 GB usable)

Device ID AF1DC4AB-017B-4D21-A8D0-90CC4101A7B6

Product ID 00326-10000-00000-AA153

System type 64-bit operating system, x64-based processor

Pen and touch No pen or touch input is available for this display

Not Working.odt (18.7 KB)
Not Working on Default LO.odt (16.0 KB)
Worked Before Template _Appeal Brief with Tables and Instructions.odt (22.5 KB)

Here works for 21st only if there is a space before (to the left).
My previous test was with one or more dots before the number, and a space before the dot/s. Instead of anytext21st it may say manydots21st:
i.e., a .....11th this way works
a.....11th this way don’t

With the 3 files of @janehull 's first comment it works OK with me.

So:
It is not a language problem.
I see no error in the content.xml subfiles (just so many manual formatting).
It is not an install problem.
I suspect from the user profile. Test as @EarnestAl wrote: to enter in Safe Mode.

Works here (Fedora 38 [Linux] with KDE Plasma desktop, LO 7.5.3.2). But you must care for the procedure: AutoCorrect must clearly identify the pattern for ordinal number. This means the pattern is checked against candidates only when Writer has determined it has the longest typed string.

I don’t know how you entered “3rd” and “1st” into Not Working.odt but if you inserted the string into an existing empty paragraph, Writer has no way to know your entry is complete. Type a space, an Enter or a punctuation after your strings and they’ll be reformatted. This is intentional so that a string like “1stone” (if it ever makes sense) is not reformatted as “1stone” which would be erroneous.

The AutoCorrect Options are global to your LO installation and are not kept in the templates. Your templates are still valid, no need to try and “fix” them. These options are stored in your user profile.

Nothing to fix. Just be careful for the procedure.

EDIT 2023-06-15
A last caveat: the superscript transformation is done with direct formatting (as are all stylistic AutoCorrect transformations). Therefore this may badly interfere with your careful “semantic styling” and prevent central tuning through style customisation, or at least conflict on transformed words. This is why I prefer to switch off AutoCorrect options which result in direct formatting actions.

“Today is June 13th, 2023” doesn’t do it.
“Today
is June 13th
, 2023” doesn’t do it.
Not Working 2.odt (19.9 KB)
Which is what makes me wonder if something is brokein in my installation. However, having been reassured that my Templates aren’t broken (for which I wholeheartedly thank you) , I will relax and try a clean install.

Don’t do aa clean install, test first in LibreOffice safe mode, Help - Restart in safe mode - Continue in safe mode. If it works correctly in safe mode then resetting your use profile will resolve the problem, LibreOffice user profile - The Document Foundation Wiki

I prefer the manual method as you can restore most folders

1 Like

I deinstalled LO 7.5.3, rebooted, and installed
Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Same thing.

That is right. The user profile has not been touched

I did that first. No difference. I suspect that I need to delete all of me and start from scratch. Haven’t a clue how I broke it, but my Win10 is being weird, also- file explorer breaking all the time. Won’t autoupdate folder contents. Explorer just hangs. Gotta restart it and that is only gorr for a couple of hours. I very rarely reboot my computer.
I so really, really do NOT want to format my OS drive and star all over. /sigh

I had gone into safe but didn’t go forward in it- just restarted in normal which has always in the past handled problesm. This time I did what you said and it seems to have worked. Luckily I have an old, stable prifle so I will give that a shot. Thanks to all of you. I will post tomorrow about sucess. This is the best community!
I lied. Too ADHD to wait until tomorow. Reloaded an April BKU and Hey! Presto! It is fixed. And I will calendar monthly backups.
Again, thank youto everyone who took the time to help me. I really appreciate it.

Update Tuesday (Wednesday here) today. Restart Windows to complete install of updates. I always restart as soon as I know there are updates waiting as Windows does go weird then.

I do, too. The only thing worse than an installed version of Windoze is a nearly installed version.

You must check the Language of your text.
Format Ordinal Numbers works with English (USA), but not with Spanish (Mexico).
imagen

After a bit more testing, anytext21st will not work, but anytext21th yes.
Some of the English native could say if that is a bug.

Tested in version 7.4.7.2 (x64) on Windows 10.0.

No superscript in this doc.odt (20.7 KB)

Not for me for either so can’t comment on bug or otherwise.

I wouldn’t expect that digits would take the ordinal if they are part of a word. That word could only be a proper noun and it would make no sense because it is a name/identifier not a number.

Version: 7.3.7.2 (x64) / LibreOffice Community also 7.5.3.2 on same system
Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
Locale: en-NZ (en_NZ); UI: en-GB
Calc: CL