#!/bin/sh
#
# mmd2tex --- MultiMarkdown convenience script
#	<http://fletcherpenney.net/multimarkdown/>
#	Copyright (c) 2010-2011 Fletcher T. Penney
#	
# Pass arguments on to the binary to convert text to LaTeX
#

# Be sure to include multimarkdown in our PATH
export PATH="/usr/local/bin:$PATH"

if [ $# = 0 ]
then
	multimarkdown -t latex
else
until [ "$*" = "" ]
do
	multimarkdown -b -t latex "$1"
	shift
done
fi
