takuyozora
7 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
14 additions and
2 deletions
-
patacrep/data/templates/songbook_model.yml
-
patacrep/data/templates/styles/chords.sty
-
patacrep/templates.py
|
|
@ -55,6 +55,14 @@ schema: |
|
|
|
value: "guitar" |
|
|
|
- type: //str |
|
|
|
value: "ukulele" |
|
|
|
- type: //arr |
|
|
|
contents: |
|
|
|
type: //any |
|
|
|
of: |
|
|
|
- type: //str |
|
|
|
value: "guitar" |
|
|
|
- type: //str |
|
|
|
value: "ukulele" |
|
|
|
notation: |
|
|
|
type: //any |
|
|
|
of: |
|
|
|
|
|
@ -242,8 +242,8 @@ |
|
|
|
\musicnote[french]{Accordage standard : {\nolyrics \[\printnoteE{} \printnoteA{} \printnoteD{} \printnoteG{} \printnoteB{} \printnoteE{}]}} |
|
|
|
\musicnote[english]{Standard tuning: {\nolyrics \[\printnoteE{} \printnoteA{} \printnoteD{} \printnoteG{} \printnoteB{} \printnoteE{}]}} |
|
|
|
\end{verse*} |
|
|
|
|
|
|
|
\endsong |
|
|
|
\sclearpage |
|
|
|
\fi |
|
|
|
|
|
|
|
\ifukulele |
|
|
@ -398,6 +398,7 @@ |
|
|
|
\end{verse*} |
|
|
|
|
|
|
|
\endsong |
|
|
|
\sclearpage |
|
|
|
\fi |
|
|
|
|
|
|
|
\end{songs} |
|
|
|
|
|
@ -326,4 +326,7 @@ def iter_bookoptions(config): |
|
|
|
elif config['chords']['diagrampage'] == "all": |
|
|
|
yield 'diagrampage' |
|
|
|
|
|
|
|
yield config['chords']['instrument'] |
|
|
|
if isinstance(config['chords']['instrument'], str): |
|
|
|
yield config['chords']['instrument'] |
|
|
|
else: |
|
|
|
yield from config['chords']['instrument'] |
|
|
|