forked from wannesm/adsphd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.settings
53 lines (39 loc) · 1.75 KB
/
Makefile.settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Makefile.settings: contains general configuration settings.
MAINTEX ?= thesis.tex
MAINBIBTEXFILE = allpapers.bib
DEFS_THESIS = defs_thesis.tex # Thesiswide preamble settings
CHAPTERSDIR = chapters
IMAGEDIR = image # This corresponds to $(CHAPTERSDIR)/<chapter>/$(IMAGEDIR)
DEFS = defs.tex # Autogenerated by this Makefile from $(DEFS_THESIS)
# and $(CHAPTERSDIR)/*/$(DEFS).
USETEXPACKAGENOMENCLATURE = 1 # Set this to 1 if you are using the nomenclature
# package to tell 'make' to take this into
# account.
USETEXPACKAGEGLOSSARY = 1 # Set this to 1 if you are using the glossary
# package to tell 'make' to take this into
# account.
TEX = latex -shell-escape
PDFTEX = pdflatex -shell-escape
EDITOR = gvim
USEPDFTEX=1
USEBIBLATEX = 0
BIBLATEXBACKEND = biber # alternative: bibtex
#AUTOGENERATEDEFS = 1
##############################################################################
# You should not need to make changes below this line
##############################################################################
### BUILD PS WITH 2 PAGES/PAGE ##############################################
psnup2: $(PSFILE:.ps=-psnup2.ps)
psnup2-booklet: $(PSFILE:.ps=-psnup2-booklet.ps)
%-psnup2.ps: %.ps
psnup -2 $< $@
%-psnup2-booklet.ps: %-psnup2.ps
pstops -q '2:0,1U(1w,1h)' $< | ps2ps /dev/stdin /dev/stdout > $@
##############################################################################
### HELP FUNCTIONS ##########################################################
# The function below opens the additions since a given revision in a gvim
# window so that it can be spell checked.
# Usage: make addedtextsince SINCE=v6_submitted FILE=sde1.tex
.PHONY: addedtextsince
addedtextsince:
git diff $(SINCE) $(FILE) | grep -v '^-' | gvim -