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?
latexmk
Engine for TeXShop. See All-in-one-engine for TeXShop. – Alan Munn Sep 8 '12 at 17:27imakeidx
provides easy access to makeindex' options without the need to use the command line. You have to run your document withshell-escape
enabled, though. – cgnieder Sep 8 '12 at 17:56\usepackage{imakeidx}
and\makeindex[options=-g -s mkidx.ist]
; you won't even need to runmakeindex
from the Terminal, as the package takes care of that. – egreg Sep 8 '12 at 17:57