mirror of https://github.com/patacrep/patacrep.git
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.
27 lines
611 B
27 lines
611 B
(* extends "layout.tex" *)
|
|
|
|
(* block songbookpreambule *)
|
|
(( super() ))
|
|
|
|
(* for lang in songlist.languages() *)
|
|
\PassOptionsToPackage{((lang))}{babel}
|
|
(* endfor *)
|
|
\usepackage{babel}
|
|
|
|
\graphicspath{{((datadir))/img/}}
|
|
(* endblock *)
|
|
|
|
(* block songs *)
|
|
\phantomsection
|
|
(* if mainlang==english *)
|
|
\addcontentsline{toc}{section}{Songs list}
|
|
(* else *)
|
|
\addcontentsline{toc}{section}{Liste des chansons}
|
|
(* endif *)
|
|
|
|
\begin{songs}{((indexes|default('')))}
|
|
(* for song in songlist.songs *)
|
|
\input{((song.path))}
|
|
(* endfor *)
|
|
\end{songs}
|
|
(* endblock *)
|
|
|