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.
|
|
|
(% variables %)
|
|
|
|
{
|
|
|
|
"languages": {"description": {"en": "List of languages used by songs", "fr": "Liste des langues utilisées par les chansons"},
|
|
|
|
"default": {"en": "english", "fr": "french"}
|
|
|
|
},
|
|
|
|
"lang": {"description": {"en": "Language", "fr": "Langue"},
|
|
|
|
"default": {"en": "english", "fr": "french"}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
(% endvariables %)
|
|
|
|
|
|
|
|
(* extends "layout.tex" *)
|
|
|
|
|
|
|
|
(* block songbookpreambule *)
|
|
|
|
(( super() ))
|
|
|
|
|
|
|
|
|
|
|
|
(* for lang in songlist.languages() *)
|
|
|
|
\PassOptionsToPackage{((lang))}{babel}
|
|
|
|
(* endfor *)
|
|
|
|
\usepackage[((lang))]{babel}
|
|
|
|
\lang{((lang))}
|
|
|
|
|
|
|
|
\graphicspath{{((datadir))/img/}}
|
|
|
|
(* endblock *)
|
|
|
|
|
|
|
|
(* block songs *)
|
|
|
|
\phantomsection
|
|
|
|
\addcontentsline{toc}{section}{\songlistname}
|
|
|
|
|
|
|
|
\begin{songs}{((indexes|default('')))}
|
|
|
|
(* for song in songlist.songs *)
|
|
|
|
\input{((song.path))}
|
|
|
|
(* endfor *)
|
|
|
|
\end{songs}
|
|
|
|
(* endblock *)
|