Automic VaultAutomic Vault

brew

Install latexindent with Homebrew, scoop

Add indentation to LaTeX files. Version 4.0.2 via Homebrew; verified 2026-06-06. Also installable with scoop: scoop install main/latexindent.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install latexindent

local Homebrew formula metadata

Windows

Scoopverified · 92%
scoop install main/latexindent

Scoop official bucket manifest trees · bucket/latexindent.json · source: api.github.com

overview

Package summary

Add indentation to LaTeX files

Commands and aliases

  • latexindent

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2012-08-28: GitHub repository created.
  • 2022-01-21: CTAN announcement recorded version 3.15.
  • 2026-03-15: V4.0 released as a major code-block-detection overhaul.
  • 2026-06-06: V4.0.2 released.
  • 2026-06-08: CTAN announced the 4.0.2 update.

Related projects

  • Related projects and platforms include CTAN, TeX Live, MiKTeX, latexindent.pl's Read the Docs documentation, pre-commit, Conda, Docker, and editor or CI workflows that enforce TeX source formatting.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/indentconfig.yaml~/.indentconfig.yamllocalSettings.yaml in the target file directorycurrent working directory

executables

Installed executables

CommandKindExposureNote
latexindentcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-25
manager version4.0.2
manager updated2026-06-06
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/cmhughes/latexindent.pl

install metadata

Package metadata

Package keybrew:latexindent
Version4.0.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/latexindent
Homepagehttps://latexindentpl.readthedocs.io
Repositoryhttps://github.com/cmhughes/latexindent.pl
Upstream docshttps://latexindentpl.readthedocs.io/en/latest
LicenseGPL-3.0-or-later
Source archivehttps://github.com/cmhughes/latexindent.pl/archive/refs/tags/V4.0.2.tar.gz
Last updated2026-06-06T14:21:31Z
Pulseupdated
Dependenciesperl
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelatexindent
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Scoop95%

main/latexindent

scoop install main/latexindent
  • normalized package name match
  • Matched by: Latexindent
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/latexindent.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment