Created
October 16, 2018 10:03
-
-
Save justinwoo/6a714cfce68bc1fbe42ea4bface321ae to your computer and use it in GitHub Desktop.
using noto sans in slides for beamer with pandoc in nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
pkgs = import <nixpkgs> {}; | |
texlive = pkgs.texlive.combine { | |
inherit (pkgs.texlive) | |
scheme-small | |
collection-fontutils | |
collection-fontsrecommended | |
collection-fontsextra | |
fontaxes | |
beamer; | |
}; | |
in { | |
slides = pkgs.stdenv.mkDerivation { | |
name = "slides"; | |
src = ./.; | |
buildInputs = [ | |
texlive | |
pkgs.pandoc | |
pkgs.watchexec | |
]; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment