Scribus Forums

Scribus => General Discussion => Topic started by: Ez3 on February 12, 2025, 09:40:41 PM

Title: Character or paragraph style to display everything in minuscules
Post by: Ez3 on February 12, 2025, 09:40:41 PM
Hello. I'm not a new user but I also haven't yet used Scribus "in anger".

I'd like to have the freedom to easily switch between:

As a matter of fact, I only need the last style with all words in minuscule to style some marginal titles, independently of how the text is stored. E.g. I'd like to be able to write:
"Work Experience" as in a heading, and then be able to switch between those styles, in a similar fashion to what the CSS text-transform (https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform) property achieves.

Should I request the feature? Could it be done with a script in the meantime?

Thanks
Title: Re: Character or paragraph style to display everything in minuscules
Post by: utnik on February 12, 2025, 11:44:14 PM
hi ez3

i think this is a job for a script.
you can always file a feature request, but this one won't have many use cases – not sure if the devs will spend a lot of work for it...

utnik
Title: Re: Character or paragraph style to display everything in minuscules
Post by: a.l.e on February 13, 2025, 08:57:34 AM
without having had a look at the code, i would say that all small caps should be easy to implement, since we already have all caps in the code, it's probably just the inverted transformation.
it's just as likely that it's of little interest in the real world: even our all small caps support team will probably not use it much in scribus...
(all caps is ugly, but very common in some languages: that's why it's already in!)

sentence case (or whatever is called the first letter in the sentence in caps) should also be rather easy to add (once it's clear in which language which letter starts a sentence).
if you only want to control the first letter of the sentence.
probably, also of limited interest in the real world.
the inverted case (unsentence case... with the first letter in the sentence lowercase) is probably just as useful, but harder to implement (due those stupid words that need to be written with one or more uppercase... there are also a few words that require lowercase (mm, some people's name, ...) but those are unlikely to be at the start of a sentence)

title case would be very useful (headings at levels lower than 2 should be in title case in the body of the text, but in sentence case in the table of contents).
sadly, the rules for deciding which words should start in upper case are not trivial and depend on the language.
english is the language that most would need it, but also has non trivial rules for deciding which word will be left in lowercase (and, or, the, ...).

all this having been said:

this is a case where the community can contribute the biggest part of the feature and help the developers implement the feature by collecting for each transformation (and for multiple languages):


the specification and implementation of the css property text-transform can be of much help in defining the rules for scribus (and is freely available).

my conclusion:

Title: Re: Character or paragraph style to display everything in minuscules
Post by: Ez3 on February 13, 2025, 01:46:23 PM
I agree. There are more important and urgent things.

I'll start tinkering with scripts.