# parameter file mandatory for script 'instTexlive.sh' 
# must be in the same folder 

# folder where all texlive releases are to be installed ... 
# The defaults are (see https://www.tug.org/texlive/doc/texlive-en/texlive-en.html, Section 3.2.3)
#
#       /usr/local/texlive   (unixoid OS)
#       c:/texlive           (windows)
# ROOT="/usr/local/texliveFull" # Here we store some full texlive revisions (SCHEME="full") 
ROOT="/usr/local/texlive" # Here we store our customized texlive revisions based on `SCHEME="small"` but enhanced 

# list of servers with historic texlive builds: https://www.tug.org/historic/
# Note that the script inteTexlive.sh does not work with rsync protocol 
SERVER_HIST="https://ftp.math.utah.edu/pub/tex/historic/systems/texlive"
# ftp.math.utah.edu worked for 2023, 2024 and 2025 
# 2018 and earlier (at least until 2015): 
SERVER_HIST="ftp://ftp.math.utah.edu/pub/tex/historic/systems/texlive" # REALLY HISTORICAL 
#SERVER_HIST="https://mirror.nju.edu.cn/tex-historic/systems/texlive"
# SERVER_HIST="https://ftp.tu-chemnitz.de/pub/tug/historic/systems/texlive"
#SERVER_HIST="ftp://tug.org/historic/"# no
#SERVER_HIST="https://texlive.info/historic/"# no
#SERVER_HIST="https://pi.kwarc.info/historic/"
#SERVER_HIST="ftp://tug.org/historic/"
#SERVER_HIST="https://texlive.info/historic/" # no

# server for current texlive not available on historic servers 
SERVER_CURR="https://mirror.ctan.org/systems/texlive/tlnet"

# platforms: 
get_binaries() {
    cat <<'BIN_EOF'
binary_aarch64-linux 0
binary_amd64-freebsd 0
binary_amd64-netbsd 0
binary_armhf-linux 0
binary_i386-freebsd 0
binary_i386-linux 0
binary_i386-netbsd 0
binary_i386-solaris 0
binary_universal-darwin 0
binary_windows 1
binary_x86_64-cygwin 0
binary_x86_64-darwinlegacy 0
binary_x86_64-linux 1
binary_x86_64-linuxmusl 0
binary_x86_64-solaris 0
BIN_EOF
}

# A server which provides individual patches. 
# For tds patches see below 
#
# This is optional: If no patch server is wanted, just set the empty string. 
# Else the patch server must provide an HTML index with <tr> table rows 
# top level and in any of its subfolders. 
#
# $SERVER_PATCH/<YEAR> contains the patches for that year. 
# Possibly, there is no folder $SERVER_PATCH/<YEAR> meaning there is no patch for that year. 
#
# In case, patches are provided for release <YEAR>, 
# these are installed in $ROOT/<YEAR>/texmf-local. 
# The folder structure of $SERVER_PATCH/<YEAR> is that of $ROOT/<YEAR>/texmf-local 
# and must fit that of $ROOT/<YEAR>/texmf-dist. 
SERVER_PATCH="https://www.simuline.eu/Latex/TexLive"
#SERVER_PATCH=""

# A server providing tds patches, i.e. patches of the form `package.tds.gz` 
# Here, tds stands for tex directory structure. 
# It is intended to be unpacked in DIR="$ROOT/<YEAR>/texmf-local/", where <year> is the texlive release. 
# Since its structure fits the folder structure, unpacking is all what is needed for installation. 
#
# This mechanism allows to apply quick patches without waiting for the texlive team to integrate. 
# Either texlive does not yet contain this package, or it contains a version which need to be patched. 
# One has to trace all files in xxx.tds.zip whether they are the same as in texml-dist. 
SERVER_TDS_PATCH="https://mirrors.ctan.org/install"



# truely the minimal scheme which makes sense; in some years also "tiny" exists 
# schemes 
# For installed TeX Live `tlmgr info schemes` shows the schemes available. 
# This may depend on the year and also on the server. 
# https://svn.tug.org:8369/texlive/trunk/Master/tlpkg/tlpsrc/?dir_pagestart=3650
# https://svn.tug.org:8369/texlive/trunk/Master/tlpkg/tlpsrc/?dir_pagestart=3700
#SCHEME="full"
SCHEME="small"


# paper format (see https://tug.org/texlive/doc/install-tl.html, option -paper) 
# Alternatives `a4` (the default) and `letter` 
# Caution: no warning if unknown, just takes the default 
PAPER="a4"
# alternative: 
# PAPER="letter"

# Whether to install doc files; INST_DOCFILES may be 0 or 1
INST_DOCFILES=0
# Whether to install src files; INST_SRCFILES may be 0 or 1
INST_SRCFILES=0 

# Security: Restricted shell escape (write18). 
# ALWAYS keep at 1 unless you aware of the risk 
# Is it worth e.g. 'minted' or 'gnuplot'?
# 1 = Secure/Restricted, 0 = Full access (DANGEROUS)
CONF_SHELL_ESCAPE_RESTRICTED=1