aboutsummaryrefslogtreecommitdiff
path: root/reproduce
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2020-01-18 04:03:13 +0000
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2020-01-18 04:30:24 +0000
commit5e830f5fb60c4bb186cbd4bd92908e187c037af4 (patch)
treeb727dc5653ec833f93efe29d80e806192563cfbe /reproduce
parent4483a81c4254596dd2fa977e7a2faf6f28a7ac6f (diff)
Raw draft (until now as a separate repository) imported
Until now, I was writing the paper without the template. But we will soon be adding a tutorial to the template, and I thought it will be good to have an example demonstration here too. So I just brought the hole project into the template structure, allowing us to add the template analysis later when its ready, and also allowing us to easily reproduce this paper ofcourse (without having to worry about the host's TeXLive installation.
Diffstat (limited to 'reproduce')
-rw-r--r--reproduce/analysis/make/initialize.mk1
-rw-r--r--reproduce/analysis/make/paper.mk6
-rw-r--r--reproduce/software/config/installation/texlive.mk4
3 files changed, 7 insertions, 4 deletions
diff --git a/reproduce/analysis/make/initialize.mk b/reproduce/analysis/make/initialize.mk
index cdf2129..a4acff7 100644
--- a/reproduce/analysis/make/initialize.mk
+++ b/reproduce/analysis/make/initialize.mk
@@ -132,6 +132,7 @@ curdir := $(shell echo $$(pwd))
# we are also going to overwrite `TEXINPUTS' just before `pdflatex'.
.ONESHELL:
.SHELLFLAGS = -ec
+export TERM=xterm
export TEXINPUTS :=
export CCACHE_DISABLE := 1
export PATH := $(installdir)/bin
diff --git a/reproduce/analysis/make/paper.mk b/reproduce/analysis/make/paper.mk
index a4eeb2e..af6bdc5 100644
--- a/reproduce/analysis/make/paper.mk
+++ b/reproduce/analysis/make/paper.mk
@@ -44,7 +44,7 @@ $(mtexdir)/project.tex: $(mtexdir)/verify.tex
# If no PDF is requested, or if LaTeX isn't available, don't
# continue to building the final PDF. Otherwise, merge all the TeX
# macros into one for building the PDF.
- @if [ -f .local/bin/pdflatex ] && [ x"$(pdf-build-final)" != x ]; then
+ @if [ -f .local/bin/lualatex ] && [ x"$(pdf-build-final)" != x ]; then
# Put a LaTeX input command for all the necessary macro files.
rm -f $(mtexdir)/project.tex
@@ -100,7 +100,7 @@ $(texbdir)/paper.bbl: tex/src/references.tex $(mtexdir)/dependencies-bib.tex \
p=$$(pwd)
export TEXINPUTS=$$p:
cd $(texbdir);
- pdflatex -shell-escape -halt-on-error $$p/paper.tex
+ lualatex -shell-escape -halt-on-error $$p/paper.tex
biber paper
fi
@@ -127,7 +127,7 @@ paper.pdf: $(mtexdir)/project.tex paper.tex $(texbdir)/paper.bbl
p=$$(pwd)
export TEXINPUTS=$$p:
cd $(texbdir)
- pdflatex -shell-escape -halt-on-error $$p/paper.tex
+ lualatex -shell-escape -halt-on-error $$p/paper.tex
# Come back to the top project directory and copy the built PDF
# file here.
diff --git a/reproduce/software/config/installation/texlive.mk b/reproduce/software/config/installation/texlive.mk
index c53e170..d0b7159 100644
--- a/reproduce/software/config/installation/texlive.mk
+++ b/reproduce/software/config/installation/texlive.mk
@@ -21,4 +21,6 @@ texlive-packages = tex fancyhdr ec newtx fontaxes xkeyval etoolbox xcolor \
preprint ulem biblatex biber logreq pgf pgfplots fp \
courier tex-gyre txfonts times csquotes kastrup \
trimspaces pdftexcmds pdfescape letltxmacro bitset \
- mweights
+ mweights \
+ \
+ alegreya enumitem fontspec lastpage