Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation - kaobook hangs when compiled #157

Closed
1 task done
Krytic opened this issue Jun 15, 2021 · 6 comments
Closed
1 task done

Compilation - kaobook hangs when compiled #157

Krytic opened this issue Jun 15, 2021 · 6 comments

Comments

@Krytic
Copy link

Krytic commented Jun 15, 2021

Prerequisites

  • Put an X between the brackets on this line if you have done all of the following:

Description

pdflatex hangs when it is compiled using pdflatex -output-directory examples/documentation main.tex. It works fine on Overleaf. I get the following log:

This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded format=pdflatex)

restricted \write18 enabled.

entering extended mode

(examples/documentation/main.tex

LaTeX2e <2021-06-01>

L3 programming layer <2021-06-01> (./kaobook.cls

Document Class: kaobook 2021/06/02 v0.9.7 kaobook

(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrbook.cls

Document Class: scrbook 2021/03/17 v3.33 KOMA-Script document class (book)

(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrkbase.sty

(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrbase.sty

(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrlfile.sty

(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty

(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrlogo.sty)))

(/usr/local/texlive/2021/texmf-dist/tex/latex/graphics/keyval.sty)))

(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/tocbasic.sty)

I've checked #74 etc and my KOMA-Script is up to date (cat-version: 3.33).

Minimal Working Example

The documentation example

Expected behavior: Compilation

Actual behavior: Not compilation

Additional Information

The log above is shown as an image.

Image of error message

@yordiak
Copy link

yordiak commented Jun 15, 2021

I am also facing the same problem

@yordiak
Copy link

yordiak commented Jun 16, 2021

This problem is not related to kaobook. See here

@yordiak
Copy link

yordiak commented Jun 17, 2021

The problem solved with the latest latex update (on Texlive 2021). Thus, this issue can be closed

@Krytic
Copy link
Author

Krytic commented Jun 17, 2021

Correct -- for any others encountering this, run tlmgr update --all and the package will be updated.

@RemDelaporteMathurin
Copy link

Correct -- for any others encountering this, run tlmgr update --all and the package will be updated.

Hi @Krytic , super this does seem to work locally. Though I'm trying to use GA to compile a Latex project using this class, and the build hangs because of this, do you know how to run this command within this Github Actions workflow (below) ?

Thanks!

name: Build
on: [push]
jobs:
  build_latex:
    runs-on: ubuntu-latest
    steps:
      - name: Set up Git repository
        uses: actions/checkout@v1
      - name: Compile document.tex
        uses: dante-ev/latex-action@master
        with:
          root_file: document.tex

@koppor
Copy link

koppor commented Jul 30, 2021

Please update to the latest version. We changed from master to edge (and latest). latest is the latest released build, the edge is always the most recent version (built approx each 14 days). Thus, there will be most two weeks delay. No need to run tlmgr update --all in most of the cases.

See https://github.com/dante-ev/latex-action/blob/edge/CHANGELOG.md#changelog for details - and the updated README.md at https://github.com/dante-ev/latex-action#latex-action-.

Sorry for the name change. I thought, I should also follow the general movement away from master (see https://github.com/github/renaming#renaming-the-default-branch-from-master for details).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants