%% 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 \makeatletter \def\input@path{ % {/home/louis/projets/patacrep/patacrep/test/test_compilation/subdir_datadir/latex/} % {/home/louis/projets/patacrep/patacrep/test/test_compilation/subdir_datadir2/latex/} % {/home/louis/projets/patacrep/patacrep/test/test_compilation/latex/} % {/home/louis/projets/patacrep/patacrep/patacrep/data/latex/} % } \makeatother \documentclass[ ]{article} \usepackage[ chorded, lilypond, pictures, guitar, ]{patacrep} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \PassOptionsToPackage{english}{babel} \PassOptionsToPackage{french}{babel} \usepackage[english]{babel} \lang{english} \usepackage{graphicx} \graphicspath{ % {/home/louis/projets/patacrep/patacrep/test/test_compilation/subdir_datadir/} % {/home/louis/projets/patacrep/patacrep/test/test_compilation/subdir_datadir2/} % {/home/louis/projets/patacrep/patacrep/test/test_compilation/} % {/home/louis/projets/patacrep/patacrep/patacrep/data/} % } \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}{subdir_title} \newauthorindex{authidx}{subdir_auth} \notenamesout{A}{B}{C}{D}{E}{F}{G} \begin{document} \maketitle \showindex{\songindexname}{titleidx} \showindex{\authorindexname}{authidx} % list of chords \ifchorded \ifdiagram \phantomsection \addcontentsline{toc}{section}{\chordlistname} \chords \fi \fi \phantomsection \addcontentsline{toc}{section}{\songlistname} \begin{songs}{titleidx,authidx} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% songs/./datadir.sg \import{subdir_datadir/songs/}{datadir.sg} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% songs/./datadir.sgc \selectlanguage{english} \beginsong{Image included from datadir\\ Chordpro}[ by={ }, cov={img/datadir.png}, ] \cover \lilypond{scores/datadir.ly} \image{img/datadir.png} \endsong %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% songs/./datadir2.sg \import{subdir_datadir/songs/}{datadir2.sg} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% songs/./datadir2.sgc \selectlanguage{french} \beginsong{Image included from a different datadir\\ Chordpro}[ by={ }, cov={img/datadir2.png}, ] \cover \lilypond{scores/datadir2.ly} \image{img/datadir2.png} \endsong %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% songs/./relative.sg \import{subdir_datadir/songs/}{relative.sg} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% songs/./relative.sgc \selectlanguage{french} \beginsong{Image included from song directory\\ Chordpro}[ by={ }, cov={/home/louis/projets/patacrep/patacrep/test/test_compilation/subdir_datadir/songs/relative.png}, ] \cover \lilypond{/home/louis/projets/patacrep/patacrep/test/test_compilation/subdir_datadir/songs/relative.ly} \image{/home/louis/projets/patacrep/patacrep/test/test_compilation/subdir_datadir/songs/relative.png} \endsong \end{songs} \end{document}