From 53300c35bced695d83d7d592de8364efa6663a56 Mon Sep 17 00:00:00 2001 From: Alexandre Dupas Date: Tue, 17 Aug 2010 00:20:07 +0200 Subject: [PATCH] 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}