# latex-in-docker
![License](https://img.shields.io/badge/license-MIT-blue.svg?style=plastic)

## Description

Исопльзуйте этот докер образ из `$CI_REGISTRY` для сборки `LaTeX` проектов в ваших пайплайнах.

## Usage

Чтобы использовать готовый образ в своих GitLab CI/CD пайплайнах, добавьте следующий шаг в ваш `.gitlab-ci.yml`:

```yaml
stages:
  - build

build-pdf:
  stage: build
  image: $CI_REGISTRY/fagunin/latex-in-docker:latest
  script:
    - latexmk -pdf your-document.tex
    # или например
    - latexmk -xelatex -synctex=1 main.tex
```