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.
211 lines
3.9 KiB
211 lines
3.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@/datadir_datadir/templates/styles/} %
|
||
|
{@TEST_FOLDER@/datadir_datadir2/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}
|
||
|
|
||
|
|
||
9 years ago
|
\PassOptionsToPackage{english}{babel}
|
||
9 years ago
|
\PassOptionsToPackage{english}{babel}
|
||
9 years ago
|
\usepackage[english]{babel}
|
||
|
\lang{english}
|
||
|
|
||
|
\usepackage{graphicx}
|
||
|
\graphicspath{ %
|
||
9 years ago
|
{@TEST_FOLDER@/datadir_datadir/} %
|
||
|
{@TEST_FOLDER@/datadir_datadir2/} %
|
||
9 years ago
|
{@TEST_FOLDER@/} %
|
||
9 years ago
|
{@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}
|
||
|
|
||
9 years ago
|
\newindex{titleidx}{datadir_title}
|
||
|
\newauthorindex{authidx}{datadir_auth}
|
||
9 years ago
|
|
||
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/./datadir.csg
|
||
9 years ago
|
|
||
|
\selectlanguage{english}
|
||
|
|
||
|
\beginsong{Image included from datadir\\
|
||
9 years ago
|
Chordpro}[
|
||
|
by={
|
||
|
},
|
||
9 years ago
|
cover={img/datadir.png},
|
||
9 years ago
|
]
|
||
|
|
||
|
\cover
|
||
|
|
||
|
|
||
|
|
||
9 years ago
|
\lilypond{scores/datadir.ly}
|
||
|
\image{img/datadir.png}
|
||
9 years ago
|
|
||
|
|
||
|
\endsong
|
||
|
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
9 years ago
|
%% songs/./datadir.tsg
|
||
9 years ago
|
|
||
9 years ago
|
\import{@TEST_FOLDER@/datadir_datadir/songs/}{datadir.tsg}
|
||
9 years ago
|
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
9 years ago
|
%% songs/./datadir2.csg
|
||
9 years ago
|
|
||
9 years ago
|
\selectlanguage{english}
|
||
9 years ago
|
|
||
9 years ago
|
\beginsong{Image included from a different datadir\\
|
||
9 years ago
|
Chordpro}[
|
||
|
by={
|
||
|
},
|
||
9 years ago
|
cover={img/datadir2.png},
|
||
9 years ago
|
]
|
||
|
|
||
|
\cover
|
||
|
|
||
|
|
||
|
|
||
9 years ago
|
\lilypond{scores/datadir2.ly}
|
||
|
\image{img/datadir2.png}
|
||
9 years ago
|
|
||
|
|
||
|
\endsong
|
||
|
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
9 years ago
|
%% songs/./datadir2.sg
|
||
9 years ago
|
|
||
9 years ago
|
\import{@TEST_FOLDER@/datadir_datadir/songs/}{datadir2.sg}
|
||
9 years ago
|
|
||
9 years ago
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
9 years ago
|
%% songs/./relative.csg
|
||
9 years ago
|
|
||
9 years ago
|
\selectlanguage{english}
|
||
9 years ago
|
|
||
|
\beginsong{Image included from song directory\\
|
||
9 years ago
|
Chordpro}[
|
||
|
by={
|
||
|
},
|
||
9 years ago
|
cover={@TEST_FOLDER@/datadir_datadir/songs/./relative.png},
|
||
9 years ago
|
]
|
||
|
|
||
|
\cover
|
||
|
|
||
|
|
||
|
|
||
9 years ago
|
\lilypond{@TEST_FOLDER@/datadir_datadir/songs/./relative.ly}
|
||
|
\image{@TEST_FOLDER@/datadir_datadir/songs/./relative.png}
|
||
9 years ago
|
|
||
|
|
||
9 years ago
|
\endsong
|
||
|
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
9 years ago
|
%% songs/./relative.tsg
|
||
9 years ago
|
|
||
9 years ago
|
\import{@TEST_FOLDER@/datadir_datadir/songs/}{relative.tsg}
|
||
9 years ago
|
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
9 years ago
|
%% songs/./subdir/subdir.csg
|
||
9 years ago
|
|
||
|
\selectlanguage{english}
|
||
|
|
||
|
\beginsong{Image included from a nested song directory\\
|
||
|
Chordpro}[
|
||
|
by={
|
||
|
},
|
||
9 years ago
|
cover={@TEST_FOLDER@/datadir_datadir/songs/./subdir/subdir.png},
|
||
9 years ago
|
]
|
||
|
|
||
|
\cover
|
||
|
|
||
|
|
||
|
|
||
|
\lilypond{@TEST_FOLDER@/datadir_datadir/songs/./subdir/subdir.ly}
|
||
|
\image{@TEST_FOLDER@/datadir_datadir/songs/./subdir/subdir.png}
|
||
9 years ago
|
|
||
|
|
||
|
\endsong
|
||
|
|
||
9 years ago
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
%% songs/./subdir/subdir.tsg
|
||
|
|
||
|
\import{@TEST_FOLDER@/datadir_datadir/songs/subdir/}{subdir.tsg}
|
||
|
|
||
9 years ago
|
\end{songs}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
9 years ago
|
\end{document}
|