Start abstract: compilation ok
This commit is contained in:
parent
844c9ffc9c
commit
ce1fd13c79
41
abstract/Makefile
Normal file
41
abstract/Makefile
Normal 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
3
abstract/abstract.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Abstract
|
||||
|
||||
content here
|
@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user