Skip to content

Compatiblity with MathJax Plugin #120

@brianedw

Description

@brianedw

I use DokuWiki as a Scientific Notebook and LaTeX is important to me. LaTeX is a tool for writing mathematics, often used by scientists, engineers, and others that use mathematics.

I'm finding that the inclusion of LaTeX inline notation breaks the rendering so that the image appears between two square brackets with no caption. I'm using the MathJaX plugin to get DokuWiki to render LaTeX. When I remove the LaTeX expressions, it renders fine.

As it's main parentheses, LaTeX uses the curly brackets, { }. For instance, 1/2 would be written as $\frac{1}{2}$. The issue appears to occur when the LaTeX expression includes a curly bracket.

[{{:playground:playground:pasted_2023_01_21_17_06_22.png| Consider the variable **U**.  This is DokuWiki bold is fine. }}]

[{{:playground:playground:pasted_2023_01_21_17_06_22.png| Consider the variable $U$.  This simple LaTeX is fine. }}]

[{{:playground:playground:pasted_2023_01_21_17_06_22.png| Consider the variable $\frac{U}{2}$.  This LaTeX fraction is not fine. }}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions