Browse Source

The template shouldn't add a space artist name

pull/88/head
Oliverpool 9 years ago
parent
commit
c4bff36822
  1. 2
      patacrep/songs/chordpro/data/chordpro/song
  2. 2
      patacrep/songs/chordpro/data/latex/song
  3. 6
      patacrep/songs/chordpro/test/author_names.sgc
  4. 4
      patacrep/songs/chordpro/test/author_names.source
  5. 12
      patacrep/songs/chordpro/test/author_names.tex
  6. 2
      patacrep/songs/chordpro/test/greensleeves.sgc
  7. 2
      patacrep/songs/chordpro/test/greensleeves.tex
  8. 4
      patacrep/songs/chordpro/test/metadata.sgc
  9. 4
      patacrep/songs/chordpro/test/metadata.tex

2
patacrep/songs/chordpro/data/chordpro/song

@ -13,7 +13,7 @@
(* endfor -*) (* endfor -*)
(*- for author in authors -*) (*- for author in authors -*)
{artist: (( author[1] )) (( author[0] ))} {artist: (( author[1] ))(( author[0] ))}
(* endfor *) (* endfor *)
(*- for key in ['album', 'copyright', 'cov', 'tag'] *) (*- for key in ['album', 'copyright', 'cov', 'tag'] *)

2
patacrep/songs/chordpro/data/latex/song

@ -16,7 +16,7 @@
}[ }[
by={ by={
(* for author in authors *) (* for author in authors *)
(( author[1] )) (( author[0] )) (( author[1] ))(( author[0] ))
(*- if not loop.last -*) (*- if not loop.last -*)
, ,
(* endif *) (* endif *)

6
patacrep/songs/chordpro/test/author_names.sgc

@ -0,0 +1,6 @@
{language: english}
{title: Title}
{artist: The Beatles}
{artist: Oasis}
{artist: The the beatles}

4
patacrep/songs/chordpro/test/author_names.source

@ -0,0 +1,4 @@
{title: Title}
{artist: The Beatles}
{artist: Oasis}
{artist: The the beatles}

12
patacrep/songs/chordpro/test/author_names.tex

@ -0,0 +1,12 @@
\selectlanguage{english}
\beginsong{Title}[
by={
The Beatles,
Oasis,
The the beatles },
]
\endsong

2
patacrep/songs/chordpro/test/greensleeves.sgc

@ -3,7 +3,7 @@
{title: Greensleeves} {title: Greensleeves}
{title: Un autre sous-titre} {title: Un autre sous-titre}
{title: Un sous titre} {title: Un sous titre}
{artist: Traditionnel} {artist: Traditionnel}
{album: Angleterre} {album: Angleterre}
{cov: traditionnel} {cov: traditionnel}

2
patacrep/songs/chordpro/test/greensleeves.tex

@ -5,7 +5,7 @@
Un autre sous-titre\\ Un autre sous-titre\\
Un sous titre}[ Un sous titre}[
by={ by={
Traditionnel }, Traditionnel },
album={Angleterre}, album={Angleterre},
cov={traditionnel}, cov={traditionnel},
] ]

4
patacrep/songs/chordpro/test/metadata.sgc

@ -6,8 +6,8 @@
{title: Subtitle3} {title: Subtitle3}
{title: Subtitle4} {title: Subtitle4}
{title: Subtitle5} {title: Subtitle5}
{artist: Author1} {artist: Author1}
{artist: Author2} {artist: Author2}
{album: Album} {album: Album}
{copyright: Copyright} {copyright: Copyright}
{cov: Cover} {cov: Cover}

4
patacrep/songs/chordpro/test/metadata.tex

@ -7,8 +7,8 @@ Subtitle3\\
Subtitle4\\ Subtitle4\\
Subtitle5}[ Subtitle5}[
by={ by={
Author1, Author1,
Author2 }, Author2 },
album={Album}, album={Album},
copyright={Copyright}, copyright={Copyright},
cov={Cover}, cov={Cover},

Loading…
Cancel
Save