Giter Site home page Giter Site logo

make-latex's Introduction

make-latex

A GH action to compile and upload a latex document

Description

This action let you compile a latex document and upload the compiled file on discord, using a webhook.

In order to compile the document you need to write a Makefile that will be used by the action to compile the document. At the current time this is the only way to compile the document.

To compile latex this action uses this docker image.

Included software

Each software available in this image are installed using pacman, so the version is usually the last available on Archlinux. Latex packages included:

  • texlive-most
  • texlive-lang
  • biber

This software are available:

  • python
  • cargo
  • numpy
  • scipy
  • matplotlib
  • graphwiz
  • base-devel

Usage

Create a YAML file in .github/workflows. Here an example

on: [push]

jobs:
  hello_world_job:
    runs-on: ubuntu-latest
    name: Build a latex document
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Build latex
        uses: FilippoRanza/[email protected]
        with:
          # the compiled document file name is required: without it 
          # the action cannot know which file to upload
          file-name: 'important-document.pdf'
          # the webhook url
          discord-webhook: ${{ secrets.SecretURL }}

make-latex's People

Contributors

filipporanza avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.