Since I always used TeXShop to compile my tex-files I did not have to run LaTeX commands via terminal (many macros like BibTeX, MakeIndex etc. are included in TeXShop). Now that I want to include an index and change its style I need for my understanding to run the following command in terminal to generate a .ist file:
makeindx -g -s a:\mkidx.ist MyIndex.idx
I just do not know how to run (LaTeX-)commands via Terminal. Can anyone help?
latexmkEngine for TeXShop. See All-in-one-engine for TeXShop. – Alan Munn Sep 08 '12 at 17:27imakeidxprovides easy access to makeindex' options without the need to use the command line. You have to run your document withshell-escapeenabled, though. – cgnieder Sep 08 '12 at 17:56\usepackage{imakeidx}and\makeindex[options=-g -s mkidx.ist]; you won't even need to runmakeindexfrom the Terminal, as the package takes care of that. – egreg Sep 08 '12 at 17:57