Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Issues
  • #3007
Closed
Open
Issue created Feb 23, 2023 by Administrator@rootContributor

Mathjax conversion doesn't work properly for some formulas.

Created by: JoonsuRyu

Issue Summary

Mathjax conversion doesn't work properly for some formulas.

Steps to Reproduce:

  1. I'm building a github page built using Jekyll. (and Minimal-mistakes theme)
  2. I'm trying to enter formulas using Mathjax, but I'm having a problem with some formulas not being converted.
  3. After checking them one by one, I found that formulas containing curly brackets were not converted properly.

For example,

\mathbf{w} 

prints fine, but like

\mathbf{w}_{N-1} 

don't.

I don't know what's causing the problem, could you tell me how to fix it?

Technical details:

  • MathJax Version: 2.7.5
  • Client OS: Windows 10 21H2 (19044.2604)
  • Browser: Chrome 110.0.5481.178 (64 bit)

I am using the following MathJax configuration:

<script type="text/javascript" async
	src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-MML-AM_CHTML">
</script>

and loading MathJax via

<script type="text/x-mathjax-config">
   MathJax.Hub.Config({
     extensions: ["tex2jax.js"],
     jax: ["input/TeX", "output/HTML-CSS"],
     tex2jax: {
       inlineMath: [ ['$','$'], ["\\(","\\)"] ],
       displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
       processEscapes: true
     },
     "HTML-CSS": { availableFonts: ["TeX"] }
   });
</script>

Additional information (Screenshots and links)

https://joonsuryu.github.io/studies/theory-of-generalization/

1

https://joonsuryu.github.io/studies/bias-variance-tradeoff/

2

Assignee
Assign to
Time tracking