about summary refs log tree commit diff stats
path: root/common
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 13:46:28 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 13:46:28 +0200
commitaa66a780ff7bda018eabc504762311f07aef4bfd (patch)
tree8db2bb09658d8164a698ba48757bb7bc6439e015 /common
parentchore(templates): Symlink the new `optimize_images` script (diff)
downloadflake-templates-aa66a780ff7bda018eabc504762311f07aef4bfd.tar.gz
flake-templates-aa66a780ff7bda018eabc504762311f07aef4bfd.zip
refactor(common/scritps/latex/extract_text_from_all): Remove
The `lpm bundle <main file>.tex` command acts as a better version of
this command.
Diffstat (limited to 'common')
-rwxr-xr-xcommon/scripts/latex/extract_text_from_all.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/common/scripts/latex/extract_text_from_all.sh b/common/scripts/latex/extract_text_from_all.sh
deleted file mode 100755
index 11b2ac4..0000000
--- a/common/scripts/latex/extract_text_from_all.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#! /usr/bin/env sh
-
-grep 'INPUT ./' ./build/main.fls | uniq | sed 's/INPUT //' | while read -r file; do
-    if ! [ "$(basename "$file")" = preamble.tex ] && ! [ "$(basename "$file")" = gymnasium.png ]; then
-        printf "\n%% Filename: %s\n" "$file"
-        grep -v '^\s*%' "$file"
-    fi
-done