Book: PDF output with SVG images

Offen
#997 18 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
latex, r

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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?

Vorherrschende Sprache
JavaScript
Sterne
6k
Forks
458
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
41

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus quarto-dev/quarto-cli

Alle Issues in quarto-dev/quarto-cli

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.