Skip to content

Julia example doesn't write the plot into the pdf file #12468

Closed as not planned
Closed as not planned
@yurivict

Description

@yurivict

Bug description

The example from here:

```{julia}
#| label: fig-parametric
#| fig-cap: "Parametric Plots"

using Plots

plot(sin, 
     x->sin(2x), 
     0, 
     2π, 
     leg=false, 
     fill=(0,:lavender))
```

only writes the above code into the PDF document but doesn't write the plot.

No errors are printed:

$ quatro render example-julia-fig-parametric.qmd --to pdf
Starting python3 kernel...Done

Executing 'example-julia-fig-parametric.quarto_ipynb'

pandoc 
  to: latex
  output-file: example-julia-fig-parametric.tex
  standalone: true
  pdf-engine: xelatex
  variables:
    graphics: true
    tables: true
  default-image-extension: pdf
  
metadata
  documentclass: scrartcl
  classoption:
    - DIV=11
    - numbers=noendperiod
  papersize: letter
  header-includes:
    - \KOMAoption{captions}{tableheading}
  block-headings: true
  

Rendering PDF
running xelatex - 1
  This is XeTeX, Version 3.141592653-2.6-0.999997 (Web2C 2025) (preloaded format=xelatex)
   restricted \write18 enabled.
  entering extended mode
  
running xelatex - 2
  This is XeTeX, Version 3.141592653-2.6-0.999997 (Web2C 2025) (preloaded format=xelatex)
   restricted \write18 enabled.
  entering extended mode
  

Output created: example-julia-fig-parametric.pdf

Version: 1.7.21
deno-2.2.2
FreeBSD 14.2

Steps to reproduce

No response

Actual behavior

No response

Expected behavior

No response

Your environment

No response

Quarto check output

$ quarto check
Quarto 1.7.21
[✓] Checking environment information...
      Quarto cache location: /home/yuri/.cache/quarto
[✓] Checking versions of quarto binary dependencies...
      NOTE: Pandoc version 3.6.4 does not strictly match 3.6.3 and strict checking is enabled. Please use 3.6.3.
      NOTE: Dart Sass version 1.49.8 does not strictly match 1.85.1 and strict checking is enabled. Please use 1.85.1.
      NOTE: Deno version 2.2.2 does not strictly match 1.46.3 and strict checking is enabled. Please use 1.46.3.
      NOTE: Typst version 0.13.1 does not strictly match 0.13.0 and strict checking is enabled. Please use 0.13.0.
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.7.21
      Path: /usr/local/share/quarto/bin

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

[✓] Checking LaTeX....................OK
      Using: Installation From Path
      Path: /usr/local/bin
      Version: undefined

[✓] Checking Chrome Headless....................OK
      Chrome:  (not detected)

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

[✓] Checking Python 3 installation....OK
      Version: 3.11.11
      Path: /usr/local/bin/python3.11
      Jupyter: 5.7.2
      Kernels: python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
      Version: 4.4.3
      Path: /usr/local/lib/R
      LibPaths:
        - /usr/home/yuri/R/amd64-portbld-freebsd14.1-library/4.4
        - /usr/local/lib/R/library
      knitr: 1.50
      rmarkdown: 2.29

[✓] Checking Knitr engine render......OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-reproIssues that are blocked until reporter provides an adequate reproductionstaleIssues open for 30+ days without providing a "working" reproducible example

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions