Commit 8cd4bf47 authored by Sergej Chodarev's avatar Sergej Chodarev
Browse files

Add some packages and update README

parent 7047e7d6
Pipeline #64680 canceled with stage
in 1 minute and 50 seconds
......@@ -4,12 +4,13 @@ RUN dnf install -y \
latexmk \
texlive-collection-latexrecommended \
texlive-collection-langczechslovak \
texlive-adjustbox \
texlive-biblatex \
texlive-biblatex-iso690 \
texlive-cm-mf-extra-bold \
texlive-glossaries \
texlive-mdframed \
texlive-minted \
texlive-tcolorbox \
texlive-xargs \
&& dnf clean all && rm -rf /var/cache/yum
......
# LaTeX image for Gitlab-CI
The image is based on Fedora because it allows to select individual TeXLive packages.
It contains two base collections:
You can use this image to run CI jobs that would build PDF of your LaTeX document, so you can download it from the project page, but don't need to store it in the repository itself.
* `latexrecommended` — recommended set of LaTeX packages and fonts
* `langczechslovak` — support for Slovak language
It also includes following additional packages:
* `biblatex` — BibLaTeX and Biber are more modern alternatives to BibTeX
* `biblatex-iso690` — ISO690 styles for formatting citations
* `cm-mf-extra-bold` — bold versions of some CM fonts (needed by CAI template)
* `glossaries` — Create glossaries and lists of acronyms
* `minted` — colorful code syntax highlighting using Pygments libraty
* `tcolorbox` — colored and framed text boxes
* `xargs` — utility to define commands with many optional arguments
## How to Use
## How to Use?
Use the following `.gitlab-ci.yml` file. You need to set name of your main TeX file in the `MAIN_TEX_FILE` variable. In some cases you may need to modify parameters passed to `latexmk`, for example, add `-shell-escape` if you use minted.
......@@ -49,3 +34,22 @@ Go to the Settings → General → Badges and add badge with the following param
- Badge image URL: `https://img.shields.io/badge/download-PDF-blue?logo=adobe-acrobat-reader`
Don't forget to change the `name-of-main-tex-file` in the link URL.
## What it Contains?
The image is based on Fedora because it allows to select individual TeXLive packages. It contains two base collections:
* `latexrecommended` — recommended set of LaTeX packages and fonts
* `langczechslovak` — support for Slovak language
It also includes following additional packages:
* `adjustbox` — some utilities to adjust boxed content
* `biblatex` — BibLaTeX and Biber are more modern alternatives to BibTeX
* `biblatex-iso690` — ISO690 styles for formatting citations
* `cm-mf-extra-bold` — bold versions of some CM fonts (needed by CAI template)
* `glossaries` — Create glossaries and lists of acronyms
* `mdframed` – Framed environments that can split at page boundaries
* `minted` — colorful code syntax highlighting using Pygments libraty
* `tcolorbox` — colored and framed text boxes
* `xargs` — utility to define commands with many optional arguments
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment