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

color conversion issues #189

Open
pkra opened this issue Jan 24, 2024 · 1 comment
Open

color conversion issues #189

pkra opened this issue Jan 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@pkra
Copy link
Member

pkra commented Jan 24, 2024

Just to track this here as well. It seems texml sometimes converts colors incorrectly.

E.g., we had TeX sources with

\color{RoyalBlue}
\color{RedViolet}
\color{Plum}
\color{Gray}

where texml output had

\color[RGB]{0, 127, 255}
\color[RGB]{150, 0, 168} 
\color[RGB]{127, 0, 255} 
\color[RGB]{127, 127, 127}

This was particularly noticeable in that instance because generated SVGs (from tikz using these) no longer matched.

The problem has showed up in several publications now.

@pkra pkra added the bug Something isn't working label Jan 24, 2024
@pkra pkra added this to the 2024 milestone Jan 24, 2024
@pkra
Copy link
Member Author

pkra commented Nov 7, 2024

Another example (I had not linked properly): \color{olive} became #7f7f00 as text color but #8d8600 in a tikz SVG.

This was changed in the source to #807900, as a result the SVG appears to have that color but the text has #7f7900.

@pkra pkra modified the milestones: 2024, 2025 Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant