SHELL:=/bin/zsh
FILENAME="Commutative_Algebra_Notes"
.SILENT:
compile:
cat ./sections/*.md | pandoc -f markdown -F pandoc-crossref --lua-filter /home/zack/dotfiles/bin/warning-div.lua -r markdown+fenced_divs+tex_math_single_backslash+citations --template=/home/zack/Notes/Latex/pandoc_template.tex --pdf-engine=pdflatex -o $(FILENAME).pdf
#latex_preview -f $(FILENAME).md -j -z
echo "Make done"
watch:
latex_preview -f $(FILENAME).md -z
view:
latex_preview -f $(FILENAME).md -v -z
tex:
latex_preview -f $(FILENAME).md -x -j -z
html:
cat ~/Notes/Latex/latexmacs*.tex ./sections/*.md | pandoc --from=markdown --to=markdown -r markdown+latex_macros+tex_math_single_backslash+fenced_divs+citations+implicit_figures+raw_html --lua-filter=/home/zack/rmcodeblocks.lua --mathjax -s --lua-filter=/home/zack/dotfiles/bin/warning-div.lua > $
init:
touch $(FILENAME).md
.ONESHELL: