mirror of https://github.com/patacrep/patacrep.git
Louis
9 years ago
50 changed files with 239 additions and 102 deletions
@ -0,0 +1,9 @@ |
|||
((- content.key -)) |
|||
(* if content.alteration *)(( content.alteration ))(* endif -*) |
|||
(* if content.modifier *)((content.modifier))(* endif -*) |
|||
(* if content.addnote *)((content.addnote))(* endif -*) |
|||
(* if content.basskey -*) |
|||
/ |
|||
((- content.basskey -)) |
|||
(* if content.bassalteration *)(( content.bassalteration ))(* endif -*) |
|||
(* endif -*) |
@ -0,0 +1,6 @@ |
|||
[ |
|||
(*- for chord in content.chords -*) |
|||
(* if not loop.first *) (* endif -*) |
|||
(( render(chord) -)) |
|||
(* endfor -*) |
|||
] |
@ -0,0 +1 @@ |
|||
{comment: (( content.argument ))} |
@ -0,0 +1,25 @@ |
|||
{define: (( render(content.key) )) |
|||
(*- if content.basefret *) |
|||
base-fret ((content.basefret)) |
|||
(*- endif *) |
|||
frets |
|||
(*- for string in content.frets -*) |
|||
(( " " -)) |
|||
(*- if string is none -*) |
|||
x |
|||
(*- else -*) |
|||
(( string -)) |
|||
(*- endif -*) |
|||
(*- endfor -*) |
|||
(* if content.fingers *) |
|||
fingers |
|||
(*- for finger in content.fingers -*) |
|||
(( " " -)) |
|||
(* if finger is none -*) |
|||
- |
|||
(*- else -*) |
|||
(( finger -)) |
|||
(* endif -*) |
|||
(* endfor -*) |
|||
(* endif -*) |
|||
} |
@ -0,0 +1,3 @@ |
|||
|
|||
ERROR : Template not found for "(( content.__class__.__name__ ))". See the logs for details. |
|||
|
@ -0,0 +1 @@ |
|||
{guitar_comment: (( content.argument ))} |
@ -0,0 +1 @@ |
|||
{image: (( content.argument ))} |
@ -0,0 +1,3 @@ |
|||
(* for item in content.line -*) |
|||
(( render(item) )) |
|||
(*- endfor *) |
@ -0,0 +1,2 @@ |
|||
|
|||
|
@ -0,0 +1 @@ |
|||
{partition: ((content.argument))} |
@ -0,0 +1 @@ |
|||
|
@ -0,0 +1,5 @@ |
|||
{start_of_tab} |
|||
(* for foo in content.content *) |
|||
(( foo )) |
|||
(* endfor *) |
|||
{end_of_tab} |
@ -0,0 +1,5 @@ |
|||
{start_of_(( content.type ))} |
|||
(* for line in content.lines *) |
|||
(( render(line) )) |
|||
(* endfor *) |
|||
{end_of_(( content.type ))} |
@ -0,0 +1 @@ |
|||
(( content.value )) |
@ -0,0 +1,34 @@ |
|||
(* if language is defined -*) |
|||
{language: (( language ))} |
|||
(* endif *) |
|||
(* if metadata.columns is defined -*) |
|||
{columns: (( metadata.columns ))} |
|||
(* endif *) |
|||
(* if metadata.capo is defined -*) |
|||
{capo: (( metadata.capo ))} |
|||
(* endif *) |
|||
|
|||
(*- for title in titles -*) |
|||
{title: (( title ))} |
|||
(* endfor -*) |
|||
(* for author in authors -*) |
|||
{artist: (( author[1] )) (( author[0] ))} |
|||
(* endfor *) |
|||
|
|||
(*- for key in ['album', 'copyright', 'cov', 'vcov', 'tag'] *) |
|||
(* if key in metadata -*) |
|||
{(( key )): (( metadata[key] ))} |
|||
(* endif *) |
|||
(* endfor *) |
|||
|
|||
(*- for key in metadata.keys -*) |
|||
{key: (( key.keyword )): (( key.argument ))} |
|||
(* endfor *) |
|||
|
|||
(*- for chord in metadata['define'] *) |
|||
((- render(chord) )) |
|||
(* endfor *) |
|||
|
|||
(* for item in content -*) |
|||
(( render(item) )) |
|||
(* endfor *) |
@ -1,3 +1,3 @@ |
|||
|
|||
ERROR : Template not found for \verb+(( content.__class__))+. See the logs for details. |
|||
ERROR : Template not found for \verb+(( content.__class__.__name__ ))+. See the logs for details. |
|||
|
|||
|
@ -1 +1 @@ |
|||
|
|||
{language: english} |
|||
|
@ -1,4 +1,5 @@ |
|||
{language: english} |
|||
|
|||
{start_of_verse} |
|||
A verse line |
|||
A verse line |
|||
{end_of_verse} |
|||
|
@ -1,2 +1,3 @@ |
|||
{language: english} |
|||
{title: A directive} |
|||
|
|||
|
@ -1 +1,2 @@ |
|||
{language: english} |
|||
|
|||
|
@ -1,4 +1,5 @@ |
|||
{language: english} |
|||
|
|||
{start_of_chorus} |
|||
A one line chorus |
|||
A one line chorus |
|||
{end_of_chorus} |
|||
|
@ -1,4 +1,5 @@ |
|||
{language: english} |
|||
|
|||
{start_of_bridge} |
|||
A one line bridge |
|||
A one line bridge |
|||
{end_of_bridge} |
|||
|
@ -1 +1,2 @@ |
|||
{language: english} |
|||
|
|||
|
@ -1,4 +1,5 @@ |
|||
{language: english} |
|||
|
|||
{start_of_tab} |
|||
A tab |
|||
A tab |
|||
{end_of_tab} |
|||
|
@ -1,4 +1,7 @@ |
|||
{language: english} |
|||
|
|||
|
|||
|
|||
{start_of_verse} |
|||
A lot of new lines |
|||
A lot of new lines |
|||
{end_of_verse} |
|||
|
@ -1,5 +1,8 @@ |
|||
{language: english} |
|||
{title: and a directive} |
|||
|
|||
|
|||
|
|||
{start_of_verse} |
|||
A lot of new lines |
|||
A lot of new lines |
|||
{end_of_verse} |
|||
|
@ -1,4 +1,5 @@ |
|||
{language: english} |
|||
|
|||
{start_of_verse} |
|||
A line[A] with a chord |
|||
A line[A] with a chord |
|||
{end_of_verse} |
|||
|
@ -1,4 +1,5 @@ |
|||
{language: english} |
|||
|
|||
{start_of_verse} |
|||
A line ending with a chord[A] |
|||
A line ending with a chord[A] |
|||
{end_of_verse} |
|||
|
@ -1,4 +1,5 @@ |
|||
{language: english} |
|||
|
|||
{start_of_verse} |
|||
[A]A line starting with a chord |
|||
[A]A line starting with a chord |
|||
{end_of_verse} |
|||
|
@ -1,6 +1,7 @@ |
|||
{language: english} |
|||
|
|||
{start_of_tab} |
|||
A table |
|||
wit many # weir [ |
|||
[ symbols |
|||
A table |
|||
wit many # weir [ |
|||
[ symbols |
|||
{end_of_tab} |
|||
|
@ -1,4 +1,5 @@ |
|||
{language: english} |
|||
|
|||
{start_of_verse} |
|||
A verse line |
|||
A verse line |
|||
{end_of_verse} |
|||
|
@ -1,2 +1,3 @@ |
|||
{language: english} |
|||
{title: A directive} |
|||
|
|||
|
@ -1 +1 @@ |
|||
|
|||
{language: english} |
|||
|
@ -1,4 +1,5 @@ |
|||
{language: english} |
|||
|
|||
{start_of_chorus} |
|||
A one line chorus |
|||
A one line chorus |
|||
{end_of_chorus} |
|||
|
@ -1,4 +1,5 @@ |
|||
{language: english} |
|||
|
|||
{start_of_bridge} |
|||
A one line bridge |
|||
A one line bridge |
|||
{end_of_bridge} |
|||
|
@ -1 +1,2 @@ |
|||
{language: english} |
|||
|
|||
|
@ -1,4 +1,5 @@ |
|||
{language: english} |
|||
|
|||
{start_of_tab} |
|||
A tab |
|||
A tab |
|||
{end_of_tab} |
|||
|
@ -1,4 +1,7 @@ |
|||
{language: english} |
|||
|
|||
|
|||
|
|||
{start_of_verse} |
|||
A lot of new lines |
|||
A lot of new lines |
|||
{end_of_verse} |
|||
|
@ -1,5 +1,8 @@ |
|||
{language: english} |
|||
{title: and a directive} |
|||
|
|||
|
|||
|
|||
{start_of_verse} |
|||
A lot of new lines |
|||
A lot of new lines |
|||
{end_of_verse} |
|||
|
@ -1,16 +1,17 @@ |
|||
{language: english} |
|||
|
|||
{start_of_verse} |
|||
[A]Simple |
|||
[Bb]Bémol |
|||
[C#]Dièse |
|||
[Adim]dim |
|||
[Dmaj]maj |
|||
[Em3]m chiffre |
|||
[G4]Nombre |
|||
[Emaj3]maj et nombre |
|||
[Absus8]bémol, sus et nombre |
|||
[A/A]Deux notes |
|||
[F/Fb]Deux notes, bémol |
|||
[B/C#]Deux notes, dièse |
|||
[Ab B#/A]Plusieurs notes à la suite |
|||
[A]Simple |
|||
[Bb]Bémol |
|||
[C#]Dièse |
|||
[Adim]dim |
|||
[Dmaj]maj |
|||
[Em3]m chiffre |
|||
[G4]Nombre |
|||
[Emaj3]maj et nombre |
|||
[Absus8]bémol, sus et nombre |
|||
[A/A]Deux notes |
|||
[F/Fb]Deux notes, bémol |
|||
[B/C#]Deux notes, dièse |
|||
[Ab B#/A]Plusieurs notes à la suite |
|||
{end_of_verse} |
|||
|
@ -1,52 +1,60 @@ |
|||
{language: english} |
|||
{columns: 2} |
|||
{title: Greensleeves} |
|||
{title: Un autre sous-titre} |
|||
{title: Un sous titre} |
|||
{by: Traditionnel} |
|||
{language: english} |
|||
{columns: 2} |
|||
{cov: DIRNAME/traditionnel} |
|||
{artist: Traditionnel} |
|||
{album: Angleterre} |
|||
{cov: DIRNAME/traditionnel} |
|||
|
|||
|
|||
|
|||
{partition: DIRNAME/greensleeves.ly} |
|||
|
|||
|
|||
{start_of_verse} |
|||
A[Am]las, my love, ye [G]do me wrong |
|||
To [Am]cast me oft dis[E]curteously |
|||
And [Am]I have loved [G]you so long |
|||
De[Am]lighting [E]in your [Am]companie |
|||
A[Am]las, my love, ye [G]do me wrong |
|||
To [Am]cast me oft dis[E]curteously |
|||
And [Am]I have loved [G]you so long |
|||
De[Am]lighting [E]in your [Am]companie |
|||
{end_of_verse} |
|||
|
|||
|
|||
{start_of_chorus} |
|||
[C]Green[B]sleeves was [G]all my joy |
|||
[Am]Greensleeves was [E]my delight |
|||
[C]Greensleeves was my [G]heart of gold |
|||
And [Am]who but [E]Ladie [Am]Greensleeves |
|||
[C]Green[B]sleeves was [G]all my joy |
|||
[Am]Greensleeves was [E]my delight |
|||
[C]Greensleeves was my [G]heart of gold |
|||
And [Am]who but [E]Ladie [Am]Greensleeves |
|||
{end_of_chorus} |
|||
|
|||
|
|||
{start_of_verse} |
|||
I [Am]have been ready [G]at your hand |
|||
To [Am]grant what ever [E]you would crave |
|||
I [Am]have both waged [G]life and land |
|||
Your [Am]love and [E]good will [Am]for to have |
|||
I [Am]have been ready [G]at your hand |
|||
To [Am]grant what ever [E]you would crave |
|||
I [Am]have both waged [G]life and land |
|||
Your [Am]love and [E]good will [Am]for to have |
|||
{end_of_verse} |
|||
|
|||
|
|||
{start_of_verse} |
|||
I [Am]bought thee kerchers [G]to thy head |
|||
That [Am]were wrought fine and [E]gallantly |
|||
I [Am]kept thee both at [G]boord and bed |
|||
Which [Am]cost my [E]purse well [Am]favouredly |
|||
I [Am]bought thee kerchers [G]to thy head |
|||
That [Am]were wrought fine and [E]gallantly |
|||
I [Am]kept thee both at [G]boord and bed |
|||
Which [Am]cost my [E]purse well [Am]favouredly |
|||
{end_of_verse} |
|||
|
|||
|
|||
{start_of_verse} |
|||
I [Am]bought thee peticotes [G]of the best |
|||
The [Am]cloth so fine as [E]fine might be |
|||
I [Am]gave thee jewels [G]for thy chest |
|||
And [Am]all this [E]cost I [Am]spent on thee |
|||
I [Am]bought thee peticotes [G]of the best |
|||
The [Am]cloth so fine as [E]fine might be |
|||
I [Am]gave thee jewels [G]for thy chest |
|||
And [Am]all this [E]cost I [Am]spent on thee |
|||
{end_of_verse} |
|||
|
|||
|
|||
{start_of_verse} |
|||
Thy [Am]smock of silke, both [G]faire and white |
|||
With [Am]gold embrodered [E]gorgeously |
|||
Thy [Am]peticote of [G]sendall right |
|||
And [Am]this I [E]bought thee [Am]gladly |
|||
Thy [Am]smock of silke, both [G]faire and white |
|||
With [Am]gold embrodered [E]gorgeously |
|||
Thy [Am]peticote of [G]sendall right |
|||
And [Am]this I [E]bought thee [Am]gladly |
|||
{end_of_verse} |
|||
|
@ -1,6 +1,7 @@ |
|||
{language: english} |
|||
|
|||
{start_of_verse} |
|||
This is invalid. |
|||
This [A]too. |
|||
And []as well. |
|||
This is invalid. |
|||
This [A]too. |
|||
And []as well. |
|||
{end_of_verse} |
|||
|
@ -0,0 +1,2 @@ |
|||
{language: english} |
|||
|
Loading…
Reference in new issue