• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ChordPro: show other part's title
#1
Hi,

I'd find it super helpful if the configuration would allow to show the title from other parts too (Verse, Bridge, and so on), not only the Chorus. 

Thanks!
Yim
Reply
#2
If you are using the {soc} and {eoc} markers, you can also provide a title to use, i.e. {soc: Verse}. If you do that, it will indent and provide a bolded heading. It might cause issues with repeating the chorus if you do that, but that's one way of handling it. Otherwise verses and bridges aren't handled like the chorus section. There isn't a "start of verse" or "start of bridge" designation. Are you just wanting the ability to provide a bolded heading yourself for that section? Or do you also care about indenting the text? 

Mike
Reply
#3
Thanks, Mike! I was using {sop:Verse}, {sop:Bridge}, and so on in a former software. I don't need an indent on the part but a bold headline would be great. Right now I'm using a workaround with an additional {c:Verse} to show a heading because it helps me to see the structure of the song.
Reply
#4
Looking at the chord pro specification (https://www.chordpro.org/chordpro/ChordP...tives.html), there is no sop keyword in the standard spec. Applications such as Chordle (https://www.chordle.com/help10/chordproformat) and OnSong (https://onsongapp.com/docs/features/formats/chordpro/) have added support for that directive, but it's definitely not standard. If users would like me to also add support for that, I can, but it may not be compatible with other apps if they move their file to another app.

Mike

Update:

Adding support for {sop: name} or {start_of_part: name} is not difficult, so I went ahead and did that. All it effectively does it bold the text in the "name" part of the directive.
Reply
#5
The specification defines {start_of_verse} {end_of_verse} (no abbreviations).

The reference implementation supports {start_of_whatever} as long there is a matching {end_of_whatever}, and you can define distict markup for the labels (if any).
Johan
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply




Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.