Images & Jenkins fix

This commit is contained in:
Dandaedre 2026-07-30 18:20:26 +02:00 committed by Dandaedre
parent df29858325
commit 7b26cffed3
7 changed files with 52 additions and 38 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

2
Jenkinsfile vendored
View File

@ -156,5 +156,5 @@ def runBuild(String deployDir) {
// sh "ravenous-tools make -N ${texFile}" // second build for correct references
// }
sh './build.sh --raw full'
sh "./all_players.sh"
sh "./all_players.sh --raw"
}

View File

@ -23,7 +23,7 @@
\newpage
% \def\alternateText{EE}
\chapter{Bestiaire}
\chapter{Bellua}
% \AFrom{X} necessite d'etre annoncée depuis un autre tour et connecte
\newcommand{\AFrom}[1]{$i_{\leftarrow #1}$}
% Annonce une future attaque (from)
@ -33,6 +33,7 @@
% \AOnly{X} lancée un certain tour uniqument
\newcommand{\AOnly}[1]{$i_{#1}^{!}$}
\subsection{Prérequis de timing}
\begin{center}
\begin{longtblr}[
entry = none,
@ -42,12 +43,14 @@
hspan = minimal, vspan=minimal,
colsep = 2mm, abovesep =0px,belowsep=0px, leftsep=3px, rightsep=3px,
}
\AFrom{Y}{X} & Nécessite d'avoir étée annoncée depuis le tour (Y) et se resoud au tour (X). Nécessite de ne pas avoir étée intérompue.\\
\AInto{X}{Y} & Technique lancée au tour (X), annonce une future attaque au tour (Y), necessite de ne pas etre intérompue. \\
\AFrom{Y} & Nécessite d'avoir étée annoncée depuis le stade (Y) et se resoud immédiatement au stade suivant. Nécessite de ne pas avoir étée intérompue.\\
\AInto{X}{Y} & Technique lancée au stade (X), annonce une future attaque au stade (Y), necessite de ne pas etre intérompue. \\
\ALing{X} & Lancée en fin de stade (X), continue le stade suivant. \\
\AOnly{X} & Uniquement utilisée au stade (X) indique. \\
\end{longtblr}
\end{center}
\subsection{Seuils}
Le seuil donné compte toujours le malus de '-2' de viser une zone précise, ainsi un seuil de 7 est un bonus de +(1 ou 2 selon la taille) et un malus de -(1 ou 2 selon la taille) (total: +0).
\begin{itemize}
\item Le suivi et la capacité à « se déplacer » de l'attaque se traduit par un \emph{seuil d'esquive} : la difficulté que présente à l'adversaire d'éviter le coup.
@ -60,6 +63,7 @@ Le seuil donné compte toujours le malus de '-2' de viser une zone précise, ain
\vfill
\newpage
\section{Labels}
\newcommand{\rb}[1]{\rotatebox{90}{#1}}
\begin{tblr}{
vspan=even, hspan=minimal,
@ -111,6 +115,7 @@ Le seuil donné compte toujours le malus de '-2' de viser une zone précise, ain
\newpage
\section{Bestiaire}
\input{Bestiaire/master_bestiaire.tex}
\renewcommand{\rb}{\undefined}

View File

@ -1,57 +1,66 @@
#!/usr/bin/env bash
# ------------------------------------------------------------------
# -------------------------------------------------------------
# build_and_rename.sh
#
# This script reads a tiny “configuration” (defined right inside the
# file, but it can be replaced by an external .conf or .txt file).
# Usage:
# ./build_and_rename.sh [any extra options]
#
# For every entry in that configuration it will:
# * call `./build.sh player` with the options supplied for that
# entry,
# * rename/move the produced PDF (`Player_handbook_build.pdf`)
# to the name specified by the entry.
#
# Example usage (from a terminal in the directory containing this
# script and build.sh):
#
# ./build_and_rename.sh
#
# ------------------------------------------------------------------
set -euo pipefail # Fail fast on error, treat unset vars as errors
# Every positional argument you give here will be appended
# (verbatim) after the entry‑specific options when invoking
# `./build.sh`.
# -------------------------------------------------------------
set -euo pipefail # Fail fast, treat unset variables as errors
#######################
## Configuration area ##
#######################
####################################
## 1. Configuration (inline)
####################################
# Each line has: <output_name> [options…]
mkdir Handbooks
rm -rf Handbooks
mkdir -p Handbooks
entries=(
"Handbooks/Player_handbook_eduald -o origines_stats_handbook_abyssal_1"
"Handbooks/Player_handbook_michel -o fra"
# Add more lines like above as needed
)
##########################
## Main processing loop ##
##########################
####################################
## 2. Forwarded arguments
####################################
# All arguments that the user typed after the script name.
wrapper_opts=("$@") # Empty array if no args were given.
####################################
## 3. Main loop – process each entry
####################################
for entry in "${entries[@]}"; do
# Split the string into the name (first word) and the options (rest)
output_name="${entry%% *}" # Everything before first space
options="${entry#$output_name }" # Everything after that
# Split entry into:
# * $output_name – first word (everything before the first space)
# * $options – everything after that first word
output_name="${entry%% *}" # text before first space
options="${entry#$output_name }" # text after that space
echo "=== Building for '$output_name' with options: $options ==="
echo "=== Building for '$output_name' ==="
echo " entry options : ${options}"
echo " wrapper opts : ${wrapper_opts[*]}"
# Run your build script
./build.sh player $options
# Run the real build script.
#
# - `player` is fixed before any options
# - `$options` expands into its constituent arguments (unquoted)
# - `"${wrapper_opts[@]}"` appends whatever the user typed after
# this wrapper script, *verbatim*.
./build.sh player $options "${wrapper_opts[@]}"
# The build script is expected to produce Player_handbook_build.pdf.
# Move/rename it to the desired output name.
# The build step is expected to produce a file named:
# Player_handbook_build.pdf
# (adjust if your build writes somewhere else).
mv -f Player_handbook_build.pdf "${output_name}.pdf"
echo "'$output_name'.pdf ready."
echo "'${output_name}.pdf' created."
done
echo
echo "All entries processed successfully."
echo "All entries processed successfully!"