From 4d0aa1985aa9419a8e6a5b10ee86d38d05e6dc18 Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Thu, 14 Mar 2024 09:06:58 +0300 Subject: [PATCH] #44 latex up --- Dockerfile | 9 +++++---- settings.xml | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index a33f8d1..e5e0855 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# Copyright (c) 2009-2023 Yegor Bugayenko +# Copyright (c) 2009-2024 Yegor Bugayenko # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -86,6 +86,7 @@ RUN apt-get -y install wget \ software-properties-common # LaTeX +ENV TEXLIVE_YEAR 2024 RUN mkdir /tmp/texlive \ && cd /tmp/texlive \ && wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip \ @@ -93,9 +94,9 @@ RUN mkdir /tmp/texlive \ && cd install-tl/install-tl-* \ && echo "selected_scheme scheme-medium" > p \ && perl ./install-tl --profile=p \ - && ln -s $(ls /usr/local/texlive/2023/bin/) /usr/local/texlive/2023/bin/latest -ENV PATH "${PATH}:/usr/local/texlive/2023/bin/latest" -RUN echo 'export PATH=${PATH}:/usr/local/texlive/2023/bin/latest' >> /root/.profile \ + && ln -s $(ls /usr/local/texlive/${TEXLIVE_YEAR}/bin/) /usr/local/texlive/${TEXLIVE_YEAR}/bin/latest +ENV PATH "${PATH}:/usr/local/texlive/${TEXLIVE_YEAR}/bin/latest" +RUN echo 'export PATH=${PATH}:/usr/local/texlive/${TEXLIVE_YEAR}/bin/latest' >> /root/.profile \ && tlmgr init-usertree \ && tlmgr install texliveonfly \ && pdflatex --version \ diff --git a/settings.xml b/settings.xml index aafffaf..5862ac6 100644 --- a/settings.xml +++ b/settings.xml @@ -1,5 +1,5 @@