Skip to content

chore: textlint-rule-preset-ja-technical-writingを追加 - #412

Open
3w36zj6 wants to merge 30 commits into
mainfrom
feature/add-textlint-rule-preset-ja-technical-writing
Open

chore: textlint-rule-preset-ja-technical-writingを追加#412
3w36zj6 wants to merge 30 commits into
mainfrom
feature/add-textlint-rule-preset-ja-technical-writing

Conversation

@3w36zj6

@3w36zj6 3w36zj6 commented Jul 10, 2026

Copy link
Copy Markdown
Member

close #372

変更点

  • textlint-rule-preset-ja-technical-writingを追加した
    • ルールの設定はデフォルトの設定を基準に原文に依存する表現を検知しないように緩くしています
  • textlintの自動修正を適用した
  • textlintの自動修正に対応していないエラーをLLM (gpt-5.5)で修正した

@3w36zj6
3w36zj6 marked this pull request as ready for review July 17, 2026 17:54
Comment thread docs/tutorial/3-advanced.md
Comment thread crates/typst-library/src/visualize/image/mod.rs Outdated
Comment thread crates/typst-library/src/model/footnote.rs Outdated
Comment thread crates/typst-library/src/foundations/func.rs Outdated
Comment thread crates/typst-library/src/layout/align.rs Outdated
Comment thread crates/typst-library/src/layout/dir.rs Outdated
Comment thread crates/typst-library/src/layout/layout.rs Outdated
Comment thread crates/typst-library/src/model/heading.rs Outdated
Comment thread crates/typst-library/src/text/lorem.rs Outdated
Comment thread crates/typst-library/src/layout/container.rs Outdated
@kimushun1101

Copy link
Copy Markdown
Member

個人的な感覚でひとまずコメントしてみました。採否はお任せいたします。

Comment thread crates/typst-library/src/foundations/calc.rs Outdated
Comment thread crates/typst-library/src/foundations/calc.rs Outdated
3w36zj6 and others added 9 commits July 18, 2026 22:47
Co-authored-by: ultimatile <18307308+ultimatile@users.noreply.github.com>
Co-authored-by: 3w36zj6 <52315048+3w36zj6@users.noreply.github.com>
Co-authored-by: 3w36zj6 <52315048+3w36zj6@users.noreply.github.com>
Co-authored-by: 3w36zj6 <52315048+3w36zj6@users.noreply.github.com>
Co-authored-by: kimushun1101 <13430937+kimushun1101@users.noreply.github.com>
Co-authored-by: 3w36zj6 <52315048+3w36zj6@users.noreply.github.com>
Co-authored-by: 3w36zj6 <52315048+3w36zj6@users.noreply.github.com>
kimushun1101 and others added 2 commits July 20, 2026 06:28
Co-authored-by: 3w36zj6 <52315048+3w36zj6@users.noreply.github.com>
Co-authored-by: 3w36zj6 <52315048+3w36zj6@users.noreply.github.com>

@kimushun1101 kimushun1101 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ご対応ありがとうございました!

Comment thread crates/typst-library/src/layout/layout.rs
@3w36zj6
3w36zj6 requested a review from ultimatile July 20, 2026 14:27
@ultimatile

Copy link
Copy Markdown
Contributor

対応ありがとうございます。確認にまだ時間がかかります、すみません。

Comment thread crates/typst-library/src/layout/repeat.rs Outdated
Comment thread crates/typst-library/src/math/accent.rs Outdated
Comment thread crates/typst-library/src/model/figure.rs
Comment thread crates/typst-library/src/model/figure.rs Outdated
3w36zj6 and others added 3 commits August 2, 2026 21:55
Co-authored-by: ultimatile <18307308+ultimatile@users.noreply.github.com>
Co-authored-by: ultimatile <18307308+ultimatile@users.noreply.github.com>
Co-authored-by: ultimatile <18307308+ultimatile@users.noreply.github.com>
@3w36zj6
3w36zj6 requested a review from ultimatile August 2, 2026 13:10
///
/// 見出しレベルを飛ばさないことが重要です。最初は第1レベルから始め、
/// 例えば直前がレベル3なら、次はレベル3(同じ深さ)、レベル4(1つ深く)、
/// 例えば直前がレベル3なら、次にレベル3(同じ深さ)、レベル4(1つ深く)、

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

「次に」は違和感があります。また、最後が「〜に〜に」になっているようにも見えます。
正直大案があまり思いつかないですが、「続いて」とかでしょうか。あるいは「次は」削ってしまうのもありかもしれません。

///
/// このテキストはスクリーンリーダーなどの支援技術(AT)によって、
/// 視覚に障害のある利用者へ画像を説明するために使われます
/// 視覚に障害のある利用者へ画像を説明するため使われます

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

繋がりが日本語として不自然です。「〜に〜に」が狩られているならこれは通らないでしょうか?

Suggested change
/// 視覚に障害のある利用者へ画像を説明するため使われます
/// 視覚障害のある利用者へ画像を説明するために使われます

3w36zj6 and others added 3 commits August 3, 2026 23:58
Co-authored-by: ultimatile <18307308+ultimatile@users.noreply.github.com>
Co-authored-by: ultimatile <18307308+ultimatile@users.noreply.github.com>
@3w36zj6
3w36zj6 requested a review from ultimatile August 3, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

textlint-rule-preset-ja-technical-writingの導入

3 participants