https://github.com/mwt/vtex
Tiny Pandoc and LaTeX for continuous integration
https://github.com/mwt/vtex
ci github-actions latex pandoc tex
Last synced: 8 days ago
JSON representation
Tiny Pandoc and LaTeX for continuous integration
- Host: GitHub
- URL: https://github.com/mwt/vtex
- Owner: mwt
- License: bsd-2-clause
- Created: 2021-03-07T19:44:58.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-23T04:19:11.000Z (5 months ago)
- Last Synced: 2024-11-23T05:19:28.554Z (5 months ago)
- Topics: ci, github-actions, latex, pandoc, tex
- Language: Shell
- Homepage: https://mwt.me/cv.pdf
- Size: 15.6 KB
- Stars: 12
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
## Tiny pandoc and TeX for CI
This is a minimal (about 63MB) version of LaTeX I created so that I can regenerate my resume automatically from markdown using continuous integration. The repository consists of a single bash file. This file downloads the `0` (minimal) version of [`TinyTeX`](https://yihui.org/tinytex/) and [`pandoc`](https://pandoc.org/). It then installs the particular packages that I personally need for my markdown documents.
These packages can be changed on line 29 of `generate.bash`.
The basic usage is to download and extract the release on your continuous integration system
```
wget -O vtex.tar.gz -nv "https://github.com/mwt/vtex/releases/download/v1.0/vtex.tar.gz"
tar xzf vtex.tar.gz
```
and then run `pandoc`. For example:
```{bash}
./vtex/bin/x86_64-linux/pandoc resume.md -t latex --pdf-engine="./vtex/bin/x86_64-linux/pdflatex" --template="./_latex/resume-template.latex" -o "./assets/resume.pdf"
```This package has been tested on [vercel](https://vercel.com) and [GitHub Actions](https://github.com/features/actions). You may need to install `wget` or `curl` on your CI system to download it.
This is currently being used on the [repository for my website](https://github.com/mwt/mattwthomas.com). You can see how it is used in [my install script](https://github.com/mwt/mattwthomas.com/blob/master/_bash/install.sh) and [my build script](https://github.com/mwt/mattwthomas.com/blob/master/_bash/build.sh).