template_tex/Readme.md

40 lines
846 B
Markdown
Raw Permalink Normal View History

2023-09-01 22:54:35 +03:00
# Tex template.
## How to build.
2024-03-06 02:49:41 +03:00
2023-09-01 22:54:35 +03:00
```bash
$ make
```
### Available targets.
2024-03-06 02:49:41 +03:00
2023-09-01 22:54:35 +03:00
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.
2024-03-06 02:49:41 +03:00
2023-09-01 22:54:35 +03:00
* `GNU/Linux` (not tested on other platforms).
* `LuaLaTeX` for the document itself.
* `ImageMagick` (optional) for colored icons.
### Texlive setup.
2024-03-06 02:49:41 +03:00
2023-09-01 22:54:35 +03:00
```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.
2024-03-06 02:49:41 +03:00
When trying to build the project, lualatex may throw missing dependency errors.
To install them use `$ tlmgr install {dependency}`.