Published by xu-cheng over 4 years ago
pre_compile
and post_compile
to run arbitrary bash codes before and after compiling.- uses: xu-cheng/latex-action@master
with:
root_file: |
file1.tex
file2.tex
Published by xu-cheng almost 5 years ago
Published by xu-cheng almost 5 years ago
extra_packages
input is now deprecated. It has no effect now.texliveonfly
tool is no longer used. By default, the document is compiled directly by latexmk
.Published by xu-cheng almost 5 years ago
Published by xu-cheng almost 5 years ago
Published by xu-cheng about 5 years ago
Published by xu-cheng about 5 years ago
This GitHub Actions can be used to compile LaTeX documents for you.
It runs in the docker with a minimal TeXLive environment installed. Further, it uses texliveonfly
to find and install the missing packages.
Following is an example of how to use it.
name: Build LaTeX document
on: [push]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v1
- name: Compile LaTeX document
uses: xu-cheng/latex-action@master
with:
root_file: main.tex