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

Issue with pkgdown sites #16

Open
Kertoo opened this issue Oct 28, 2024 · 1 comment
Open

Issue with pkgdown sites #16

Kertoo opened this issue Oct 28, 2024 · 1 comment

Comments

@Kertoo
Copy link

Kertoo commented Oct 28, 2024

Hej,

I use mathjaxr as a LaTeX backend in my package and it usually works really good in standard manual. The problem is that a few months back with the update 2.1.0 to pkgdown the math on GitHub pages stopped rendering properly (for example in in here). This issue is not limited to mathjaxr, people have discussed it for example in r-lib/pkgdown#2704.

I think it doesn't recognized the \loadmathjax macro anymore, this is one of the warning messages I get while trying to set up the website:

In tools::parse_Rd(path, encoding = "UTF-8") :
  ./man/controlPopVar.Rd:81: unknown macro '\loadmathjax'

Is there any fix to this issue? Could one define this macro in for example _pkgdown.yml?

@wviechtb
Copy link
Owner

Yeah, I ran into the same issue. The last version of pkgdown accidentally disabled macro loading (see r-lib/pkgdown#2782). This has been fixed, but you will have to install the current development version of pkgdown (or an older one).

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