From 1086ff06a7ebcff7a64046c6b0dddc4e19295d3c Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Thu, 8 Oct 2015 08:59:53 +0200 Subject: [PATCH] Bugfix for linebreak support --- patacrep/songs/chordpro/data/latex/content_verse | 6 +----- test/test_chordpro/nolyrics.tex | 10 +++------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/patacrep/songs/chordpro/data/latex/content_verse b/patacrep/songs/chordpro/data/latex/content_verse index b102574b..176b104b 100644 --- a/patacrep/songs/chordpro/data/latex/content_verse +++ b/patacrep/songs/chordpro/data/latex/content_verse @@ -1,13 +1,9 @@ (*- if content.nolyrics -*) \ifchorded \begin{verse*} -\musicnote{\nolyrics (* for line in content.lines *) - (( render(line) )) - (*- if not loop.last *)\newline(* endif *) - + \musicnote {\nolyrics (( render(line) ))} (* endfor *) -} \end{verse*} \fi (*- else *) diff --git a/test/test_chordpro/nolyrics.tex b/test/test_chordpro/nolyrics.tex index eec4b275..343f4e63 100644 --- a/test/test_chordpro/nolyrics.tex +++ b/test/test_chordpro/nolyrics.tex @@ -14,19 +14,15 @@ \ifchorded \begin{verse*} -\musicnote{\nolyrics - \[A B#] -} + \musicnote {\nolyrics \[A B#]} \end{verse*} \fi \ifchorded \begin{verse*} -\musicnote{\nolyrics - \[A] \[B]\newline - \[C] -} + \musicnote {\nolyrics \[A] \[B]} + \musicnote {\nolyrics \[C]} \end{verse*} \fi