Sync
This commit is contained in:
parent
75e0ad6954
commit
f135b633ad
14 changed files with 134 additions and 54 deletions
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue