|
@ -84,6 +84,91 @@ |
|
|
\fi |
|
|
\fi |
|
|
|
|
|
|
|
|
% Start |
|
|
% Start |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
|
|
|
|
% Multilanguage management |
|
|
|
|
|
|
|
|
|
|
|
\newcommand{\labelversionname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{version:}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{version :}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\labeldatename}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{date:}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{date :}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\labelauthorname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{authors:}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{auteurs :}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\labelwebname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{web:}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{web :}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\labelmailname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{mail:}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{mail :}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\originalsongname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{Original song:}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{Chanson originale :}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\introname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{intro}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{intro}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\outroname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{outro}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{outro}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\bridgename}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{bridge}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{pont}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\chorusname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{chorus}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{refrain}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\versename}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{verse}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{couple}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\soloname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{solo}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{solo}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\patternname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{pattern}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{motif}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\rythmname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{rythm}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{rythme}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\transpositionname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{transposition:}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{transposition :}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\songindexname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{Songs Index}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{Index des chansons}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\authorindexname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{Authors Index}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{Index des auteurs}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\songlistname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{Songs list}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{Liste des chansons}{}% |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\chordlistname}{% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{english}{Chords list}{}% |
|
|
|
|
|
\IfStrEq{\mainlanguage}{french}{Liste des accords}{}% |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
% End of multilanguage management |
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
|
|
|
|
|
|
|
\def\andname{and} |
|
|
\def\andname{and} |
|
|
\def\lastandname{\unskip, and} |
|
|
\def\lastandname{\unskip, and} |
|
|
|
|
|
|
|
@ -111,29 +196,9 @@ |
|
|
\def\picture#1{\gdef\@picture{#1}} |
|
|
\def\picture#1{\gdef\@picture{#1}} |
|
|
\def\picturecopyright#1{\gdef\@picturecopyright{#1}} |
|
|
\def\picturecopyright#1{\gdef\@picturecopyright{#1}} |
|
|
\def\footer#1{\gdef\@footer{#1}} |
|
|
\def\footer#1{\gdef\@footer{#1}} |
|
|
|
|
|
\def\lang#1{\gdef\mainlanguage{#1}} |
|
|
\clearheadinfo |
|
|
\clearheadinfo |
|
|
|
|
|
|
|
|
\newcommand{\l@belVersion}{ |
|
|
|
|
|
\iflanguage{english}{\bf version:}{} |
|
|
|
|
|
\iflanguage{french}{\bf version :}{} |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\l@belDate}{ |
|
|
|
|
|
\iflanguage{english}{\bf date:}{} |
|
|
|
|
|
\iflanguage{french}{\bf date :}{} |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\l@belAuthor}{ |
|
|
|
|
|
\iflanguage{english}{\bf authors:}{} |
|
|
|
|
|
\iflanguage{french}{\bf auteurs :}{} |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\l@belWeb}{ |
|
|
|
|
|
\iflanguage{english}{\bf web:}{} |
|
|
|
|
|
\iflanguage{french}{\bf web :}{} |
|
|
|
|
|
} |
|
|
|
|
|
\newcommand{\l@belMail}{ |
|
|
|
|
|
\iflanguage{english}{\bf mail:}{} |
|
|
|
|
|
\iflanguage{french}{\bf mail :}{} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
\renewcommand\maketitle{ |
|
|
\renewcommand\maketitle{ |
|
|
\@maketitle |
|
|
\@maketitle |
|
|
|
|
|
|
|
@ -171,11 +236,11 @@ |
|
|
|
|
|
|
|
|
\begin{flushleft} |
|
|
\begin{flushleft} |
|
|
\begin{tabular}{l l} |
|
|
\begin{tabular}{l l} |
|
|
\if!\@version!\else{\l@belVersion} & \@version \\ \fi |
|
|
\if!\@version!\else{\textbf{\labelversionname}} & \@version \\ \fi |
|
|
\if!\@date!\else{\l@belDate} & \@date \\ \fi |
|
|
\if!\@date!\else{\textbf{\labeldatename}} & \@date \\ \fi |
|
|
\if!\@author!\else{\l@belAuthor} & \@author \\ \fi |
|
|
\if!\@author!\else{\textbf{\labelauthorname}} & \@author \\ \fi |
|
|
\if!\@web!\else{\l@belWeb} & \url{\@web} \\ \fi |
|
|
\if!\@web!\else{\textbf{\labelwebname}} & \url{\@web} \\ \fi |
|
|
\if!\@mail!\else{\l@belMail} & \url{\@mail} \\ \fi |
|
|
\if!\@mail!\else{\textbf{\labelmailname}} & \url{\@mail} \\ \fi |
|
|
\end{tabular} |
|
|
\end{tabular} |
|
|
\end{flushleft} |
|
|
\end{flushleft} |
|
|
|
|
|
|
|
@ -193,8 +258,6 @@ |
|
|
\thispagestyle{empty} |
|
|
\thispagestyle{empty} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
\makeatletter |
|
|
|
|
|
|
|
|
|
|
|
\newlength{\coverheight} |
|
|
\newlength{\coverheight} |
|
|
\setlength{\coverheight}{2cm} |
|
|
\setlength{\coverheight}{2cm} |
|
|
\newlength{\coverspace} |
|
|
\newlength{\coverspace} |
|
@ -228,7 +291,7 @@ |
|
|
\renewcommand{\extendpostlude}{ |
|
|
\renewcommand{\extendpostlude}{ |
|
|
{\footnotesize% |
|
|
{\footnotesize% |
|
|
\IfStrEq{\songoriginal}{}{}{ |
|
|
\IfStrEq{\songoriginal}{}{}{ |
|
|
\iflanguage{english}{Original song:}{Chanson originale :} |
|
|
\originalsongname |
|
|
\songoriginal |
|
|
\songoriginal |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -445,36 +508,28 @@ |
|
|
%% End of tabs.sty file |
|
|
%% End of tabs.sty file |
|
|
|
|
|
|
|
|
\newcommand*{\Intro}{% |
|
|
\newcommand*{\Intro}{% |
|
|
\iflanguage{english}{intro}{}% |
|
|
\introname% |
|
|
\iflanguage{french}{intro}{}% |
|
|
|
|
|
}% |
|
|
}% |
|
|
\newcommand*{\Outro}{% |
|
|
\newcommand*{\Outro}{% |
|
|
\iflanguage{english}{outro}{}% |
|
|
\outroname% |
|
|
\iflanguage{french}{outro}{}% |
|
|
|
|
|
}% |
|
|
}% |
|
|
\newcommand*{\Bridge}{% |
|
|
\newcommand*{\Bridge}{% |
|
|
\iflanguage{english}{bridge}{}% |
|
|
\bridgename% |
|
|
\iflanguage{french}{pont}{}% |
|
|
|
|
|
}% |
|
|
}% |
|
|
\newcommand*{\Chorus}{% |
|
|
\newcommand*{\Chorus}{% |
|
|
\iflanguage{english}{chorus}{}% |
|
|
\chorusname% |
|
|
\iflanguage{french}{refrain}{}% |
|
|
|
|
|
}% |
|
|
}% |
|
|
\newcommand*{\Verse}{% |
|
|
\newcommand*{\Verse}{% |
|
|
\iflanguage{english}{verse}{}% |
|
|
\versename% |
|
|
\iflanguage{french}{couplet}{}% |
|
|
|
|
|
}% |
|
|
}% |
|
|
\newcommand*{\Solo}{% |
|
|
\newcommand*{\Solo}{% |
|
|
\iflanguage{english}{solo}{}% |
|
|
\soloname% |
|
|
\iflanguage{french}{solo}{}% |
|
|
|
|
|
}% |
|
|
}% |
|
|
\newcommand*{\Pattern}{% |
|
|
\newcommand*{\Pattern}{% |
|
|
\iflanguage{english}{pattern}{}% |
|
|
\patternname% |
|
|
\iflanguage{french}{motif}{}% |
|
|
|
|
|
}% |
|
|
}% |
|
|
\newcommand*{\Rythm}{% |
|
|
\newcommand*{\Rythm}{% |
|
|
\iflanguage{english}{rythm}{}% |
|
|
\rythmname% |
|
|
\iflanguage{french}{rythme}{}% |
|
|
|
|
|
}% |
|
|
}% |
|
|
\newcommand*{\Adlib}{% |
|
|
\newcommand*{\Adlib}{% |
|
|
\emph{ad~lib.}% |
|
|
\emph{ad~lib.}% |
|
@ -558,8 +613,7 @@ |
|
|
\newcommand{\transposition}[1]{% |
|
|
\newcommand{\transposition}[1]{% |
|
|
\ifnorepeatchords% |
|
|
\ifnorepeatchords% |
|
|
\musicnote{% |
|
|
\musicnote{% |
|
|
\iflanguage{english}{transposition:~}{}% |
|
|
\transpositionname~ |
|
|
\iflanguage{french}{transposition~:~}{}% |
|
|
|
|
|
\ifthenelse{#1>0}{#1$\Uparrow$}{\removefirstch@r#1$\Downarrow$}% |
|
|
\ifthenelse{#1>0}{#1$\Uparrow$}{\removefirstch@r#1$\Downarrow$}% |
|
|
}% |
|
|
}% |
|
|
\else% |
|
|
\else% |
|
|