153e4af91684

Add latex rendering script
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 25 Mar 2016 21:36:26 +0000
parents d4ff64dea170
children 1a3a3aa19a41
branches/tags (none)
files bin/render-latex

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/render-latex	Fri Mar 25 21:36:26 2016 +0000
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+set -e
+
+LATEX_FILE=$(ls *.latex)
+LATEX_NAME=$(echo $LATEX_FILE | sed -e 's/\..*//')
+
+echo $LATEX_FILE | peat "loltex $LATEX_NAME"