This commit is contained in:
Tibo De Peuter 2024-12-28 20:08:29 +01:00
parent 75e0ad6954
commit f135b633ad
14 changed files with 134 additions and 54 deletions

View file

@ -1,5 +1,5 @@
{
description = "Pandoc flake";
description = "LaTeX flake";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
@ -14,19 +14,9 @@
in {
devShells.default = pkgs.mkShell {
packages = with pkgs; [
pandoc
texlive.combined.scheme-full
pgfplots
];
shellHook = ''
pandoc \
-s \
-o output.pdf \
-f markdown+smart+header_attributes+yaml_metadata_block+auto_identifiers+implicit_figures \
--pdf-engine lualatex \
--dpi=300 \
header.yaml \
input.md
'';
};
}
);