}
if ( $output eq "pdf" ) { print TEX "\\pdfdest name {$_} fith \\pdfoutline goto name {$_} {$_}" }
- print TEX "\\begin{center} \\section*{$_}\\end{center}\n";
- $define="";
- print TEX "\\index{$_}";
+
$song_title = $_;
- $verbose && print TEX "\\typeout{$_}";
+ if ( $uppercase ) {
+ $song_title = uc($song_title);
+ }
+
+ print TEX "\\begin{center} \\section*{$song_title}\\end{center}\n";
+ $define="";
+ print TEX "\\index{$song_title}";
+ $verbose && print TEX "\\typeout{$song_title}";
}elsif ( /{subtitle:|{st:/ ) {
s/(\{.*:)(.+)(\})/\2/;
print TEX "\\index{$_!$song_title}";