From 386c9e8642048f354c32d68ecae1313edaf89f93 Mon Sep 17 00:00:00 2001 From: Alexandre Dupas Date: Sat, 27 Nov 2010 17:43:54 +0100 Subject: [PATCH 3/3] Add a new song field for the album. Using a sed script to automatically fill the album field from the cov field. --- crepbook.cls | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crepbook.cls b/crepbook.cls index e0daf3b7..ae86577a 100644 --- a/crepbook.cls +++ b/crepbook.cls @@ -151,7 +151,9 @@ \newlength{\coverspace} \setlength{\coverspace}{0.1cm} \newcommand{\songcover}{} +\newcommand{\songalbum}{} \newsongkey{cov}{\let\songcover\@empty}{\def\songcover{#1}} +\newsongkey{album}{\let\songalbum\@empty}{\def\songalbum{#1}} \newcommand\cover{% \ifchorded% \ifx\songcover\@empty\else%