Skip to content

Instantly share code, notes, and snippets.

@tmhpfnr
Last active August 29, 2015 13:56
Show Gist options
  • Save tmhpfnr/8966351 to your computer and use it in GitHub Desktop.
Save tmhpfnr/8966351 to your computer and use it in GitHub Desktop.
Creating Glossaries TeXShop on Mac: 1) create glossaries_create.engine in Users/.../Library/TexShop/Engines 2) chmod a+x glossaries_create.engine 3) restart TS 4) select glossaries_create in dropdown next to Typeset
#!/bin/sh
bfname=$(dirname "$1")/"`basename "$1" .tex`"
makeindex -s "$bfname".ist -t "$bfname".alg -o "$bfname".acr "$bfname".acn
makeindex -s "$bfname".ist -t "$bfname".glg -o "$bfname".gls "$bfname".glo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment