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

Latex text is not visible ( rendering correctly ) in browser #171

Open
kkruups opened this issue Jul 27, 2016 · 0 comments
Open

Latex text is not visible ( rendering correctly ) in browser #171

kkruups opened this issue Jul 27, 2016 · 0 comments

Comments

@kkruups
Copy link
Contributor

kkruups commented Jul 27, 2016

Problem: Latex text does not appear visible in browser, although a Latex element is created (verified via chrome dev tools)

Expected: Latex to be visible in browser

Additional Info:
This issues appears to be related to error parsing the latex text passed to method in Katex.js

Chrome Dev Tools Console reports the following error:

line58 of polymer-micro.html:       document.registerElement(prototype.is, options);

katex.js:165Uncaught ParseError: KaTeX parse error: Unexpected character: '$' at position 0: ̲$f(x) = \int_{

  location:    window.Polymer @ polymer-micro.html:58

(view screen shot of Chrome Dev Tools error here

How to reproduce (Code Snippet )

function main(window)
    push!(window.assets, "tex")
    tex(L"f(x) = \int_{-\infty}^\infty \hat f(\xi)\,e^{2 \pi i \xi x} \,d\xi")
end 

Environment
julia v0.4.6 (using repl)
Escher v0.3.2
Win7
Chrome Browser Version 51.0.2704.106 m

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