Skip to content

Latex multicompiler reads form .fileToCompile the list of file to compile

License

Notifications You must be signed in to change notification settings

Maxelweb/latex-multicompiler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latex multicompiler

This action compiles multiple latex files in your project

Inputs

required pathToList: <<listOfDocuments>> is the path to your documents list. Here an example

Options

build artifact: true used to create a package, with the documents.

Outputs

Result of the command latexmk -pdf -interaction=nonstopmode main.tex if the build option is enabled, there would be a Documents.tar.gz

Example of basic workflow

name: Latex-multicompiler

on:
  push:
    branches:
      - 'master'
jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - name: Checkout repository contents
      uses: actions/checkout@v1

    - name: Latex compiler
      uses: Jatus93/Latex-multicompiler@master
      with:
        path_to_list: <<listOfDocuments>>

To create an archive you need to add to after pathToList

        artifact: true

Example of listOfDocuments

Dir/subdir/DocumentName
Dir/subdir/DocumentName1
Dir/subdir/DocumentName2
ecc

N.B. The directory structure should be Dir/subdir/DocumentName/main.tex

Docker image based on on danteev/texlive

About

Latex multicompiler reads form .fileToCompile the list of file to compile

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 88.8%
  • Dockerfile 11.2%