@@ -12,25 +12,28 @@ jobs:
1212 run : |
1313 echo "files=$(printf '\"%s\" ' *.md | sed 's/ \"sidebar\.md\"/ /' | sed 's/ \"overview\.md\"/ /' && printf '\"%s\" ' extensions/*.md)" > $GITHUB_OUTPUT
1414 mkdir output
15- - uses : docker://pandoc/extra:latest-ubuntu
16- with :
17- args : >-
18- --output=output/aseprite-docs.pdf "overview.md" ${{ steps.files_list.outputs.files }}
19- --pdf-engine=lualatex
20- -f markdown_github
21- --include-in-header ./.github/workflows/pdf/header.tex
22- --include-before-body ./.github/workflows/pdf/title.tex
23- --lua-filter ./.github/workflows/pdf/link-gifs.lua
24- --file-scope
25- --table-of-contents
26- --number-sections
27- -V mainfont="DejaVu Sans"
28- -V mainfontoptions:"Extension=.ttf, UprightFont=*, BoldFont=*-Bold"
29- -V documentclass=article
30- -V colorlinks
31- -V urlcolor=NavyBlue
15+ - name : Installing Dependencies
16+ run : |
17+ sudo apt-get install -y pandoc texlive
18+ - name : Running Pandoc
19+ run : |
20+ pandoc \
21+ --output=output/aseprite-docs.pdf "overview.md" ${{ steps.files_list.outputs.files }} \
22+ --pdf-engine=lualatex \
23+ -f markdown_github \
24+ --include-in-header ./.github/workflows/pdf/header.tex \
25+ --include-before-body ./.github/workflows/pdf/title.tex \
26+ --lua-filter ./.github/workflows/pdf/link-gifs.lua \
27+ --file-scope \
28+ --table-of-contents \
29+ --number-sections \
30+ -V mainfont="DejaVu Sans" \
31+ -V mainfontoptions:"Extension=.ttf, UprightFont=*, BoldFont=*-Bold" \
32+ -V documentclass=article \
33+ -V colorlinks \
34+ -V urlcolor=NavyBlue \
3235 -V geometry:"top=2cm, bottom=1.5cm, left=2cm, right=2cm"
33- - uses : actions/upload-artifact@master
36+ - uses : actions/upload-artifact@v4
3437 with :
3538 name : aseprite-docs
3639 path : output/aseprite-docs.pdf
0 commit comments