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

Sans serif pics website 2 #433

Merged
merged 3 commits into from
Jan 20, 2025
Merged

Sans serif pics website 2 #433

merged 3 commits into from
Jan 20, 2025

Conversation

cedounet
Copy link
Collaborator

@hendricius, second attempt... way less intrusive.

Please review.

C

pgfplots uses math fonts for graphs ticks... and it looks weird when
building sans serif.

Not sure Fira is necessarily a great choice with open-sans but we have
very little math so that should do...
This has to be done in the config file..:

All fonts are suppressed in the --lua mode of TeX4ht, because we need to
prevent the loading of OpenType fonts, which causes a fatal error.:
https://tex.stackexchange.com/questions/705948/change-font-of-tikz-diagrams-in-html-produced-by-make4ht
@cedounet cedounet requested a review from hendricius January 18, 2025 18:40
@cedounet cedounet mentioned this pull request Jan 18, 2025
@hendricius
Copy link
Owner

Thanks! I added a few improvements.

image

Attaching a picture of how the charts look for me currently.

@cedounet
Copy link
Collaborator Author

Yeah that’s it… as you can see the math font is still serif not sure how to change that but that is much better already

@cedounet cedounet merged commit 14e1e7a into main Jan 20, 2025
2 checks passed
@hendricius
Copy link
Owner

@cedounet if only we at some point manage to fix these special symbols 😎 .

image

I once fixed it by generating the images, then including the generated images.

@cedounet
Copy link
Collaborator Author

Yeah… one bug a a time with Michal… I am trying to get the chemical equation fixed.

But want to make sure this is not me mis reading the documentation before raising an issue…

@cedounet cedounet deleted the sans_serif_pics_website_2 branch January 21, 2025 21:51
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

Successfully merging this pull request may close these issues.

2 participants