mirror of https://github.com/patacrep/patacrep.git
Louis
9 years ago
18 changed files with 376 additions and 37 deletions
After Width: | Height: | Size: 1.7 KiB |
@ -1 +1 @@ |
|||||
(( content.value )) |
(( content.value|escape_specials('{}\\#') )) |
||||
|
@ -1 +1 @@ |
|||||
(( content.value )) |
(( content.value|escape_specials('{}&#_^%~$\\') )) |
||||
|
@ -0,0 +1,162 @@ |
|||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
%% 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@/special_datadir/templates/styles/} % |
||||
|
{@TEST_FOLDER@/templates/styles/} % |
||||
|
{@DATA_FOLDER@/templates/styles/} % |
||||
|
} |
||||
|
\makeatother |
||||
|
|
||||
|
\documentclass[ |
||||
|
]{article} |
||||
|
|
||||
|
\usepackage[ |
||||
|
chorded, |
||||
|
pictures, |
||||
|
repeatchords, |
||||
|
importantdiagramonly, |
||||
|
diagrampage, |
||||
|
guitar, |
||||
|
]{crepbook} |
||||
|
|
||||
|
\usepackage[ |
||||
|
a4paper % paper size |
||||
|
,includeheadfoot % include header and footer into text size |
||||
|
,hmarginratio=1:1 % ratio between inner and outer margin (default) |
||||
|
,outer=1.8cm % outer margin (right) |
||||
|
,vmarginratio=1:1 % ratio between top and bottom margin |
||||
|
,bmargin=1.3cm % bottom margin |
||||
|
]{geometry} |
||||
|
|
||||
|
\usepackage{lmodern} |
||||
|
|
||||
|
|
||||
|
\PassOptionsToPackage{english}{babel} |
||||
|
\usepackage[english]{babel} |
||||
|
\lang{english} |
||||
|
|
||||
|
\usepackage{graphicx} |
||||
|
\graphicspath{ % |
||||
|
{@TEST_FOLDER@/special_datadir/} % |
||||
|
{@TEST_FOLDER@/} % |
||||
|
{@DATA_FOLDER@/} % |
||||
|
} |
||||
|
|
||||
|
|
||||
|
\makeatletter |
||||
|
\@ifpackageloaded{hyperref}{}{ |
||||
|
\usepackage{url} |
||||
|
\newcommand{\phantomsection}{} |
||||
|
\newcommand{\hyperlink}[2]{#2} |
||||
|
\newcommand{\href}[2]{\expandafter\url\expandafter{#1}} |
||||
|
} |
||||
|
\makeatother |
||||
|
|
||||
|
|
||||
|
\usepackage{chords} |
||||
|
|
||||
|
\title{\& \% \$ \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{}} |
||||
|
\author{\& \% \$ \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{}} |
||||
|
|
||||
|
\newindex{titleidx}{special_title} |
||||
|
\newauthorindex{authidx}{special_auth} |
||||
|
|
||||
|
\authignoreword{unknown} |
||||
|
\authbyword{by} |
||||
|
\authsepword{and} |
||||
|
|
||||
|
\notenamesout{A}{B}{C}{D}{E}{F}{G} |
||||
|
|
||||
|
|
||||
|
\pagestyle{empty}\definecolor{SongNumberBgColor}{HTML}{D1E4AE} |
||||
|
\definecolor{NoteBgColor}{HTML}{D1E4AE} |
||||
|
\definecolor{IndexBgColor}{HTML}{D1E4AE} |
||||
|
|
||||
|
\renewcommand{\snumbgcolor}{SongNumberBgColor} |
||||
|
\renewcommand{\notebgcolor}{NoteBgColor} |
||||
|
\renewcommand{\idxbgcolor}{IndexBgColor} |
||||
|
|
||||
|
\definecolor{tango-green-3}{HTML}{4e9a06} |
||||
|
\definecolor{tango-blue-3}{HTML}{204a87} |
||||
|
\usepackage[ |
||||
|
bookmarks, |
||||
|
bookmarksopen, |
||||
|
hyperfigures=true, |
||||
|
colorlinks=true, |
||||
|
linkcolor=tango-green-3, |
||||
|
urlcolor=tango-blue-3 |
||||
|
]{hyperref} |
||||
|
|
||||
|
|
||||
|
\subtitle{\& \% \$ \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{}} |
||||
|
\mail{foo@\\\%\&$\#_~^\%20\%7B\%7D} |
||||
|
\web{http://\\\%\&$\#_~^\%20\%7B\%7D} |
||||
|
\picture{img/treble_a} |
||||
|
\picturecopyright{Dbolton \url{http://commons.wikimedia.org/wiki/User:Dbolton}} |
||||
|
\footer{Generated using Songbook (\url{http://www.patacrep.com})} |
||||
|
|
||||
|
|
||||
|
\begin{document} |
||||
|
|
||||
|
\maketitle |
||||
|
|
||||
|
|
||||
|
\showindex{\songindexname}{titleidx} |
||||
|
\showindex{\authorindexname}{authidx} |
||||
|
|
||||
|
% list of chords |
||||
|
\ifdiagrampage |
||||
|
\phantomsection |
||||
|
\addcontentsline{toc}{section}{\chordlistname} |
||||
|
\chords |
||||
|
\fi |
||||
|
\setcounter{songnum}{1}% |
||||
|
|
||||
|
\phantomsection |
||||
|
\addcontentsline{toc}{section}{\songlistname} |
||||
|
|
||||
|
\begin{songs}{titleidx,authidx} |
||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
||||
|
%% songs/./special.csg |
||||
|
|
||||
|
\selectlanguage{english} |
||||
|
|
||||
|
\beginsong{\& \$ \% \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{}}[ |
||||
|
by={ |
||||
|
\& \$ \% \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{} }, |
||||
|
album={\& \$ \% \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{}}, |
||||
|
url={http://&$\%\#_~^}, |
||||
|
] |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
\begin{verse} |
||||
|
\& \$ \% \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{} |
||||
|
\end{verse} |
||||
|
|
||||
|
|
||||
|
\begin{chorus} |
||||
|
\& \$ \% \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{} |
||||
|
\end{chorus} |
||||
|
|
||||
|
\endsong |
||||
|
|
||||
|
\end{songs} |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
\end{document} |
@ -0,0 +1,14 @@ |
|||||
|
book: |
||||
|
datadir: |
||||
|
- special_datadir |
||||
|
|
||||
|
template: |
||||
|
default.tex: |
||||
|
title: "& % $ # _ } { ~ ^ \\" |
||||
|
author: "& % $ # _ } { ~ ^ \\" |
||||
|
patacrep.tex: |
||||
|
subtitle: "& % $ # _ } { ~ ^ \\" |
||||
|
url: "http://\\%&$#_~^ {}" |
||||
|
email: "foo@\\%&$#_~^ {}" |
||||
|
picture: "img/treble_a" |
||||
|
|
@ -0,0 +1,10 @@ |
|||||
|
{title: & $ % # _ \} \{ ~ ^ \\} |
||||
|
{artist: & $ % # _ \} \{ ~ ^ \\} |
||||
|
{album: & $ % # _ \} \{ ~ ^ \\} |
||||
|
{url: http://&$%#_~^} |
||||
|
|
||||
|
& $ % \# _ \} \{ ~ ^ \\ |
||||
|
|
||||
|
{start_of_chorus} |
||||
|
& $ % \# _ \} \{ ~ ^ \\ |
||||
|
{end_of_chorus} |
@ -0,0 +1,13 @@ |
|||||
|
{lang: en} |
||||
|
{title: & $ % # _ \} \{ ~ ^ \\} |
||||
|
{artist: & $ % # _ \} \{ ~ ^ \\} |
||||
|
{album: & $ % # _ \} \{ ~ ^ \\} |
||||
|
{url: http://&$%#_~^} |
||||
|
|
||||
|
|
||||
|
& $ % \# _ \} \{ ~ ^ \\ |
||||
|
|
||||
|
|
||||
|
{start_of_chorus} |
||||
|
& $ % \# _ \} \{ ~ ^ \\ |
||||
|
{end_of_chorus} |
@ -0,0 +1,10 @@ |
|||||
|
{title: & $ % # _ \} \{ ~ ^ \\} |
||||
|
{artist: & $ % # _ \} \{ ~ ^ \\} |
||||
|
{album: & $ % # _ \} \{ ~ ^ \\} |
||||
|
{url: http://&$%#_~^} |
||||
|
|
||||
|
& $ % \# _ \} \{ ~ ^ \\ |
||||
|
|
||||
|
{start_of_chorus} |
||||
|
& $ % \# _ \} \{ ~ ^ \\ |
||||
|
{end_of_chorus} |
@ -0,0 +1,22 @@ |
|||||
|
\selectlanguage{english} |
||||
|
|
||||
|
\beginsong{\& \$ \% \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{}}[ |
||||
|
by={ |
||||
|
\& \$ \% \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{} }, |
||||
|
album={\& \$ \% \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{}}, |
||||
|
url={http://&$\%\#_~^}, |
||||
|
] |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
\begin{verse} |
||||
|
\& \$ \% \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{} |
||||
|
\end{verse} |
||||
|
|
||||
|
|
||||
|
\begin{chorus} |
||||
|
\& \$ \% \# \_ \} \{ \textasciitilde{} \textasciicircum{} \textbackslash{} |
||||
|
\end{chorus} |
||||
|
|
||||
|
\endsong |
Loading…
Reference in new issue