quarto-dev / quarto-dev/quarto-cli

Jupyter engine with Julia kernel does select `text/latex` output for `format: typst` which leads to no cell output in rendered document

Open
#12,298 22 comments 1 reaction 1 assignee View on GitHub

@cderv is already working on this.

Since Mar 20, 2025.

bug duplicate engines-julia engines-jupyter
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Bug description

I'm using Jupyter-notebooks with Julia. If the output of a cell is a DataFrame ist doesn't show in a PDF produced by Typst. But if I render the notebook e.g. to HTML, also DataFrames show up.

Steps to reproduce

The following example contains a cell, which has just an integer as output and another cell, which produces a DataFrame.

a = 5
b = 9
a + b
using DataFrames
df = DataFrame(
    fruit = ["banana", "apple"],
    price = [4.5, 3.6]
)

The output shown is the HTML preview:

Image
Actual behavior

If I change to PDF-output with Typst, I get the following:

Image
Expected behavior

The expected behavoiur with the Typst output would be, that not only the output of the first cell (14) is shown, but also the output of the second cell (the content of the DataFrame) as in the example with HTML output.

Your environment

Quarto 1.6.42
MacOS: 15.3.1 (24D70)

Julia versioninfo:

Julia Version 1.11.3
Commit d63adeda50d (2025-01-21 19:42 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin24.0.0)
  CPU: 8 × Apple M1
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, apple-m1)
Threads: 8 default, 0 interactive, 4 GC (on 4 virtual cores)
Environment:
  JULIA_NUM_THREADS = 8
Quarto check output

Quarto 1.6.42
[✓] Checking environment information...
Quarto cache location: /Users/roland/Library/Caches/quarto
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.4.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.46.3: OK
Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.6.42
Path: /Applications/quarto/bin

[✓] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)

[✓] Checking LaTeX....................OK
Tex: (not detected)

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
Version: 3.12.5
Path: /Library/Frameworks/Python.framework/Versions/3.12/bin/python3
Jupyter: (None)

  Jupyter is not available in this Python installation.
  Install with python3 -m pip install jupyter

[✓] Checking R installation...........(None)

  Unable to locate an installed version of R.
  Install R from https://cloud.r-project.org/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.