Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TeX math \color{} command in OMML formats #10222

Closed
d-morrison opened this issue Sep 27, 2024 · 1 comment
Closed

TeX math \color{} command in OMML formats #10222

d-morrison opened this issue Sep 27, 2024 · 1 comment
Labels

Comments

@d-morrison
Copy link

(from #10221): the \color{} TeX math command can't be converted; for example:

---
format: docx
---

$$\color{red}{x}$$

produces the warning:

[WARNING] Could not convert TeX math \color{red}{x}, rendering as TeX:
  \color{red}{x}
        ^
  unexpected control sequence \color
  expecting "%", "\\label", "\\tag", "\\nonumber", whitespace or "\\allowbreak"
@d-morrison
Copy link
Author

d-morrison commented Sep 27, 2024

just realized that I was supposed to post this in https://github.com/jgm/texmath; found an existing issue there (jgm/texmath#225) and added a comment with a link back here. I guess this Issue can be closed?

@jgm jgm closed this as completed Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants