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

Arguments flipped in OMML reader #66

Closed
mpickering opened this issue Sep 12, 2014 · 4 comments
Closed

Arguments flipped in OMML reader #66

mpickering opened this issue Sep 12, 2014 · 4 comments

Comments

@mpickering
Copy link
Contributor

I think the arguments are the wrong way round somewhere in the OMML reader.

pandoc -f tex -t omml | pandoc -f omml -t tex
In:
\overset{r}{\rightarrow}
Out:
\overset{\rightarrow}{r}

@jgm
Copy link
Owner

jgm commented Sep 15, 2014

@jkr, could it be line 340?

return [EOver True limExp baseExp]

In all the other cases of EOver, baseExp is the second argument, not the third.

+++ mpickering [Sep 12 14 03:13 ]:

I think the arguments are the wrong way round somewhere in the OMML reader.

pandoc -f tex -t omml | pandoc -f omml -t tex
In:
\overset{r}{\rightarrow}
Out:
\overset{\rightarrow}{r}


Reply to this email directly or view it on GitHub:
#66

@jkr
Copy link
Contributor

jkr commented Sep 15, 2014

That does look wrong, because EOver takes the bottom first and then the top, right. So in a limUpp, the arrow should be above.

But it would be strange if that were responsible for @mpickering 's issue -- why would a limit be invoked?

I'll play around and see if I can track down another bug later this evening.

@jgm
Copy link
Owner

jgm commented Mar 15, 2015

@jkr did you ever come back to this?

@jgm
Copy link
Owner

jgm commented Mar 15, 2015

The fix I recommended did fix mpickering's case. I'll make this change and close this.

@jgm jgm closed this as completed in 6b653af Mar 15, 2015
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

3 participants