Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
filename="${1}"
no_extension=${filename%.*}
# echo "Converting Markdown to LaTeX..."
# multimarkdown -t latex ${no_extension}.md > ${no_extension}.tex
echo "Running LaTeX..."
latex -interaction=nonstopmode ${no_extension} > /dev/null