Skip to content
leoliu0Public

About

No description, website, or topics provided.

Resources

Stars

193 stars

Watchers

3 watching

Forks

Repository files navigation

TeXres

CI Release License

TeXres is a TeX distribution in a single executable, written in Rust. It compiles LaTeX documents with pdfLaTeX, XeLaTeX or LuaLaTeX, and includes the LaTeX formats, a package archive, fonts, BibTeX, Biber and makeindex. You don't need TeX Live, and nothing is downloaded during a build.

texres paper.tex

This runs LaTeX, BibTeX or Biber and makeindex as many times as needed and writes paper.pdf. Output is compared against TeX Live 2026 in CI.

There is also a C library and a WebAssembly module that compile documents in memory; see docs/libraries.md.

Install

macOS (Homebrew)

brew install leoliu0/texres/texres

Or download the macOS installer (.pkg, Apple Silicon or Intel) from the latest release.

Linux (x86_64 and ARM64)

Download the package from the latest release. For ARM64, use the file with arm64 or aarch64 in its name.

# Debian / Ubuntu
sudo apt install ./texres_0.7.11_amd64.deb

# Fedora / RHEL / openSUSE
sudo dnf install ./texres-0.7.11-1.x86_64.rpm

# Arch (AUR)
yay -S texres-bin    # or build from source: yay -S texres

# Any other glibc distribution (installs to ~/.local)
tar -xzf tex-suite-v0.7.11-linux-x86_64.tar.gz && ./tex-suite-linux-x86_64/install.sh

ARM64 builds need glibc 2.36 or newer (Debian 12 or later), which includes Linux Docker containers on Apple Silicon. Alpine and other musl systems are not supported.

