|
@ -1,23 +1,22 @@ |
|
|
%! Copyright (C) 2014 The Patacrep team (www.patacrep.com) |
|
|
%!- Copyright (C) 2014 The Patacrep team (www.patacrep.com) |
|
|
%! |
|
|
%!- |
|
|
%! This program is free software; you can redistribute it and/or |
|
|
%!- This program is free software; you can redistribute it and/or |
|
|
%! modify it under the terms of the GNU General Public License |
|
|
%!- modify it under the terms of the GNU General Public License |
|
|
%! as published by the Free Software Foundation; either version 2 |
|
|
%!- as published by the Free Software Foundation; either version 2 |
|
|
%! of the License, or (at your option) any later version. |
|
|
%!- of the License, or (at your option) any later version. |
|
|
%! |
|
|
%!- |
|
|
%! This program is distributed in the hope that it will be useful, |
|
|
%!- This program is distributed in the hope that it will be useful, |
|
|
%! but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
%!- but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
%! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
%!- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
%! GNU General Public License for more details. |
|
|
%!- GNU General Public License for more details. |
|
|
%! |
|
|
%!- |
|
|
%! You should have received a copy of the GNU General Public License |
|
|
%!- You should have received a copy of the GNU General Public License |
|
|
%! along with this program; if not, write to the Free Software |
|
|
%!- along with this program; if not, write to the Free Software |
|
|
%! Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
|
%!- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
|
%! MA 02110-1301, USA. |
|
|
%!- MA 02110-1301, USA. |
|
|
%! |
|
|
%!- |
|
|
%! The latest version of this program can be obtained from |
|
|
%!- The latest version of this program can be obtained from |
|
|
%! https://github.com/patacrep/ |
|
|
%!- https://github.com/patacrep/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(* variables *) |
|
|
(* variables *) |
|
|
{ |
|
|
{ |
|
@ -40,15 +39,17 @@ |
|
|
"default": {"default": "alphascale", "french": "solfedge"} |
|
|
"default": {"default": "alphascale", "french": "solfedge"} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
(* endvariables *) |
|
|
(* endvariables -*) |
|
|
|
|
|
|
|
|
(* extends "songs.tex" *) |
|
|
(*- extends "songs.tex" -*) |
|
|
(* set indexes = "titleidx,authidx" *) |
|
|
(*- set indexes = "titleidx,authidx" -*) |
|
|
|
|
|
|
|
|
(* block documentclass *) |
|
|
(* block documentclass *) |
|
|
\documentclass[(* for option in classoptions *) |
|
|
\documentclass[ |
|
|
|
|
|
(* for option in classoptions *) |
|
|
((option)), |
|
|
((option)), |
|
|
(* endfor *)]{article} |
|
|
(* endfor *) |
|
|
|
|
|
]{article} |
|
|
(* endblock *) |
|
|
(* endblock *) |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -63,22 +64,22 @@ |
|
|
\newindex{titleidx}{((filename))_title} |
|
|
\newindex{titleidx}{((filename))_title} |
|
|
\newauthorindex{authidx}{((filename))_auth} |
|
|
\newauthorindex{authidx}{((filename))_auth} |
|
|
|
|
|
|
|
|
(* for prefix in titleprefixwords *) |
|
|
(* for prefix in titleprefixwords -*) |
|
|
\titleprefixword{((prefix))} |
|
|
\titleprefixword{((prefix))} |
|
|
(* endfor*) |
|
|
(* endfor*) |
|
|
(* for word in authwords.ignore *) |
|
|
(* for word in authwords.ignore -*) |
|
|
\authignoreword{((word))} |
|
|
\authignoreword{((word))} |
|
|
(* endfor *) |
|
|
(* endfor *) |
|
|
(* for word in authwords.after *) |
|
|
(* for word in authwords.after -*) |
|
|
\authbyword{((word))} |
|
|
\authbyword{((word))} |
|
|
(* endfor *) |
|
|
(* endfor *) |
|
|
(* for word in authwords.sep *) |
|
|
(* for word in authwords.sep -*) |
|
|
\authsepword{((word))} |
|
|
\authsepword{((word))} |
|
|
(* endfor *) |
|
|
(* endfor *) |
|
|
|
|
|
|
|
|
(* if notenamesout=="alphascale" *) |
|
|
(* if notenamesout=="alphascale" -*) |
|
|
\notenamesout{A}{B}{C}{D}{E}{F}{G} |
|
|
\notenamesout{A}{B}{C}{D}{E}{F}{G} |
|
|
(* else *) |
|
|
(* else -*) |
|
|
\notenamesout{La}{Si}{Do}{R\'e}{Mi}{Fa}{Sol} |
|
|
\notenamesout{La}{Si}{Do}{R\'e}{Mi}{Fa}{Sol} |
|
|
(* endif *) |
|
|
(* endif *) |
|
|
(* endblock *) |
|
|
(* endblock *) |
|
|