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

Document that the filter doesn't "know" any CSS/xcolor predefined color names #2

Open
bpj opened this issue Mar 27, 2021 · 0 comments

Comments

@bpj
Copy link
Owner

bpj commented Mar 27, 2021

Document that the filter doesn't "know" any CSS/xcolor predefined color names!

Rather the filter trusts the user to know and use valid color names. This is kind of intentional since users may define custom color names in their LaTeX (preamble) source. It is also kind of necessary since otherwise the filter would have to include a huge table of all the CSS color names and check color names against it in HTML mode. However it is important to be aware because LaTeX (xcolor) will choke on invalid color names while CSS will just ignore them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant