Comments (6)
You can just run the action multiple times, like:
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: doc1.tex
- name: Compile LaTeX document
uses: xu-cheng/latex-action@master
with:
root_file: doc2.tex
from latex-action.
I am interested too.
from latex-action.
I am interested too.
As the solution provided is not that useful I send you my own solution: https://github.com/antoniogamiz/cuarto-segundo-cuatrimestre/blob/master/.github/workflows/deploy-latex.yml and a bash script inside the docker container https://github.com/antoniogamiz/cuarto-segundo-cuatrimestre/blob/master/compile.sh
from latex-action.
I would also like to compile multiple files with this action.
The ability to use wildcards is very important for my use-case, as it allows me to not know the names of the *.tex files in my pipeline. I am developing a latex beamer template and one test is to simply build a document with all possible options. These documents are generated during the test process and I would like to build all of them at once, without always having to edit the *.yaml file.
I would like to help, but I have very little experience with bash.
I think this action would become even more awesome if wildcards would be supported. :)
from latex-action.
@kai-tub For your use case, I think it is more appropriate to use the docker image directly. For example:
name: Build LaTeX documents
on: [push]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: Compile LaTeX documents
uses: docker://xucheng/texlive-full:latest
run: |
find . -name "*.tex" -exec latexmk -pdf -file-line-error -interaction=nonstopmode {} \;
from latex-action.
FYI, I have now added support to build multiple files with this action.
See https://github.com/xu-cheng/latex-action/releases/tag/1.3.0
from latex-action.
Related Issues (20)
- feature request: Multithreading (parallel jobs) support HOT 4
- feature suggestion: use input parameter to select texlive version instead of relying on different tags HOT 3
- Help: How to add custom packages? HOT 1
- how to compile locally HOT 5
- BIBINPUTS behavior changed between v2 and v3 HOT 1
- latest Install font ./fonts/EB\033[0m cp: can't stat './fonts/EB\': No such file or directory HOT 2
- Caching Docker image? HOT 1
- supporting extra fonts' cache HOT 5
- Error on figure captions HOT 4
- Action fails due to TeXLive HOT 4
- Action suddenly stopped working HOT 2
- 字体缺失太严重 HOT 1
- How to set custom name for compiled pdf instead main.pdf HOT 1
- ERROR - Error: Found biblatex control file version 3.11, expected version 3.10. HOT 4
- Latex symbols korean HOT 1
- Permission problem with inkscape when recompiling with self hosted runner HOT 1
- LaTeX Error: Something's wrong--perhaps a missing \item. HOT 2
- Building with act fails HOT 2
- Pushing PDF to gh-pages branch HOT 1
- Compiling a project with glossaries HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latex-action.