I desire to have an upright partial. I wrote the following code.
\documentclass{article}
\usepackage{fontsetup}
\unimathsetup{partial=upright}
\usepackage{fontsetup}
\begin{document}
\[\partial\]
\end{document}
The unicode-math documentation says that some package options affect how maths is initialised and changing an option such as math-style will not take effect until a new maths font is set up. So I have loaded the fontsetup package once again after the \unimath command to so that the maths fonts are loaded. But this doesn't work and I get an italic partial. Why is this happening and how do I rectify it? I would prefer not to manually load the unicode-math and all the fonts separately.
\PassOptionsToPackage{partial=upright}{unicode-math}\usepackage{fontsetup}(just once) should suffice.