macOS
brew install latexdifflocal Homebrew formula metadata
sudo port install latexdiffMacPorts ports tree · tex/latexdiff/Portfile · 来源: api.github.com
安装
brew install latexdifflocal Homebrew formula metadata
sudo port install latexdiffMacPorts ports tree · tex/latexdiff/Portfile · 来源: api.github.com
sudo apt install latexdiffDebian stable package indexes · latexdiff · 来源: deb.debian.org
概览
Compare and mark up LaTeX file differences
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
latexdiff | cli | 全局可执行文件 | |
latexdiff-fast | cli | 全局可执行文件 | |
latexdiff-so | cli | 全局可执行文件 | |
latexdiff-vc | cli | 全局可执行文件 | |
latexrevise | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/ftilmann/latexdiff
安装元数据
| 软件包键 | brew:latexdiff |
|---|---|
| 版本 | 1.4.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/latexdiff |
| 主页 | https://www.ctan.org/pkg/latexdiff |
| 仓库 | https://github.com/ftilmann/latexdiff |
| 上游文档 | https://ctan.org/pkg/latexdiff |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://github.com/ftilmann/latexdiff/releases/download/1.4.0/latexdiff-1.4.0.tar.gz |
| macOS 提供的库 | perl |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | latexdiff |
| 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 软件包链接分开显示。
latexdiff 1.3.2-1
utility to mark up significant differences between LaTeX files
https://www.ctan.org/pkg/latexdiff
sudo apt install latexdifflatexdiff 1.3.2-1
utility to mark up significant differences between LaTeX files
https://www.ctan.org/pkg/latexdiff
sudo apt install latexdifflatexdiff
sudo port install latexdiff来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.