Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
file-text

GitHub Action

Compile LateX

v1.0.4

Compile LateX

file-text

Compile LateX

Compile Latex files easily

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Compile LateX

uses: vinay0410/tectonic-action@v1.0.4

Learn more about this action in vinay0410/tectonic-action

Choose a version

Latex Action

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

Inputs

tex-path

Required Path of tex, xtx file to compile.

Outputs

Pushes a Compiled PDF file parallel to the tex, xtx file.

Example usage

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'