Skip to content

use GFS Porson for Greek #4

use GFS Porson for Greek

use GFS Porson for Greek #4

Workflow file for this run

name: Deploy handbook
on:
push:
branches: main
tags:
- v*
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Working directory check
run: |
pwd
ls
- name: Install Pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Install XeLaTeX
run: sudo apt-get install -y texlive-xetex
- name: Download and install fonts
run: |
wget -O Junicode.zip https://github.com/psb1558/Junicode-font/releases/download/v2.209/Junicode_2.209.zip
unzip Junicode.zip
mv Junicode/ /usr/share/fonts
wget https://mirrors.ctan.org/fonts/greek/gfs/gfsporson.zip
unzip gfsporson.zip
mv gfsporson/ /usr/share/fonts
fc-cache -fv
- name: Verify dependencies
run: |
pandoc --version
xetex --version
ls Junicode*
- name: Build
run: >-
pandoc
--metadata-file=./config/default.yaml
--pdf-engine=xelatex
--number-sections
--citeproc
documentation.md
-o documentation.pdf
- name: Verify build
run: ls documentation.pdf
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
documentation.pdf
transcription-takamiya-23.xml