Archived
Lint Markdown files / markdown-lint (push) Successful in 52s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 16s
Build / build-arch-linux (push) Successful in 5m9s
Release / push-arch-linux (push) Successful in 7m44s
Release / sync-to-hub-docker-io (push) Successful in 8m0s
Introduce a cron-triggered auto-release workflow that runs on the second Sunday of each month, creating a time-based tag in YYYY-MM format and dispatching the release workflow. The release workflow is extended with a workflow_dispatch trigger accepting a tag input, so it can be invoked both by tag pushes and programmatically by the auto-release. Version extraction is unified via a dedicated step using `inputs.tag || github.ref_name` in both jobs. Co-authored-by: Copilot <copilot@github.com>
59 lines
1.9 KiB
Markdown
59 lines
1.9 KiB
Markdown
# Latex
|
|
|
|
[](https://hub.docker.com/r/volkerraschek/latex)
|
|
|
|
The repository, hosted on [git.cryptic.systems](https://git.cryptic.systems/volker.raschek/latex-docker), contains
|
|
Dockerfiles to build container images based on different base images. Any container image has the tex compiler and the
|
|
minted package included. The main goal of all container image is to compile the text source code with highlighting
|
|
provided by minted into a PDF file.
|
|
|
|
## Images
|
|
|
|
Available Images:
|
|
|
|
- `git.cryptic.systems/volker.raschek/latex:latest-archlinux`
|
|
|
|
You can find a complete list of all docker images based on different distributions on [Docker
|
|
Hub](https://hub.docker.com/r/volkerraschek/latex-docker/tags).
|
|
|
|
## Usage
|
|
|
|
### Latexmk
|
|
|
|
Here is an example based on ubuntu 18.04 to compile a PDF file with `latexmk` from `index.tex`. Run this command in your
|
|
root directory of your Latex files or change the `volume` option with the `${PWD}` variable.
|
|
|
|
```bash
|
|
$ podman run \
|
|
--rm \
|
|
--net="none" \
|
|
--workdir="${PWD}" \
|
|
--volume="${PWD}:${PWD}" \
|
|
git.cryptic.systems/volker.raschek/latex:latest-archlinux \
|
|
latexmk \
|
|
-shell-escape \
|
|
-synctex=1 \
|
|
-interaction=nonstopmode \
|
|
-file-line-error \
|
|
-pdf index.tex
|
|
```
|
|
|
|
### pdflatex
|
|
|
|
Here is a example based on ubuntu 18.04 to compile a PDF file with `pdflatex` from `index.tex`. Run this command in
|
|
your root directory of your Latex files or change the `volume` option with the `${PWD}` variable.
|
|
|
|
```bash
|
|
$ podman run \
|
|
--rm \
|
|
--net="none" \
|
|
--workdir="${PWD}" \
|
|
--volume="${PWD}:${PWD}" \
|
|
git.cryptic.systems/volker.raschek/latex:latest-archlinux \
|
|
pdflatex \
|
|
-shell-escape \
|
|
-synctex=1 \
|
|
-interaction=nonstopmode \
|
|
-enable-write18 index.tex
|
|
```
|