diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-03 13:24:22 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-03 13:24:22 +0200 |
commit | 805a8ace7415af5edf680a13118966fe099ef9eb (patch) | |
tree | 6ba6712680cbb52abf8d014589dc408034614cf3 /build | |
parent | fix(templates): Remove `*.lock` files (diff) | |
download | flake-templates-805a8ace7415af5edf680a13118966fe099ef9eb.tar.gz flake-templates-805a8ace7415af5edf680a13118966fe099ef9eb.zip |
chore(build): Regenerate
Diffstat (limited to '')
19 files changed, 107 insertions, 902 deletions
diff --git a/build/awk/flake.lock b/build/awk/flake.lock deleted file mode 100644 index 544cbdf..0000000 --- a/build/awk/flake.lock +++ /dev/null @@ -1,129 +0,0 @@ -{ - "nodes": { - "flake-compat": { - "flake": false, - "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-utils": { - "inputs": { - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake_version_update": { - "inputs": { - "flake-utils": [ - "flake-utils" - ], - "nixpkgs": [ - "nixpkgs" - ], - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1685288691, - "narHash": "sha256-oP6h34oJ8rm6KlUpyZrX+ww3hnoWny2ecrEXxkU7F3c=", - "ref": "refs/heads/prime", - "rev": "e9a97e01eca780bd16e1dbdbd8856b59558f4959", - "revCount": 5, - "type": "git", - "url": "https://codeberg.org/soispha/flake_version_update.git" - }, - "original": { - "type": "git", - "url": "https://codeberg.org/soispha/flake_version_update.git" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1711715736, - "narHash": "sha256-9slQ609YqT9bT/MNX9+5k5jltL9zgpn36DpFB7TkttM=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "807c549feabce7eddbf259dbdcec9e0600a0660d", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "flake-compat": "flake-compat", - "flake-utils": "flake-utils", - "flake_version_update": "flake_version_update", - "nixpkgs": "nixpkgs", - "systems": "systems", - "treefmt-nix": "treefmt-nix" - } - }, - "systems": { - "locked": { - "lastModified": 1680978846, - "narHash": "sha256-Gtqg8b/v49BFDpDetjclCYXm8mAnTrUzR0JnE2nv5aw=", - "owner": "nix-systems", - "repo": "x86_64-linux", - "rev": "2ecfcac5e15790ba6ce360ceccddb15ad16d08a8", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "x86_64-linux", - "type": "github" - } - }, - "treefmt-nix": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1711803027, - "narHash": "sha256-Qic3OvsVLpetchzaIe2hJqgliWXACq2Oee6mBXa/IZQ=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "1810d51a015c1730f2fe05a255258649799df416", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/build/c/flake.lock b/build/c/flake.lock deleted file mode 100644 index 0f32b70..0000000 --- a/build/c/flake.lock +++ /dev/null @@ -1,102 +0,0 @@ -{ - "nodes": { - "flake-compat": { - "flake": false, - "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-utils": { - "inputs": { - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1711715736, - "narHash": "sha256-9slQ609YqT9bT/MNX9+5k5jltL9zgpn36DpFB7TkttM=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "807c549feabce7eddbf259dbdcec9e0600a0660d", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "flake-compat": "flake-compat", - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs", - "systems": "systems", - "treefmt-nix": "treefmt-nix" - } - }, - "systems": { - "locked": { - "lastModified": 1680978846, - "narHash": "sha256-Gtqg8b/v49BFDpDetjclCYXm8mAnTrUzR0JnE2nv5aw=", - "owner": "nix-systems", - "repo": "x86_64-linux", - "rev": "2ecfcac5e15790ba6ce360ceccddb15ad16d08a8", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "x86_64-linux", - "type": "github" - } - }, - "treefmt-nix": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1711803027, - "narHash": "sha256-Qic3OvsVLpetchzaIe2hJqgliWXACq2Oee6mBXa/IZQ=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "1810d51a015c1730f2fe05a255258649799df416", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/build/latex/academia/%INIT_APPLICATION_NAME.tex b/build/latex/academia/%INIT_APPLICATION_NAME.tex index 50131ad..a5fe645 100644 --- a/build/latex/academia/%INIT_APPLICATION_NAME.tex +++ b/build/latex/academia/%INIT_APPLICATION_NAME.tex @@ -13,8 +13,8 @@ \date{\DTMToday} % For the copyright section -\years{%INIT_YEAR} -\authors{%INIT_AUTHOR_NAME} +\SetYears{%INIT_YEAR} +\SetAuthors{%INIT_AUTHOR_NAME} \makeatletter \hypersetup{ diff --git a/build/latex/academia/flake.lock b/build/latex/academia/flake.lock deleted file mode 100644 index 1d384fd..0000000 --- a/build/latex/academia/flake.lock +++ /dev/null @@ -1,210 +0,0 @@ -{ - "nodes": { - "crane": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1711681752, - "narHash": "sha256-LEg6/dmEFxx6Ygti5DO9MOhGNpyB7zdxdWtzv/FCTXk=", - "owner": "ipetkov", - "repo": "crane", - "rev": "ada0fb4dcce4561acb1eb17c59b7306d9d4a95f3", - "type": "github" - }, - "original": { - "owner": "ipetkov", - "repo": "crane", - "type": "github" - } - }, - "flake-compat": { - "flake": false, - "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-utils": { - "inputs": { - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake_version_update": { - "inputs": { - "flake-utils": [ - "flake-utils" - ], - "nixpkgs": [ - "nixpkgs" - ], - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1685288691, - "narHash": "sha256-oP6h34oJ8rm6KlUpyZrX+ww3hnoWny2ecrEXxkU7F3c=", - "ref": "refs/heads/prime", - "rev": "e9a97e01eca780bd16e1dbdbd8856b59558f4959", - "revCount": 5, - "type": "git", - "url": "https://codeberg.org/soispha/flake_version_update.git" - }, - "original": { - "type": "git", - "url": "https://codeberg.org/soispha/flake_version_update.git" - } - }, - "lpm": { - "inputs": { - "crane": [ - "crane" - ], - "flake-compat": [ - "flake-compat" - ], - "flake-utils": [ - "flake-utils" - ], - "nixpkgs": [ - "nixpkgs" - ], - "rust-overlay": [ - "rust-overlay" - ], - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1718253944, - "narHash": "sha256-22AP7h3Utx7xfJ7uyPWH2f6B6xFysCYgPQhNonTeEQ4=", - "ref": "refs/heads/prime", - "rev": "7ea10db20a83eedffd69a8c8824e14992ada3e10", - "revCount": 20, - "type": "git", - "url": "https://codeberg.org/bpeetz/lpm.git" - }, - "original": { - "type": "git", - "url": "https://codeberg.org/bpeetz/lpm.git" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1711715736, - "narHash": "sha256-9slQ609YqT9bT/MNX9+5k5jltL9zgpn36DpFB7TkttM=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "807c549feabce7eddbf259dbdcec9e0600a0660d", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "crane": "crane", - "flake-compat": "flake-compat", - "flake-utils": "flake-utils", - "flake_version_update": "flake_version_update", - "lpm": "lpm", - "nixpkgs": "nixpkgs", - "rust-overlay": "rust-overlay", - "systems": "systems", - "treefmt-nix": "treefmt-nix" - } - }, - "rust-overlay": { - "inputs": { - "flake-utils": [ - "flake-utils" - ], - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1711851236, - "narHash": "sha256-EJ03x3N9ihhonAttkaCrqxb0djDq3URCuDpmVPbNZhA=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "f258266af947599e8069df1c2e933189270f143a", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" - } - }, - "systems": { - "locked": { - "lastModified": 1680978846, - "narHash": "sha256-Gtqg8b/v49BFDpDetjclCYXm8mAnTrUzR0JnE2nv5aw=", - "owner": "nix-systems", - "repo": "x86_64-linux", - "rev": "2ecfcac5e15790ba6ce360ceccddb15ad16d08a8", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "x86_64-linux", - "type": "github" - } - }, - "treefmt-nix": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1711803027, - "narHash": "sha256-Qic3OvsVLpetchzaIe2hJqgliWXACq2Oee6mBXa/IZQ=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "1810d51a015c1730f2fe05a255258649799df416", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/build/latex/academia/headers/preamble.tex b/build/latex/academia/headers/preamble.tex index 110e3a0..d45262a 100644 --- a/build/latex/academia/headers/preamble.tex +++ b/build/latex/academia/headers/preamble.tex @@ -1,2 +1,2 @@ \input{headers/preamble/mod.tex} -\input{headers/preamble/preamble_local.tex} +\input{headers/preamble_local.tex} diff --git a/build/latex/academia/headers/preamble/academia/theorems/definitions.tex b/build/latex/academia/headers/preamble/academia/theorems/definitions.tex index 4355b3c..3179dd9 100644 --- a/build/latex/academia/headers/preamble/academia/theorems/definitions.tex +++ b/build/latex/academia/headers/preamble/academia/theorems/definitions.tex @@ -1,4 +1,4 @@ -\renewcommand\qedsymbol{\ensuremath{\text{\textit{O.}}~\epsilon.~\delta.}} +\RenewDocumentCommand\qedsymbol{}{\ensuremath{\text{\textit{O.}}~\epsilon.~\delta.}} % \renewcommand\qedsymbol{\dots} \theoremstyle{definition} diff --git a/build/latex/academia/headers/preamble/academia/theorems/mod.tex b/build/latex/academia/headers/preamble/academia/theorems/mod.tex index 8350276..d0f801c 100644 --- a/build/latex/academia/headers/preamble/academia/theorems/mod.tex +++ b/build/latex/academia/headers/preamble/academia/theorems/mod.tex @@ -1,2 +1,2 @@ -\input{headers/preamble/academia/theorems/definitions.tex} \input{headers/preamble/academia/theorems/packages.tex} +\input{headers/preamble/academia/theorems/definitions.tex} diff --git a/build/latex/academia/headers/preamble/core/bable.tex b/build/latex/academia/headers/preamble/core/bable.tex new file mode 100644 index 0000000..f034018 --- /dev/null +++ b/build/latex/academia/headers/preamble/core/bable.tex @@ -0,0 +1 @@ +\usepackage[%INIT_BABLE_LANGUAGE]{babel} % For language support diff --git a/build/latex/academia/headers/preamble/core/graphics_and_floats.tex b/build/latex/academia/headers/preamble/core/graphics_and_floats.tex index b975c5f..c0784c9 100644 --- a/build/latex/academia/headers/preamble/core/graphics_and_floats.tex +++ b/build/latex/academia/headers/preamble/core/graphics_and_floats.tex @@ -5,7 +5,7 @@ \usetikzlibrary{calc} \usepackage{pgfplots} % plots, 2D and 3D -\pgfplotsset{compat=1.19} % Set a compatibility level, to be able to use the new versions +\pgfplotsset{compat=1.18} % Set a compatibility level, to be able to use the new versions \usetikzlibrary{external} \tikzexternalize[prefix=figures/, mode=list and make] diff --git a/build/latex/academia/headers/preamble/core/math.tex b/build/latex/academia/headers/preamble/core/math.tex index 35144df..170f57a 100644 --- a/build/latex/academia/headers/preamble/core/math.tex +++ b/build/latex/academia/headers/preamble/core/math.tex @@ -12,14 +12,16 @@ \NewDocumentCommand\Z{}{\ensuremath{\mathbb{Z}}} \NewDocumentCommand\Q{}{\ensuremath{\mathbb{Q}}} \NewDocumentCommand\C{}{\ensuremath{\mathbb{C}}} -\NewDocumentCommand\O{}{\ensuremath{\emptyset}} % replaces the Ø +\let\originalO\O +\RenewDocumentCommand\O{}{\ensuremath{\emptyset}} % replaces the Ø % readable limits -\let\svlim\lim{} -\renewcommand\lim{\svlim\limits} +\let\originalLim\lim +\RenewDocumentCommand\lim{}{\originalLim\limits} % aliases -\let\implies\Rightarrow{} -\let\impliedby\Leftarrow{} +\let\implies\Rightarrow +\let\impliedby\Leftarrow -\let\epsilon{\varepsilon} % I like the textual epsilon more +\let\originalEpsilon\epsilon +\RenewDocumentCommand\epsilon{}{\varepsilon} % I like the textual epsilon more diff --git a/build/latex/academia/headers/preamble/core/mod.tex b/build/latex/academia/headers/preamble/core/mod.tex index 3a800a1..403ce58 100644 --- a/build/latex/academia/headers/preamble/core/mod.tex +++ b/build/latex/academia/headers/preamble/core/mod.tex @@ -1,6 +1,7 @@ % Core packages (used in the implementation of this preamble) \usepackage{ifdraft} +\input{headers/preamble/core/bable.tex} \input{headers/preamble/core/chemistry.tex} \input{headers/preamble/core/copyright.tex} \input{headers/preamble/core/date_and_time.tex} diff --git a/build/latex/academia/headers/preamble/core/notes.tex b/build/latex/academia/headers/preamble/core/notes.tex index 8eab467..1f10ef3 100644 --- a/build/latex/academia/headers/preamble/core/notes.tex +++ b/build/latex/academia/headers/preamble/core/notes.tex @@ -1 +1 @@ -\usepackage[obeyFinal,%INIT_BABLE_LANGUAGE]{todonotes} +\usepackage[obeyFinal,%INIT_TODONOTES_LANGUAGE]{todonotes} diff --git a/build/latex/academia/headers/preamble/core/references.tex b/build/latex/academia/headers/preamble/core/references.tex index 69a6ad6..e42b22f 100644 --- a/build/latex/academia/headers/preamble/core/references.tex +++ b/build/latex/academia/headers/preamble/core/references.tex @@ -1,4 +1,3 @@ -\usepackage[%INIT_BABLE_LANGUAGE]{babel} % For language support \usepackage{csquotes} % required by biblatex % \usepackage{biblatex-dw} @@ -20,8 +19,6 @@ \addbibresource{ref/references.bib} % \bibliography{res/reference} % Set the location of the references -\usepackage[nospace,%INIT_BABLE_LANGUAGE]{varioref} % for \vref -\usepackage[%INIT_BABLE_LANGUAGE, noabbrev, nameinlink]{cleveref} \usepackage[pdflang=%INIT_DATE_TIME_LANGUAGE]{hyperref} \hypersetup{ colorlinks, @@ -30,8 +27,11 @@ urlcolor={blue!80!black} } +\usepackage[nospace,%INIT_TODONOTES_LANGUAGE]{varioref} % for \vref +\usepackage[%INIT_TODONOTES_LANGUAGE, noabbrev, nameinlink]{cleveref} + \ifdraft{ \usepackage{showlabels} } { - \message {Draft packages not loaded, showlabels not loaded.} + \message {Draft packages not loaded, 'showlabels' not loaded.} } diff --git a/build/latex/academia/init.local b/build/latex/academia/init.local index ae57756..123e349 100755 --- a/build/latex/academia/init.local +++ b/build/latex/academia/init.local @@ -21,8 +21,50 @@ de_DE | de_*) ;; esac +if [ "$bable_language" = "british" ]; then + todonotes_language="english" +else + todonotes_language="$bable_language" +fi + +siunitx_language="" +# locales UK, US, DE (Germany), PL (Poland), FR (French), SI (Slovene) and ZA (South Africa). +case "$LANGUAGE" in +"en_GB") + siunitx_language="UK" # United Kingdom + ;; +"en_US") + siunitx_language="US" # United States of Amerika + ;; +en_ZA) + siunitx_language="ZA" # South Africa + ;; +en_*) + echo "'$LANGUAGE' is not yet recognized! But it seems english, thus we set SIUNITX_LANGUAGE='UK'." + siunitx_language="UK" + ;; +de_DE) + siunitx_language="DE" # Germany + ;; +pl_PL) + siunitx_language="PL" # Poland + ;; +fr_FR) + siunitx_language="FR" # French + ;; +sl_SL) + siunitx_language="SI" # Slovene + ;; +*) + echo "'$LANGUAGE' is not yet recognized by the init.local script! Please open an issue." 1>&2 + echo "set 'SIUNITX_LANGUAGE' to 'NOT_YET_RECOGNIZED_PLEASE_REPLACE' to help you find instances of the variable use." 1>&2 + siunitx_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" +prompt SIUNITX_LANGUAGE "The language to use for the siunitx package" "$siunitx_language" "dont_ask" +prompt TODONOTES_LANGUAGE "The language to use for the todonotes package" "$todonotes_language" "dont_ask" # vim: ft=sh diff --git a/build/latex/letter/flake.lock b/build/latex/letter/flake.lock deleted file mode 100644 index 544cbdf..0000000 --- a/build/latex/letter/flake.lock +++ /dev/null @@ -1,129 +0,0 @@ -{ - "nodes": { - "flake-compat": { - "flake": false, - "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-utils": { - "inputs": { - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake_version_update": { - "inputs": { - "flake-utils": [ - "flake-utils" - ], - "nixpkgs": [ - "nixpkgs" - ], - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1685288691, - "narHash": "sha256-oP6h34oJ8rm6KlUpyZrX+ww3hnoWny2ecrEXxkU7F3c=", - "ref": "refs/heads/prime", - "rev": "e9a97e01eca780bd16e1dbdbd8856b59558f4959", - "revCount": 5, - "type": "git", - "url": "https://codeberg.org/soispha/flake_version_update.git" - }, - "original": { - "type": "git", - "url": "https://codeberg.org/soispha/flake_version_update.git" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1711715736, - "narHash": "sha256-9slQ609YqT9bT/MNX9+5k5jltL9zgpn36DpFB7TkttM=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "807c549feabce7eddbf259dbdcec9e0600a0660d", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "flake-compat": "flake-compat", - "flake-utils": "flake-utils", - "flake_version_update": "flake_version_update", - "nixpkgs": "nixpkgs", - "systems": "systems", - "treefmt-nix": "treefmt-nix" - } - }, - "systems": { - "locked": { - "lastModified": 1680978846, - "narHash": "sha256-Gtqg8b/v49BFDpDetjclCYXm8mAnTrUzR0JnE2nv5aw=", - "owner": "nix-systems", - "repo": "x86_64-linux", - "rev": "2ecfcac5e15790ba6ce360ceccddb15ad16d08a8", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "x86_64-linux", - "type": "github" - } - }, - "treefmt-nix": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1711803027, - "narHash": "sha256-Qic3OvsVLpetchzaIe2hJqgliWXACq2Oee6mBXa/IZQ=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "1810d51a015c1730f2fe05a255258649799df416", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/build/latex/letter/init.local b/build/latex/letter/init.local index ae57756..123e349 100755 --- a/build/latex/letter/init.local +++ b/build/latex/letter/init.local @@ -21,8 +21,50 @@ de_DE | de_*) ;; esac +if [ "$bable_language" = "british" ]; then + todonotes_language="english" +else + todonotes_language="$bable_language" +fi + +siunitx_language="" +# locales UK, US, DE (Germany), PL (Poland), FR (French), SI (Slovene) and ZA (South Africa). +case "$LANGUAGE" in +"en_GB") + siunitx_language="UK" # United Kingdom + ;; +"en_US") + siunitx_language="US" # United States of Amerika + ;; +en_ZA) + siunitx_language="ZA" # South Africa + ;; +en_*) + echo "'$LANGUAGE' is not yet recognized! But it seems english, thus we set SIUNITX_LANGUAGE='UK'." + siunitx_language="UK" + ;; +de_DE) + siunitx_language="DE" # Germany + ;; +pl_PL) + siunitx_language="PL" # Poland + ;; +fr_FR) + siunitx_language="FR" # French + ;; +sl_SL) + siunitx_language="SI" # Slovene + ;; +*) + echo "'$LANGUAGE' is not yet recognized by the init.local script! Please open an issue." 1>&2 + echo "set 'SIUNITX_LANGUAGE' to 'NOT_YET_RECOGNIZED_PLEASE_REPLACE' to help you find instances of the variable use." 1>&2 + siunitx_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" +prompt SIUNITX_LANGUAGE "The language to use for the siunitx package" "$siunitx_language" "dont_ask" +prompt TODONOTES_LANGUAGE "The language to use for the todonotes package" "$todonotes_language" "dont_ask" # vim: ft=sh diff --git a/build/rust/Cargo.lock b/build/rust/Cargo.lock deleted file mode 100644 index 9d8cd04..0000000 --- a/build/rust/Cargo.lock +++ /dev/null @@ -1,7 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "TODO" -version = "0.1.0" diff --git a/build/rust/flake.lock b/build/rust/flake.lock deleted file mode 100644 index ea926e5..0000000 --- a/build/rust/flake.lock +++ /dev/null @@ -1,147 +0,0 @@ -{ - "nodes": { - "crane": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1711681752, - "narHash": "sha256-LEg6/dmEFxx6Ygti5DO9MOhGNpyB7zdxdWtzv/FCTXk=", - "owner": "ipetkov", - "repo": "crane", - "rev": "ada0fb4dcce4561acb1eb17c59b7306d9d4a95f3", - "type": "github" - }, - "original": { - "owner": "ipetkov", - "repo": "crane", - "type": "github" - } - }, - "flake-compat": { - "flake": false, - "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-utils": { - "inputs": { - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1711715736, - "narHash": "sha256-9slQ609YqT9bT/MNX9+5k5jltL9zgpn36DpFB7TkttM=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "807c549feabce7eddbf259dbdcec9e0600a0660d", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "crane": "crane", - "flake-compat": "flake-compat", - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs", - "rust-overlay": "rust-overlay", - "systems": "systems", - "treefmt-nix": "treefmt-nix" - } - }, - "rust-overlay": { - "inputs": { - "flake-utils": [ - "flake-utils" - ], - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1711851236, - "narHash": "sha256-EJ03x3N9ihhonAttkaCrqxb0djDq3URCuDpmVPbNZhA=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "f258266af947599e8069df1c2e933189270f143a", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" - } - }, - "systems": { - "locked": { - "lastModified": 1680978846, - "narHash": "sha256-Gtqg8b/v49BFDpDetjclCYXm8mAnTrUzR0JnE2nv5aw=", - "owner": "nix-systems", - "repo": "x86_64-linux", - "rev": "2ecfcac5e15790ba6ce360ceccddb15ad16d08a8", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "x86_64-linux", - "type": "github" - } - }, - "treefmt-nix": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1711803027, - "narHash": "sha256-Qic3OvsVLpetchzaIe2hJqgliWXACq2Oee6mBXa/IZQ=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "1810d51a015c1730f2fe05a255258649799df416", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/build/shell/flake.lock b/build/shell/flake.lock deleted file mode 100644 index 60caf54..0000000 --- a/build/shell/flake.lock +++ /dev/null @@ -1,159 +0,0 @@ -{ - "nodes": { - "flake-compat": { - "flake": false, - "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-utils": { - "inputs": { - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1710146030, - "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake_version_update": { - "inputs": { - "flake-utils": [ - "flake-utils" - ], - "nixpkgs": [ - "nixpkgs" - ], - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1685288691, - "narHash": "sha256-oP6h34oJ8rm6KlUpyZrX+ww3hnoWny2ecrEXxkU7F3c=", - "ref": "refs/heads/prime", - "rev": "e9a97e01eca780bd16e1dbdbd8856b59558f4959", - "revCount": 5, - "type": "git", - "url": "https://codeberg.org/soispha/flake_version_update.git" - }, - "original": { - "type": "git", - "url": "https://codeberg.org/soispha/flake_version_update.git" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1711715736, - "narHash": "sha256-9slQ609YqT9bT/MNX9+5k5jltL9zgpn36DpFB7TkttM=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "807c549feabce7eddbf259dbdcec9e0600a0660d", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "flake-compat": "flake-compat", - "flake-utils": "flake-utils", - "flake_version_update": "flake_version_update", - "nixpkgs": "nixpkgs", - "shell_library": "shell_library", - "systems": "systems", - "treefmt-nix": "treefmt-nix" - } - }, - "shell_library": { - "inputs": { - "flake-utils": [ - "flake-utils" - ], - "flake_version_update": [ - "flake_version_update" - ], - "nixpkgs": [ - "nixpkgs" - ], - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1710519017, - "narHash": "sha256-7C7onkhZiLwzrrf9XfzHEOjht9FmZfGABPbzE8XOYoI=", - "ref": "refs/heads/prime", - "rev": "24713f56f30e755553cac9497258ebc5d73036dc", - "revCount": 180, - "type": "git", - "url": "https://codeberg.org/soispha/shell_library.git" - }, - "original": { - "type": "git", - "url": "https://codeberg.org/soispha/shell_library.git" - } - }, - "systems": { - "locked": { - "lastModified": 1680978846, - "narHash": "sha256-Gtqg8b/v49BFDpDetjclCYXm8mAnTrUzR0JnE2nv5aw=", - "owner": "nix-systems", - "repo": "x86_64-linux", - "rev": "2ecfcac5e15790ba6ce360ceccddb15ad16d08a8", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "x86_64-linux", - "type": "github" - } - }, - "treefmt-nix": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1711803027, - "narHash": "sha256-Qic3OvsVLpetchzaIe2hJqgliWXACq2Oee6mBXa/IZQ=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "1810d51a015c1730f2fe05a255258649799df416", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} |