mirror of https://github.com/patacrep/patacrep.git
olivier desrobert
13 years ago
23 changed files with 937 additions and 598 deletions
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 10 KiB |
@ -1,96 +0,0 @@ |
|||
% Copyright (C) 2009-2010 Romain Goffe, Alexandre Dupas |
|||
% Copyright (C) 2008 Kevin W. Hamlen |
|||
% |
|||
% This program is free software; you can redistribute it and/or |
|||
% modify it under the terms of the GNU General Public License |
|||
% as published by the Free Software Foundation; either version 2 |
|||
% of the License, or (at your option) any later version. |
|||
% |
|||
% This program is distributed in the hope that it will be useful, |
|||
% but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
% GNU General Public License for more details. |
|||
% |
|||
% You should have received a copy of the GNU General Public License |
|||
% along with this program; if not, write to the Free Software |
|||
% Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|||
% MA 02110-1301, USA. |
|||
% |
|||
% The latest version of this program can be obtained from |
|||
% http://songs.sourceforge.net. |
|||
% |
|||
% Modified to serve personnal purposes. Newer versions can be |
|||
% obtained from http://www.lohrun.net. |
|||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|||
% Template parameters |
|||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|||
%%:[ |
|||
%%: {"name":"title", "description":"Title", "default":"Patacrep Songbook", "mandatory":true}, |
|||
%%: {"name":"author", "description":"Author", "default":"Crep (R. Goffe) \\and Lohrun (A. Dupas)", "mandatory":true}, |
|||
%%: {"name":"booktype", "description":"Type", "type":"enum", "values":["chorded","lyric"], "default":"chorded", "mandatory":true}, |
|||
%%: {"name":"lang", "description":"Language", "default":"english"}, |
|||
%%: {"name":"instruments", "description":"Instruments", "type":"flag", "values":["guitar","ukulele"], "join":",", "mandatory":true, "default":["guitar"]}, |
|||
%%: {"name":"bookoptions", "description":"Options", "type":"flag", "values":["diagram","importantdiagramonly","lilypond","pictures","tabs","repeatchords","onesongperpage"], "join":",", "mandatory":true, "default":["diagram","pictures"]}, |
|||
%%: {"name":"version", "description":"Version", "default":"3.6.0"}, |
|||
%%: {"name":"subtitle", "description":"Subtitle"}, |
|||
%%: {"name":"web", "description":"Web", "default":"http://www.patacrep.com"}, |
|||
%%: {"name":"mail", "description":"Email", "default":"crep@team-on-fire.com"}, |
|||
%%: {"name":"picture", "description":"Picture", "type":"file", "default":"Music_by_Katie8594"}, |
|||
%%: {"name":"picturecopyright", "description":"Copyright", "default":"Katie8594 @ deviantart.com"}, |
|||
%%: {"name":"footer", "description":"Footer", "default":"\\begin{flushleft}\\includegraphics[width=3cm]{on-fire}\\end{flushleft}"}, |
|||
%%: {"name":"license", "description":"License", "default":"\\input{license-en.tex}"}, |
|||
%%: {"name":"mainfontsize", "description":"Font Size", "type":"font", "default":"10"}, |
|||
%%: {"name":"songnumberbgcolor", "description":"Number Shade", "type":"color", "default":"#D1E4AE"}, |
|||
%%: {"name":"notebgcolor", "description":"Note Shade", "type":"color", "default":"#D1E4AE"}, |
|||
%%: {"name":"indexbgcolor", "description":"Index Shade", "type":"color", "default":"#D1E4AE"} |
|||
%%:] |
|||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|||
% begin document |
|||
\documentclass[\getbooktype,\getinstruments,\getbookoptions,\getmainfontsize]{tex/crepbook} |
|||
\usepackage[utf8]{inputenc} |
|||
\usepackage[T1]{fontenc} |
|||
\usepackage{lmodern} |
|||
\usepackage[portuguese,spanish,french,english]{babel} |
|||
|
|||
\title{\gettitle} |
|||
\author{\getauthor} |
|||
\subtitle{\getsubtitle} |
|||
\version{\getversion} |
|||
\mail{\getmail} |
|||
\web{\getweb} |
|||
\picture{\getpicture} |
|||
\picturecopyright{\getpicturecopyright} |
|||
\footer{\getfooter} |
|||
\licence{\getlicense} |
|||
\lang{\getlang} |
|||
|
|||
\newindex{titleidx}{\getname_title} |
|||
\newauthorindex{authidx}{\getname_auth} |
|||
|
|||
\graphicspath{ {covers/}, {img/} } |
|||
|
|||
\definecolor{SongNumberBgColor}{HTML}{\getsongnumberbgcolor} |
|||
\definecolor{NoteBgColor}{HTML}{\getnotebgcolor} |
|||
\definecolor{IndexBgColor}{HTML}{\getindexbgcolor} |
|||
|
|||
\renewcommand{\snumbgcolor}{SongNumberBgColor} |
|||
\renewcommand{\notebgcolor}{NoteBgColor} |
|||
\renewcommand{\idxbgcolor}{IndexBgColor} |
|||
|
|||
\pagestyle{empty} |
|||
|
|||
\begin{document} |
|||
|
|||
\maketitle |
|||
|
|||
\showindex{Songs Index}{titleidx} |
|||
\showindex{Authors Index}{authidx} |
|||
|
|||
\songsection{List of Songs} |
|||
\begin{songs}{titleidx,authidx} |
|||
\getsongslist |
|||
\end{songs} |
|||
|
|||
\end{document} |
|||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|||
% end document |
@ -1,140 +0,0 @@ |
|||
\ifchorded |
|||
\songsection{Liste des accords} |
|||
\begin{songs}{} |
|||
|
|||
%hide song number |
|||
\definecolor{SongNumberBgColor}{HTML}{FFFFFF} |
|||
\renewcommand{\snumbgcolor}{SongNumberBgColor} |
|||
\renewcommand{\printsongnum}[1]{} |
|||
\setlength{\songnumwidth}{0.1cm} |
|||
|
|||
\beginsong{Accords usuels} |
|||
%\musicnote[french]{Accords usuels} |
|||
%\musicnote[english]{Standard chords} |
|||
\utab{C}{0003} |
|||
\utab{C7}{0001} |
|||
\utab{Cm}{0333} |
|||
\utab{Cm7}{3:0000} |
|||
|
|||
\utab{C#=D&}{1:0003} |
|||
\utab{C#7=D&7}{1:0001} |
|||
\utab{C#m=D&m}{1104} |
|||
\utab{C#m7=D&m7}{4:0000} |
|||
|
|||
\utab{D}{2220} |
|||
\utab{D7}{2:0001} |
|||
\utab{Dm}{2210} |
|||
\utab{Dm7}{1:1102} |
|||
|
|||
\utab{D#=E&}{1:2220} |
|||
\utab{D#7=E&7}{3:0001} |
|||
\utab{D#m=E&m}{1:2210} |
|||
\utab{D#m7=E&m7}{2:1102} |
|||
|
|||
\utab{E}{2:2220} |
|||
\utab{E7}{1202} |
|||
\utab{Em}{0432} |
|||
\utab{Em7}{0202} |
|||
|
|||
\utab{F}{2010} |
|||
\utab{F7}{2310} |
|||
\utab{Fm}{1013} |
|||
\utab{Fm7}{1:0202} |
|||
|
|||
\utab{F#=G&}{1:2010} |
|||
\utab{F#7=G&7}{1:2310} |
|||
\utab{F#m=G&m}{2120} |
|||
\utab{F#m7=G&m7}{2:0202} |
|||
|
|||
\utab{G}{0232} |
|||
\utab{G7}{0212} |
|||
\utab{Gm}{0231} |
|||
\utab{Gm7}{0211} |
|||
|
|||
\utab{G#=A&}{3:2010} |
|||
\utab{G#7=A&7}{1:0212} |
|||
\utab{G#m=A&m}{1:0231} |
|||
\utab{G#m7=A&m7}{1:0211} |
|||
|
|||
\utab{A}{2100} |
|||
\utab{A7}{0100} |
|||
\utab{Am}{2000} |
|||
\utab{Am7}{0000} |
|||
|
|||
\utab{A#=B&}{1:2100} |
|||
\utab{A#7=B&7}{1:0100} |
|||
\utab{A#m=B&m}{1:2000} |
|||
\utab{A#m7=B&m7}{1:0000} |
|||
|
|||
\utab{B}{2:2100} |
|||
\utab{B7}{2:0100} |
|||
\utab{Bm}{2:2000} |
|||
\utab{Bm7}{2:0000} |
|||
\endsong |
|||
|
|||
\beginsong{Accords avancés} |
|||
%\musicnote[french]{Accords avancés} |
|||
%\musicnote[english]{Advanced chords} |
|||
\utab{C7M}{0002} |
|||
\utab{C6}{0000} |
|||
\utab{Caug}{1003} |
|||
\utab{Cdim}{2:3101} |
|||
|
|||
\utab{C#7M=D&7M}{1:0002} |
|||
\utab{C#6=D&6}{1:0000} |
|||
\utab{C#aug=D&aug}{2110} |
|||
\utab{C#dim=D&dim}{0104} |
|||
|
|||
\utab{D7M}{2:0002} |
|||
\utab{D6}{2:0000} |
|||
\utab{Daug}{1:2110} |
|||
\utab{Ddim}{1:0104} |
|||
|
|||
\utab{D#7M=E&7M}{3:0002} |
|||
\utab{D#6=E&6}{3:0000} |
|||
\utab{D#aug=E&aug}{0332} |
|||
\utab{D#dim=E&dim}{2320} |
|||
|
|||
\utab{E7M}{1302} |
|||
\utab{E6}{1102} |
|||
\utab{Eaug}{1:0000} |
|||
\utab{Edim}{1:2320} |
|||
|
|||
\utab{F7M}{1:1302} |
|||
\utab{F6}{1:1102} |
|||
\utab{Faug}{2110} |
|||
\utab{Fdim}{2:2320} |
|||
|
|||
\utab{F#7M=G&7M}{2:1302} |
|||
\utab{F#6=G&6}{0202} |
|||
\utab{F#aug=G&aug}{1:2110} |
|||
\utab{F#dim=G&dim}{2020} |
|||
|
|||
\utab{G7M}{0222} |
|||
\utab{G6}{0202} |
|||
\utab{Gaug}{0332} |
|||
\utab{Gdim}{0131} |
|||
|
|||
\utab{G#7M=A&7M}{1:0222} |
|||
\utab{G#6=A&6}{1:0202} |
|||
\utab{G#aug=A&aug}{1003} |
|||
\utab{G#dim=A&dim}{1:0131} |
|||
|
|||
\utab{A7M}{1100} |
|||
\utab{A6}{2:0202} |
|||
\utab{Aaug}{2110} |
|||
\utab{Adim}{2:0131} |
|||
|
|||
\utab{A#7M=B&7M}{1:1100} |
|||
\utab{A#6=B&6}{0211} |
|||
\utab{A#aug=B&aug}{1:2110} |
|||
\utab{A#dim=B&dim}{3101} |
|||
|
|||
\utab{B7M}{2:1100} |
|||
\utab{B6}{1:0211} |
|||
\utab{Baug}{0332} |
|||
\utab{Bdim}{1:3101} |
|||
\endsong |
|||
|
|||
\end{songs} |
|||
\fi |
@ -1,77 +0,0 @@ |
|||
%Licence Creative Commons |
|||
\begin{center} |
|||
\textbf{\LARGE{Creative Commons\footnote{ This work is licensed |
|||
under the Creative Commons Attribution-ShareAlike 3.0 Unported |
|||
License. To view a copy of this license, visit |
|||
\url{http://creativecommons.org/licenses/by-sa/3.0/} or send a |
|||
letter to Creative Commons, 171 Second Street, Suite 300, San |
|||
Francisco, California, 94105, USA.} Legal Code} } |
|||
\end{center} |
|||
\vspace{1cm} |
|||
|
|||
%------------------------------------------------------------------------------- |
|||
\begin{lblock}{You are free to:} |
|||
|
|||
\begin{pictonote}{share} |
|||
\lcondition{Share} copy, distribute and transmit the work; |
|||
\end{pictonote} |
|||
|
|||
\begin{pictonote}{remix} |
|||
\lcondition{Remix} adapt the work; |
|||
\end{pictonote} |
|||
|
|||
\end{lblock} |
|||
%------------------------------------------------------------------------------- |
|||
\begin{lblock}{Under the following conditions:} |
|||
|
|||
\begin{pictonote}{by} |
|||
\lcondition{Attribution} You must attribute the work in the manner |
|||
specified by the author or licensor (but not in any way that |
|||
suggests that they endorse you or your use of the work); |
|||
\end{pictonote} |
|||
|
|||
\begin{pictonote}{sa} |
|||
\lcondition{Share Alike} If you alter, transform, or build upon |
|||
this work, you may distribute the resulting work only under the |
|||
same or similar license to this one. |
|||
\end{pictonote} |
|||
|
|||
\end{lblock} |
|||
%------------------------------------------------------------------------------- |
|||
\begin{lblock}{With the understanding that:} |
|||
|
|||
\hspace{0.4cm} |
|||
\parbox{15cm}{ |
|||
\paragraph{Waiver --} |
|||
Any of the above conditions can be waived if you get permission |
|||
from the copyright holder. |
|||
|
|||
\paragraph{Public Domain --} |
|||
Where the work or any of its elements is in the public domain |
|||
under applicable law, that status is in no way affected by the |
|||
license. |
|||
|
|||
\paragraph{Other Rights --} |
|||
In no way are any of the following rights affected by the license: |
|||
\begin{itemize} |
|||
\item your fair dealing or fair use rights, or other applicable |
|||
copyright exceptions and limitations; |
|||
\item apart from the remix rights granted under this license, |
|||
the author's moral rights; |
|||
\item rights other persons may have either in the work itself |
|||
or in how the work is used, such as publicity or privacy rights. |
|||
\end{itemize} |
|||
} |
|||
|
|||
\begin{center} |
|||
\includegraphics[width=4cm]{license} |
|||
\end{center} |
|||
|
|||
\end{lblock} |
|||
%------------------------------------------------------------------------------- |
|||
\paragraph{Songs \LaTeX~Package} |
|||
This document is written in \LaTeX, from the Songs |
|||
Project\footnote{\url{http://songs.sourceforge.net/}}. |
|||
|
|||
%------------------------------------------------------------------------------- |
|||
% End of Licence |
@ -1,2 +1,4 @@ |
|||
Rem manually performs "make clean" |
|||
del *.aux *.d *.toc *.out *.log *.nav *.snm *.sbx *.sxd |
|||
FOR %%A IN (*.aux *.d *.toc *.out *.log *.nav *.snm *.sbx *.sxd) DO DEL %%A |
|||
Rem remove temporary covers |
|||
FOR %%A IN (covers\*.*) DO DEL %%A |
|||
|
Loading…
Reference in new issue