Skip to content

Instantly share code, notes, and snippets.

@thomasantony
Created December 7, 2014 00:21
Show Gist options
  • Save thomasantony/feb05e9a26f8c08bd786 to your computer and use it in GitHub Desktop.
Save thomasantony/feb05e9a26f8c08bd786 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Place in ~/Library/TexShop/Engines
# LatNomLat.engine
bfname=$(dirname "$1")/"`basename "$1" .tex`"
makeindex "$bfname".nlo -s nomencl.ist -o "$bfname".nls
done
pdflatex "$1"
# pdflatex "$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment