X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=Makefile;h=a73fdb59a5ac0272c12f5bff43f2ee47b6990e55;hb=9390791c80de4abb4ea2dc03c69f9aade7b4928d;hp=46361f6d5448bd364d639b4d019040fc5db2b733;hpb=3bd14a6a30b068bcf216dc789999d081536bc24b;p=fiction%2Fjasmina.git
diff --git a/Makefile b/Makefile
index 46361f6..a73fdb5 100644
--- a/Makefile
+++ b/Makefile
@@ -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: jasmina.tex all.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 's! ---!~---!g' all.tex
+ 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