Repository navigation
Releases
tift 0.1.6
- Expand syntax and formatting coverage for expl3 literal data, hook callbacks, opaque source regions, and deeply nested environments.
- Improve repeated-format performance by reusing activity scans, borrowing expl3 call metadata, reducing opaque-marker allocations, and indexing cross-argument boundaries.
- Add regression coverage and release-mode benchmarks for syntax stability and real-corpus throughput.
Download the archive for Windows, Linux, or macOS from the latest GitHub Release, extract the executable, and add its directory to PATH. Cargo installation requires Rust 1.99.1 or later.
cargo install tift --version 0.1.6 --locked --registry crates-iotift 0.1.5
- Improve TeX parsing for scoped expl3 syntax, conditionals, custom environments, and delayed command arguments. Preserve literal and macro-definition content across indentation, alignment, and math formatting.
- Preserve declared source encodings when reading and writing LaTeX and BibTeX files, including encoding declarations in header comments.
- Serialize concurrent writes and backup rotation for the same output path, using stable lock files alongside atomic file replacements.
- Refine BibTeX cleanup and normalization, and expand support for document, reference, key-definition, and code-listing commands.
- Improve project context, configuration handling, and persistent-cache behavior for the expanded syntax and encoding support.
Download the archive for your platform, extract the executable, and add its directory to PATH. The archive includes a sample configuration. Cargo installation requires Rust 1.99.1 or later.
cargo install tift --version 0.1.5 --locked --registry crates-iotift 0.1.4
- Configure horizontal formula spacing separately from display line breaks. Keep existing lines, join eligible display bodies onto one line, or wrap to a separate math width with optional operator priorities.
- Enable optional layout for multiline key/value assignments, table column specifications, literal
\foreachlists, andforestandqtreebracket trees. These options preserve the previous layout by default. - Preserve literal bodies in more code and pseudocode environments, including
algorithmic, and recognize more custom listing declarations from minted, PythonTeX, codehigh, and tcolorbox. - Expand support for document and scientific commands, including date and exercise settings, CJK authoring, equation helpers, mathpartir proofs, and physics2 matrices. Literal options and metadata retain their contents.
- Keep the hanging indentation of list prose when a long item title wraps. Reduce repeated parsing during indentation and math formatting.
Download the archive for your platform, extract the executable, and add its directory to PATH. The archive includes a sample configuration. Cargo installation requires Rust 1.99.1 or later.
cargo install tift --version 0.1.4 --locked --registry crates-iotift 0.1.3
Format LaTeX documents and bibliographies with expanded package support, including CJK writing workflows.
- Recognize more document commands, local environments, and package options.
- Export a complete project configuration with
tift --dump-config. - Optionally clean up BibTeX entries, fields, titles, and URLs.
Download the archive for your platform, extract tift, and add it to PATH. The archive includes a configuration example. Cargo installation requires Rust 1.99.1 or later:
cargo install tift --version 0.1.3 --locked --registry crates-iotift 0.1.2
Highlights
- Added CJK author package support for ctex, xeCJK, xeCJKfntef, xpinyin, zhnumber, zhlipsum, CJK, CJKfntef, CJKnumb, and luatexja-fontspec.
- Preserved CJK font options, pronunciation data, Chinese numeral settings, CJK environments, and underline annotation arguments while formatting nested prose and formulas.
- Improved repeat-formatting stability for nested formulas, subscripts, and long displays.
- Formula slash spacing keeps
a / bwhen both sides are spaced and normalizes one-sided or repeated spacing. - Added configurable BibTeX and BibLaTeX name case while preserving names by default.
- Added ordered tabularray row, column, cell, and span overrides for source column alignment.
- Expanded citation, subcaption, xparse, key-definition, and engine-conditional support.
tift 0.1.1
tift 0.1.1 expands LaTeX and bibliography formatting.
- Rewrap prose paragraphs to a chosen line width.
- Format and optionally sort BibTeX and BibLaTeX entries.
- Align table source according to column specifications.
- Format formula spacing, algorithm2e, expl3, and documented TeX sources.
Requires Rust 1.90 or later. See the Wiki for configuration and usage.
tift 0.1.0
tift 0.1.0 provides a command-line formatter and Rust library for LaTeX and BibTeX source.
- Configurable indentation, table and equation alignment, and prose wrapping.
- Package-aware formatting, verbatim protection, and local formatting controls.
- Project discovery, TOML configuration, previews, CI checks, and editor integration.
Requires Rust 1.90 or later. See the Wiki for installation and usage.