Skip to content

Commit

Permalink
initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibb committed Mar 28, 2014
0 parents commit c8188ca
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tex2html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
WGET=/usr/bin/wget
PANDOC=/usr/bin/pandoc

TMPFILE="$(mktemp)"
OUTPUTFILE="${TMPFILE}.html"

${WGET} --output-document "${TMPFILE}" "${1}"

${PANDOC} -t html -o "${OUTPUTFILE}" -f latex "${TMPFILE}"

cat "${OUTPUTFILE}"

0 comments on commit c8188ca

Please sign in to comment.