X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=Makefile;h=a73fdb59a5ac0272c12f5bff43f2ee47b6990e55;hb=9390791c80de4abb4ea2dc03c69f9aade7b4928d;hp=601ba20afc76329ddeb14e26071b846090e9dc4d;hpb=9756a7a1248cf7bddcaf7175793f6ee837ab83d7;p=fiction%2Fjasmina.git
diff --git a/Makefile b/Makefile
index 601ba20..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 jasmuna.fb2.zip
+all: jasmina.html jasmina.epub jasmina.fb2.zip
fb2: jasmina.fb2.zip
pdf: jasmina.pdf
@@ -31,12 +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
- cp preamble.tex jasmina.tex
- pdflatex jasmina.tex
- pdflatex jasmina.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