Undefined macros not placed properly with textmacros and noundefind extensions
When both textmacros and noundefined are used in conjunction, an undefined macro in text mode will cause the red undefined macro to appear before all the text, not within it at the place the macro is found. E.g., \text{abc \undefined xyz} will produce \undefind abcxyz as the output.