Support for A.pdf, A.tex and Ac.tex for initial files

This commit is contained in:
sebastien committed 2026-09-26 11:22:09 +02:00
1 parent 42a5b9778e
commit e4e25eca55
12 files changed
+104 -32

No files matched your search

+2 -1
View File
@@ -8,13 +8,14 @@ fi
# Go to the directory
cd "$1" || exit
folder_name="$(basename "$PWD")"
count=1
for file in *.pdf; do
# Handle case where no pdfs exist
[ -e "$file" ] || continue
if [ "$file" = "enonce.pdf" ]; then
if [ "$file" = "enonce.pdf" ] || [ "$file" = "énoncé.pdf" ] || [ "$file" = "$folder_name.pdf" ]; then
echo "Skipping: $file"
continue
fi