Skip to content

Commit

Permalink
Modify Makefile to use ott's filtering feature.
Browse files Browse the repository at this point in the history
This makes it simpler to write explanations in the tex file.
  • Loading branch information
Chris Casinghino authored and ivg committed Jun 1, 2018
1 parent 2b57c98 commit d212707
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ OTT_FLAGS = -tex_wrap false
all : bil.pdf

bil.pdf : bil.ott bil.tex Makefile
ott $(OTT_FLAGS) bil.ott -o ott.tex
$(LATEX) bil.tex
$(LATEX) bil.tex
ott $(OTT_FLAGS) bil.ott -o ott.tex -tex_filter bil.tex bil_filtered.tex
$(LATEX) bil_filtered.tex
$(LATEX) bil_filtered.tex
mv bil_filtered.pdf bil.pdf

clean :
rm -f ott.tex bil.aux bil.pdf bil.log bil.toc bil.pdf ott.aux
rm -f ott.tex bil.pdf bil_filtered.tex *.log *.toc *.aux

0 comments on commit d212707

Please sign in to comment.