|
From: | Stefan Thomas |
Subject: | strange output with lilypond book |
Date: | Fri, 18 Jan 2013 22:56:18 +0100 |
\documentclass[a4paper,12pt]{article}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[paper=a4paper,left=20mm,right=20mm,top=25mm,bottom=25mm]{geometry}
\input{./semester.tex}
\author{Myself}
\title{Examination \Semester }
\date{ \Datummontag }
\begin{document}
\maketitle
\begin{flushright}
Name, Vorname:
\end{flushright}
\textbf{First exercise:}
\begin{lilypond}
\relative { c d e f g2 e g 4 f e d e2 c }
\end{lilypond}
\end{document}
\newcommand{\Semester}{Wintersemester 2012/2013}
\newcommand{\Datummontag}{31.1.2012}
#!/bin/bash
TEMP_DIR=temp
CURRENT_DIR=$(pwd)
lilypond-book --pdf \
--include="$CURRENT_DIR"\
--include=/home/stefan/partituren/lilyponds/vorlagen/\
--output="$TEMP_DIR" \
"$1".tex && \
(cd "$TEMP_DIR" && \
pdflatex "$1".tex && \
mv "$1".pdf ..) && \
rm -rf "$TEMP_DIR"
[Prev in Thread] | Current Thread | [Next in Thread] |