Open
Description
Bug description
A badge in SVG format works in our book when rendering as HTML, but not when rendering as PDF.
Since version 1.3 quarto automatically transform SVG images for PDF output.
This however, appears to work only with local files and no links.
Steps to reproduce
With the following *.qmd file
:
---
title: "title"
subtitle: "subtitle"
author: "me, & them"
nocite: |
@*
format:
pdf:
toc: true
toc-depth: 2
number-sections: true
number-depth: 2
use-rsvg-convert: true
output-file: "test"
output-ext: "pdf"
# resource-path: ["book/figures/"]
# linkcolor: RSSblue
# urlcolor: RSSblue
# include-in-header:
# - "_styles.tex"
editor: source
---
 <!-- NOTE THAT THIS DOES NOT WORK-->
 <!-- This works -->
Actual behavior
Error message:
Package svg Error: File `569245031_svg-tex.pdf' is missing.
Expected behavior
No response
Your environment
No response
Quarto check output
Quarto 1.4.555
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.4.555
Path: /usr/lib/rstudio/resources/app/bin/quarto/bin
[✓] Checking tools....................OK
TinyTeX: v2025.02
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /home/fabian/.TinyTeX/bin/x86_64-linux
Version: 2024
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.12.3
Path: /usr/bin/python3
Jupyter: 5.3.2
Kernels: python3
(|) Checking Jupyter engine render....Traceback (most recent call last):
File "/usr/lib/rstudio/resources/app/bin/quarto/share/jupyter/jupyter.py", line 21, in <module>
from notebook import notebook_execute, RestartKernel
File "/usr/lib/rstudio/resources/app/bin/quarto/share/jupyter/notebook.py", line 18, in <module>
from nbclient import NotebookClient
ModuleNotFoundError: No module named 'nbclient'
[✓] Checking Jupyter engine render....OK