\documentclass[a4paper,twoside,openany,10pt,swedish]{book}
%\documentclass[a4paper,twoside,openany,10pt,swedish,draft]{book}
% beskärs 20mm ner från överkanten till storlek H 270, B 190,

\usepackage[swedish]{babel}
\usepackage[utf8]{inputenc}
%\usepackage{bookman}
\usepackage{graphicx}
\usepackage{verbatim}
\usepackage[T1]{tipa}
\usepackage{array}
%\usepackage{mathabx}
\usepackage{url}
\selectlanguage{swedish}

\newcommand{\betweenLilyPondSystem}[1]{\\[5mm]}
\newcommand{\TI}[0]{\textprimstress}
\newcommand{\TB}[0]{\begin{tabular}{@{}p{44mm}p{50mm}p{52mm}@{}}}
\newcommand{\IN}[0]{\makebox[3mm]{ }}
\usepackage{fancyhdr}
%\renewcommand{\sectionmark}[1]{\markboth{#1}}
\lhead[\rightmark]{\leftmark}
\chead[]{}
\rhead[\leftmark]{\rightmark}
\lfoot[]{}
\cfoot[\thepage]{\thepage}
\rfoot[]{}
\renewcommand{\headrulewidth}{0pt}
\raggedbottom
\setlength{\headheight}{13pt}

% add 10mm to be cut off after printing
\setlength{\paperheight}{280mm}
\setlength{\topmargin}{5mm}

% fill upp to 210 (A4) and ajdust for cutting
\setlength{\paperwidth}{210mm}
\setlength{\oddsidemargin}{-15mm}
\setlength{\evensidemargin}{15mm}

%\setlength{\headsep}{3mm}
%\setlength{\footskip}{-5mm}

\setlength{\textwidth}{155mm}
%\setlength{\parindent}{0mm}
%\setlength{\parskip}{1ex plus0.5ex minus0.2ex}
%\setlength{\unitlength}{1mm}

\newcommand{\antiqua}[1]{{\fontencoding{T1}\fontfamily{zaq}\selectfont #1}}
\newcommand{\latin}[1]{\emph{#1}}

\newcommand{\person}[1]{\textbf{#1}}
\newcommand{\LYIND}{\noindent}
\newcommand{\NEWP}{\pagestyle{plain}\makebox[1mm]{}\newpage\pagestyle{fancy}}
%\newcommand{\LYIND}{\hspace{10mm}}
\newcommand{\ind}{\makebox[3mm]{}}
\newcommand{\AST}{\raisebox{.2ex}{$\ast$}}
\newcommand{\life}[2]{(#1---#2)}
\newcommand{\Life}[2]{(\AST #1, \dag #2)}

\newcommand{\hdr}{Rubriktext}
\newcommand{\composer}{kompositoer}
\newcommand{\writer}{foerfattare}
\newcommand{\piece}[2]{% song title, composer / text writer
  \section*{#1\markboth{#1}{#2}}%
  \addcontentsline{toc}{section}{#1 (#2)}%
}
\newcommand{\Piece}[2]{% song title, composer / text writer
  \section*{\label{#2}#1\markboth{#1}{}}%
  \addcontentsline{toc}{section}{#1}%
}

\newcommand{\lis}[4]{%
\makebox[5mm][r]{#1}%
\makebox[3mm][l]{ }%
\makebox[45mm][l]{\antiqua{#2}}%
\makebox[50mm][l]{\textipa{#3}}%
\makebox[40mm][l]{#4}%
}
\begin{document}
\pagestyle{empty}
\setcounter{page}{1}
\pagestyle{empty}
\begin{centering}
\makebox[5mm]{ }
%\vspace{20mm}
%{\Huge\bfseries Stabat Mater\\[1ex]}
\mbox{}\vfill
\fontencoding{T1}\fontfamily{zaq}
%\fontsize{4mm}{5mm}\selectfont
%Motette á 8\\
\fontsize{9mm}{10mm}\selectfont
Stabat Mater\\[3mm]
%\fontsize{4mm}{7mm}\selectfont
%av\\[3mm]
\includegraphics[width=100mm]{Gotland-Laerbro_kyrka_Bemaltes_Wandmalerei_03.eps}\\
\fontsize{6mm}{8mm}\selectfont
Giovanni Pierluigi da\\
\fontsize{9mm}{12mm}\selectfont
Palestrina\\
\vfill
\vfill
\end{centering}

\newpage
\lhead[\rightmark]{Stabat Mater}
\chead[Palestrina]{Palestrina}
\rhead[Stabat Mater]{\rightmark}
\pagestyle{fancy}

\input{Stabat_Mater_text.tex}

\newpage
\markright{Cantus Chorus I.}
\LYIND\input{Stabat_Mater_a8_a-systems.tex}

\newpage
\markright{Altus Chorus I.}
\LYIND\input{Stabat_Mater_a8_b-systems.tex}

\newpage
\markright{Tenor Chorus I.}
\LYIND\input{Stabat_Mater_a8_c-systems.tex}

\newpage
\markright{Bassus Chorus I.}
\LYIND\input{Stabat_Mater_a8_d-systems.tex}

\newpage
\markright{Cantus Chorus II.}
\LYIND\input{Stabat_Mater_a8_A-systems.tex}

\newpage
\markright{Altus Chorus II.}
\LYIND\input{Stabat_Mater_a8_B-systems.tex}

\newpage
\markright{Tenor Chorus II.}
\LYIND\input{Stabat_Mater_a8_C-systems.tex}

\newpage
\markright{Bassus Chorus II.}
\LYIND\input{Stabat_Mater_a8_D-systems.tex}

%\newpage
%\markright{Körpartitur, sammanslagna stämmor}
%\LYIND\input{Stabat_Mater_a8s-systems.tex}

\newpage
\markright{Körpartitur}
\LYIND\input{Stabat_Mater_a8-systems.tex}

\newpage
\markboth{}{}

\section*{Biografi}
\vspace{-1mm}

\input{Stabat_Mater_end.tex}

\newpage
\pagestyle{empty}
\makebox[5mm]{ }
\newpage
\makebox[5mm]{ }

\newpage
%\thispagestyle{empty}
\makebox[5mm]{ }

\vspace{190mm}

\begin{centering}
Aspö Data\\
2017\\
\end{centering}

\end{document}
