Typst: minimize external package dependencies to ameliorate third-party SSL issues
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 32/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 領域
- build-system, cli
研究方向
No source file or test is named. Start by rendering the supplied minimal .qmd example in Typst and inspect how callout boxes generate the fontawesome import and package download. Done means the example renders without requiring the failing external package download or encountering the reported TLS certificate error.
由索引模型根據 Issue 內容生成。
描述
What would you like to do?
Report an issue on quarto.org
Description
Problem
When trying to render a document in the typst format, callout boxes lead to an error because the fontawesome package is ostensibly missing. I tried to install the package but haven't found a way to achieve this.
Any suggestions to fix this would be very much appreciated!
Details
Simple qmd file to replicate the error:
---
title: "Untitled"
format:
typst:
papersize: a4
---
## Slide 1
Bla bla bla. Bla bla bla. Bla bla bla.
::: {.callout-note icon="false" title="In plain language"}
blalalal
:::
Error message:
[typst]: Compiling delete.typ to delete.pdf...downloading @preview/fontawesome:0.1.0
error: failed to download package (https://packages.typst.org/preview/fontawesome-0.1.0.tar.gz: Connection Failed: tls connection init failed: invalid peer certificate: UnknownIssuer)
┌─ delete.typ:245:8
│
245 │ #import "@preview/fontawesome:0.1.0": *
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Quarto check returns the following:
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.4.549
Path: /opt/quarto/bin
[✓] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: Installation From Path
Path: /usr/local/texlive/bin/linux
Version: 2023
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.10.12
Path: /tmp/RtmpAhlipE/rstudio/terminal/python3
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter
[✓] Checking R installation...........OK
Version: 4.3.1
Path: /usr/local/lib/R
LibPaths:
- .../renv/library/R-4.3/x86_64-pc-linux-gnu
- .../.cache/R/renv/sandbox/R-4.3/x86_64-pc-linux-gnu/25ebdc09
knitr: 1.45
rmarkdown: 2.25
[✓] Checking Knitr engine render......OK
- 主要語言
- JavaScript
- 星號
- 6k
- 分支
- 458
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 41
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
quarto-dev/quarto-cli 的其他 Issue
-
binder bug
難度 1/5 1 小時以內 新手友好度 92/100
quarto-dev/quarto-cli#14907 · 3 則留言 ·
-
brand bug
難度 2/5 1-3 小時 新手友好度 68/100
quarto-dev/quarto-cli#14891 ·
-
brand bug html revealjs
難度 2/5 1-3 小時 新手友好度 84/100
quarto-dev/quarto-cli#14882 ·
-
bug
難度 2/5 1-3 小時 新手友好度 85/100
quarto-dev/quarto-cli#14875 ·
-
Percent scripts: accept raw-string (r""") and '''-delimited markdown cells, as jupytext writes them 未關閉engines-jupyter enhancement
難度 2/5 1-3 小時 新手友好度 84/100
quarto-dev/quarto-cli#14850 · 2 則留言 ·
查看 quarto-dev/quarto-cli 的全部 Issue
相似的 Issue
-
code-quality refactoring
難度 2/5 1-3 小時 新手友好度 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
難度 2/5 1-3 小時 新手友好度 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
難度 2/5 1-3 小時 新手友好度 86/100
githubnext/gh-aw-cao#13143 ·
-
status: needs triage
難度 2/5 1-3 小時 新手友好度 88/100
-
難度 2/5 1-3 小時 新手友好度 88/100