From: Victor Wagner Date: Mon, 28 Sep 2015 20:48:04 +0000 (+0300) Subject: Добавлена обложка X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=0800206029de203ba9c0a09bacc9a0044a6fcffb;p=fiction%2Fjasmina.git Добавлена обложка --- diff --git a/Makefile b/Makefile index dbd3980..e9bfc4b 100644 --- a/Makefile +++ b/Makefile @@ -11,24 +11,26 @@ 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 -s all.mdwn -o jasmina.epub +jasmina.epub: all.mdwn jasmina-title.jpg + pandoc -t epub -s all.mdwn -o jasmina.epub --epub-cover-image=jasmina-title.jpg jasmina.fb2.zip: jasmina.fb2 zip $@ $+ annotation.html: annotation.txt pandoc -o annotation.html annotation.txt -jasmina.fb2: all.mdwn annotation.html Makefile +jasmina.fb2: all.mdwn annotation.html jasmina-title.jpg Makefile pandoc -t fb2 -V language=ru all.mdwn -o jasmina.fb2 sed -i 's!.*!!' $@ sed -i 's!\(.*\)\(.*\)!\2\1!' $@ sed -i 's!!ru!' $@ + sed -i 's!!!' $@ sed -i 's!!sf_history!' $@ sed -i "s!!`cat annotation.html|tr -d '\n'`!" $@ sed -i "s!!`date +%Y`!" $@ sed -i "s!!`date +%Y`!" $@ 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 diff --git a/jasmina-title.jpg b/jasmina-title.jpg new file mode 100644 index 0000000..f2a03bb Binary files /dev/null and b/jasmina-title.jpg differ