feat(core): maj des templates
This commit is contained in:
@@ -11,10 +11,10 @@ general:
|
||||
|
||||
# Configuration des classes/niveaux
|
||||
classes:
|
||||
- id: "1G_EnsSci"
|
||||
- id: "1G spec"
|
||||
display_name: "Première Générale Enseignement Scientifique math"
|
||||
directory: "1G_EnsSci"
|
||||
- id: "1G_math"
|
||||
- id: "1G math"
|
||||
display_name: "Première Générale spé math"
|
||||
directory: "1G_math"
|
||||
- id: "2nd"
|
||||
|
||||
@@ -12,7 +12,12 @@ import yaml
|
||||
import questionary
|
||||
from questionary import Choice
|
||||
|
||||
from .common_widgets import select_date_with_calendar, format_date_short, select_tags, normalize_filename
|
||||
from .common_widgets import (
|
||||
select_date_with_calendar,
|
||||
format_date_short,
|
||||
select_tags,
|
||||
normalize_filename,
|
||||
)
|
||||
|
||||
# Configuration des messages
|
||||
MESSAGES = {
|
||||
@@ -80,7 +85,7 @@ class SequenceCreator:
|
||||
existing_sequences.append(item.name)
|
||||
|
||||
existing_sequences.sort()
|
||||
next_number = len(existing_sequences) + 1
|
||||
next_number = len(existing_sequences) # + 1
|
||||
|
||||
return existing_sequences, next_number
|
||||
|
||||
@@ -299,4 +304,3 @@ def main():
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
|
||||
27
tools/skeleton/eval/solution.tex
Normal file
27
tools/skeleton/eval/solution.tex
Normal file
@@ -0,0 +1,27 @@
|
||||
\documentclass[a4paper,12pt]{article}
|
||||
\usepackage{myXsim}
|
||||
|
||||
% Title Page
|
||||
\title{${name} \hfill Solution}
|
||||
\tribe{${tribe}}
|
||||
\date{${date_short}}
|
||||
\duree{${duration}}
|
||||
% Tags: ${tags}
|
||||
|
||||
\DeclareExerciseCollection[step=1]{banque}
|
||||
\xsimsetup{
|
||||
exercise/print=false,
|
||||
solution/print=true,
|
||||
}
|
||||
|
||||
\begin{document}
|
||||
\maketitle
|
||||
|
||||
\input{exercises.tex}
|
||||
%\printcollection{banque}
|
||||
\end{document}
|
||||
|
||||
%%% Local Variables:
|
||||
%%% mode: latex
|
||||
%%% TeX-master: "master"
|
||||
%%% End:
|
||||
@@ -2,7 +2,7 @@
|
||||
\usepackage{myXsim}
|
||||
|
||||
% Title Page
|
||||
\title{ ${name} \hfill ${subname}}
|
||||
\title{${name}}
|
||||
\tribe{${tribe}}
|
||||
\date{${date_short}}
|
||||
\duree{${duration}}
|
||||
|
||||
@@ -27,9 +27,6 @@ Savoir-faire de la séquence
|
||||
|
||||
\bigskip
|
||||
|
||||
Ordre des étapes à respecter
|
||||
|
||||
|
||||
\section{}
|
||||
|
||||
\listsectionexercises
|
||||
|
||||
Reference in New Issue
Block a user