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

ParseError: KaTeX parse error #62

Closed
mnemosyne-xx opened this issue Sep 8, 2022 · 2 comments
Closed

ParseError: KaTeX parse error #62

mnemosyne-xx opened this issue Sep 8, 2022 · 2 comments

Comments

@mnemosyne-xx
Copy link

Another problem with GeoPosition (for example).. Thx a lot for a soluce...

coucher = W```
Sunrise[GeoPosition[{48.41, -6.11}], DateObject[{2022,9, 8, 0, 0}]]


--->  ParseError: KaTeX parse error: Unexpected end of input in a macro argument, expected '}' at end of input: \fbox{\text{Minute: }\text{Thu 8 Sep 2022 07:51}\text{GMT}+2$}$
@fremling
Copy link
Collaborator

fremling commented Sep 9, 2022

Hi @mnemosyne-xx
I don't seem to be able to reproduce your error...

If i call the function the "normal" way everything work fine for me.

julia> weval(W`Sunrise[GeoPosition[{48.41, -6.11}], DateObject[{2022,9, 8, 0, 0}]]`)

W"DateObject"(W"List"(2022, 9, 8, 7, 51), "Minute", "Gregorian", 2.0)

Also doing it your way seems to work for me.

julia> coucher = W```
       Sunrise[GeoPosition[{48.41, -6.11}], DateObject[{2022,9, 8, 0, 0}]]
       ```
W"Sunrise"(W"GeoPosition"(W"List"(48.41, -6.11)), W"DateObject"(W"List"(2022, 9, 8, 0, 0)))

julia> weval(coucher)
W"DateObject"(W"List"(2022, 9, 8, 7, 51), "Minute", "Gregorian", 2.0)

@mnemosyne-xx
Copy link
Author

It seems OK with new version of VSCode 1.71.2 ...
Thx a lot

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

2 participants