I wrote a script that reads the
.log files after some replacements in the
·tex file (
LaTeX). To achieve this i did:
(tex-file) (read-string "Wait to tex-file to complete, then press ENTER:")
So I wait for
tex-file to complete and then I press
ENTER to make the script go on in reading the (re)genereted files.
I'd like to obtain the same result without the
read-string command, with the script automatically waits for
tex-file to compleate.
I read about sentinels but I'm not able to use them. I can't figure out how they works.