Browse Source

rename songbook.tmpl to patacrep.tmpl 2

remotes/origin/translate_notes
crep 14 years ago
parent
commit
bbee343f45
  1. 2
      naheulbeuk.sb
  2. 4
      songbook.py
  3. 2
      songbook.sb

2
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}",

4
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()

2
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",

Loading…
Cancel
Save