Quelea icon indicating copy to clipboard operation
Quelea copied to clipboard

Enable partial formatting (maybe using formatting tags)

Open berry120 opened this issue 6 years ago • 11 comments

At present all text in a song is presented in the same font / style (with the exception of chords and translations.)

We've had requests for partial formatting a few times now - the simplest way of doing this may well be using formatting tags in a similar vein to OpenLP (https://manual.openlp.org/display_tags.html) but there may be other approaches as well.

berry120 avatar Aug 01 '18 13:08 berry120

Still considering whether this is something worth adding. This may well be a pain to implement in terms of alignment, lyrics, etc. and hasn't been requested too much in the past. Give this issue a thumbs up if you'd like to see it implemented.

berry120 avatar Aug 01 '18 13:08 berry120

I would like to present the chorus or bridge in italics for example.

hosios avatar Aug 01 '18 17:08 hosios

Thank you for considering my request, i'm still waiting the app will support the underline formatting.

ghost avatar Aug 01 '18 21:08 ghost

The only time I've felt the need for partial formatting is when the preacher want to put emphasis on a certain part of a bible passage, but never really with song lyrics.

For you who need this feature, before the theme revamp it's probably easier to add support for styles per slide than for different lines within a slide, so it would be helpful to us to know how you'd expect it to work, just like @hosios did.

Personally I want the song lyrics to as basic as possible to avoid distractions when you are worshipping, but feel free to argue for why this would be useful in your opinion!

ArvidNy avatar Aug 01 '18 22:08 ArvidNy

I don't see much worth in that feature either. However, if you choose to implement here are some thoughts:

Colors

In OpenLP you can format text to a certain color, but color is always "hard coded". For example, you can set texts color to red or blue. But what happens if you force text to blue and used theme just happens to have blue background?

For those cases I propose that colors are given class names. Those colors are then defined in theme so themes creator can make sure that all colors are easy to read. Example class names could be "highlight", "primary" and "secondary".

For example

Line of text
{secondary}Other line of text{/secondary}

Actual use case might be songs where different groups of people will sing different parts of the song. Me syömme leipää elämän is a classic example where girls ask questions and boys answers (or vice versa). (This can of course be done with italics or similar methods)

Position of the chords

I don't know is this an issue, but lets assume you have word that has over 40 letters and you make it bold. Could that word grow that much that chords are no longer in correct places? I know English is language of short words, but you will see longer words in other languages :)

Markdown syntax or similar?

If we don't need colors then _underline_, *italic* and **bold** might be enought. They are easy and quick enough to write when translating songs and doesn't consume much space.

ipikles avatar Aug 01 '18 22:08 ipikles

Thanks for the thoughts.

We did consider markdown a while back, but came to the conclusion that someone would always want something more than markdown could provide, and then we'd be back to square one again (or close to it.)

berry120 avatar Aug 01 '18 22:08 berry120

I agree with @ArvidNy: less distraction in worship is better. I'm coming from 10 years of using OpenSong, and they have an option on the song theme to click if you want the chorus in italics. And at our church we are used to it now. But it is not a killer feature. Probably better to invest the coding time in something else.

hosios avatar Aug 02 '18 23:08 hosios

So, the conclusion is underline partial formatting won't be provide in the future? Unfortunately, even though many churches worshipper in my country who need it. But as a developer, you could reject it of course

ghost avatar Aug 04 '18 12:08 ghost

It's unlikely to be a priority, but that doesn't mean it won't be provided in the future. We'll re-evaluate after 2019.0 is out most likely and take it from there.

On Sat, 4 Aug 2018, 13:40 archenians, [email protected] wrote:

So, the conclusion is underline partial formatting won't be provide in the future? Unfortunately, even though many churches worshipper in my country who need it. But as a developer, you could reject it of course

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/quelea-projection/Quelea/issues/29#issuecomment-410446772, or mute the thread https://github.com/notifications/unsubscribe-auth/AHPkjcgL43cYpyGb-3gpxGnechYwi3x4ks5uNZY6gaJpZM4VqhMN .

berry120 avatar Aug 04 '18 13:08 berry120

This remains on the cards, but no work has been completed on it yet.

The real challenge here isn't technical, it's how it should work in the interface - I've not yet been convinced that any given approach is ideal. Formatting tags are a possibility, but it adds complexity when entering a song, and colours in particular are a challenge as they'd have to change per theme - we'd need a "primary" and "secondary" colour for text for instance, which also adds more complexity both from a user experience and coding point of view.

Still open to hearing further ideas on this one as always, but at the moment it's looking like it won't be implemented any time soon - sorry about that.

berry120 avatar Dec 18 '20 00:12 berry120

Implementing this would remove the need for the Hack for call-and-response, as then it would be simple to copy in the liturgy as-is and then apply the second formatting style to just the required lines. Using the hack is a lot of work if there is a lot of liturgy to put in (such as for communion or a baptism).

c-exe avatar Mar 20 '22 21:03 c-exe