From 0894aa72b3f5397264eab33e6f2f5cf8fb2ba05e Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 6 Jan 2025 19:51:19 +0100 Subject: include logos in distributable zip and document build instructions --- scripts/lesson-dist | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/lesson-dist b/scripts/lesson-dist index 52184484..eae821d9 100755 --- a/scripts/lesson-dist +++ b/scripts/lesson-dist @@ -33,7 +33,10 @@ add_custom_latex_to_archive "${basedir}"/latex/common.tex \ "${basedir}"/latex/common_options.tex # Include common images -add_custom_latex_to_archive "${basedir}"/latex/images/** +# TODO: only include used images +readarray -t images < <(find "${basedir}"/latex/images -printf '%p\n') +add_custom_latex_to_archive "${images[@]}" + # Include the needed latex classes if grep -Pzrq '(?s)documentclass.+test\}' .; then -- cgit v1.2.3