Skip to content

Book: PDF output with SVG images #997

@pat-s

Description

@pat-s

I've read #196 and the linked documentation but still do not know how to proceed.

We're currently aiming to switch from a large bookdown book to quarto.

For the PDF output we get errors like

compilation failed- error
LaTeX Error: Cannot determine size of graphic in ./images/learner.svg (no Bou
ndingBox).

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.1636 \includegraphics{./images/learner.svg}

The source references the file via

```{r 02-basics-001, echo = FALSE}
knitr::include_graphics("images/ml_abstraction.svg")
```

This works with bookdown but quarto does not seem to take it directly.

Can quarto already handle such cases dynamically?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions