SquareBracketAssociates / Booklet-CORMAS

A booklet on the CORMAS multi-agent simulation framework
4 stars 1 forks source link

To run the build #7

Open Ducasse opened 2 months ago

Ducasse commented 2 months ago
git pull
chmod a+x _support/latex/sbabook/ci/install-texlive
git commit
git push
olekscode commented 2 months ago

I don't understand it though :( Because chmod is just setting permissions on my computer I can't commit the result of chmod to a remote server As expected, I get this:

On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

Also, I have some problems with Pillar on my computer because if I try to run pillar build pdf index.md on the booklet, I get this:

Latexmk: Missing input file 'gentiumbook.sty' (or dependence on it) from following:
  '! LaTeX Error: File `gentiumbook.sty' not found.'
Failure to make 'index.pdf'
Latexmk: Errors, in force_mode: so I tried finishing targets
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 1
      Refer to 'index.log' for details
Error: command latexmk failed

(I have completely reinstalled Pillar, so it's the latest version now)

Ducasse commented 2 months ago

The template was obsolete. I fixed it. Now you should use LaTeX 2023 on your machine. Now I do not get why I get

This is the only booklet doing this. I spent 1 hours trying to fix it.

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmmi5
/home/runner/texlive/bin/x86_64-linux/mktexpk: 1: mf: not found
mktexpk: Mismatched mode ljfour and resolution 600; ignoring mode.
mkdir: cannot create directory '././texmf-var': Permission denied
mktexpk: /home/runner/texlive/texmf-dist/web2c/mktexdir /texmf-var/fonts/pk/ljfour/public/cm failed.
kpathsea: Appending font creation commands to missfont.log.
<</home/runner/texlive/texmf-dist/fonts/pk/ljfour/public/cm/dpi600/cmsy10.pk>>
! error:  (file cmmi5) (type 3): font cmmi5 at 600 not found
!  ==> Fatal error occurred, no output PDF file produced!Latexmk: Getting log file 'index.log'