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.
198 lines
2.9 KiB
198 lines
2.9 KiB
9 years ago
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
%% Automatically generated document.
|
||
|
%% You may edit this file but all changes will be overwritten.
|
||
|
%% If you want to change this document, have a look at
|
||
|
%% the templating system.
|
||
|
%%
|
||
|
%% Generated using Songbook <http://www.patacrep.com>
|
||
|
|
||
|
\makeatletter
|
||
|
\def\input@path{ %
|
||
9 years ago
|
{@TEST_FOLDER@/languages_datadir/templates/styles/} %
|
||
|
{@TEST_FOLDER@/templates/styles/} %
|
||
|
{@DATA_FOLDER@/templates/styles/} %
|
||
9 years ago
|
}
|
||
|
\makeatother
|
||
|
|
||
|
\documentclass[
|
||
|
]{article}
|
||
|
|
||
|
\usepackage[
|
||
9 years ago
|
chorded,
|
||
9 years ago
|
pictures,
|
||
9 years ago
|
repeatchords,
|
||
|
importantdiagramonly,
|
||
9 years ago
|
diagrampage,
|
||
9 years ago
|
guitar,
|
||
|
]{patacrep}
|
||
|
|
||
|
\usepackage{lmodern}
|
||
|
|
||
|
|
||
|
\PassOptionsToPackage{english}{babel}
|
||
|
\PassOptionsToPackage{spanish}{babel}
|
||
|
\PassOptionsToPackage{french}{babel}
|
||
|
\PassOptionsToPackage{english}{babel}
|
||
|
\usepackage[english]{babel}
|
||
|
\lang{english}
|
||
|
|
||
|
\usepackage{graphicx}
|
||
|
\graphicspath{ %
|
||
9 years ago
|
{@TEST_FOLDER@/languages_datadir/} %
|
||
|
{@TEST_FOLDER@/} %
|
||
|
{@DATA_FOLDER@/} %
|
||
9 years ago
|
}
|
||
|
|
||
|
|
||
|
\makeatletter
|
||
|
\@ifpackageloaded{hyperref}{}{
|
||
|
\usepackage{url}
|
||
|
\newcommand{\phantomsection}{}
|
||
|
\newcommand{\hyperlink}[2]{#2}
|
||
|
\newcommand{\href}[2]{\expandafter\url\expandafter{#1}}
|
||
|
}
|
||
|
\makeatother
|
||
|
|
||
|
|
||
|
\usepackage{chords}
|
||
|
|
||
|
\title{Guitar songbook}
|
||
|
\author{The Patacrep Team}
|
||
|
|
||
|
\newindex{titleidx}{languages_title}
|
||
|
\newauthorindex{authidx}{languages_auth}
|
||
|
|
||
9 years ago
|
\authignoreword{unknown}
|
||
|
\authbyword{by}
|
||
|
\authsepword{and}
|
||
9 years ago
|
|
||
|
\notenamesout{A}{B}{C}{D}{E}{F}{G}
|
||
|
|
||
|
|
||
|
\begin{document}
|
||
|
|
||
|
\maketitle
|
||
|
|
||
|
|
||
|
\showindex{\songindexname}{titleidx}
|
||
|
\showindex{\authorindexname}{authidx}
|
||
|
|
||
|
% list of chords
|
||
9 years ago
|
\ifdiagrampage
|
||
|
\phantomsection
|
||
|
\addcontentsline{toc}{section}{\chordlistname}
|
||
|
\chords
|
||
9 years ago
|
\fi
|
||
9 years ago
|
\setcounter{songnum}{1}%
|
||
9 years ago
|
|
||
|
\phantomsection
|
||
|
\addcontentsline{toc}{section}{\songlistname}
|
||
|
|
||
|
\begin{songs}{titleidx,authidx}
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
9 years ago
|
%% songs/./language.csg
|
||
9 years ago
|
|
||
|
\selectlanguage{english}
|
||
|
|
||
|
\beginsong{Language only}[
|
||
|
by={
|
||
|
},
|
||
|
]
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
\begin{verse}
|
||
|
Foo
|
||
|
\end{verse}
|
||
|
|
||
|
\endsong
|
||
|
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
9 years ago
|
%% songs/./language_location.csg
|
||
9 years ago
|
|
||
|
\selectlanguage{french}
|
||
|
|
||
|
\beginsong{Full language specification}[
|
||
|
by={
|
||
|
},
|
||
|
]
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
\begin{verse}
|
||
|
Foo
|
||
|
\end{verse}
|
||
|
|
||
|
\endsong
|
||
|
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
9 years ago
|
%% songs/./no_language.csg
|
||
9 years ago
|
|
||
|
\selectlanguage{english}
|
||
|
|
||
|
\beginsong{No language}[
|
||
|
by={
|
||
|
},
|
||
|
]
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
\begin{verse}
|
||
|
Foo
|
||
|
\end{verse}
|
||
|
|
||
|
\endsong
|
||
|
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
9 years ago
|
%% songs/./wrong_language.csg
|
||
9 years ago
|
|
||
|
\selectlanguage{english}
|
||
|
|
||
|
\beginsong{Wrong language}[
|
||
|
by={
|
||
|
},
|
||
|
]
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
\begin{verse}
|
||
|
Foo
|
||
|
\end{verse}
|
||
|
|
||
|
\endsong
|
||
|
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
9 years ago
|
%% songs/./wrong_location.csg
|
||
9 years ago
|
|
||
|
\selectlanguage{spanish}
|
||
|
|
||
|
\beginsong{Wrong location}[
|
||
|
by={
|
||
|
},
|
||
|
]
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
\begin{verse}
|
||
|
Foo
|
||
|
\end{verse}
|
||
|
|
||
|
\endsong
|
||
|
|
||
|
\end{songs}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
9 years ago
|
\end{document}
|