diff --git a/lilypond/chattering_magpie.ly b/lilypond/chattering_magpie.ly new file mode 100644 index 0000000..a8c420c --- /dev/null +++ b/lilypond/chattering_magpie.ly @@ -0,0 +1,19 @@ +\include "header" +\paper{paper-height = 8\cm} + +{ + +<< + \relative c' + { + \time 2/2 \key g \major + \repeat volta 2 {b'8 g a fis d8 g g a b4\turn g'8 e fis8 d c a b8 g a fis d8 g g e + fis8 g a b c4\turn d8 c b8 g a fis d8 g g a b4\turn g'8 e fis d c a + b8 g a fis d8 g g e fis g a b c4\turn b8 c} + \repeat volta 2 {d8 g g fis g4\turn b8 g d8 g g4\turn fis8 g a fis d8 g g fis g4\turn g8 a + b8 g a g fis8 d c a d8 g g fis g4\turn b8 g d8 g g4\turn fis8 g a fis + d8 g g fis g4\turn g8 a b8 g a g fis8 d c a} + } +>> + +} diff --git a/lilypond/kerry.ly b/lilypond/kerry.ly new file mode 100644 index 0000000..6836b52 --- /dev/null +++ b/lilypond/kerry.ly @@ -0,0 +1,21 @@ +\include "header" +\paper{paper-height = 8\cm} + +{ + +<< + \relative c' + { + \time 2/2 \key d \major + \repeat volta 2 {\partial 4 fis8 a b8 e, e4\turn b'8 a fis b a8 b d e fis8 d e d + b8 e, e4\turn b'8 a fis a b8 fis a fis e4\turn fis8 a + b8 a b d b8 a fis b a8 b d e fis8 d e d b8 e, e4\turn b'8 [a fis a] + \partial 2. b8 [fis a fis] e4} + \repeat volta 2 {\partial 4 fis8 a b8 d e fis g4\turn fis8 e d8 b b4\turn d8 b a d + b8 d e fis g8 e fis e d8 b a fis e4\turn e'8 fis + g8 fis g a g8 fis e g fis4\turn e8 g fis8 e d b + a8 b d e fis8 [d e cis] \partial 2. d8 [b a fis] e4} + } +>> + +} diff --git a/lilypond/magpies_nest.ly b/lilypond/magpies_nest.ly new file mode 100644 index 0000000..d49d2cb --- /dev/null +++ b/lilypond/magpies_nest.ly @@ -0,0 +1,21 @@ +\include "header" +\paper{paper-height = 8\cm} + +{ + +<< + \relative c' + { + \time 2/2 \key d \major + \partial 4 b'4 + \repeat volta 2 {a8 d d a b8 a fis a b8 d a fis g8 fis e d fis8 a a b a8 fis e fis + a8 b d e fis8 d d b a4\turn d8 a b8 a fis a b8 d a fis g8 fis e d + fis8 a a b a8 fis e fis a8 b d e fis8 d d4} + \partial 4 e4 + \repeat volta 2 {fis8 a a fis e4\turn d8 e fis8 d e cis d8 cis b a + fis'8 a a4\turn b8 a fis d a8 b d e fis d d e fis8 a a fis e4\turn d8 e + fis8 d e cis d8 cis b a fis4\turn a8 fis g4\turn b8 g a8 b d e fis8 d d4} + } +>> + +} diff --git a/songs/Traditional/Chattering_Magpie.sg b/songs/Traditional/Chattering_Magpie.sg index 1a9e3a8..048c98b 100644 --- a/songs/Traditional/Chattering_Magpie.sg +++ b/songs/Traditional/Chattering_Magpie.sg @@ -2,5 +2,6 @@ \songcolumns{2} \beginsong{Chattering Magpie}[by=Traditional] +\lilypond{chattering_magpie} -\endsong \ No newline at end of file +\endsong diff --git a/songs/Traditional/Kerry.sg b/songs/Traditional/Kerry.sg index f57494c..9889b41 100644 --- a/songs/Traditional/Kerry.sg +++ b/songs/Traditional/Kerry.sg @@ -2,5 +2,6 @@ \songcolumns{2} \beginsong{Kerry}[by=Traditional] +\lilypond{kerry} -\endsong \ No newline at end of file +\endsong diff --git a/songs/Traditional/Magpie_s_Nest.sg b/songs/Traditional/Magpie_s_Nest.sg index fc3e91b..b52ed7c 100644 --- a/songs/Traditional/Magpie_s_Nest.sg +++ b/songs/Traditional/Magpie_s_Nest.sg @@ -2,5 +2,6 @@ \songcolumns{2} \beginsong{Magpie's Nest}[by=Traditional] +\lilypond{magpies_nest} -\endsong \ No newline at end of file +\endsong diff --git a/templates/patacrep.tmpl b/templates/patacrep.tmpl new file mode 100644 index 0000000..0829a59 --- /dev/null +++ b/templates/patacrep.tmpl @@ -0,0 +1,95 @@ +% Copyright (C) 2009-2010 Romain Goffe, Alexandre Dupas +% Copyright (C) 2008 Kevin W. Hamlen +% +% This program is free software; you can redistribute it and/or +% modify it under the terms of the GNU General Public License +% as published by the Free Software Foundation; either version 2 +% of the License, or (at your option) any later version. +% +% This program is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with this program; if not, write to the Free Software +% Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +% MA 02110-1301, USA. +% +% The latest version of this program can be obtained from +% http://songs.sourceforge.net. +% +% Modified to serve personnal purposes. Newer versions can be +% obtained from http://www.lohrun.net. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Template parameters +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%:[ +%%: {"name":"title", "description":"Title", "default":"Recueil de chansons pour guitare", "mandatory":true}, +%%: {"name":"author", "description":"Author", "default":"Romain Goffe \\and Alexandre Dupas", "mandatory":true}, +%%: {"name":"booktype", "description":"Type", "type":"enum", "values":["chorded","lyric"], "default":"chorded", "mandatory":true}, +%%: {"name":"bookoptions", "description":"Options", "type":"flag", "values":["diagram","lilypond","pictures","tabs"], "join":",", "mandatory":true, "default":["diagram","pictures"]}, +%%: {"name":"version", "description":"Version", "default":"3.3.8"}, +%%: {"name":"subtitle", "description":"Subtitle"}, +%%: {"name":"web", "description":"Web", "default":"http://www.patacrep.com"}, +%%: {"name":"mail", "description":"Email", "default":"crep@team-on-fire.com"}, +%%: {"name":"picture", "description":"Picture", "type":"file", "default":"feel-the-music"}, +%%: {"name":"picturecopyright", "description":"Copyright", "default":"foxygamergirl@deviantart.com"}, +%%: {"name":"footer", "description":"Footer", "default":"\\begin{flushleft}\\includegraphics[width=3cm]{on-fire}\\end{flushleft}"}, +%%: {"name":"license", "description":"License", "default":"\\input{license.tex}"}, +%%: {"name":"mainfontsize", "description":"Font Size", "type":"font", "default":"10"}, +%%: {"name":"songnumberbgcolor", "description":"Number Shade", "type":"color", "default":"#D1E4AE"}, +%%: {"name":"notebgcolor", "description":"Note Shade", "type":"color", "default":"#D1E4AE"}, +%%: {"name":"indexbgcolor", "description":"Index Shade", "type":"color", "default":"#D1E4AE"} +%%:] +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% begin document +\documentclass[\getbooktype,\getbookoptions,\getmainfontsize]{crepbook} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{lmodern} +\usepackage[spanish,english,french]{babel} + +\title{\gettitle} +\author{\getauthor} +\subtitle{\getsubtitle} +\version{\getversion} +\mail{\getmail} +\web{\getweb} +\picture{\getpicture} +\picturecopyright{\getpicturecopyright} +\footer{\getfooter} +\licence{\getlicense} + +\newindex{titleidx}{\getname_title} +\newauthorindex{authidx}{\getname_auth} + +\graphicspath{ + {img/}, +} + +\definecolor{SongNumberBgColor}{HTML}{\getsongnumberbgcolor} +\definecolor{NoteBgColor}{HTML}{\getnotebgcolor} +\definecolor{IndexBgColor}{HTML}{\getindexbgcolor} + +\renewcommand{\snumbgcolor}{SongNumberBgColor} +\renewcommand{\notebgcolor}{NoteBgColor} +\renewcommand{\idxbgcolor}{IndexBgColor} + +\pagestyle{empty} + +\begin{document} + +\maketitle + +\showindex{Index des chansons}{titleidx} +\showindex{Index des auteurs}{authidx} + +\songsection{Liste des chansons} +\begin{songs}{titleidx,authidx} + \getsongslist +\end{songs} + +\end{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% end document