I have my proper function to run latex, say my-tex
.
Sometimes one should run latex two times to get references right. A message like below in the echo area appears to tell this. How to identify programmatically the presence of this message in order that I run my-tex
two times?
You should run LaTeX again to get references right, {14} pages
message
function? But I would try to get the information from elsewhere.start-process
that callslatexmk.pl
and have my own process filter without using AUCTeX, so for me it would be a lot easier because I have just one filter and I know right were it is. To get a head start, look for the process filters in AUCTeX.TeX-LaTeX-sentinel
. After you define you're own sentinel function, setTeX-sentinel-default-function
to the name of that function in LaTeX buffers.