From bbee343f45c7d5a580d1b0da1078175a82515b65 Mon Sep 17 00:00:00 2001 From: crep Date: Sun, 18 Jul 2010 15:34:25 +0200 Subject: [PATCH] rename songbook.tmpl to patacrep.tmpl 2 --- naheulbeuk.sb | 2 +- songbook.py | 4 ++-- songbook.sb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/naheulbeuk.sb b/naheulbeuk.sb index c520b138..98c0fe71 100644 --- a/naheulbeuk.sb +++ b/naheulbeuk.sb @@ -1,5 +1,5 @@ { -"template" : "songbook.tmpl", +"template" : "patacrep.tmpl", "author" : "Crep (R.Goffe) \\and Lohrun (A.Dupas)", "footer" : "\\begin{flushleft}\\includegraphics[width=3cm]{on-fire}\\end{flushleft}", "license" : "\\input{license.tex}", diff --git a/songbook.py b/songbook.py index e8de4b16..68b4cb2d 100755 --- a/songbook.py +++ b/songbook.py @@ -50,7 +50,7 @@ def makeTexFile(sb, output): name = output[:-4] # default value - template = "songbook.tmpl" + template = "patacrep.tmpl" songs = [] # parse the songbook data @@ -119,7 +119,7 @@ def makeDepend(sb, output): if "template" in sb: filename = sb["template"] else: - filename = "songbook.tmpl" + filename = "patacrep.tmpl" tmpl = open("templates/"+filename) idx = map(lambda x: x.replace("\getname", name), matchRegexp(indexPattern, tmpl)) tmpl.close() diff --git a/songbook.sb b/songbook.sb index da36d46e..f511099f 100644 --- a/songbook.sb +++ b/songbook.sb @@ -1,5 +1,5 @@ { -"template" : "songbook.tmpl", +"template" : "patacrep.tmpl", "title" : "Recueil de chansons pour guitare", "author" : "Romain Goffe \\and Alexandre Dupas", "version" : "3.2",