diff options
Diffstat (limited to 'templates/song.tex.erb')
-rw-r--r-- | templates/song.tex.erb | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/templates/song.tex.erb b/templates/song.tex.erb index 1e98547..7cf5fe6 100644 --- a/templates/song.tex.erb +++ b/templates/song.tex.erb @@ -2,23 +2,13 @@ \usepackage{graphicx} \usepackage{alltt} -\title{<%= song.title %>} -\date{} +\newcommand{\tyt}[1]{\section{#1}} +\setcounter{secnumdepth}{0} \begin{document} -\maketitle +\pagenumbering{gobble} -\begin{alltt} \rmfamily -<%= song.lyrics %> -\end{alltt} - -<%- p "tmp sheet file: #{tmp(song_sheet_pdf song.id)}" -%> -<%- if File.file? tmp(song_sheet_pdf song.id) -%> -\begin{figure} - \centering - \includegraphics[width=\textwidth]{<%= tmp(song_sheet_pdf song.id) %>} -\end{figure} -<%- end -%> +\input{<%= tmp(song_partial_tex song.id) %>} \end{document} |