Closed annplaksin closed 3 years ago
Can someone please provide a short example where a line break works inside a tag? It would help a lot to figure out what actually should happen...
Thanks!
On 15 Jul 2020, at 10:34, Anna Plaksin notifications@github.com wrote:
Can someone please provide a short example where a line break works inside a tag? It would help a lot to figure out what actually should happen...
Thanks!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Yes, that helps a lot, thank you!
Better example to play with:
<piece: {mensural: void}, {staf: 5, red}>
<part: 1>
<label: rot90c, 14>Test<l/>one</label>
[-]
<label: rot90a, 0>Test<l/>again</label>
[-]
{clef: F8} {solm: 0} {mens: O9} BF<text>bla</text> BG LF<text>bla<l/>blubb</text> &F ||
<label: 14>Test<l/>two</label>
<tacet>Ta<l/>cet</tacet>
[-][-][-]
<label: 14>Test{blue}or<l/><red>three</red>**comment**</label>
[-][-][-]
<label: rot180, 0>Test<l/><red>four</red>**comment**</label>
</part>
</piece>
I think I got it done... finally...
Please check if it breaks anything else
Multiline labels don't work inside variants.
And now it works: https://earlymusictheory.github.io/JohannesTinctoris/editor/treatise/
<treatise>
<example: {full measure}, {mensural: void}, {staf: 5, red}>
<part: 1>
<label: rot90c, 14><red>{var="Contratenor<l/>bassus" V BU Br1 : "Bassus" ModC : "Tenor 2us" Tr88 Luc CS14}</red></label>
{clef: F8} {solm: 0} {mens: O9}|| [-][-][-][-]
<label: rot90c, 14><red>Contratenor</red><l/><red>bassus</red></label>
</part>
</example>
</treatise>
Line breaks within
<label>
don't work either when rotated or not: