X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=a73fdb59a5ac0272c12f5bff43f2ee47b6990e55;hb=9390791c80de4abb4ea2dc03c69f9aade7b4928d;hp=24dd0dd97e76723d74cb0f288755f0dfd5d1f2a9;hpb=c3ac8311e814770309d23ebf7d0ad62568f4bf3d;p=fiction%2Fjasmina.git
diff --git a/Makefile b/Makefile
index 24dd0dd..a73fdb5 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ SRC_URL=http://www.wagner.pp.ru/~vitus/fiction
ID=90860948-65dc-11e5-bd77-bc5ff453db06
VERSION=0.$(shell date +%s)
-all: jasmina.html jasmina.epub
+all: jasmina.html jasmina.epub jasmina.fb2.zip
fb2: jasmina.fb2.zip
pdf: jasmina.pdf
@@ -31,11 +31,13 @@ jasmina.fb2: all.mdwn annotation.html jasmina-title.jpg Makefile
sed -i 's!!ÐикÑоÑÐагнеÑ!' $@
sed -i 's!!${SRC_URL}${ID}${VERSION}!' $@
sed -i "s!!`base64 -w 0 jasmina-title.jpg`!" $@
-jasmina.pdf: preamble.tex all.tex
- pdflatex preamble.tex
- pdflatex preamble.tex
+jasmina.pdf: jasmina.tex all.tex jasmina-title.jpg
+ xelatex jasmina.tex
+ xelatex jasmina.tex
all.tex: all.mdwn
pandoc -o all.tex all.mdwn
+ sed -i -e 's! ---!~---!g' -e 's!\([а-Ñ]\)-\([Ð-Яа-Ñ]\)!\1"=\2!g' all.tex
+ sed -i -e 's!\\section{!\\part{!' -e 's!\\subsection{!\\chapter{!' all.tex
notes: all.mdwn
# List all the footnotes