# Quick Start

After installing Nix to your machine and enableing flakes, run following command:

```bash
nix develop
```

You can use wrapped vim(`vim-nit-latex`) to edit TeX files which includes vim-eskk plugins for flawless Japanese writting and some vim abbriviations.

This template uses YAML configuration file(`document.yaml`) to generate `main.tex`. (See [YAML_CONFIG.md](./YAML_CONFIG.md))

After configuration, generate `main.tex` with this command:

```bash
make generate
```

This will run `script/generate-main.lua`.

To compile into PDF, you can just run `make`.
