https://github.com/abnt-latex/docker
Compilação de LaTeX com TexLive e R baseado em Docker
https://github.com/abnt-latex/docker
docker latex r tex texlive
Last synced: about 2 months ago
JSON representation
Compilação de LaTeX com TexLive e R baseado em Docker
- Host: GitHub
- URL: https://github.com/abnt-latex/docker
- Owner: abnt-latex
- Created: 2024-08-04T05:12:23.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-08T02:05:30.000Z (3 months ago)
- Last Synced: 2025-03-08T02:20:45.047Z (3 months ago)
- Topics: docker, latex, r, tex, texlive
- Language: Shell
- Homepage:
- Size: 677 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Initialize with Docker
[](https://github.com/abnt-latex/docker/actions)
## Para usar a imagem (`Package`)
* [TeXLive and R](https://github.com/orgs/abnt-latex/packages/container/package/texlive-r)
```bash
docker pull ghcr.io/abnt-latex/texlive-r:latest
```## Para construir de forma manual
```mermaid
graph TD;
A[base-env]-->B[build-env];
A-->C[final-env];
B-->C;
```### Container
```bash
docker run --name texlive-r -it --rm -v /$(pwd)/:/content -w /content texlive-r:debian /bin/bash
```### Compilar
```bash
./build.sh --dir=${ FOLDER } --file=${ FILE } --mode=${ complete | bib | simple } --simplify # in root
# OR to execute complete mode
pdflatex --interaction=batchmode ${ MAIN_FILE }
bibtex ${ MAIN_FILE }
makeindex ${ MAIN_FILE }.idx
makeglossaries ${ MAIN_FILE }
pdflatex --interaction=batchmode ${ MAIN_FILE }
pdflatex --interaction=nonstopmode ${ MAIN_FILE } | grep ...
# OR
# https://ctan.org/pkg/latexmk
latexmk -pdf ${ MAIN_FILE }
```### Workflow Github
> [!NOTE]
> Necessário atualizar o [personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) (PAT) do repositório.