1
Fork 0

Fix font path

This commit is contained in:
Edgar P. Burkhart 2023-05-15 08:57:38 +02:00
parent 1d175ef508
commit c9c83d7340
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
3 changed files with 4 additions and 6 deletions

View File

@ -1,8 +1,8 @@
FROM archlinux
RUN pacman -Syu --noconfirm texlive-most texlive-lang texlive-bibtexextra texlive-fontsextra biber
RUN mkdir -p /usr/locale/share/fonts/
RUN curl -Lo /usr/locale/share/fonts/fira-math.otf https://github.com/firamath/firamath/releases/download/v0.3.4/FiraMath-Regular.otf
RUN mkdir -p /usr/local/share/fonts/
RUN curl -Lo /usr/local/share/fonts/fira-math.otf https://github.com/firamath/firamath/releases/download/v0.3.4/FiraMath-Regular.otf
RUN fc-cache
COPY entrypoint.sh /root/

View File

@ -2,8 +2,6 @@ name: "Latexmk"
description: "Run latexmk with most latex packages"
author: edpibu
inputs:
root_file:
description: File to compile
working_directory:
description: Working directory
runs:
@ -11,7 +9,6 @@ runs:
image: "Dockerfile"
args:
- ${{ inputs.working_directory }}
- ${{ inputs.root_file }}
branding:
icon: book
color: blue

View File

@ -3,4 +3,5 @@
set -e
cd $1
latexmk $2
latexmk
latexmk -c