%% 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/content_datadir/latex/} % {/home/louis/projets/patacrep/patacrep/test/test_compilation/latex/} % {/home/louis/projets/patacrep/patacrep/patacrep/data/latex/} % } \makeatother \documentclass[ ]{article} \usepackage[ chorded, diagram, pictures, guitar, ]{patacrep} \usepackage{lmodern} \PassOptionsToPackage{english}{babel} \PassOptionsToPackage{english}{babel} \usepackage[english]{babel} \lang{english} \usepackage{graphicx} \graphicspath{ % {/home/louis/projets/patacrep/patacrep/test/test_compilation/content_datadir/} % {/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}{content_title} \newauthorindex{authidx}{content_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} \section{Test of section} \begin{songs}{titleidx,authidx} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% songs/./song.tsg \import{/home/louis/projets/patacrep/patacrep/test/test_compilation/content_datadir/songs/}{song.tsg} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% songs/./song.csg \selectlanguage{english} \beginsong{This is a song}[ by={ }, ] \begin{verse} Foo \end{verse} \endsong \end{songs} \songsection{Test of song section} \begin{songs}{titleidx,authidx} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% content_datadir/content/song.csg \selectlanguage{english} \beginsong{Yet another song}[ by={ }, ] \begin{verse} Baz \end{verse} \endsong %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% content_datadir/content/song.tsg \import{/home/louis/projets/patacrep/patacrep/test/test_compilation/content_datadir/content/}{song.tsg} \end{songs} \input{content_datadir/content/foo.tex} \section{This is an included section} \end{document}