sed -i 's!<document-info>!<document-info><author><first-name>Виктор</first-name><last-name>Вагнер</last-name></author>!' $@
sed -i 's!</document-info>!<src-url>${SRC_URL}</src-url><id>${ID}</id><version>${VERSION}</version></document-info>!' $@
sed -i "s!</FictionBook>!<binary id='cover' content-type='image/jpeg'>`base64 -w 0 jasmina-title.jpg`</binary></FictionBook>!" $@
-jasmina.pdf: jasmina.tex all.tex cover3.png
+jasmina.pdf: jasmina.tex all.tex jasmina-title.jpg
xelatex jasmina.tex
xelatex jasmina.tex
all.tex: all.mdwn
\hyphenation{без-бож-ни-ков не-с-коль-ких Яс-ми-не}
\begin{document}
\begin{titlepage}
-\includegraphics[width=\textwidth]{cover3.png}
+\includegraphics[width=\textwidth]{jasmina-title.jpg}
\end{titlepage}
\tableofcontents
\sloppy