Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git

Updates container to ConTeXt 2023.07.18 22:07

AuthorDaveJarvis <email>
Date2023-07-18 19:16:30 GMT-0700
Commit45785b29e9a82f54e6a947f00134836218d4ee3a
Parent6ce9095
Delta9 lines added, 5 lines removed, 4-line increase
src/main/resources/bootstrap.properties
application.title=KeenWrite
-container.version=2.11.5
+container.version=3.0.0
container/Containerfile
# Archives
+ADD "https://www.omnibus-type.com/wp-content/uploads/Archivo-Narrow.zip" "archivo-narrow.zip"
ADD "https://fonts.google.com/download?family=Courier%20Prime" "courier-prime.zip"
ADD "https://fonts.google.com/download?family=Inconsolata" "inconsolata.zip"
ADD "https://fonts.google.com/download?family=Libre%20Baskerville" "libre-baskerville.zip"
ADD "https://fonts.google.com/download?family=Niconne" "niconne.zip"
ADD "https://fonts.google.com/download?family=Nunito" "nunito.zip"
ADD "https://fonts.google.com/download?family=Roboto" "roboto.zip"
ADD "https://fonts.google.com/download?family=Roboto%20Mono" "roboto-mono.zip"
ADD "https://github.com/adobe-fonts/source-serif/releases/download/4.004R/source-serif-4.004.zip" "source-serif.zip"
-ADD "https://www.omnibus-type.com/wp-content/uploads/Archivo-Narrow.zip" "archivo-narrow.zip"
# Typesetting software
echo "PS1='\\u@typesetter:\\w\\$ '" >> $PROFILE && \
unzip -d $CONTEXT_HOME $DOWNLOAD_DIR/context.zip && \
+ unzip -j -o -d $FONTS_DIR $DOWNLOAD_DIR/archivo-narrow.zip "Archivo-Narrow/otf/*.otf" && \
unzip -j -o -d $FONTS_DIR $DOWNLOAD_DIR/courier-prime.zip "*.ttf" && \
unzip -j -o -d $FONTS_DIR $DOWNLOAD_DIR/libre-baskerville.zip "*.ttf" && \
unzip -j -o -d $FONTS_DIR $DOWNLOAD_DIR/inconsolata.zip "**/Inconsolata/*.ttf" && \
+ unzip -j -o -d $FONTS_DIR $DOWNLOAD_DIR/niconne.zip "*.ttf" && \
unzip -j -o -d $FONTS_DIR $DOWNLOAD_DIR/nunito.zip "static/*.ttf" && \
unzip -j -o -d $FONTS_DIR $DOWNLOAD_DIR/roboto.zip "*.ttf" && \
unzip -j -o -d $FONTS_DIR $DOWNLOAD_DIR/roboto-mono.zip "static/*.ttf" && \
unzip -j -o -d $FONTS_DIR $DOWNLOAD_DIR/source-serif.zip "source-serif-4.004/OTF/SourceSerif4-*.otf" && \
- unzip -j -o -d $FONTS_DIR $DOWNLOAD_DIR/archivo-narrow.zip "Archivo-Narrow/otf/*.otf" && \
mv $DOWNLOAD_DIR/*tf $FONTS_DIR && \
fc-cache -f -v && \
container/manage.sh
# ---------------------------------------------------------------------------
get_mountpoint() {
- $log "Mounting ${1} as ${2}"
-
local result=""
local binding="ro"
declare -r mount_images=$(get_mountpoint_images)
declare -r mount_fonts=$(get_mountpoint_fonts)
+
+ $log "mount_source = '${mount_source}'"
+ $log "mount_target = '${mount_target}'"
+ $log "mount_images = '${mount_images}'"
+ $log "mount_fonts = '${mount_fonts}'"
${CONTAINER_EXE} run \