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

website should use the sans-serif tex file #418

Closed
cedounet opened this issue Jan 5, 2025 · 7 comments
Closed

website should use the sans-serif tex file #418

cedounet opened this issue Jan 5, 2025 · 7 comments
Assignees

Comments

@cedounet
Copy link
Collaborator

cedounet commented Jan 5, 2025

The graph looks a little weird when TikZ uses a serif font and everything else is on OpenSans... For epub you can choose the font so will always look weird but a sans-serif graph in a serif text will look less weird than the other way around IMHO.

Of course I would not have spent time writing a bug report if it was just replacing book.tex by book_sans_serif.tex

see:
5d89f81 Remove sans-serif ebook hacks
b47902fe320ed72683d8a1da68fd584bb6569274 Komascript (#148)

makefile dependencies might break..

@hendricius
Copy link
Owner

Maybe I don't fully get it - but right now both is sans serif?

image

@cedounet
Copy link
Collaborator Author

cedounet commented Jan 6, 2025

The plots are not.

@cedounet
Copy link
Collaborator Author

cedounet commented Jan 6, 2025

IMG_6349

@hendricius
Copy link
Owner

Ok I see 😎 . That indeed looks a bit weird. Is there anything I could do on the website?

@cedounet
Copy link
Collaborator Author

cedounet commented Jan 6, 2025

Nah but you can fix the makefile if you feel brave…

@cedounet
Copy link
Collaborator Author

@hendricius Ruby broke... see below:

modify_build.rb:130:in `validate_file': No style tag style.css found in the website (InvalidWebsiteFormat)
	from modify_build.rb:49:in `modify_file'
	from modify_build.rb:43:in `block in build_latex_html'
	from modify_build.rb:42:in `each'
	from modify_build.rb:42:in `build_latex_html'
	from modify_build.rb:18:in `build'
	from modify_build.rb:14:in `build'
	from modify_build.rb:820:in `<main>'
make: *** [makefile:336: website] Error 1
make: *** Waiting for unfinished jobs....

@cedounet cedounet assigned hendricius and cedounet and unassigned hendricius Jan 11, 2025
@cedounet
Copy link
Collaborator Author

No makefile changes were needed… tex4ht discards all font spec info.

Fix in #433

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

2 participants