quarto-dev / quarto-dev/quarto-cli
Book: PDF output with SVG images
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 6k
- Fork
- 458
- Merge medio
- 1g 9h
- PR unite (30g)
- 41
Descrizione
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?
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Reproduce the PDF render using the shown knitr::include_graphics call and the referenced SVG files, then inspect the resulting LaTeX error about a missing BoundingBox. Determine whether Quarto already supports this input; done means documenting the supported behavior or identifying the required rendering change.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- latex, r
- Ambito
- build-system, documentation
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100