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

Internal reference of aligned equation array #22

Open
gantech opened this issue Apr 25, 2016 · 2 comments
Open

Internal reference of aligned equation array #22

gantech opened this issue Apr 25, 2016 · 2 comments

Comments

@gantech
Copy link

gantech commented Apr 25, 2016

The example given on the scholarly markdown syntax guide website doesn't seem to work for me.

$$\left.\begin{aligned} B'&=-\partial\times E\\ E'&=\partial\times B - 4\pi j \end{aligned} \right} \qquad \text{Maxwell's equations} ``` produces <span class="math scholmd-math-display" style="display: block;">\[ \begin{equation} \label{maxwellEq} \left.\begin{aligned} B&jgm#39;&amp;=-\partial\times E\\\ E&jgm#39;&amp;=\partial\times B - 4\pi j \end{aligned} \right\} \qquad \text{Maxwell&jgm#39;s equations} \end{equation} \]</span> However, I notice that on the html file on the website, the label is placed at the end just before \end{equation}. If I modify my html file manually to do the same thing, the reference works! Could anyone help me solve this issue. ```$$
@gantech
Copy link
Author

gantech commented Apr 25, 2016

I see that commit 231b717 was supposed to deal with this issue explicitly.. however it doesn't seem to work on my computers...I used debian to install cabal and then did cabal install scholdoc and scholdoc-citeproc. I installed this October 2015. Do I need to do anything else?

@gantech
Copy link
Author

gantech commented Apr 25, 2016

Sorry..doing more digging.. I found that the latest version on hackage is still 0.1.3 http://hackage.haskell.org/package/scholdoc. Could this be upgraded to the latest version please? Are there any instructions for installing this manually otherwise?

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