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

[Bug] Inline MathJax/Katex doesn't work #415

Open
4 tasks done
asitav-sen opened this issue Jan 21, 2023 · 1 comment
Open
4 tasks done

[Bug] Inline MathJax/Katex doesn't work #415

asitav-sen opened this issue Jan 21, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@asitav-sen
Copy link

I confirm:

Hugo version

0.108.0

Where is this bug showing up?

In the browser: Hugo builds the site, but something doesn't look right.

Operating system

Mac OS Ventura

Browser (if applicable)

All

Current behavior

Inline mathjax doesn't work. Works otherise. i.e. $$ works but $.. and \(.. doesn't work.

Screenshot 2023-01-21 at 12 53 54 PM

Expected behavior

Should work with $

Steps to reproduce

This works
$$ \overbrace{300x_{1} + 260x_{2} + 220x_{3} + 180x_{4}}^{\text {Revenue from Sales}} - \underbrace{(8 y_{1} + 6 y_{2})}_{\text {Cost of Labour}} $$

This doesn't but should work.

where $x_n$ are the number of products to produce each month and $y_n$ are the hours of labour to purchase (1 for skilled and 2 for unskilled)

Relevant log output

No response

Related code

No response

Preferred solution

No response

Other information

No response

@asitav-sen asitav-sen added the bug Something isn't working label Jan 21, 2023
@onweru
Copy link
Collaborator

onweru commented Jan 21, 2023

@asitav-sen, MathJax/Katex functionality are handled by third-party scripts. It's not something we control directly on the theme. To fix this sort of 'bug', you will need to tinker with options provided by those javascript libraries.

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

2 participants