From 9494cee691774a44fb24fade0800272fe047a025 Mon Sep 17 00:00:00 2001 From: crep Date: Sat, 17 Jul 2010 17:18:45 +0200 Subject: [PATCH] Update revision to 3.2 and add "web" field with hyperlink on front page --- crepbook.cls | 5 ++++- naheulbeuk.sb | 1 + songbook.sb | 3 ++- templates/songbook.tmpl | 4 +++- volume-1.sb | 3 ++- volume-2.sb | 3 ++- 6 files changed, 14 insertions(+), 5 deletions(-) diff --git a/crepbook.cls b/crepbook.cls index 89a33801..763e1352 100644 --- a/crepbook.cls +++ b/crepbook.cls @@ -43,6 +43,7 @@ \gdef\@title{No Title Given}% \gdef\@subtitle{} \gdef\@version{} + \gdef\@web{} \gdef\@mail{} \gdef\@email{} \gdef\@picture{} @@ -50,6 +51,7 @@ \def\subtitle#1{\gdef\@subtitle{#1}} \def\version#1{\gdef\@version{#1}} +\def\web#1{\gdef\@web{#1}} \def\mail#1{\gdef\@mail{#1}} \def\email#1{\gdef\@email{#1}} \def\licence#1{\gdef\@licence{#1}} @@ -98,7 +100,8 @@ \if!\@version!\else{\bf version:} & \@version \\ \fi \if!\@date!\else{\bf date:} & \@date \\ \fi \if!\@author!\else{\bf auteurs:} & \@author \\ \fi - \if!\@mail!\else{\bf mail:} & \@mail \\ \fi + \if!\@web!\else{\bf web:} & \url{\@web} \\ \fi + \if!\@mail!\else{\bf mail:} & \url{\@mail} \\ \fi \end{tabular} \end{flushleft} diff --git a/naheulbeuk.sb b/naheulbeuk.sb index 1abfdb69..c520b138 100644 --- a/naheulbeuk.sb +++ b/naheulbeuk.sb @@ -3,6 +3,7 @@ "author" : "Crep (R.Goffe) \\and Lohrun (A.Dupas)", "footer" : "\\begin{flushleft}\\includegraphics[width=3cm]{on-fire}\\end{flushleft}", "license" : "\\input{license.tex}", +"web" : "http://www.patacrep.com", "mail" : "crep@team-on-fire.com", "picture" : "naheulbeuk01", "picturecopyright" : "PenOfChaos", diff --git a/songbook.sb b/songbook.sb index c520a714..da36d46e 100644 --- a/songbook.sb +++ b/songbook.sb @@ -2,7 +2,8 @@ "template" : "songbook.tmpl", "title" : "Recueil de chansons pour guitare", "author" : "Romain Goffe \\and Alexandre Dupas", -"version" : "3.1", +"version" : "3.2", +"web" : "http://www.patacrep.com", "mail" : "crep@team-on-fire.com", "picture" : "feel-the-music", "picturecopyright" : "foxygamergirl @ deviantart.com", diff --git a/templates/songbook.tmpl b/templates/songbook.tmpl index 90a6c564..04eabb06 100644 --- a/templates/songbook.tmpl +++ b/templates/songbook.tmpl @@ -27,8 +27,9 @@ %%:[ %%: {"name":"title", "description":"Title", "default":"Recueil de chansons pour guitare"}, %%: {"name":"author", "description":"Author", "default":"Romain Goffe \\and Alexandre Dupas"}, -%%: {"name":"version", "description":"Version", "default":"3.1"}, +%%: {"name":"version", "description":"Version", "default":"3.2"}, %%: {"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", "default":"feel-the-music"}, %%: {"name":"picturecopyright", "description":"Copyright", "default":"foxygamergirl@deviantart.com"}, @@ -47,6 +48,7 @@ \subtitle{\getsubtitle} \version{\getversion} \mail{\getmail} +\web{\getweb} \picture{\getpicture} \picturecopyright{\getpicturecopyright} \footer{\getfooter} diff --git a/volume-1.sb b/volume-1.sb index cb891749..126d4e70 100644 --- a/volume-1.sb +++ b/volume-1.sb @@ -3,12 +3,13 @@ "author" : "Romain Goffe \\and Alexandre Dupas", "footer" : "\\begin{flushleft}\\includegraphics[width=3cm]{on-fire}\\end{flushleft}", "license" : "\\input{license.tex}", +"web" : "http://www.patacrep.com", "mail" : "crep@team-on-fire.com", "picture" : "feel-the-music", "picturecopyright" : "foxygamergirl @ deviantart.com", "subtitle" : "Tome 1", "title" : "Recueil de chansons pour guitare", -"version" : "3.1", +"version" : "3.2", "booktype" : [ "chorded" ], diff --git a/volume-2.sb b/volume-2.sb index 68e89113..d2d4f569 100644 --- a/volume-2.sb +++ b/volume-2.sb @@ -3,12 +3,13 @@ "author" : "Crep (R. Goffe) \\and Lohrun (A. Dupas)", "footer" : "\\begin{flushleft}\\includegraphics[width=3cm]{on-fire}\\end{flushleft}", "license" : "\\input{license.tex}", +"web" : "http://www.patacrep.com", "mail" : "crep@team-on-fire.com", "picture" : "Sound__by_Ellesh", "picturecopyright" : "Ellesh @ deviantart.com", "subtitle" : "Tome 2", "title" : "Recueil de chansons pour guitare", -"version" : "3.1", +"version" : "3.2", "booktype" : [ "chorded" ],