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

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
Loading…
Cancel
Save