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

Rendering differences, quarto and nbconvert #94

Open
MichaelHatherly opened this issue Apr 12, 2024 · 1 comment
Open

Rendering differences, quarto and nbconvert #94

MichaelHatherly opened this issue Apr 12, 2024 · 1 comment

Comments

@MichaelHatherly
Copy link
Collaborator

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.

  • Lack of colour console rendering
  • text/latex does not render
  • stacktraces are not displayed.

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
Copy link
Collaborator Author

LaTeX rendering resolved in #145.

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