From ebb66ee61110bc2b4d3b209e00d3595c5f5f2d84 Mon Sep 17 00:00:00 2001 From: jr-b Date: Fri, 28 Jul 2023 21:46:02 -0400 Subject: [PATCH] install pip3, test install pdfnup --- .github/workflows/build.yml | 2 +- Dockerfile | 2 +- script.sh | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 192cfd6..927d19a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ on: jobs: generate_pdf: runs-on: ubuntu-latest - name: gen-pdf + name: generate-pdf steps: - name: Checkout uses: actions/checkout@v2 diff --git a/Dockerfile b/Dockerfile index cc016e2..5d56430 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM ubuntu:latest RUN ln -snf /usr/share/zoneinfo/Etc/UTC /etc/localtime \ && echo "Etc/UTC" > /etc/timezone \ && apt-get update && apt-get upgrade -y \ - && apt-get install texlive-latex-base texlive-xetex texlive-lang-french texlive-latex-extra texlive-fonts-recommended pandoc xzdec -y \ + && apt-get install python3-pip texlive-latex-base texlive-xetex texlive-lang-french texlive-latex-extra texlive-fonts-recommended pandoc xzdec -y \ && rm -rf /var/lib/apt/lists/* # Copy the application in folder found in $PATH diff --git a/script.sh b/script.sh index b32a03f..9857c85 100644 --- a/script.sh +++ b/script.sh @@ -8,4 +8,8 @@ pandoc -o output/out.pdf --pdf-engine=xelatex --template=input/main.tex input/ma sleep 10 echo $(python3 -V) >> output/python-version -echo $(pip3 -V) >> output/python-version \ No newline at end of file +echo $(pip3 -V) >> output/python-version + +pip3 install --no-input pdfnup==0.4.1 + +echo $(pdfnup -h) >> output/pdfnup \ No newline at end of file