macOS
brew install latexindentlocal Homebrew formula metadata
brew
latexindent のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install latexindentlocal Homebrew formula metadata
scoop install main/latexindentScoop official bucket manifest trees · bucket/latexindent.json · ソース: api.github.com
概要
Add indentation to LaTeX files
履歴
latexindent.pl is a Perl formatter for LaTeX, TeX-adjacent, and BibTeX-style source files. It adds indentation, aligns delimiters, modifies line breaks, wraps text, and supports user customization through YAML settings.
The GitHub repository was created on 2012-08-28. CTAN lists Chris Hughes as maintainer, and the project README identifies the package as `latexindent.pl`, a Perl script to beautify, tidy, format, and indent code within environments, commands, headings, and special code blocks.
The project evolved from indentation into a broader source-formatting tool. The README documents delimiter alignment, line-break modification, text wrapping, one-sentence-per-line handling, string and regex replacements, Conda, Docker, and pre-commit support.
The 2026 V4.0 changelog records a major overhaul of how `latexindent.pl` finds code blocks, with user-setting changes and performance and interaction improvements. CTAN records version 4.0.2 dated 2026-06-06.
latexindent.pl is distributed through CTAN and is included in TeX Live and MiKTeX. Homebrew packages it as `latexindent`, and the upstream README documents standalone executables for Windows, Ubuntu Linux, and macOS, along with Conda, Docker, and pre-commit workflows.
Its adoption tracks the rise of formatter expectations in developer tooling: LaTeX authors increasingly want editor, CI, and pre-commit formatting support similar to language formatters such as gofmt, Black, or Prettier.
Users run `latexindent.pl myfile.tex` for a default formatting pass, often with `-l` to load YAML settings, `-o` to write a separate output file, or pre-commit hooks to format files during Git workflows. The documentation emphasizes testing output carefully before overwriting important documents.
latexindent.pl is package-nerd significant because it brings modern formatter ergonomics to TeX source: reproducible layout, YAML configuration, editor integration, pre-commit hooks, and CI-friendly command-line behavior.
It also has a packaging wrinkle maintainers care about: despite the Homebrew formula name `latexindent`, the upstream executable and documentation consistently center `latexindent.pl` and its Perl module/settings bundle.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/indentconfig.yaml~/.indentconfig.yamllocalSettings.yaml in the target file directorycurrent working directory実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
latexindent | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/cmhughes/latexindent.pl
インストールメタデータ
| パッケージキー | brew:latexindent |
|---|---|
| バージョン | 4.0.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/latexindent |
| ホームページ | https://latexindentpl.readthedocs.io |
| リポジトリ | https://github.com/cmhughes/latexindent.pl |
| 上流ドキュメント | https://latexindentpl.readthedocs.io/en/latest |
| ライセンス | GPL-3.0-or-later |
| ソースアーカイブ | https://github.com/cmhughes/latexindent.pl/archive/refs/tags/V4.0.2.tar.gz |
| 最終更新 | 2026-06-06T14:21:31Z |
| Pulse | updated |
| 依存関係 | perl |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | latexindent |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
main/latexindent
scoop install main/latexindentソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.