-
Notifications
You must be signed in to change notification settings - Fork 343
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
Script files not picked up by julia engine #10034
Comments
For the context, currently those files are claimed by Jupyter engine quarto-cli/src/execute/jupyter/jupyter.ts Lines 148 to 151 in d5edb79
and Julia claims no file quarto-cli/src/execute/julia.ts Line 66 in d5edb79
This is probably not clear in our doc, but as of now when using script as input to render, the Does Julia engine support same Percent script syntax from Jupytext ? https://jupytext.readthedocs.io/en/latest/formats-scripts.html Currently, we do detect .py and check if it has percent syntax. If so, Jupyter engine claims it. If the same file could also be working for Julia engine, I think we should indeed parse the file header and detect the |
I did not add any
Yes, we do have support for that style |
Thanks for the confirmation. When we added Jupyter Percent Script support, we only associated it with the Jupyter engine, no matter is content. So, we definitely need to adapt the
For comparaison, Thanks for the report ! |
one question, when you process such a script file, what does |
Yes it will contain a markdown transformation. We process the script in Quarto to create a Markdown version It happens in this function quarto-cli/src/execute/jupyter/percent.ts Lines 33 to 90 in 68cc8cb
that we call in our jupyter engine functions producing markdown
|
Hello, I have the same problem. But the file is not even executed. I only see a html page with all the code, without syntax highlighting and without any output. Are there any progresses on that? |
If you look at the thread links just above and the sidebar on right, you should see that there is a PR in work. So progress there is. Usually, if an issue is still open, it means it is still consider. Otherwise, it would be closed as non planned, or resolved. Regarding progress, milestones and other metadata on the issues can give you an hint on the activity. Hope it helps clarify how issue tracking works. Thanks for your understanding. |
Bug description
It appears that julia script files do not get sent to the julia engine even if specifying
engine: julia
in the frontmatter. Instead, they are run by the jupyter engine.Steps to reproduce
I tried
quarto render testfile.jl
wheretestfile.jl
had this content:Expected behavior
Julia engine would try to render this file
Actual behavior
Jupyter engine rendered the file.
Your environment
No response
Quarto check output
The text was updated successfully, but these errors were encountered: