"Undefined control sequence \operatorname" error in stan math doxygen output

Hi, all

I built the API manual got an “Undefined control sequence \operatorname” error.

I built the manuls in new ubuntu environment. Before “make doxygen”, I did the following command

sudo apt install doxygen texlive-full

I understand this error was due to a missing amsmath package, but I do not know how to fix this.

Thanks.

What version of doxygen do you have?

Hi, @rok_cesnovar,
Thank you for your comment.
The Doxygen version in Ubuntu 20.04 is 1.8.17.
If there is a minimal version, let me know.

Thank you for your help.

Hey, I actually think the latest doxygens have issues with Stan Math. If you can, downgrade to 1.8.13 which is a version that does work fine for me.