I recently found this question:
I had the exact same problem in my document and also cannot upload a MWE.
Nonetheless, a comment to this question contained a "solution" which "solved" the problem for me. (The word "solved" is in quotes as the comment only helps against the symptoms of the problem, but was for me the only way to get a correct PDF.)
In my opinion this comment should be an answer for future readers. I'd be happy to post it myself, but neither was it my idea nor can I post an answer to a closed question.
Is one of the following possible?
- Someone else posts the referenced comment as an answer
- The question is (maybe temporarily) re-opened, so that I can post the answer
\newcommand