A collection of tools to improve the workflow with LaTeX
README.md

Nix LaTeX-Tools #

Important Information

  • nix-latextools currently expects the nix build output of the latex-file to be main.pdf

Usage #

Either run the commands directly with nix[1]:

nix run sourcehut:~sntx/nix-latextools#<tool-name>

Or include nix-latextools in your config:

{
  inputs = {
    nix-latextools.url = "sourcehut:~sntx/nix-latextools";
  };

  outputs = {nix-latextools}: let
    system = "x86_64-linux";
  in {
    packages = {
      inherit (nix-latextools.packages.${system}) check display;
    };
  };
}

Call the commands from the local flake[1:1]:

nix run .#<tool-name>

  1. Replace <tool-name> with one of the provided tools, like display or check. ↩︎ ↩︎