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

Multiple mathjax in one page seems to cause a problem #8

Closed
ghost opened this issue Jan 27, 2013 · 2 comments
Closed

Multiple mathjax in one page seems to cause a problem #8

ghost opened this issue Jan 27, 2013 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 27, 2013

Hello,

I've created the following page and for some reason the parser of dokuwiki doesn't seems to interpret the third header after using a mathjax expression.

EDIT: For some reason, Github is not displaying "newline" (double backslash) properly.
Thanks.

My page:

====== Codage, langage machine, instructions ======

Base 10: 1, 10, 100, 1000, ..
Base 2: 1, 2, 4, 6, 8, 16, ..

====== Convertir un décimal à un binaire ======

$$ \begin{align} 19 _ {10} &\geq 16, \text{ oui } = 1 \text{ , il reste } 3 3 _ {10} &\geq 8, \text{ non } = 0\text{ , il reste } 3 3 _ {10} &\geq 4, \text{ non } = 0\text{ , il reste } 3 3 _ {10} &\geq 2, \text{ oui } = 1\text{ , il reste } 1 1 _ {10} &\geq 1, \text{ oui } = 1\text{ , il reste } 0 19 _ {10} &= 10011 _ {2} \end{align} $$

====== Convertir un binaire à un hexadécimal ======

$$ \begin{align} & 0010 \space 0011 & 2 \space\space\space\space\space\space\space 3 & 23 _ {16} \end{align} $$

@liffiton
Copy link
Owner

The align environment can stand on its own; it doesn't need to be inside the $$ delimiters:

====== Convertir ... ======

\begin{align}
  math...
\end{align}

====== Convertir ... ======

With that change, it works fine for me. The extra delimiters were basically "confusing" the part of the plugin that protects math expressions from being parsed by Dokuwiki.

@ghost
Copy link
Author

ghost commented Feb 2, 2013

Cool ! Thanks. ;-)

This issue was closed.
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

1 participant