Strange Capitalization in headings
CompletedIn v. 1.0.0 (27), when I added a heading, nvUltra added strange capitalizations after the concluding carriage return:
`Figurationen von Zeit und Gegenwart im Comic. Sequenzialität – Simultaneität – Serialität`
got converted to
`Figurationen von Zeit Und Gegenwart Im Comic. SequenzialitäT – SimultaneitäT – SerialitäT`
I don't have any automatic corrections on, neither in nvUltra nor in Macos (Mojave 10.14.6).
Best
Joachim
-
That's the "Title Case" functionality in the Editing preferences. You can disable it there.
It is tested on English only, but I am open to expanding to other languages that basically follow the same rules. It also supports basic ASCII at the moment, which is why you're seeing the capitalized trailing "T"s.
I'll experiment with additional whitelisted "short words" (e.g. von, im, und) and with adding UTF-8 support.
That project is on github if you're interested: https://github.com/fletcher/c-title-case
Thanks!
0 -
Hmmm... Just remembered the whole "Nouns are capitalized and other words are not" general rule for German, so this won't work without a dictionary to map nouns and non-nouns.
So I guess it should generally be disabled for German documents.
I'll still play with UTF-8 support though.
0 -
I added support for UTF-8 case folding for non-ASCII letter characters. This fixes the trailing "T"s problem mentioned above.
I still don't recommend using this functionality with non English text at this point due to differences in title casing rules.
0 -
(I also changed the title case function to default to off)
0 -
Thanks for this last one, the function was coming quite unexpected.
0
Please sign in to leave a comment.
Comments
5 comments