mirror of https://github.com/patacrep/patacrep.git
Louis
9 years ago
12 changed files with 299 additions and 57 deletions
@ -1,2 +1,2 @@ |
|||
/*tex |
|||
**.tex |
|||
.cache |
|||
|
@ -0,0 +1,133 @@ |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
%% 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{ % |
|||
{@TEST_FOLDER@/onthefly/../content_datadir/latex/} % |
|||
{@LOCAL_DATA_FOLDER@/latex/} % |
|||
} |
|||
\makeatother |
|||
|
|||
\documentclass[ |
|||
]{article} |
|||
|
|||
\usepackage[ |
|||
chorded, |
|||
pictures, |
|||
diagram, |
|||
guitar, |
|||
]{patacrep} |
|||
|
|||
\usepackage{lmodern} |
|||
|
|||
|
|||
\PassOptionsToPackage{english}{babel} |
|||
\PassOptionsToPackage{english}{babel} |
|||
\usepackage[english]{babel} |
|||
\lang{english} |
|||
|
|||
\usepackage{graphicx} |
|||
\graphicspath{ % |
|||
{@TEST_FOLDER@/onthefly/../content_datadir/} % |
|||
{@LOCAL_DATA_FOLDER@/} % |
|||
} |
|||
|
|||
|
|||
\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.onthefly_title} |
|||
\newauthorindex{authidx}{content.onthefly_auth} |
|||
|
|||
\authignoreword{unknown} |
|||
\authbyword{by} |
|||
\authsepword{and} |
|||
|
|||
\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.csg |
|||
|
|||
\selectlanguage{english} |
|||
|
|||
\beginsong{This is a song}[ |
|||
by={ |
|||
}, |
|||
] |
|||
|
|||
|
|||
|
|||
|
|||
\begin{verse} |
|||
Foo |
|||
\end{verse} |
|||
|
|||
\endsong |
|||
|
|||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|||
%% songs/./song.tsg |
|||
|
|||
\import{@TEST_FOLDER@/content_datadir/songs/}{song.tsg} |
|||
|
|||
\end{songs} |
|||
|
|||
\songsection{Test of song section} |
|||
|
|||
|
|||
\input{@TEST_FOLDER@/content_datadir/content/foo.tex} |
|||
|
|||
|
|||
\section{This is an included section} |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
\end{document} |
@ -0,0 +1,19 @@ |
|||
book: |
|||
pictures: yes |
|||
datadir: content_datadir |
|||
lang: en |
|||
template: default.tex |
|||
chords: |
|||
repeatchords: no |
|||
diagramreminder: all |
|||
|
|||
content: |
|||
- section: Test of section |
|||
- sort: |
|||
- songsection: Test of song section |
|||
- cwd: |
|||
# relative to datadir 'song' dir |
|||
path: ../content |
|||
content: |
|||
- tex: foo.tex |
|||
- include: include.sbc |
Loading…
Reference in new issue