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

pkgdown formulas not correctly being rendered #477

Open
gowerc opened this issue Oct 4, 2024 · 6 comments
Open

pkgdown formulas not correctly being rendered #477

gowerc opened this issue Oct 4, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@gowerc
Copy link
Collaborator

gowerc commented Oct 4, 2024

Apologies didn't have time to track down where this is going wrong but it looks like the current pkgdown formulas aren't always being correctly rendered:
image
https://openpharma.github.io/mmrm/main/reference/covariance_types.html#abbreviations-for-covariance-structures

I think this is likely a pkgdown bug but I'm not 100% sure. Just thought I'd make an issue here so you guys were aware of it.

@gowerc gowerc added the bug Something isn't working label Oct 4, 2024
@danielinteractive
Copy link
Collaborator

Thanks @gowerc , yeah seems like also in other places this is broken currently:

image

@danielinteractive
Copy link
Collaborator

It could be a case of r-lib/pkgdown#2704

@gowerc
Copy link
Collaborator Author

gowerc commented Oct 5, 2024

Looks like a temporary solution is to force the math rendering to mathjax instead of mathml, at least thats what we've done in rbmi which seems to work:
https://github.com/insightsengineering/rbmi/pull/436/files

@danielinteractive
Copy link
Collaborator

Seems this fixed itself, on the main website things are looking good now:
https://openpharma.github.io/mmrm/main/articles/covariance.html

@gowerc
Copy link
Collaborator Author

gowerc commented Oct 14, 2024

@danielinteractive - The articles are fixed but the man pages appear to still be broken:
https://openpharma.github.io/mmrm/main/reference/covariance_types.html

image

@danielinteractive
Copy link
Collaborator

Thanks @gowerc , aha, that is a pity. Then I guess we need to try the mathjax thing here too.

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
Status: Issue To start
Development

No branches or pull requests

2 participants