Skip to content

Compile LateX

Actions
Compile Latex files easily
v1.1.2
Latest
Star (87)

Latex Action

This action compiles latex/xelatex files using Tectonic, which automatically downloads necessary dependencies, and compiles to pdf.

Inputs

tex-path

Required Path of tex, xtx file to compile.

push

Optional Compiled PDF is pushed, if push is passed as 'yes'.

Outputs

Pushes a Compiled PDF file parallel to the tex, xtx file, if push is passed as 'yes'.

Example usage

Pushes Compiled PDF

on: [push]

jobs:
  latex-job:
    runs-on: ubuntu-latest
    name: A job to Compile Latex file
    steps:
    - uses: actions/checkout@v1
    - name: Compilation
      uses: vinay0410/tectonic-action@master
      env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        tex_path: 'dir/file.tex'
        push: 'yes'

Doesn't Push Compiled PDF

on: [push]

jobs:
  latex-job:
    runs-on: ubuntu-latest
    name: A job to Compile Latex file
    steps:
    - uses: actions/checkout@v1
    - name: Compilation
      uses: vinay0410/tectonic-action@master
      env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        tex_path: 'dir/file.tex'

Compile LateX is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Compile Latex files easily
v1.1.2
Latest

Compile LateX is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.