From 63662eff1731b8c5be10b52b2eeb1626253ee026 Mon Sep 17 00:00:00 2001 From: gomazarashi Date: Sat, 24 Oct 2026 00:43:52 +0900 Subject: [PATCH 1/2] =?UTF-8?q?`/docs/changelog/0.3.0/`=E3=81=AE=E7=BF=BB?= =?UTF-8?q?=E8=A8=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/changelog/0.3.0.md | 128 ++++++++++++++------------------ website/translation-status.json | 2 +- 2 files changed, 57 insertions(+), 73 deletions(-) diff --git a/docs/changelog/0.3.0.md b/docs/changelog/0.3.0.md index 291e842d65..cb4b2db785 100644 --- a/docs/changelog/0.3.0.md +++ b/docs/changelog/0.3.0.md @@ -1,77 +1,61 @@ --- title: 0.3.0 -description: Changes in Typst 0.3.0 +description: Typst 0.3.0の変更点 --- -# Version 0.3.0 (April 26, 2023) - -## Breaking changes -- Renamed a few symbols: What was previous `dot.op` is now just `dot` and the - basic dot is `dot.basic`. The same applies to `ast` and `tilde`. -- Renamed `mod` to [`rem`]($calc.rem) to more accurately reflect the behavior. - It will remain available as `mod` until the next update as a grace period. -- A lone underscore is not a valid identifier anymore, it can now only be used - in patterns -- Removed `before` and `after` arguments from [`query`]($query). This is now handled - through flexible [selectors]($selector) combinator methods -- Added support for [attachments]($math.attach) (sub-, superscripts) that - precede the base symbol. The `top` and `bottom` arguments have been renamed to - `t` and `b`. - -## New features -- Added support for more complex [strokes]($stroke) (configurable caps, joins, - and dash patterns) -- Added [`cancel`]($math.cancel) function for equations -- Added support for [destructuring]($scripting/#bindings) in argument lists and - assignments -- Added [`alt`]($image.alt) text argument to image function -- Added [`toml`]($toml) function for loading data from a TOML file -- Added [`zip`]($array.zip), [`sum`]($array.sum), and - [`product`]($array.product) methods for arrays -- Added `fact`, `perm`, `binom`, `gcd`, `lcm`, `atan2`, `quo`, `trunc`, and - `fract` [calculation]($category/foundations/calc) functions - -## Improvements -- Text in SVGs now displays properly -- Typst now generates a PDF heading outline -- [References]($ref) now provides the referenced element as a field in show - rules -- Refined linebreak algorithm for better Chinese justification -- Locations are now a valid kind of selector -- Added a few symbols for algebra -- Added Spanish smart quote support -- Added [`selector`]($selector) function to turn a selector-like value into a selector on - which combinator methods can be called -- Improved some error messages -- The outline and bibliography headings can now be styled with show-set rules -- Operations on numbers now produce an error instead of overflowing - -## Bug fixes -- Fixed wrong linebreak before punctuation that follows inline equations, - citations, and other elements -- Fixed a bug with [argument sinks]($arguments) -- Fixed strokes with thickness zero -- Fixed hiding and show rules in math -- Fixed alignment in matrices -- Fixed some alignment bugs in equations -- Fixed grid cell alignment -- Fixed alignment of list marker and enum markers in presence of global - alignment settings -- Fixed [path]($path) closing -- Fixed compiler crash with figure references -- A single trailing line breaks is now ignored in math, just like in text - -## Command line interface -- Font path and compilation root can now be set with the environment variables - `TYPST_FONT_PATHS` and `TYPST_ROOT` -- The output of `typst fonts` now includes the embedded fonts - -## Development -- Added instrumentation for debugging and optimization -- Added `--update` flag and `UPDATE_EXPECT` environment variable to update - reference images for tests -- You can now run a specific subtest with `--subtest` -- Tests now run on multiple threads - -## Contributors +# バージョン0.3.0(2023年4月26日) + +## 破壊的変更 +- いくつかの記号の名前を変更しました。以前の`dot.op`は単に`dot`に、基本のドットは`dot.basic`になりました。`ast`と`tilde`も同様です。 +- 動作をより正確に反映するため、`mod`の名前を[`rem`]($calc.rem)に変更しました。猶予期間として、次の更新までは`mod`として引き続き利用できます。 +- 単独のアンダースコアは有効な識別子ではなくなり、パターン内でのみ使用できるようになりました。 +- [`query`]($query)から`before`と`after`引数を削除しました。代わりに、柔軟な[セレクター]($selector)のコンビネーターメソッドを使用します。 +- ベースとなる記号の前に置かれる[アタッチメント]($math.attach)(下付き文字、上付き文字)に対応しました。`top`と`bottom`引数の名前を`t`と`b`に変更しました。 + +## 新機能 +- より複雑な[ストローク]($stroke)(キャップ、接合、破線パターンを設定可能)に対応しました。 +- 数式用の[`cancel`]($math.cancel)関数を追加しました。 +- 引数リストと代入で[分割]($scripting/#bindings)ができるようになりました。 +- image関数に代替テキストの[`alt`]($image.alt)引数を追加しました。 +- TOMLファイルからデータを読み込むための[`toml`]($toml)関数を追加しました。 +- 配列用の[`zip`]($array.zip)、[`sum`]($array.sum)、[`product`]($array.product)メソッドを追加しました。 +- `fact`、`perm`、`binom`、`gcd`、`lcm`、`atan2`、`quo`、`trunc`、`fract`の[計算]($category/foundations/calc)関数を追加しました。 + +## 改善 +- SVG内のテキストが正しく表示されるようになりました。 +- TypstがPDFの見出しアウトラインを生成するようになりました。 +- [参照]($ref)がshowルールで参照先の要素をフィールドとして提供するようになりました。 +- 中国語の均等割り付けを改善するため、改行アルゴリズムを改良しました。 +- ロケーションが有効なセレクターの一種になりました。 +- 代数用の記号をいくつか追加しました。 +- スペイン語のスマートクォートを追加しました。 +- セレクターのような値をセレクターに変換する[`selector`]($selector)関数を追加しました。変換後のセレクターでは、コンビネーターメソッドを呼び出せます。 +- 一部のエラーメッセージを改善しました。 +- アウトラインと参考文献の見出しをshow-setルールでスタイル設定できるようになりました。 +- 数値に対する演算が、オーバーフローする代わりにエラーを出すようになりました。 + +## バグ修正 +- インライン数式や引用、その他の要素に続く句読点の前で誤って改行される問題を修正しました。 +- [引数シンク]($arguments)のバグを修正しました。 +- 太さがゼロのストロークの問題を修正しました。 +- 数式における非表示とshowルールの処理を修正しました。 +- 行列の配置を修正しました。 +- 数式の配置に関するいくつかのバグを修正しました。 +- グリッドのセルの配置を修正しました。 +- グローバルな配置設定がある場合に、箇条書きリストと番号付きリストのマーカーの配置を修正しました。 +- [パス]($path)を閉じる処理を修正しました。 +- 図表の参照時に発生するコンパイラーのクラッシュを修正しました。 +- 文章と同様、数式でも末尾の単一の改行が無視されるようになりました。 + +## コマンドラインインターフェース +- フォントパスとコンパイルルートは、環境変数`TYPST_FONT_PATHS`と`TYPST_ROOT`で設定できるようになりました。 +- `typst fonts`の出力に埋め込みフォントが含まれるようになりました。 + +## 開発 +- デバッグと最適化のためのインストルメンテーションを追加しました。 +- テストの参照画像を更新するための`--update`フラグと`UPDATE_EXPECT`環境変数を追加しました。 +- `--subtest`で特定のサブテストを実行できるようになりました。 +- テストが複数のスレッドで実行されるようになりました。 + +## 貢献者 diff --git a/website/translation-status.json b/website/translation-status.json index 8ae11550e5..cd11335fc8 100644 --- a/website/translation-status.json +++ b/website/translation-status.json @@ -194,7 +194,7 @@ "/docs/changelog/0.6.0/": "untranslated", "/docs/changelog/0.5.0/": "untranslated", "/docs/changelog/0.4.0/": "untranslated", - "/docs/changelog/0.3.0/": "untranslated", + "/docs/changelog/0.3.0/": "translated", "/docs/changelog/0.2.0/": "translated", "/docs/changelog/0.1.0/": "translated", "/docs/changelog/earlier/": "untranslated", From 2994cc4d018a2e3d5b3ef9b5687c43a131b0c70d Mon Sep 17 00:00:00 2001 From: gomazarashi Date: Sat, 24 Oct 2026 00:50:27 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E8=A1=A8=E7=8F=BE=E3=82=92=E6=94=B9?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/changelog/0.3.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changelog/0.3.0.md b/docs/changelog/0.3.0.md index cb4b2db785..1a2c30c59b 100644 --- a/docs/changelog/0.3.0.md +++ b/docs/changelog/0.3.0.md @@ -28,7 +28,7 @@ description: Typst 0.3.0の変更点 - 中国語の均等割り付けを改善するため、改行アルゴリズムを改良しました。 - ロケーションが有効なセレクターの一種になりました。 - 代数用の記号をいくつか追加しました。 -- スペイン語のスマートクォートを追加しました。 +- スペイン語のスマートクォートに対応しました。 - セレクターのような値をセレクターに変換する[`selector`]($selector)関数を追加しました。変換後のセレクターでは、コンビネーターメソッドを呼び出せます。 - 一部のエラーメッセージを改善しました。 - アウトラインと参考文献の見出しをshow-setルールでスタイル設定できるようになりました。