Skip to content

e-chan1007/hayatex

Repository files navigation

HayaTeX: A Fast TeX Live Installer

Screen recording of HayaTeX installation process

日本語版はこちら (Japanese Version)

HayaTeX (pronounced "hayate") is a TUI-based fast TeX Live installer written in Go.

By leveraging parallel downloads and optimized configuration steps, HayaTeX significantly reduces the time required to set up a TeX Live environment.

Tip

HayaTeX is named after the Japanese word "Hayate"(はやて), which means "gale", a wind that blows hard and fast. The name reflects the goal of this installer: to provide a fast and efficient way to install TeX Live.

The name is also known as the name of Japanese Shinkansen(bullet train).

Features

  • Fast installation using parallel downloads and execution of configuration commands
  • Automatic configuration with TeX Live profiles

Warning

Profile-based installation is currently not fully supported. Only a limited set of profile options like select_scheme are supported, and some options may be ignored or cause unexpected behavior. If you encounter issues with profile-based installation, please refer to the configuration code for the currently supported options.

Installation

You can download the latest release of HayaTeX from the GitHub releases page. Alternatively, you can build HayaTeX from source using Go:

git clone https://github.com/e-chan1007/hayatex.git
cd hayatex
go build .

Usage

Just run the compiled binary and follow the prompts.

./hayatex

You can also specify a configuration profile and mirror repository URL:

./hayatex --profile path/to/texlive.profile --repository http://example.com/ctan/

Warning

By default, HayaTeX uses a faster implementation for executing format commands, which may cause issues in some environments. If you encounter problems after installation, try running fmtutil-sys --all to regenerate format files. Alternatively, in the installation step, you can enable compatibility mode to use the standard fmtutil command instead of the faster implementation. This may increase installation time but can improve compatibility with certain TeX Live configurations.

./hayatex --compat

About

HayaTeX (はやて): A Fast TeX Live Installer; for instant use: https://zenn.dev/e_chan1007/articles/8029f3f9dff2be

Resources

License

Stars

6 stars

Watchers

0 watching

Forks

Languages