Book: PDF output with SVG images

Đang mở
#997 18 bình luận 3 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
latex, r

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
JavaScript
Star
6k
Fork
458
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
41

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của quarto-dev/quarto-cli

Tất cả issue của quarto-dev/quarto-cli

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.