(/skrɪpˈtɔːriəm/), is commonly used to refer to a room in medieval European monestaries devoted to the writing, copying and illuminating of manuscripts commonly handled by the monastic scribes
This project provides an immutable environment for managing digital documents.
- template for a latex document, see notes here.
- development shell with pandoc, a texlive distribution, a latex language server and some other stuff, see
shell.nix. - a relatively developed neovim configuration (my personal one) for editing markdown and latex. There is still a lot to improve here, mainly concerning language servers. I want to expose a nixos module which installs the configured plugins and packages.
- vscodium with some nix and latex extensions installed. Any help with setting vscodium up is appreciated
- doom-emacs support not implemented yet. Help with emacs in general is appreciated
I plan on working on making this available for more platforms other than linux but I have other priorities.
Install direnv and nix. After enabling nix flakes you can initialise a latex document by navigating to a new directory and running
nix flake init -t github:kentookura/scriptorium#default
Run
direnv allow
to enable direnv to automatically enter the development shell when you change to this directory. This command will probably take a while to finish when running for the first time. After it completes, my neovim config and vscodium will be available when you change to this directory. Try running codium. Getting an emacs config into here would be cool.
Entering
nix flake show
will show you the two outputs of the template. A development shell and a package. The devShells output defines the environment which direnv loads. The package default is a simple latex document which you can compile by running
nix flake build
after which the pdf will be available in the result folder.
enable cachix for faster build times