Engine for LaTeX songbooks http://www.patacrep.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.3 KiB

(* set indexes = "titleidx,authidx" *)
(* extends "songs.tex" *)
(* block songbookpreambule *)
(( super() ))
\usepackage{chords}
\title{((title))}
\author{((author))}
\subtitle{((subtitle))}
(* if version!="unknown" *)
\version{((version))}
(* endif *)
\mail{((mail))}
\web{((web))}
\picture{((picture))}
\picturecopyright{((picturecopyright))}
\footer{((footer))}
\newindex{titleidx}{((filename))_title}
\newauthorindex{authidx}{((filename))_auth}
(* for prefix in titleprefixwords *)
\titleprefixwords{((prefix))}
(* endfor*)
(* for key in titleprefixkeys *)
(* for word in authwords.key *)
(* if key=="after" *)
\authbyword{((word))}
(* else *)
\auth((key))word{((word))}
(* endif *)
(* endfor *)
(* endfor*)
(* endblock *)
(* block title *)
\maketitle
(* endblock *)
(* block index *)
\showindex{TODOsongindexname}{titleidx}
\showindex{TODOauthorindexname}{authidx}
(* if lang==french *)
\notenamesin{A}{B}{C}{D}{E}{F}{G}
\notenamesout{La}{Si}{Do}{}{Mi}{Fa}{Sol}
(* endif *)
(* endblock *)
(* block chords *)
% list of chords
\ifchorded
\phantomsection
\addcontentsline{toc}{section}{TODOchordlistname}
\chords
\fi
(* endblock *)