mirror of https://github.com/patacrep/patacrep.git
Oliverpool
9 years ago
22 changed files with 505 additions and 21 deletions
@ -1 +1 @@ |
|||||
{image: (( content.argument|search_image ))} |
{image: "(( content.filename|search_image ))" ((content.size|render_size))} |
||||
|
@ -1,6 +1,6 @@ |
|||||
(* block image *) |
(* block image *) |
||||
(* set image = content.argument|search_image|path2posix *) |
(* set image = content.filename|search_image|path2posix *) |
||||
(* if image *) |
(* if image *) |
||||
\image{(( image ))} |
\image[(( content.size|render_size ))]{(( image ))} |
||||
(*- endif *) |
(*- endif *) |
||||
(*- endblock *) |
(*- endblock *) |
||||
|
@ -0,0 +1,131 @@ |
|||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
%% 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@/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} |
||||
|
|
||||
|
|
||||
|
\usepackage[ngerman]{babel} |
||||
|
\lang{ngerman} |
||||
|
|
||||
|
\usepackage{graphicx} |
||||
|
\graphicspath{ % |
||||
|
{@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{Guitar songbook} |
||||
|
\author{The Patacrep Team} |
||||
|
|
||||
|
\newindex{titleidx}{lang_de_title} |
||||
|
\newauthorindex{authidx}{lang_de_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{} |
||||
|
\mail{crep@team-on-fire.com} |
||||
|
\web{http://www.patacrep.com} |
||||
|
\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} |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
\end{document} |
@ -0,0 +1,5 @@ |
|||||
|
book: |
||||
|
lang: de |
||||
|
|
||||
|
content: |
||||
|
- sort: |
After Width: | Height: | Size: 178 KiB |
After Width: | Height: | Size: 178 KiB |
@ -0,0 +1,35 @@ |
|||||
|
{image: image.png} |
||||
|
{image: "image with spaces.png"} |
||||
|
|
||||
|
{image: image.png scale=2 } |
||||
|
{image: "image with spaces.png" scale=.20} |
||||
|
{image: image.png scale=1.2} |
||||
|
|
||||
|
{image: image.png width=2cm} |
||||
|
{image: "image with spaces.png" height=2cm} |
||||
|
{image: image.png width=2cm height=1cm} |
||||
|
|
||||
|
{image: image.png width=2em} |
||||
|
{image: "image with spaces.png" height=2em} |
||||
|
{image: image.png width=2em height=1em} |
||||
|
|
||||
|
{image: image.png width=50pt} |
||||
|
{image: "image with spaces.png" height=50pt} |
||||
|
{image: image.png width=50pt height=100pt} |
||||
|
|
||||
|
{image: image.png width=2.5cm} |
||||
|
{image: "image with spaces.png" height=2.5cm} |
||||
|
{image: image.png width=2.5cm height=1.5cm} |
||||
|
|
||||
|
{image: image.png width=3cm height=10pt} |
||||
|
{image: "image with spaces.png" width=10pt height=3cm} |
||||
|
|
||||
|
{image: image.png width= height=} |
||||
|
{image: image.png error=foo} |
||||
|
{image: "image with spaces.png" not_a_size} |
||||
|
{image: "image with spaces.png" too many arguments} |
||||
|
{image: image.png width=2ex height=3km} |
||||
|
{image: image.png width=2cm width=3cm} |
||||
|
{image: image.png width=2cm scale=3cm} |
||||
|
{image: image.png width=2cm scale=3} |
||||
|
{image: } |
@ -0,0 +1,44 @@ |
|||||
|
{lang: en} |
||||
|
|
||||
|
{image: "image.png" } |
||||
|
{image: "image with spaces.png" } |
||||
|
|
||||
|
|
||||
|
{image: "image.png" scale=2} |
||||
|
{image: "image with spaces.png" scale=.20} |
||||
|
{image: "image.png" scale=1.2} |
||||
|
|
||||
|
|
||||
|
{image: "image.png" width=2cm} |
||||
|
{image: "image with spaces.png" height=2cm} |
||||
|
{image: "image.png" width=2cm height=1cm} |
||||
|
|
||||
|
|
||||
|
{image: "image.png" width=2em} |
||||
|
{image: "image with spaces.png" height=2em} |
||||
|
{image: "image.png" width=2em height=1em} |
||||
|
|
||||
|
|
||||
|
{image: "image.png" width=50pt} |
||||
|
{image: "image with spaces.png" height=50pt} |
||||
|
{image: "image.png" width=50pt height=100pt} |
||||
|
|
||||
|
|
||||
|
{image: "image.png" width=2.5cm} |
||||
|
{image: "image with spaces.png" height=2.5cm} |
||||
|
{image: "image.png" width=2.5cm height=1.5cm} |
||||
|
|
||||
|
|
||||
|
{image: "image.png" width=3cm height=10pt} |
||||
|
{image: "image with spaces.png" width=10pt height=3cm} |
||||
|
|
||||
|
|
||||
|
{image: "image.png" } |
||||
|
{image: "image.png" } |
||||
|
{image: "image with spaces.png" } |
||||
|
{image: "image with spaces.png" } |
||||
|
{image: "image.png" } |
||||
|
{image: "image.png" width=2cm} |
||||
|
{image: "image.png" width=2cm} |
||||
|
{image: "image.png" width=2cm} |
||||
|
|
@ -0,0 +1,35 @@ |
|||||
|
{image: image.png} |
||||
|
{image: "image with spaces.png"} |
||||
|
|
||||
|
{image: image.png scale=2 } |
||||
|
{image: "image with spaces.png" scale=.20} |
||||
|
{image: image.png scale=1.2} |
||||
|
|
||||
|
{image: image.png width=2cm} |
||||
|
{image: "image with spaces.png" height=2cm} |
||||
|
{image: image.png width=2cm height=1cm} |
||||
|
|
||||
|
{image: image.png width=2em} |
||||
|
{image: "image with spaces.png" height=2em} |
||||
|
{image: image.png width=2em height=1em} |
||||
|
|
||||
|
{image: image.png width=50pt} |
||||
|
{image: "image with spaces.png" height=50pt} |
||||
|
{image: image.png width=50pt height=100pt} |
||||
|
|
||||
|
{image: image.png width=2.5cm} |
||||
|
{image: "image with spaces.png" height=2.5cm} |
||||
|
{image: image.png width=2.5cm height=1.5cm} |
||||
|
|
||||
|
{image: image.png width=3cm height=10pt} |
||||
|
{image: "image with spaces.png" width=10pt height=3cm} |
||||
|
|
||||
|
{image: image.png width= height=} |
||||
|
{image: image.png error=foo} |
||||
|
{image: "image with spaces.png" not_a_size} |
||||
|
{image: "image with spaces.png" too many arguments} |
||||
|
{image: image.png width=2ex height=3km} |
||||
|
{image: image.png width=2cm width=3cm} |
||||
|
{image: image.png width=2cm scale=3cm} |
||||
|
{image: image.png width=2cm scale=3} |
||||
|
{image: } |
@ -0,0 +1,59 @@ |
|||||
|
\selectlanguage{english} |
||||
|
|
||||
|
\beginsong{}[ |
||||
|
by={ |
||||
|
}, |
||||
|
] |
||||
|
|
||||
|
|
||||
|
\image[]{img/image.png} |
||||
|
\image[]{img/image with spaces.png} |
||||
|
|
||||
|
|
||||
|
|
||||
|
\image[scale=2]{img/image.png} |
||||
|
\image[scale=.20]{img/image with spaces.png} |
||||
|
\image[scale=1.2]{img/image.png} |
||||
|
|
||||
|
|
||||
|
|
||||
|
\image[width=2cm]{img/image.png} |
||||
|
\image[height=2cm]{img/image with spaces.png} |
||||
|
\image[width=2cm, height=1cm]{img/image.png} |
||||
|
|
||||
|
|
||||
|
|
||||
|
\image[width=2em]{img/image.png} |
||||
|
\image[height=2em]{img/image with spaces.png} |
||||
|
\image[width=2em, height=1em]{img/image.png} |
||||
|
|
||||
|
|
||||
|
|
||||
|
\image[width=50pt]{img/image.png} |
||||
|
\image[height=50pt]{img/image with spaces.png} |
||||
|
\image[width=50pt, height=100pt]{img/image.png} |
||||
|
|
||||
|
|
||||
|
|
||||
|
\image[width=2.5cm]{img/image.png} |
||||
|
\image[height=2.5cm]{img/image with spaces.png} |
||||
|
\image[width=2.5cm, height=1.5cm]{img/image.png} |
||||
|
|
||||
|
|
||||
|
|
||||
|
\image[width=3cm, height=10pt]{img/image.png} |
||||
|
\image[width=10pt, height=3cm]{img/image with spaces.png} |
||||
|
|
||||
|
|
||||
|
|
||||
|
\image[]{img/image.png} |
||||
|
\image[]{img/image.png} |
||||
|
\image[]{img/image with spaces.png} |
||||
|
\image[]{img/image with spaces.png} |
||||
|
\image[]{img/image.png} |
||||
|
\image[width=2cm]{img/image.png} |
||||
|
\image[width=2cm]{img/image.png} |
||||
|
\image[width=2cm]{img/image.png} |
||||
|
|
||||
|
|
||||
|
\endsong |
Loading…
Reference in new issue