bin/render-latex @ f433f96e0b21

Allow file extensions
author Steve Losh <steve@stevelosh.com>
date Wed, 11 Oct 2017 11:14:41 -0400
parents 153e4af91684
children (none)
#!/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"