antonmosich / scriptorium

Scriptorium: a room, as in a monastery, library, or other institution, where manuscripts are stored, read, or copied.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scriptorium

(/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.

Features

  • 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.

How to use

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.

TODO

enable cachix for faster build times

About

Scriptorium: a room, as in a monastery, library, or other institution, where manuscripts are stored, read, or copied.


Languages

Language:Nix 92.3%Language:TeX 4.8%Language:PureScript 1.7%Language:Dhall 0.9%Language:Shell 0.1%Language:JavaScript 0.0%