Windows

  1. Download texres-setup-…-windows-x64.exe from the latest release and run it.

  2. Keep Add texres to environment PATH ticked. It installs to C:\Program Files\texres\bin\texres.exe.

  3. Open a new PowerShell or Command Prompt window (old windows don't see the new PATH) and check:

    texres --version

For a portable copy without the installer, unzip tex-suite-…-windows-x86_64.zip and run bin\texres.exe from there.

From source

git clone https://github.com/leoliu0/texres.git && cd texres
cargo build --release --locked --bin texres   # needs stable Rust (1.88+)
./install.sh --from-source                     # into ~/.local; add --system for /usr/local

Usage

Build a document. texres paper.tex writes paper.pdf and paper.synctex.gz next to the source. It runs LaTeX, BibTeX or Biber and the index tools as often as needed. A second run with no changes takes a few milliseconds.

Choose the engine. Documents that load Unicode-engine packages or classes such as fontspec, xeCJK, ctex, unicode-math or polyglossia run as XeLaTeX, LuaTeX-ja and Lua-only packages such as luacas or luacode as LuaLaTeX, and everything else as pdfLaTeX. To choose yourself, add -pdf, -xelatex or -lualatex:

texres -lualatex paper.tex

Japanese documents. pLaTeX and upLaTeX classes (\NeedsTeXFormat{pLaTeX2e}, platex plus dvipdfmx builds) need the pTeX engine, which TeXres does not provide; build them unchanged with TeX Live. TeXres bundles LuaTeX-ja, which typesets Japanese under LuaLaTeX with the Harano Aji fonts. To port a pLaTeX document, replace jsarticle with ltjsarticle (jsbook with ltjsbook, jarticle with ltjarticle) and the zw unit with \zw:

\documentclass{ltjsarticle}
\begin{document}
\noindent\hspace*{2\zw}日本語の文書です。
\end{document}

The first LuaTeX-ja build takes about two seconds while LuaTeX-ja caches its font data. XeLaTeX with xeCJK also typesets Japanese.

Write the output elsewhere. texres -outdir=build paper.tex puts the PDF in build/. Auxiliary files (.aux, .bbl, .toc) live in a private cache, not in your project. -k copies them next to the PDF.

Rebuild on every save. texres -pvc paper.tex builds, then rebuilds when a file the build read changes. Ctrl-C stops it.

$ texres -pvc paper.tex
texmk: [14:02:11] build OK (3 pages, 1.42 s)
texmk: watching 4 files (Ctrl-C to stop)
texmk: [14:02:40] changed: intro.tex
texmk: [14:02:41] build OK (3 pages, 0.36 s)

Clean up. texres -c paper.tex removes the cached build state and keeps the PDF. texres -C paper.tex also removes the PDF and SyncTeX file.

Read errors. Errors print with the file, line and a hint:

error: Undefined control sequence \printtotl
  --> chapters/results.tex:1:9
  |
1 | Result: \printtotl
  |         ^^^^^^^^^^
  = help: check the command spelling; if a package defines it, load that package before use

The full TeX log stays in the cache; texres prints its path when a build fails. --keep-logs copies it to paper.log next to the PDF. So do the options editors pass: -interaction=..., -file-line-error and -synctex=.... -verbose also prints TeX's own output. With -interaction=nonstopmode a document with errors still gets a PDF, and the exit status is 1. See DIAGNOSTICS.md.

Bibliographies. \bibliography runs the built-in BibTeX. biblatex (default backend=biber) runs the built-in Biber, which writes the same .bbl as Biber 2.22.

Fonts. Fonts come from your project folder and the bundled set (Latin Modern, TeX Gyre, STIX Two, Libertinus, IPAex, Harano Aji, Fandol and others). System fonts are not used. To use another font, put the file next to your document and load it with Path=./.

Compare versions. texres latexdiff old.tex new.tex diff.tex writes a marked-up diff.tex; build it with texres diff.tex.

Format sources. texres fmt tidies LaTeX files in place: it indents environment bodies, {...} groups and \item text, puts each \item on its own line, removes trailing spaces and keeps at most one blank line in a row. It changes only whitespace that TeX ignores, so the PDF stays the same. --check changes nothing and exits with status 1 if a file would change. See Formatting for settings and editor setup.

texres fmt paper.tex chapters/

Single tools. A link to texres named pdflatex, xelatex, lualatex, bibtex, biber, makeindex or latexdiff runs that tool directly. Named latexmk, it behaves like texres. Without a link, texres pdflatex ARGS (or xelatex, lualatex) runs one engine pass, and so does -progname=pdflatex anywhere in the arguments, as with pdftex: texres -progname=pdflatex -ini "&pdflatex" preamble.tex. The packages install only texres, so an existing TeX Live is left alone. On Windows, run this in a PowerShell opened with Run as administrator; the hard link takes no extra disk space. Without admin rights, copy texres.exe to a folder of yours on PATH under the new name instead (about 800 MB).

New-Item -ItemType HardLink -Path "C:\Program Files\texres\bin\latexmk.exe" -Target "C:\Program Files\texres\bin\texres.exe"

Exit status. 0: the build finished. 1: TeX, BibTeX or Biber reported an error, or the build did not settle. 2: bad command line.

texres --help lists all options. All commands above work the same in PowerShell, Command Prompt and macOS/Linux shells; on Windows, texres is texres.exe, and Ctrl-C stops -pvc.

Speed

TeXres 0.7.11 was measured against TeX Live 2026 (latexmk) on 100 documents: 70 generated and 30 public papers, books and slide decks. pdfLaTeX, XeLaTeX and LuaLaTeX are all included. The binary is the profile-guided build that the Linux x86_64 and macOS arm64 releases ship. The machine is one Linux workstation (16-core Ryzen 9 9950X3D2). Each cell is the median of 5 runs. Both tools run every pass and the bibliography tool, and all 100 PDFs were checked to have identical page counts and pdftotext -layout text.

Scenario TeXres faster Median TeXres / TeX Live Closest document
Cold build 100 of 100 0.51 (1.97× faster) 0.90, siunitx tables (1.94 s / 2.15 s)
No-change rebuild 100 of 100 0.08 (12.5× faster) 0.27, arXiv paper (0.013 s / 0.047 s)
One-line edit 100 of 100 0.49 (2.06× faster) 0.86, siunitx tables (0.65 s / 0.76 s)

Across the 100 documents TeXres uses about half of TeX Live's time on cold builds and edits (median ratio 0.50 on pdfLaTeX, 0.45 on XeLaTeX, 0.60 on LuaLaTeX), and stays about 10% ahead cold (14% on edits) even on the closest document (pdf_siunitx_tables, 0.89 cold and 0.86 edit in a 9-run one-at-a-time recheck). Both cold builds start with the font database already built; on a fresh cache a first LuaLaTeX build with a named font takes about 0.5 s in TeXres because it indexes only the bundled fonts rather than OS font directories. TeXres also writes SyncTeX by default, and that cost is included. Method, per-group numbers, reference setup details and a script to rerun it are in PERFORMANCE.md.

Coverage and verification

Everything needed for ordinary LaTeX builds ships inside the single executable (no TeX Live installation or network downloads):

Area Bundled / verified
Engines pdfLaTeX, XeLaTeX, LuaLaTeX (in-tree Lua 5.3 VM, MetaPost mplib, EPS/PostScript converter)
Companion tools BibTeX (0.99e), Biber (2.22), makeindex (2.18), latexdiff, texres fmt
Embedded TeX Live 2026 archive 88,591 files across 4,130 tex/ package directories (6,726 .sty, 765 .cls, 415 .bst), including 499 extra macro, LuaLaTeX, XeLaTeX and babel-* packages, LuaTeX-ja and luacas
Fonts and languages 343 OpenType/TrueType faces (Latin Modern, TeX Gyre, STIX Two, XITS, Libertinus, Harano Aji, IPAex, Fandol and others), 4,125 Type 1 .pfb programs, and 91 language.dat hyphenation entries (all TeX Live 2026 collection-lang* patterns)
CI TeX Live 2026 parity gates 129 isolated font, graphics and engine-subsystem fixtures (23 pdfLaTeX, 47 LuaLaTeX, 59 XeLaTeX; Poppler and pdf.js text and render parity), 100-document corpus parity and speed gate (scripts/bench100.py --gate), and 10 real-world arXiv papers built hermetically
Workspace and library tests Over 2,300 Rust unit and integration tests (including BibTeX, makeindex and 463 Biber oracle fixtures), native C library (libtex) and WebAssembly (Node.js and headless Chromium) parity checks, plus a 2 GiB ARM64 build-memory gate

Known limits: pLaTeX/upLaTeX (platex + dvipdfmx) and DVI/PostScript output modes (-dvi, -ps) are not provided; system OS fonts are not searched (put extra fonts next to your document and load them with Path=./); and texres does not read latexmkrc files. See docs/internals.md for engine details and ARTIFACTS.md for packaging and CI gates.

Editor setup

Any editor that can run latexmk can run texres; it accepts latexmk's options. Three rules apply to every editor:

  1. Point the editor at texres.
    • Windows: the installer puts texres on your PATH, so plain texres works in editors started after the install (restart any that were open). The full path is C:\Program Files\texres\bin\texres.exe; check with (Get-Command texres).Source in PowerShell or where texres in Command Prompt.
    • macOS and Linux: use the full path. Find it with command -v texres (Homebrew: "$(brew --prefix)/bin/texres", usually /opt/homebrew/bin/texres on Apple Silicon). Apps started from the Dock or a desktop menu do not see the PATH of your shell.
  2. Leave out -pdf. It forces pdfLaTeX and turns off automatic XeLaTeX and LuaLaTeX detection. Use -xelatex or -lualatex only to force those engines.
  3. Keep -interaction=nonstopmode (or -file-line-error, or -synctex=1). With one of them texres writes paper.log next to the PDF, where editors look for errors.

texres writes paper.synctex.gz on every build, so jumping between source and PDF works with any SyncTeX viewer. It does not read latexmkrc files, and it ignores latexmk's viewer options (-pv, -view=...).

VS Code (LaTeX Workshop)

Open the settings JSON (Command Palette, Preferences: Open User Settings (JSON)) and add:

"latex-workshop.latex.tools": [
  {
    "name": "texres",
    "command": "/opt/homebrew/bin/texres",
    "args": ["-verbose", "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "-outdir=%OUTDIR%", "%DOC%"]
  }
],
"latex-workshop.latex.recipes": [
  { "name": "texres", "tools": ["texres"] }
]

Replace the command with your path. On Windows use "command": "texres", or the full path with doubled backslashes: "C:\\Program Files\\texres\\bin\\texres.exe". LaTeX Workshop reads errors and warnings from what the tool prints, so keep -verbose. Build with Ctrl+Alt+B (or save the file). The built-in PDF viewer (View LaTeX PDF) uses paper.synctex.gz: Ctrl+Alt+J jumps from the source to the PDF, and Ctrl+click in the PDF jumps back to the source.

TeXstudio

  1. Open Options > Configure TeXstudio > Commands. Set Latexmk to (with your path):
    "/opt/homebrew/bin/texres" -synctex=1 -interaction=nonstopmode %.tex
    
    On Windows:
    "C:/Program Files/texres/bin/texres.exe" -synctex=1 -interaction=nonstopmode %.tex
    
  2. On the Build page, set Default Compiler to Latexmk.

TeXstudio reads errors from paper.log. Do not add -file-line-error; TeXstudio expects TeX's ! lines. The internal viewer jumps to the PDF position after each build, and Ctrl+click in the PDF goes to the source.

Vim and Neovim (vimtex)

vimtex runs latexmk; point it at texres and drop its default -pdf. In init.lua:

vim.g.vimtex_compiler_latexmk = { executable = "texres" }
vim.g.vimtex_compiler_latexmk_engines = { _ = "" }
vim.g.vimtex_view_method = "zathura"

Or in .vimrc:

let g:vimtex_compiler_latexmk = {'executable': 'texres'}
let g:vimtex_compiler_latexmk_engines = {'_': ''}
let g:vimtex_view_method = 'zathura'

\ll starts continuous mode (texres -pvc), and errors appear in the quickfix list after each build. % !TeX program = xelatex on the first line of a document still selects -xelatex. With zathura, \lv jumps to the PDF and Ctrl+click in zathura jumps back to Vim. vimtex also reads $pdf_mode from ~/.latexmkrc; if that file sets $pdf_mode = 1, vimtex adds -pdf again, so remove the line.

For Okular instead of zathura:

vim.g.vimtex_view_general_viewer = "okular"
vim.g.vimtex_view_general_options = "--unique file:@pdf\\#src:@line@tex"

In Okular, set Settings > Configure Okular > Editor to Custom Text Editor with the command nvim --headless -c "VimtexInverseSearch %l '%f'", then Shift+click in the PDF to jump to the source.

On Windows, use SumatraPDF:

vim.g.vimtex_view_general_viewer = "SumatraPDF"
vim.g.vimtex_view_general_options = "-reuse-instance -forward-search @tex @line @pdf"

In SumatraPDF, Settings > Options > Set inverse search command line: nvim --headless -c "VimtexInverseSearch %l '%f'", then double-click in the PDF to jump to the source.

Emacs (AUCTeX)

Add a TeXres command and make it the default:

(with-eval-after-load 'tex
  (add-to-list 'TeX-command-list
               '("TeXres" "texres -verbose %S%(mode)%(file-line-error) %t"
                 TeX-run-TeX nil (latex-mode LaTeX-mode) :help "Build with TeXres")))
(add-hook 'LaTeX-mode-hook (lambda () (setq TeX-command-default "TeXres")))

C-c C-c then builds, and C-c ` steps through the errors. AUCTeX reads them from the output, so keep -verbose. With TeX-source-correlate-mode on, %S adds -synctex=1 and forward search works with the viewer set in TeX-view-program-selection.

Sublime Text (LaTeXTools)

In Preferences > Package Settings > LaTeXTools > Settings – User:

"builder": "traditional",
"builder_settings": {
  "command": ["/opt/homebrew/bin/texres", "-cd", "-f", "-interaction=nonstopmode", "-synctex=1"]
}

On Windows, the first entry is "texres" or "C:\\Program Files\\texres\\bin\\texres.exe".

LaTeXTools prints a note that the command does not select the engine; that is expected, texres picks it. Errors come from paper.log. Forward and inverse search use the viewer LaTeXTools is set up for (Skim, SumatraPDF, Okular, zathura or Evince).

TeXShop (macOS)

Create ~/Library/TeXShop/Engines/TeXres.engine with:

#!/bin/bash
/opt/homebrew/bin/texres -synctex=1 -interaction=nonstopmode "$1"

Make it executable (chmod +x ~/Library/TeXShop/Engines/TeXres.engine), restart TeXShop and pick TeXres in the engine menu next to Typeset. Or put % !TEX TS-program = TeXres on the first line of the document.

Other editors

If the editor has a latexmk setting, replace latexmk with the full path to texres and remove -pdf. If it can only run a program called latexmk, make a link: ln -s "$(command -v texres)" ~/bin/latexmk on macOS and Linux, or the New-Item -ItemType HardLink command under Single tools on Windows (the link then sits next to texres.exe, already on PATH). On macOS and Linux, put ~/bin early in the editor's PATH.

With -pvc, texres runs the $compiling_cmd, $success_cmd and $failure_cmd commands that editors set with -e, as latexmk does, with latexmk's placeholders filled in (%D the PDF, %S/%T the main file, %R the job name, %% a percent sign). Other -e code and -r are refused with a message, and so are DVI and PostScript modes (-dvi, -ps, -pdfdvi, -pdfps).

Formatting

texres fmt FILE... rewrites LaTeX files and BibTeX databases in place. A folder stands for the .tex, .sty, .cls, .ltx and .bib files in it and its subfolders (hidden folders are skipped). Other files named on the command line (.dtx, .bbl, a PDF or a Makefile matched by *) are skipped with a message, and the exit status is 1.

What it changes:

  • the indentation of environment bodies (not document), of lines continuing a {...} group or a [...] option list, of \[ ... \], and of the text after \item;
  • each \item starts a new line, if a space came before it;
  • trailing spaces and tabs are removed, tabs become spaces, the file ends with a newline, and runs of blank lines shrink to one (not after a line that ends in a command such as \fbox, which may take the first blank line as its argument);
  • a blank line goes before \section, \subsection and \subsubsection (and \part in article and the AMS article classes) when they are not inside an environment (other than document), the line before ends in text, } or $, not in a command or a comment, and the command is known to start a new paragraph by itself. That is the case when the class is article, report, book, amsart, amsproc, amsbook, llncs or elsarticle, every package is one of about 340 common ones checked not to change these commands (or a file of the project), no file of the project redefines them (unless the new definition itself starts with \par or \@startsection), and every file the project \inputs is there. A class or package that redefines \section may rely on the paragraph still being open (a CV class that starts \subsubsection with \linebreak, for instance), so with any other class or package no blank line is added. \chapter never gets one: it starts with \clearpage, which behaves differently once the paragraph has ended.

It does not join lines and does not touch: verbatim environments (verbatim, Verbatim, lstlisting, minted, comment, filecontents, alltt and the like, including ones the project defines with \lstnewenvironment, \DefineVerbatimEnvironment, \newminted or a \newenvironment built on them), the arguments of \verb, \lstinline, \url, \path, \href and \index (and of the project's own commands built on them, such as \newcommand{\code}{\lstinline} used as \code@x = 1@), the text of % comments, the \end{frame} line of fragile beamer frames, and any group that changes how spaces or line ends are read (\obeylines, \obeyspaces, \catcode of a space). Before it writes a file, texres fmt reads the old and the new text the way TeX does, verbatim text character by character; if they differ in more than the changes above (a new blank line, which TeX reads as \par, is accepted only before the sectioning commands the rule above allows), the file is left as it was and the command exits with status 1.

Unknown classes and packages. A class or package may read text verbatim in ways texres fmt cannot see from the project's files. So a project is formatted only when every class and package it loads is known: one of about 4,500 in TeX Live 2026 whose sources, with every file they load, were checked for such constructs (by hand for about 750, from article, beamer, memoir and KOMA-Script to listings, minted, tcolorbox and hyperref; the others use no catcode changes, verbatim internals or the like at all), a file of the project (read like the rest of it), or one named in known-packages. Otherwise its files are left as they are and the command exits with status 1, naming the class or package. A name given by a macro (\LoadClass{\@tufte@class}) counts when the project defines that macro only as known names. If the package reads nothing verbatim, or once its verbatim environments and commands are listed in verbatim-envs and verbatim-commands, add it to known-packages.

Leaving parts alone. Lines from % texres-fmt: off to % texres-fmt: on are copied unchanged, and so is a line that ends with % texres-fmt: skip; % texres-fmt: skip on a line of its own also keeps the line after it. tex-fmt's spelling (% tex-fmt: off, on, skip) works too. Without an on, the rest of the file is kept.

BibTeX files. Each entry gets its type and key on the first line, one field per line indented by indent-width, the = signs aligned, a comma after the last field and the closing brace on its own line; entries are separated by one blank line:

@article{knuth84,
  author  = {Donald E. Knuth},
  title   = {Literate Programming},
  journal = cj,
  year    = 1984,
}

Entry types, keys, field names and values (braces, quotes, # concatenations and line breaks inside a value) are copied exactly, so BibTeX and Biber read the same database. @string, @preamble and @comment, text between entries, entries on a line after a %, and entries that do not follow the plain name = value form (a % comment inside one, say) are left as they are. An entry whose braces do not balance leaves the whole file unchanged.

Option
--check change nothing; print the files that would change; exit 1 if there are any
--diff change nothing; print the changes as a unified diff
-, --stdin read standard input, write the result to standard output (also when no files are given and input is piped)
--stdin-filename PATH with standard input: use the settings and project definitions for PATH, and format BibTeX if it ends in .bib
--config FILE use these settings instead of .texresfmt.toml
--print-config print the settings in effect

Exit status: 0 when all files are formatted, 1 when --check found files to change or a file could not be read, formatted or written, 2 for a bad command line.

Settings. texres fmt reads the nearest .texresfmt.toml in the file's folder or a folder above it:

indent-width = 2                  # spaces per level
tab-width = 4                     # tab stops for tabs inside a line
max-blank-lines = 1               # longest run of blank lines kept
blank-line-before-sections = true
one-item-per-line = true
wrap = false                      # break lines longer than line-width at spaces
line-width = 80
align-columns = false             # line up & in tables, align, matrices
no-indent-envs = ["document"]     # environments whose body is not indented
verbatim-envs = []                # more environments to leave alone
verbatim-commands = []            # more commands whose argument is left alone
no-wrap-envs = []                 # more environments where lines are not wrapped
known-packages = []               # more classes and packages to trust (see above)

align-envs lists the environments align-columns works on (tabular, align, pmatrix and similar by default). Wrapping never breaks inside math, tables, TikZ pictures, comments, verbatim text or the preamble.

Format from the editor

VS Code (LaTeX Workshop). LaTeX Workshop can run tex-fmt-style formatters; point it at texres:

"latex-workshop.formatting.latex": "tex-fmt",
"latex-workshop.formatting.tex-fmt.path": "/opt/homebrew/bin/texres",
"latex-workshop.formatting.tex-fmt.args": ["fmt"]

Format Document (Shift+Alt+F) then runs texres fmt --stdin in the file's folder. On Windows use "texres" as the path.

Neovim (conform.nvim):

require("conform").setup({
  formatters = {
    texres = { command = "texres", args = { "fmt", "--stdin-filename", "$FILENAME", "-" } },
  },
  formatters_by_ft = { tex = { "texres" } },
})

Vim (ALE):

function! TexresFmt(buffer) abort
  return {'command': 'texres fmt --stdin-filename %s -'}
endfunction
let g:ale_fixers = {'tex': ['TexresFmt']}

Without a plugin, :setlocal formatprg=texres\ fmt\ - makes gggqG format the whole buffer.

Emacs (apheleia):

(with-eval-after-load 'apheleia
  (setf (alist-get 'texres apheleia-formatters)
        '("texres" "fmt" "--stdin-filename" filepath "-"))
  (setf (alist-get 'latex-mode apheleia-mode-alist) 'texres)
  (setf (alist-get 'LaTeX-mode apheleia-mode-alist) 'texres))

Check formatting in CI or before a commit

texres fmt --check . lists the files that need formatting and exits with status 1, so a CI step fails until they are formatted. Add --diff to see what would change. With pre-commit, in .pre-commit-config.yaml:

repos:
  - repo: local
    hooks:
      - id: texres-fmt
        name: texres fmt
        entry: texres fmt
        language: system
        files: \.(tex|sty|cls|ltx|bib)$

The hook formats the staged files; pre-commit stops the commit when it changed any, so you can look at the changes and commit again.

Switching from an older install to Homebrew (macOS)

Homebrew does not overwrite an installation in ~/.local or a GitHub .pkg installation in /usr/local. Remove or stop selecting the old copy before switching editors.

  1. In Terminal, run type -a texres to identify existing copies.
  2. For an installation made with the archive's install.sh, run its uninstaller from the extracted archive with the same prefix and data directory used during installation:
    ./install.sh --uninstall --prefix "$HOME/.local"
    # System install, only if you originally used --system:
    sudo ./install.sh --uninstall --prefix /usr/local
    Include your original --data-dir or --app-support option if used. The uninstaller preserves unmanaged files; a missing ownership manifest means it will not remove that installation. Do not run it against a Homebrew prefix.
  3. For the native GitHub .pkg or a manually copied binary, the shell uninstaller cannot establish ownership. Inspect pkgutil --files io.github.leoliu0.texres for a .pkg installation. Move only confirmed old TeXres files aside before Homebrew links into /usr/local; do not delete other TeX tools or use brew link --overwrite. pkgutil --forget alone does not remove files.
  4. Install the maintained tap using the commands above. Open a new Terminal, run type -a texres and "$(brew --prefix)/bin/texres" --version, then configure TeXstudio with that absolute Homebrew path as described in Editor setup.

If core's texres is already installed, use brew uninstall texres before installing leoliu0/texres/texres. Neither uninstall your documents nor TeX Live just to change which executable your editor uses.

More

License

MIT or Apache-2.0, at your option. Bundled fonts and packages keep their own licenses, shipped under share/tex-suite/texmf/doc/fonts.

About

No description, website, or topics provided.

Resources

Stars

193 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages