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

bug in endnote conversion in case of existance of $$ in endnote #819

SepidehAlassi opened this issue Dec 15, 2016 · 2 comments


Copy link

@SepidehAlassi SepidehAlassi commented Dec 15, 2016

when there are inline math formulas in endnote and the formulas are indicated by "$$" instead of "$" the endnote conversion ends by encountering the first $$.

the end note text starting
$$ \Big[\frac mn\Big] = \int_0^1 \sqrt[n]{\Big(\ell \,\frac1x\Big)^m}\,dx, \qquad
   \Big(\frac pq\Big) = \int_0^1 \frac{x^{p-1}}{\sqrt[n]{1-x^n}^{n-q}}\ dx $$
some text } %endnote ends here

after xml conversion, result is

<note mark="1" role="endnote">the end note text starting</note>  

The rest of endnote

$$ \Big[\frac mn\Big] = \int_0^1 \sqrt[n]{\Big(\ell \,\frac1x\Big)^m}\,dx, \qquad
   \Big(\frac pq\Big) = \int_0^1 \frac{x^{p-1}}{\sqrt[n]{1-x^n}^{n-q}}\ dx $$
some text }

is ignored completely.

@dginev dginev added this to the LaTeXML-0.8.3 milestone Dec 15, 2016

This comment has been minimized.

Copy link

@dginev dginev commented Dec 15, 2016

Thanks for the report, I have reformatted the description for readability. We'll take a look.


This comment has been minimized.

Copy link

@brucemiller brucemiller commented Dec 18, 2016

We'll need some more details; such as what version of LaTeXML you're running. And a small, self-contained TeX sample. For example, I don't know where your \endnote comes from. The only one in the distribution is part of revtex4, and it seems to work correctly for me. (other than the fact that it isn't put at the end of the document, but is treated the same as footnotes; See #520)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.