thomas-chauvet / latex2pdf-action Goto Github PK
View Code? Open in Web Editor NEWGitHub action to convert LaTeX document in PDF file
GitHub action to convert LaTeX document in PDF file
I've been using article template successfully on overleaf which generated a suitable TOC.
But when using latex2pdf-action the TOC disappeared. Because there is no arguments like "--toc" in pandoc, I guess that it's because a 2nd pass is needed.
If yes how to do this with actions ?
Dear @thomas-chauvet,
Thanks for your nice GitHub Action!
I am here to report a bug, caused by an old version of tlmgr.
When I run the Action code in .github/workflows/build_latex.yaml as from your example ((full file here)[https://github.com/richelbilderbeek/bbbq_article/blob/develop/.github/workflows/build_latex.yaml]) ...
- name: latex2pdf
uses: thomas-chauvet/[email protected]
with:
main_latex_file: bbbq_header.tex
ctan_packages: amssymb latexsym amsmath
I get the following error (full error below):
tlmgr itself needs to be updated.
Please do this via either
tlmgr update --self
or by getting the latest updater for Unix-ish systems:
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
Could you or I do the suggested tlmgr update --self
somewhere?
Thanks and cheers, Richel Bilderbeek
Full error message:
Run thomas-chauvet/[email protected]
/usr/bin/docker run --name a33c1a36514e53c324ddfbe1ccd29e343722d_0d4512 --label 8a33c1 --workdir /github/workspace --rm -e GITHUB_PAT -e INPUT_MAIN_LATEX_FILE -e INPUT_CTAN_PACKAGES -e INPUT_OUTPUT_DIR -e OUTPUT_DIR -e MAIN_LATEX_FILE -e CTAN_PACKAGES -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/bbbq_article/bbbq_article":"/github/workspace" 8a33c1:a36514e53c324ddfbe1ccd29e343722d
OUTPUT_DIR:
MAIN_LATEX_FILE: bbbq_header.tex
CTAN_PACKAGES: amssymb latexsym amsmath
tlmgr: package repository https://ctan.math.illinois.edu/systems/texlive/tlnet (not verified: gpg unavailable)
tlmgr install: package already present: xetex
===============================================================================
tlmgr itself needs to be updated.
Please do this via either
tlmgr update --self
or by getting the latest updater for Unix-ish systems:
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
and/or Windows systems:
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.exe
Then continue with other updates as usual.
===============================================================================
tlmgr: Terminating; please see warning above!
tlmgr: package repository https://mirrors.rit.edu/CTAN/systems/texlive/tlnet (not verified: gpg unavailable)
mkdir: missing operand
Try 'mkdir --help' for more information.
This is LuaHBTeX, Version 1.13.2 (TeX Live 2021)
restricted system commands enabled.
**
! End of file on the terminal... why?
https://github.com/richelbilderbeek/bbbq_article/runs/2533292717?check_suite_focus=true#step:4:16
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.