Updates to PDF generation o work with current versions

This commit is contained in:
Josh Stewart 2023-07-13 10:35:49 +10:00
parent 744a5d767f
commit fad7d7f3be
3 changed files with 1093 additions and 4 deletions

View File

@ -3,6 +3,7 @@
name: CI name: CI
# Controls when the workflow will run # Controls when the workflow will run
# https://github.com/jgm/pandoc/releases/download/3.1.5/pandoc-3.1.5-1-amd64.deb
on: on:
# Triggers the workflow on push or pull request events but only for the "master" branch # Triggers the workflow on push or pull request events but only for the "master" branch
push: push:
@ -15,7 +16,7 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job
steps: steps:
@ -29,8 +30,8 @@ jobs:
- name: Installing Pandoc - name: Installing Pandoc
run: | run: |
wget https://github.com/jgm/pandoc/releases/download/2.9.1.1/pandoc-2.9.1.1-1-amd64.deb wget https://github.com/jgm/pandoc/releases/download/3.1.5/pandoc-3.1.5-1-amd64.deb
sudo dpkg -i pandoc-2.9.1.1-1-amd64.deb sudo dpkg -i pandoc-3.1.5-1-amd64.deb
- name: Preparing directories - name: Preparing directories
run: | run: |

View File

@ -20,7 +20,7 @@ CHAPTERS=`tail -n +${START_LINE} ${DEFINITION}`
IMAGES_FOLDER="img" IMAGES_FOLDER="img"
IMAGES=${IMAGES_FOLDER}/* IMAGES=${IMAGES_FOLDER}/*
COVER_IMAGE=${IMAGES_FOLDER}/Speeduino\ logo.png COVER_IMAGE=${IMAGES_FOLDER}/Speeduino\ logo.png
TEMPLATE=offline/eisvogel.tex TEMPLATE=offline/eisvogel.latex
TEMPLATE_OPTIONS='--listings --toc --toc-depth=2' TEMPLATE_OPTIONS='--listings --toc --toc-depth=2'
ARGS="${TEMPLATE_OPTIONS} --template=${TEMPLATE}" ARGS="${TEMPLATE_OPTIONS} --template=${TEMPLATE}"
#ARGS="${TEMPLATE_OPTIONS}" #ARGS="${TEMPLATE_OPTIONS}"

1088
offline/eisvogel.latex Normal file

File diff suppressed because it is too large Load Diff