Uploaded image for project: 'MathJax Macro'
  1. MathJax Macro
  2. MATHJAX-20

Wrong numbering when using multiple \begin{equation}

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1.1
    • 1.1
    • None
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      Steps to reproduce:

      1. Add 2 macros to you page, one that has multiple \begin{equation} equations, and one that has only one . An example:

      \begin{equation}
          \vec{F} = -F \hat{j} \label{eq1}
          \end{equation}    \begin{equation}
          \vec{F} = -F \hat{j} \label{eq2}
          \end{equation}    \begin{equation}
          \vec{F} = -F \hat{j} \label{eq3}
          \end{equation}
      {{/mathjax}}
      {{mathjax}}
      \begin{equation}
          \vec{F} = -F \hat{j} \label{eq4}
          \end{equation}   
      {{/mathjax}} 

      2. Save and observe the page

       

      Expected result: equations are correctly numbered

      Actual result: equations are wrongly numbered, see image:

       

      This is not happening if \begin{eqnarray}  is used to write the equations

      Attachments

        Issue Links

          Activity

            People

              oana.florean@xwiki.com Florean Oana-Lavinia
              oana.florean@xwiki.com Florean Oana-Lavinia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: