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

When function is not in main #321

Open
co1emi11er2 opened this issue Dec 5, 2024 · 0 comments
Open

When function is not in main #321

co1emi11er2 opened this issue Dec 5, 2024 · 0 comments

Comments

@co1emi11er2
Copy link

If I have a function within a module and want to call it, I get the following output:

julia> module Foo
       foo(a, b) = 1 + b
       end
Main.Foo

julia> using Latexify

julia> @latexdefine c = Foo.foo(4, 5)
L"$c = \mathrm{\mathrm{Foo}\left( foo \right)}\left( 4, 5 \right) = 6$"

This can not be parsed in both jupyter and pluto. Is there a way I can get something more like: L"$c = \mathrm{Foo.foo}\left( 4, 5 \right) = 6$"

This also happens when trying to access fields in objects and it would be nice to see it similarly.

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