started with transfer document
authorMart Lubbers <mart@martlubbers.net>
Fri, 27 Mar 2015 08:04:48 +0000 (09:04 +0100)
committerMart Lubbers <mart@martlubbers.net>
Fri, 27 Mar 2015 08:04:48 +0000 (09:04 +0100)
thesis2/Makefile
transfer/.gitignore [new file with mode: 0644]
transfer/Makefile [new file with mode: 0644]
transfer/preamble.tex [new file with mode: 0644]
transfer/transfer.tex [new file with mode: 0644]

index 63a05b3..e3d9fa4 100644 (file)
@@ -2,33 +2,23 @@ SHELL:=/bin/bash
 VERSION:=1.0RC1
 SOURCES:=$(shell ls *.tex) scheme.xsd exrss.xml
 GRAPHS:=$(addsuffix .eps,$(basename $(shell ls *.{dot,png})))
-
 .PHONY: clobber graphs release
-
-all: graphs thesis.pdf
-
+       all: graphs thesis.pdf
 %.eps: %.png
        convert $< $@
-
 %.eps: %.dot
        dot -Teps < $< > $@
-
 %.pdf: %.dvi
        dvipdfm $<
-
 %.dvi: $(SOURCES)
        latex $(basename $@)
        bibtex $(basename $@)
        latex $(basename $@)
        latex $(basename $@)
-
 graphs: $(GRAPHS)
-
-clean:
+       clean:
        $(RM) -v *.{eps,aux,bbl,blg,dvi,log,out,toc}
-
 clobber: clean
        $(RM) -v *.pdf
-
 release: all clean
        mv thesis.pdf thesis_$(VERSION).pdf
diff --git a/transfer/.gitignore b/transfer/.gitignore
new file mode 100644 (file)
index 0000000..c6f160b
--- /dev/null
@@ -0,0 +1,3 @@
+*.fmt
+*.aux
+*.log
diff --git a/transfer/Makefile b/transfer/Makefile
new file mode 100644 (file)
index 0000000..b250247
--- /dev/null
@@ -0,0 +1,17 @@
+SHELL:=/bin/bash
+TEX:=pdflatex
+OUTPUT:=transfer.pdf
+
+.SECONDARY: $(addsuffix .fmt,$(basename $(OUTPUT)))
+
+all: $(OUTPUT)
+
+%.pdf: %.tex %.fmt
+       $(TEX) $< 
+       $(TEX) $< 
+
+%.fmt: preamble.tex
+       $(TEX) -ini -jobname="$(basename $(OUTPUT))" "&$(TEX) $<\dump"
+
+clean:
+       $(RM) -v *.{aux,fmt,log,pdf}
diff --git a/transfer/preamble.tex b/transfer/preamble.tex
new file mode 100644 (file)
index 0000000..96fb2a6
--- /dev/null
@@ -0,0 +1,5 @@
+\documentclass{article}
+
+\author{Mart Lubbers}
+\title{Transfer document RSS feed crawler generation system}
+\date{\today}
diff --git a/transfer/transfer.tex b/transfer/transfer.tex
new file mode 100644 (file)
index 0000000..5de5b2e
--- /dev/null
@@ -0,0 +1,5 @@
+%&transfer
+\begin{document}
+Hello world
+
+\end{document}