about summary refs log tree commit diff stats
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
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.
-rwxr-xr-xcommon/scripts/latex/extract_text_from_all.sh8
l---------templates/latex/academia/scripts/extract_text_from_all.sh1
l---------templates/latex/letter/scripts/extract_text_from_all.sh1
3 files changed, 0 insertions, 10 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
diff --git a/templates/latex/academia/scripts/extract_text_from_all.sh b/templates/latex/academia/scripts/extract_text_from_all.sh
deleted file mode 120000
index 6c7f5a8..0000000
--- a/templates/latex/academia/scripts/extract_text_from_all.sh
+++ /dev/null
@@ -1 +0,0 @@
-../../../../common/scripts/latex/extract_text_from_all.sh
\ No newline at end of file
diff --git a/templates/latex/letter/scripts/extract_text_from_all.sh b/templates/latex/letter/scripts/extract_text_from_all.sh
deleted file mode 120000
index 6c7f5a8..0000000
--- a/templates/latex/letter/scripts/extract_text_from_all.sh
+++ /dev/null
@@ -1 +0,0 @@
-../../../../common/scripts/latex/extract_text_from_all.sh
\ No newline at end of file