It was quite simple really, but really powerful to be able to tweak/replace a dataset hit make, and have a fully updated version of my thesis ready to go.
It was quite simple really, but really powerful to be able to tweak/replace a dataset hit make, and have a fully updated version of my thesis ready to go.
My take on the same plan ( "make thesis" ):
It's not pretty, but it works. https://github.com/4kbt/PlateWash
Unblinding tweet: https://twitter.com/CharlieHagedorn/status/59565285891105177...
Finished product: https://digital.lib.washington.edu/researchworks/handle/1773...
All research should be like this. Explaining things in words is simply so imprecise you end up spending forever to show someone something that a program can tell you quickly.
"I used xyz transformation with abc parameters" can be gleaned easily from code.
I quite like it !
texfiles = acronyms.tex analytical_mecs_procedure.tex analytical_mecs.tex \
anderson_old.tex background.tex chaincap.tex \
conclusions.tex cvici.tex gold_chain_test.tex introduction.tex \
main.tex mcci_manual.tex methods.tex moljunc.tex \
tb_sum_test.tex times_procedure.tex tm_mcci_workflow.tex tmo.tex \
vici_intro.tex
# dynamically generated figures
all: main.pdf
main.pdf: $(texfiles) figures/junction_occupations.pdf figures/overlaps_barplot.pdf \
figures/transmission_comparison.pdf \
figures/wigner_distributions.pdf
pdflatex main.tex && bibtex main && pdflatex main.tex && pdflatex main.tex
figures/junction_occupations.pdf: figures/junction_occupations.hs
ghc --make figures/junction_occupations.hs
figures/junction_occupations -w 800 -h 400 -o figures/junction_occupations.svg
inkscape -D -A figures/junction_occupations.pdf figures/junction_occupations.svg
figures/overlaps_barplot.pdf: figures/overlaps_barplot.py
python figures/overlaps_barplot.py
figures/transmission_comparison.pdf: figures/transmission_comparison.py
python figures/transmission_comparison.py
figures/wigner_distributions.pdf: figures/wigner_distributions.py
python figures/transmission_comparison.py
clean:
rm *.log *.aux *.blg *.bbl *.dvi main.pdf figures/%.pdf: figures/%.py
python $< texfiles = $(wildcard *.tex)
figures_ink = figures/junction_occupations.pdf
figures_py = figures/overlaps_barplot.pdf \
figures/transmission_comparison.pdf \
figures/wigner_distributions.pdf
figures = $(figures_ink) $(figures_py)
main.pdf: main.tex $(texfiles) $(figures)
pdflatex $<
bibtex $(<:*.tex=*)
pdflatex $<
pdflatex $<
figures/junction_occupations: %: %.hs
ghc --make $^
figures/junction_occupations.svg: figures/junction_occupations
$< -w 800 -h 400 -o $@
$(figures_ink): %.pdf: %.svg
inkscape -D -A $@ $^
$(figures_py): %.pdf: %.py
python $^
clean:
rm *.log *.aux *.blg *.bbl *.dvi main.pdfAll my analysis code, plots, etc were already in python, so it fit in well. Lyx has a CLI from where I exported .tex and compiled to pdf.