Start abstract: compilation ok

This commit is contained in:
nemunaire 2014-08-23 12:51:14 +02:00
parent 844c9ffc9c
commit ce1fd13c79
3 changed files with 46 additions and 1 deletions

41
abstract/Makefile Normal file
View File

@ -0,0 +1,41 @@
DOCNAME = abstract
TARGET = abstract.pdf
RM ?= rm -f
MPP = perl -I../mpp ../mpp/mpp
MPPFLAGS =
PANDOC = pandoc
PANDOCFLAGS = --latex-engine=xelatex --listings --toc --no-tex-ligatures --normalize --chapters
BUTLER = perl -I../butler/src ../butler.pl
BUTLERFLAGS = --docname=${DOCNAME} --xml=../internship.xml
LATEX = xelatex
LATEXFLAGS = -halt-on-error -no-shell-escape
DEPS := ../internship.xml $(shell ${MPP} --list-includes ${TARGET:.pdf=.md})
all: ${TARGET}
assistant: MPPFLAGS += --assistant
assistant: all
clean:
${RM} ${TARGET}
${TARGET}: ${DEPS}
.md.mppmd:
${MPP} ${MPPFLAGS} $< > $@
.mppmd.maintex:
${PANDOC} ${PANDOCFLAGS} -t latex -o $@ $<
.maintex.tex:
${BUTLER} ${BUTLERFLAGS} --main=$< > $@
.tex.pdf:
${LATEX} ${LATEXFLAGS} -jobname=${@:%.pdf=%} $<
${LATEX} ${LATEXFLAGS} -jobname=${@:%.pdf=%} $< >/dev/null
${RM} ${@:.pdf=.aux} ${@:.pdf=.log} ${@:.pdf=.out} ${@:.pdf=.toc}
.SUFFIXES: .md .mppmd .maintex .tex .pdf

3
abstract/abstract.md Normal file
View File

@ -0,0 +1,3 @@
# Abstract
content here

View File

@ -25,7 +25,8 @@
<date>2014-09-04T14:45</date>
</slides>
<other name="abstract">
<other name="abstract" written_in="en">
<subname>Abstract</subname>
<path>abstract</path>
</other>