PumasAI / QuartoNotebookRunner.jl

MIT License
57 stars 6 forks source link

Rendering differences, `quarto` and `nbconvert` #94

Open MichaelHatherly opened 5 months ago

MichaelHatherly commented 5 months ago

Given the notebook contents below:

---
title: Rendering differences
engine: julia
---

```{julia}
Pkg.activate(; temp = true)
Pkg.add("Latexify")
```

```{julia}
import Latexify
```

```{julia}
Latexify.latexify(["x/y" 3//7 2+3im; 1 :P_x :(gamma(3))])
```

```{julia}
div(1, 0)
```

several differences in the output from quarto render file.ipynb and jupyter-nbconvert file.ipynb are noticeable.

jupyter-nbconvert:

image

quarto render:

image

Potentially upstream issues, though maybe the generated JSON we are passing to the renderer could be adjusted to better suit quarto while still being valid according to the schema.

MichaelHatherly commented 3 months ago

LaTeX rendering resolved in #145.