From e76b82cb3302da05c90201a023e600be0db23d06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jari-Matti=20M=C3=A4kel=C3=A4?= <jmjmak@utu.fi>
Date: Sun, 4 Feb 2024 23:10:40 +0200
Subject: [PATCH] Version bump, Debian Bookworm, Java 17, Texlive 2023

---
 Dockerfile              |  8 ++++----
 texlive-full.profile    | 10 +++++-----
 texlive-minimal.profile | 10 +++++-----
 texlive-small.profile   | 10 +++++-----
 texlive.profile         | 10 +++++-----
 5 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 41c3ace..5ea4200 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
 # https://tug.org/texlive/quickinstall.html
 
-FROM debian:bullseye
+FROM debian:bookworm
 
 ENV DEBIAN_FRONTEND=noninteractive
 
@@ -19,9 +19,9 @@ RUN cat $TEXPROFILE && \
     #
     # deps for texlive, verapdf, make, pdf cmdline utils, pygments/minted, pandoc
     apt-get install -y texlive-base wget make ghostscript poppler-utils librsvg2-bin \
-    fontconfig inotify-tools openjdk-11-jre-headless \
+    fontconfig inotify-tools openjdk-17-jre-headless \
     python3-pygments python3-pandocfilters \
-    pandoc-citeproc pandoc && \
+    pandoc-citeproc-preamble pandoc-sidenote pandoc && \
     #
     # clean up
     apt-get autoremove -y --purge && \
@@ -49,4 +49,4 @@ RUN cat $TEXPROFILE && \
     # add texlive to the system path
     echo 'PATH='$(echo /usr/local/texlive/*/bin/*)':$PATH' >> /etc/bash.bashrc
 
-ENV PATH=/usr/local/texlive/2021/bin/x86_64-linux/:$PATH
+ENV PATH=/usr/local/texlive/2023/bin/x86_64-linux/:$PATH
diff --git a/texlive-full.profile b/texlive-full.profile
index ff9efa2..10f7370 100644
--- a/texlive-full.profile
+++ b/texlive-full.profile
@@ -1,12 +1,12 @@
 # It will NOT be updated and reflects only the installation profile at installation time.
 selected_scheme scheme-full
-TEXDIR /usr/local/texlive/2021
-TEXMFCONFIG ~/.texlive2021/texmf-config
+TEXDIR /usr/local/texlive/2023
+TEXMFCONFIG ~/.texlive2023/texmf-config
 TEXMFHOME ~/texmf
 TEXMFLOCAL /usr/local/texlive/texmf-local
-TEXMFSYSCONFIG /usr/local/texlive/2021/texmf-config
-TEXMFSYSVAR /usr/local/texlive/2021/texmf-var
-TEXMFVAR ~/.texlive2021/texmf-var
+TEXMFSYSCONFIG /usr/local/texlive/2023/texmf-config
+TEXMFSYSVAR /usr/local/texlive/2023/texmf-var
+TEXMFVAR ~/.texlive2023/texmf-var
 binary_x86_64-linux 1
 instopt_adjustpath 0
 instopt_adjustrepo 1
diff --git a/texlive-minimal.profile b/texlive-minimal.profile
index ea74632..c1ad51f 100644
--- a/texlive-minimal.profile
+++ b/texlive-minimal.profile
@@ -1,12 +1,12 @@
 # It will NOT be updated and reflects only the installation profile at installation time.
 selected_scheme scheme-minimal
-TEXDIR /usr/local/texlive/2021
-TEXMFCONFIG ~/.texlive2021/texmf-config
+TEXDIR /usr/local/texlive/2023
+TEXMFCONFIG ~/.texlive2023/texmf-config
 TEXMFHOME ~/texmf
 TEXMFLOCAL /usr/local/texlive/texmf-local
-TEXMFSYSCONFIG /usr/local/texlive/2021/texmf-config
-TEXMFSYSVAR /usr/local/texlive/2021/texmf-var
-TEXMFVAR ~/.texlive2021/texmf-var
+TEXMFSYSCONFIG /usr/local/texlive/2023/texmf-config
+TEXMFSYSVAR /usr/local/texlive/2023/texmf-var
+TEXMFVAR ~/.texlive2023/texmf-var
 binary_x86_64-linux 1
 instopt_adjustpath 0
 instopt_adjustrepo 1
diff --git a/texlive-small.profile b/texlive-small.profile
index c8cff74..29fadce 100644
--- a/texlive-small.profile
+++ b/texlive-small.profile
@@ -1,12 +1,12 @@
 # It will NOT be updated and reflects only the installation profile at installation time.
 selected_scheme scheme-small
-TEXDIR /usr/local/texlive/2021
-TEXMFCONFIG ~/.texlive2021/texmf-config
+TEXDIR /usr/local/texlive/2023
+TEXMFCONFIG ~/.texlive2023/texmf-config
 TEXMFHOME ~/texmf
 TEXMFLOCAL /usr/local/texlive/texmf-local
-TEXMFSYSCONFIG /usr/local/texlive/2021/texmf-config
-TEXMFSYSVAR /usr/local/texlive/2021/texmf-var
-TEXMFVAR ~/.texlive2021/texmf-var
+TEXMFSYSCONFIG /usr/local/texlive/2023/texmf-config
+TEXMFSYSVAR /usr/local/texlive/2023/texmf-var
+TEXMFVAR ~/.texlive2023/texmf-var
 binary_x86_64-linux 1
 instopt_adjustpath 0
 instopt_adjustrepo 1
diff --git a/texlive.profile b/texlive.profile
index dd42f10..c961eca 100644
--- a/texlive.profile
+++ b/texlive.profile
@@ -1,12 +1,12 @@
 # It will NOT be updated and reflects only the installation profile at installation time.
 selected_scheme scheme-custom
-TEXDIR /usr/local/texlive/2021
-TEXMFCONFIG ~/.texlive2021/texmf-config
+TEXDIR /usr/local/texlive/2023
+TEXMFCONFIG ~/.texlive2023/texmf-config
 TEXMFHOME ~/texmf
 TEXMFLOCAL /usr/local/texlive/texmf-local
-TEXMFSYSCONFIG /usr/local/texlive/2021/texmf-config
-TEXMFSYSVAR /usr/local/texlive/2021/texmf-var
-TEXMFVAR ~/.texlive2021/texmf-var
+TEXMFSYSCONFIG /usr/local/texlive/2023/texmf-config
+TEXMFSYSVAR /usr/local/texlive/2023/texmf-var
+TEXMFVAR ~/.texlive2023/texmf-var
 binary_x86_64-linux 1
 collection-basic 1
 collection-bibtexextra 1
-- 
GitLab