template_tex/README.md

39 lines
942 B
Markdown

# Tex template.
## How to build.
```bash
$ make
```
### Available targets.
Taget | Description
--- | ---
all | Clean, build and open document.
clean | Clean project from build files.
icon | Build colored icons.
en | Build English document.
ru | Build Russian document.
open | Open built document in default PDF viewer.
## Requirements.
* `GNU/Linux` (not tested on other platforms).
* `LuaLaTeX` for the document itself.
* `ImageMagick` (optional) for colored icons.
### Texlive setup.
```text
$ wget https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
$ tar -xf install-tl-unx.tar.gz
$ rm install-tl-unx.tar.gz
$ cd ./install-tl-*
$ ./install-tl
```
### Installing missing dependencies.
When trying to build the project, lualatex may throw missing dependency errors.
To install them use `$ tlmgr install $dependency`.
## TODO.
- [ ] Add samples of all the styles and views to default.
- [ ] Keep template up-to-date.