A Ruby script to convert LaTeX in pages into HTML.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
611 B

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
katex-server.url = "git+https://dev.danilafe.com/Nix-Configs/katex-server";
};
outputs = { self, nixpkgs, flake-utils, katex-server }:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
katex-html = pkgs.callPackage ./default.nix { katex-server = katex-server.defaultPackage.${system}; };
in
{
packages = { inherit katex-html; };
defaultPackage = katex-html;
}
);
}