GithubHelp home page GithubHelp logo

thomas-chauvet / latex2pdf-action Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 3.0 35 KB

GitHub action to convert LaTeX document in PDF file

Dockerfile 10.00% Shell 10.49% TeX 79.50%
docker github-actions latex pdf

latex2pdf-action's People

Contributors

thomas-chauvet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

a1ip bakkertj jbhv12

latex2pdf-action's Issues

How to TOC ?

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 ?

Error: tlmgr itself needs to be updated

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

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.