sje30 / ucb23

0 stars 0 forks source link

Exploring the use of quarto #1

Open sje30 opened 1 year ago

sje30 commented 1 year ago

Exploring the use of quarto for Julia... there is a dependency on the JuliaCall package.

I tried this and it seems to still be an issue today on Mac:

https://github.com/Non-Contradiction/JuliaCall/issues/190

sje30 commented 1 year ago

cc: @jmb280cam

jmbyrne commented 1 year ago

Haven't found any problems with running it yet, although getting it going was a bit of a hassle as it has a lot of dependencies that it doesn't make very clear.

I find using it a bit cumbersome though, since you have to edit it in plaintext, instead of adding and editing cells as Pluto or Jupyter would have you do. You can run cells, which copies their contents into the REPL and runs them, so code iteration is possible but suffers from the same issue as Jupyter where large amounts of code may need to be manually rerun every time a change is made.

At the moment, I like the idea of the format, and I wish it had a "friendly" development environment like Jupyter and particularly Pluto do.

jmbyrne commented 1 year ago

Actually, turns out there is a visual editor, it just took some finding. Will give it a go and report back

jmbyrne commented 1 year ago

I've managed to convert the previous Pluto notebook into Quarto/Jupyter format (the Jupyter being directly generated from the Quarto). It's imperfect as I haven't really adapted the notebook for Quarto, there are definitely some stylistic choices that I would have made differently, but overall I think it looks like a genuine option for us to use.

@sje30 Can you have a look at the files I've uploaded, and see how they display for you?

Next step I think will be trying to write something new entirely in Quarto.

sje30 commented 1 year ago

Will take a look.

re: "getting it going was a bit of a hassle as it has a lot of dependencies that it doesn't make very clear." is there anything we can feed back to quarto to make it more explicit what is required?

Was this on windows? If so, I can also try installing it on my windows machine.

jmbyrne commented 1 year ago

This was on Windows, maybe you should give it a go installing it to see how easy it is from their information. I think it's (mostly) all there in their documentation, but scattered across many pages

jmbyrne commented 1 year ago

Some Pluto/Quarto thoughts so far:

Pluto pros

Pluto cons:

Quarto pros:

Quarto cons:

jmbyrne commented 1 year ago

This makes it look like Pluto is a lot better than Quarto, but Pluto's issues are so problematic and unavoidable that it makes it unusable in many circumstances.

jmbyrne commented 1 year ago

@sje30

The Markdown rendering issue I was talking about yesterday seems to be caused by the jldoctest environment with filters. I've uploaded a (reasonably) minimal example.