From 6a71d0bccc46de1500e4d178227960c448d66ab0 Mon Sep 17 00:00:00 2001 From: Alexandre Dupas Date: Tue, 17 Aug 2010 00:20:07 +0200 Subject: [PATCH 1/2] Correct templates for the new defined parameters. --- templates/minimal.tmpl | 10 +++++++++- templates/patacrep.tmpl | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/templates/minimal.tmpl b/templates/minimal.tmpl index 74c642fa..bdef6753 100644 --- a/templates/minimal.tmpl +++ b/templates/minimal.tmpl @@ -34,7 +34,7 @@ %%:] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % begin document -\documentclass[\getbooktype]{crepbook} +\documentclass[\getbooktype,\getbookoptions,\getmainfontsize]{crepbook} \usepackage[utf8]{inputenc} \usepackage[english,french]{babel} @@ -45,6 +45,14 @@ {img/}, } +\definecolor{SongNumberBgColor}{HTML}{\getsongnumberbgcolor} +\definecolor{NoteBgColor}{HTML}{\getnotebgcolor} +\definecolor{IndexBgColor}{HTML}{\getindexbgcolor} + +\renewcommand{\snumbgcolor}{SongNumberBgColor} +\renewcommand{\notebgcolor}{NoteBgColor} +\renewcommand{\idxbgcolor}{IndexBgColor} + \begin{document} \begin{songs}{titleidx,authidx} diff --git a/templates/patacrep.tmpl b/templates/patacrep.tmpl index 761aa946..2006f355 100644 --- a/templates/patacrep.tmpl +++ b/templates/patacrep.tmpl @@ -44,7 +44,7 @@ %%:] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % begin document -\documentclass[\getbooktype]{crepbook} +\documentclass[\getbooktype,\getbookoptions,\getmainfontsize]{crepbook} \usepackage[utf8]{inputenc} \usepackage[english,french]{babel} From 23bb7536fd23cdb8d39cfc03c9097d1f050d3b1e Mon Sep 17 00:00:00 2001 From: Alexandre Dupas Date: Tue, 17 Aug 2010 00:21:02 +0200 Subject: [PATCH 2/2] Update default setting for the chord diagram --- crepbook.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crepbook.cls b/crepbook.cls index 5902f079..d4c760fd 100644 --- a/crepbook.cls +++ b/crepbook.cls @@ -11,7 +11,7 @@ \tabsfalse \lilypondfalse -\nodiagramfalse +\nodiagramtrue % Options \DeclareOption{tabs}{\tabstrue}