### Bug description

Hi,

I'm trying out quarto 1.3.313, and noted an error when trying to render a qmd file with a graphviz diagram to PDF. Here's an example:

````md
---
title: "PDF Test"
format: pdf
---

```{dot}
graph G {
  layout=neato
  run -- intr;
  intr -- runbl;
  runbl -- run;
  run -- kernel;
  kernel -- zombie;
  kernel -- sleep;
  kernel -- runmem;
  sleep -- swap;
  swap -- runswap;
  runswap -- new;
  runswap -- runmem;
  new -- runmem;
  sleep -- runmem;
}
```

````

The error I got with xelatex is:

```
compilation failed- error
Unable to load picture or PDF file 'undefined.pdf'.
<to be read again> 
                   }
l.160 ...[width=5.5in,height=3.5in]{undefined.pdf}
```

In the output .tex file, the relevant lines are

```
\begin{figure}[H]

{\centering \includegraphics[width=5.5in,height=3.5in]{undefined.pdf}

}

\end{figure}
```

The file is rendered with no problem in quarto 1.2.475. Do you have any idea why this happens? I'm using Pandoc 3.1.2, with Ubuntu 22.04.

Here is my RStudio version:

RStudio 2023.03.0+386 "Cherry Blossom" Release (3c53477afb13ab959aeb5b34df1f10c237b256c3, 2023-03-09) for Ubuntu Jammy
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) rstudio/2023.03.0+386 Chrome/108.0.5359.179 Electron/22.0.3 Safari/537.36

And `quarto check` output:

```
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.1: OK
      Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.3.313
      Path: /opt/quarto/bin

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

[✓] Checking Python 3 installation....OK
      Version: 3.7.6 (Conda)
      Path: /home/markl/.julia/conda/3/bin/python3
      Jupyter: 4.6.1
      Kernels: python3, julia-1.7

(-) Checking Jupyter engine render....Traceback (most recent call last):
  File "/opt/quarto/share/jupyter/jupyter.py", line 21, in <module>
    from notebook import notebook_execute, RestartKernel
  File "/opt/quarto/share/jupyter/notebook.py", line 18, in <module>
    from nbclient import NotebookClient
ModuleNotFoundError: No module named 'nbclient'
[✓] Checking Jupyter engine render....OK
```

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
- [X] Please provide the output of `quarto check` so we know which version of quarto and its dependencies you're running.
cscheid
2023-04-07T21:41:02Z
marklhc
bug puppeteer
v1.4
closed
Compilation failed when rendering to PDF with Graphviz diagrams in Quarto 1.3
https://github.com/quarto-dev/quarto-cli/issues/5128