OK, thanks.
> Check to see how many runs of `pdflatex' there are. Latexmk will execute up
> to 6 runs while still finding that files have changed before quitting; i.e.,
> before it decides it's in an infinite loop.
I looked through the Emacs buffer but there wasn't any evidence of
changes. The process ran xelatex, biber, xelatex, makeindex, xelatex and
the xelatex again, and the trace ends with the PDF being made, and when
I open it, it's all correct.
> Do any of your included packages produce files that change on every run?
Aha. The .tex file carries the .bib file inside it in a VerbatimOut
block, so the .bib is freshly regenerated every run of XeLaTeX (the idea
being portability: you only need to send someone one file; they can't
"forget" to send the .bib as well as the .tex).
Seemed like a good idea at the time :-) This is a legacy of the original
XSLT transformation which was working so well I had forgotten about it.
Moving it to a result-document in XSLT2 fixed the problem.
Thank you!
///Peter