pkg.soopen package index

brew / 排名 3448

使用 Homebrew, apt, MacPorts 安装 latexdiff

查看 latexdiff 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install latexdiff

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install latexdiff

MacPorts ports tree · tex/latexdiff/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install latexdiff

Debian stable package indexes · latexdiff · 来源: deb.debian.org

概览

软件包摘要

Compare and mark up LaTeX file differences

命令和别名

  • latexdiff
  • latexdiff-fast
  • latexdiff-so
  • latexdiff-vc
  • latexrevise

历史

项目历史与用法

latexdiff is a Perl tool for comparing two LaTeX files and producing a marked-up LaTeX file that shows significant textual changes. It fills the same social role for LaTeX authors that track changes fills in word processors.

项目历史

CTAN identifies latexdiff as a package for determining and marking up significant differences between LaTeX files, with Frederik J. Tilmann as maintainer and copyright beginning in 2004. The main script header likewise names F J Tilmann and points to CTAN and the GitHub repository.

The project expanded beyond the core `latexdiff` script to include `latexrevise`, which can accept or reject changes, and `latexdiff-vc`, a wrapper for version-control systems. The `latexdiff-vc` script records support for systems such as CVS, RCS, SVN, Git, and Mercurial, with Git support appearing in its 1.0.1 history.

The GitHub repository was created on 2014-06-17. CTAN lists the package in TeX Live and MiKTeX and records the 2026-01-02 package version date.

采用历史

latexdiff became a standard utility in academic and technical writing because journals, supervisors, and collaborators often request visible revisions, while LaTeX source files do not map naturally to word-processor track changes. CTAN, TeX Live, MiKTeX, Homebrew, Debian, MacPorts, and Ubuntu packaging made it easy to add to authoring workflows.

The ecosystem around it includes wrapper scripts and front ends such as git-latexdiff, latexdiffr, latexdiffcite, and browser/WebAssembly interfaces, reflecting the same need across Git, R Markdown, BibTeX, and web-based workflows.

使用方式

The typical command compares an old and a new `.tex` file and emits a new LaTeX file with inserted and deleted text marked using standard LaTeX packages. Users then compile the generated file to inspect revisions, or use `latexrevise` and `latexdiff-vc` for accepting changes or comparing version-control revisions.

为什么软件包爱好者会关心

latexdiff is package-nerd significant because it is small, scriptable, and solves a workflow problem that version-control diffs do not solve for human reviewers: a compiled PDF showing semantic document changes.

It is also a classic example of a package that glues together language tooling, version control, and publishing conventions without needing a GUI.

时间线

  • 2004: Copyright range begins for the main latexdiff script.
  • 2005: latexdiff-vc copyright range begins.
  • 2014-06-17: GitHub repository created.
  • 2018-10-07: latexdiff-vc 1.3.0 records an `--only-changes` option.
  • 2026-01-02: CTAN package version date for latexdiff 1.4.0.

Related projects

  • Related projects include latexrevise, latexdiff-vc, git-latexdiff, latexdiffr, latexdiffcite, latexchanges, TeX Live, MiKTeX, Git, Subversion, Mercurial, and Algorithm::Diff.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
latexdiff可执行文件已索引可执行文件从本地可执行文件索引发现。
latexdiff-fast可执行文件已索引可执行文件从本地可执行文件索引发现。
latexdiff-so可执行文件已索引可执行文件从本地可执行文件索引发现。
latexdiff-vc可执行文件已索引可执行文件从本地可执行文件索引发现。
latexrevise可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.4.0
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:latexdiff
版本1.4.0
软件包管理器Homebrew
主页https://www.ctan.org/pkg/latexdiff
仓库https://github.com/ftilmann/latexdiff
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

latexdiff 1.3.2-1

utility to mark up significant differences between LaTeX files

https://www.ctan.org/pkg/latexdiff

sudo apt install latexdiff
  • Section: tex
  • Architecture: all
  • 1 依赖
  • 9 可选依赖
  • normalized package name match
  • 匹配方式:Latexdiff
Debian stable package indexes · deb.debian.org · Debian stable package indexes: latexdiff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

latexdiff 1.3.2-1

utility to mark up significant differences between LaTeX files

https://www.ctan.org/pkg/latexdiff

sudo apt install latexdiff
  • Section: universe/tex
  • Architecture: all
  • 1 依赖
  • 9 可选依赖
  • normalized package name match
  • 匹配方式:Latexdiff
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: latexdiff from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

latexdiff

sudo port install latexdiff
  • normalized package name match
  • 匹配方式:Latexdiff
MacPorts ports tree · api.github.com · MacPorts ports tree: tex/latexdiff/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation