Undefined color '{color-1}
wlmchen opened this issue · 7 comments
wlmchen commented
mkraetke commented
It seems that a color is used, which is not in the list of defined colors. Can you please provide me your DOCX file then I can analyze and hopefully fix your issue?
wlmchen commented
Here is the docx file (with only the problematic part)
test.docx
console logs: https://pastebin.com/afRmXA28
mkraetke commented
Thanks for providing the file. I'll have a look under the hood.
wlmchen commented
Seems like its just the highlighting that screws it up
mkraetke commented
The issue wasn't a unspecified color but that \colorbox
was wrapped inside of other styles, so I changed the rule priority for \colorbox
that it is processed before other text styles.
(\colorbox{color-1}{\ul{\textbf{\textit{test}}}})
You just need to update the master branch.
wlmchen commented
cool thanks!
mkraetke commented
Thanks for your report!