Book: PDF output with SVG images

Aperta
#997 18 commenti 3 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
latex, r

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.

Descrizione

books enhancement

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?

Lingua principale
JavaScript
Stelle
6k
Fork
458
Merge medio
1g 9h
PR unite (30g)
41

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di quarto-dev/quarto-cli

Tutte le issue di quarto-dev/quarto-cli

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.