blob: df9f36b6b95633ff84df98b46bd9300078a244cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
\documentclass[12pt,a5paper,titlepage,oneside]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[
type={CC},
modifier={by-sa},
version={4.0},
hyphenation={RaggedRight},
]{doclicense}
\setcounter{secnumdepth}{0}
\renewcommand*\rmdefault{ptm}
\begingroup
\makeatletter
\catcode13\active%
\gdef\verseinput#1#2{%
{%
\interlinepenalty\@M%
\def^^M{\@ifnextchar^^M\par{\ifhmode\break\fi}}%
\rightskip\fill%
\parindent\z@%
\parskip\baselineskip%
\raggedbottom%
\section{#2}%
\catcode13\active\input{#1}%
\par%
\newpage%
}}%
\endgroup%
\begin{document}
\frontmatter
\title{Varige mén, ingen smerte}}
\author{Harald Eilertsen}
\date{September, 2017}
\maketitle
\doclicenseThis
\newpage
\mainmatter
\verseinput{skapet.txt}{Hvor skal skapet stå?}
\verseinput{himmelskipet.txt}{Himmelskipet}
\verseinput{autokorrekt.txt}{Autokorrekt}
\verseinput{dommedag.txt}{Dommedag}
\verseinput{vingeslag.txt}{På kunstens øredøvende vingeslag}
\verseinput{zombier.txt}{Zombier}
\verseinput{erotisk.txt}{Rotgrønnsakserotikkpoesi}
\end{document}
|