情報 / Info
当サイトは、Typst GmbHの許諾を得て、日本語コミュニティ「Typst Japanese Community」がTypst v0.14.0の公式ドキュメントを翻訳したものです。誤訳や古い情報が含まれている可能性があるため、公式ドキュメントとの併用を推奨します。翻訳の改善やサイトの機能向上について、GitHubでのIssueやPull Requestを歓迎します。コミュニティにご興味のある方はDiscordサーバー「くみはんクラブ」にぜひご参加ください。
This site provides a Japanese translation of the Typst v0.14.0 documentation maintained by the "Typst Japanese Community" with permission from Typst GmbH. We recommend using this alongside the official documentation. We welcome contributions through Issues and Pull Requests on our GitHub repository for both translation improvements and website enhancements. Feel free to join our Discord server "Kumihan Club".
部分的に翻訳済み

このページは部分的に翻訳されています。一部原文の内容が含まれています。

データの読み込み

外部ファイルからのデータの読み込み。

これらの関数は、 例えば実験結果のようなデータの読み込みと埋め込みを支援します。

Encoding

Some of the functions are also capable of encoding, e.g. cbor.encode. They facilitate passing structured data to plugins.

However, each data format has its own native types. Therefore, for an arbitrary Typst value, the encode-to-decode roundtrip might be lossy. In general, numbers, strings, and arrays or dictionaries composed of them can be reliably converted, while other types may fall back to strings via repr, which is for debugging purposes only. Please refer to the page of each data format for details.

定義

  • CBORファイルから構造化データを読み込む。
  • CSVファイルから構造化データを読み込む。
  • JSONファイルから構造化データを読み込む。
  • ファイルからプレーンテキストやデータを読み込む。
  • TOMLファイルから構造化データを読み込む。
  • XMLファイルから構造化データを読み込む。
  • YAMLファイルから構造化データを読み込む。
原文(英語)を開く

検索