Skip to content

Instantly share code, notes, and snippets.

@spockz
Created May 28, 2011 12:12
Show Gist options
  • Select an option

  • Save spockz/996822 to your computer and use it in GitHub Desktop.

Select an option

Save spockz/996822 to your computer and use it in GitHub Desktop.
#! /bin/sh
LATEXFile="`basename "$1" .lhs`.tex"
#echo $LATEXFile
lhs2tex -o $LATEXFile $1
pdflatex $LATEXFile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment