From 3493f41f422e038d28da3fbebe1b623a44d3e096 Mon Sep 17 00:00:00 2001 From: Victor Wagner Date: Mon, 27 Oct 2014 08:04:07 +0300 Subject: [PATCH] =?utf8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?utf8?q?=D0=BE=20=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=D0=BE=20=D0=B4?= =?utf8?q?=D0=BB=D1=8F=20=D0=B3=D0=B5=D0=BD=D0=B5=D1=80=D0=B0=D1=86=D0=B8?= =?utf8?q?=D0=B8=20pdf?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Makefile | 12 ++++++++++++ preamble.tex | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 preamble.tex diff --git a/Makefile b/Makefile index 794217c..16c68d0 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,20 @@ all: jasmina.html jasmina.epub +fb2: jasmina.fb2.zip +pdf: jasmina.pdf + all.mdwn: order.lst $(wildcard *.txt) for i in `cat order.lst`; do sed 's//*(Фрагмент недописан)*/' "$$i"; echo ""; done > $@ jasmina.html: all.mdwn pandoc -t html --toc -s all.mdwn -o jasmina.html jasmina.epub: all.mdwn pandoc -t epub all.mdwn -o jasmina.epub +jasmina.fb2.zip: jasmina.fb2 + zip $@ $+ +jasmina.fb2: all.mdwn + pandoc -t fb2 all.mdwn -o jasmina.fb2 +jasmina.pdf: preamble.tex all.tex + pdflatex preamble.tex + pdflatex preamble.tex +all.tex: all.mdwn + pandoc -o all.tex all.mdwn diff --git a/preamble.tex b/preamble.tex new file mode 100644 index 0000000..8dc8f26 --- /dev/null +++ b/preamble.tex @@ -0,0 +1,11 @@ +\documentclass[a5paper]{article} +\usepackage[utf8x]{inputenc} +\usepackage[russian]{babel} +\title{Рани Ясмина} +\author{В.Вагнер} +\begin{document} +\maketitle +\tableofcontents +\input all.tex +\end{document} + -- 2.39.5