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

Math in text constructions not parsed #62

Closed
jgm opened this issue Aug 17, 2014 · 1 comment
Closed

Math in text constructions not parsed #62

jgm opened this issue Aug 17, 2014 · 1 comment

Comments

@jgm
Copy link
Owner

jgm commented Aug 17, 2014

E.g.

X^2 = \sum_{ij} \frac{(Y_{ij}-E_{ij})^2}{E_{ij}} \approx \chi^2_{(k-1)(m-1)} \text{under $H_0$}

(from jgm/pandoc#1178)

@jgm
Copy link
Owner Author

jgm commented Nov 29, 2016

A simple solution would be to parse this as something like

 [..., EText TextNormal "under ", ESub (EIdentifier "H") (EIdentifier "0")]

Then we don't need to modify the text type, or any of the writers, to allow for math in text.

@jgm jgm closed this as completed in 2f79e0c Nov 29, 2016
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