From b241b009646b36891e6b6c9d336357ed595d4dc7 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 3 Aug 2024 20:53:54 +0200 Subject: chore(build): Regenerate --- build/latex/academia/init.local | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 build/latex/academia/init.local (limited to 'build/latex/academia/init.local') diff --git a/build/latex/academia/init.local b/build/latex/academia/init.local new file mode 100755 index 0000000..ae57756 --- /dev/null +++ b/build/latex/academia/init.local @@ -0,0 +1,28 @@ +#!/usr/bin/env sh + +prompt LANGUAGE "The language to use in the latex documents" "en_GB" + +bable_language="" +case "$LANGUAGE" in +"en_GB") + bable_language="british" + ;; +en_*) + bable_language="english" + ;; +de_DE | de_*) + bable_language="ngerman" + ;; + +*) + echo "'$LANGUAGE' is not yet recognized by the init.local script! Please open an issue." 1>&2 + echo "set 'BABLE_LANGUAGE' to 'NOT_YET_RECOGNIZED_PLEASE_REPLACE' to help you find instances of the variable use." 1>&2 + bable_language="NOT_YET_RECOGNIZED_PLEASE_REPLACE" + ;; +esac + +prompt BABLE_LANGUAGE "The language to use for the bable package" "$bable_language" "dont_ask" +prompt DATE_TIME_LANGUAGE "The language to use for the datetime2 package" "$(echo "$LANGUAGE" | sed 's/_/-/g')" "dont_ask" +prompt SIUNITX_LANGUAGE "The language to use for the siunitx package" "$(echo "$LANGUAGE" | sed 's/\(\w\w\).*/\U\1/')" "dont_ask" + +# vim: ft=sh -- cgit 1.4.1