When I update the nomenclatures in my beamer presentation (file.tex) using texstudio on my mac, I run on the terminal command line:
makeindex file.nlo -s nomencl.ist -o file.nls
This works, but is a pain. Is there any way to run this command automatically within the latex code? Based on this, I tried adding:
\immediate\write18{makeindex file.nlo -s nomencl.ist -o file.nls}
but this made the nomenclatures disappear entirely generating:
This is makeindex, version 2.15 [TeX Live 2018] (kpathsea + Thai support). Scanning style file /usr/local/texlive/2018/texmf-dist/makeindex/nomencl/nomencl.ist
..........done (10 attributes redefined, 3 ignored). Scanning input file file.nlo...done (0 entries accepted, 0 rejected). Nothing written in file.nls. Transcript written in file.ilg.