Typst: minimize external package dependencies to ameliorate third-party SSL issues

オープン
#8,701 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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 の本文から書いたものです。

説明

enhancement typst
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時間
マージ済み PR(30日)
41

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

quarto-dev/quarto-cli のほかの issue

quarto-dev/quarto-cli の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。