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.
19 lines
470 B
19 lines
470 B
(* if content.directive() *)
|
|
(* for line in content.lines -*)
|
|
((- render(line) ))
|
|
(* endfor -*)
|
|
(*- elif content.nolyrics -*)
|
|
\ifchorded
|
|
\begin{verse*}
|
|
(* for line in content.lines *)
|
|
\musicnote {\nolyrics (( render(line)|replace("#", "{\\shrp}")|replace("&", "{\\flt}") ))}
|
|
(* endfor *)
|
|
\end{verse*}
|
|
\fi
|
|
(*- else *)
|
|
\begin{(( content.type ))}
|
|
(* for line in content.lines *)
|
|
(( render(line) ))
|
|
(* endfor *)
|
|
\end{(( content.type ))}
|
|
(*- endif *)
|
|
|