Presentations: MICHIGAN and NEBRASKA say the redundancy is lost with two references and the correction no longer compensates "correctement"; MICHIGAN's two targets too close since the data start, jump on 5 Oct; sources compile in place in VS Code (brand/ link, Tinymist export on save)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-03 12:29:37 +01:00
1 parent 3211c9ce30
commit 9724ea5c3b
12 files changed
+1047 -1025

No files matched your search

+5 -2
View File
@@ -5,11 +5,14 @@
set -euo pipefail
dossier=$(realpath "$1")
F=${FABRIQUE:-$HOME/docfactory-presentation}
racine=$(cd "$(dirname "$0")/../../.." && pwd)
# brand/ à la racine du dépôt, lien vers la charte de la fabrique : le source se compile aussi sur place (VS Code, Tinymist)
[ -e "$racine/brand" ] || ln -s "$F/brand" "$racine/brand"
station=$(basename "$dossier" | cut -d_ -f2) # <date>_<STATION>_rapport-situation
slug=$(echo "$station" | tr '[:upper:]' '[:lower:]')-situation
mkdir -p "$F/documents/$slug/images"
mkdir -p "$F/documents/$slug"
cp "$dossier/presentation.typ" "$F/documents/$slug/main.typ"
cp "$dossier"/*.png "$F/documents/$slug/images/"
cp "$dossier"/*.png "$F/documents/$slug/"
(cd "$F" && python3 brand/tools/build.py "$slug")
cp "$F/build/$slug-draft.pdf" "$dossier/presentation.pdf"
n=$(pdftotext "$dossier/presentation.pdf" - | grep -c Overflow || true)