add lastpage

This commit is contained in:
Wolfgang Hottgenroth 2020-09-28 16:02:58 +02:00
parent e9b92fb712
commit 85a7b36511
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -5,7 +5,7 @@ LABEL ImageName="registry.hottis.de/dockerized/build-env-latex"
LABEL AlternativeImageName="wollud1969/build-env-latex"
ARG ACROTEX_URL="http://mirrors.ctan.org/macros/latex/contrib/acrotex.zip"
ARG LASTPAGE_URL="http://mirrors.ctan.org/macros/latex/contrib/lastpage"
ENV TEXINPUTS "~/texmf//:"
RUN \
@ -14,11 +14,16 @@ RUN \
rm -rf /var/lib/apt/lists/* && \
cd /tmp && \
wget $ACROTEX_URL && \
wget $LASTPAGE_URL && \
tlmgr init-usertree && \
unzip acrotex.zip && \
unzip lastpage.zip && \
mv acrotex ~/texmf && \
mv lastpage ~/texmf && \
cd ~/texmf/acrotex && \
latex acrotex.ins && \
cd ~/texmf/lastpage && \
tex lastpage.dtx && \
cd ~