Fix: date in scripts
This commit is contained in:
parent
2710bc790c
commit
c3703ebc87
@ -63,6 +63,7 @@ mkdir -p $sequence_path
|
||||
|
||||
export name=$name
|
||||
export date=$date
|
||||
export date_short=`date --date="$date 00:00" "+%d %B %Y"`
|
||||
export tribe=$tribe
|
||||
export duration=$duration
|
||||
envsubst < ./tools/skeleton/eval/exercises.tex > $sequence_path/exercises.tex
|
||||
|
@ -100,7 +100,8 @@ mkdir -p $sequence_path
|
||||
export title=$title
|
||||
export title_under=${title//?/#}
|
||||
export author='Benjamin Bertrand'
|
||||
export date=`date --date="$date 00:00" "+%B %Y"`
|
||||
export date=$date
|
||||
export date_short=`date --date="$date 00:00" "+%B %Y"`
|
||||
export tribe=$tribe
|
||||
export tags=$tags
|
||||
export summary=$summary
|
||||
|
@ -4,7 +4,7 @@
|
||||
% Title Page
|
||||
\title{ ${name} \hfill ${subname}}
|
||||
\tribe{${tribe}}
|
||||
\date{${date}}
|
||||
\date{${date_short}}
|
||||
\duree{${duration}}
|
||||
|
||||
\DeclareExerciseCollection[step=1]{banque}
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
\author{${author}}
|
||||
\title{${title} - Cours}
|
||||
\date{${date}}
|
||||
\date{${date_short}}
|
||||
|
||||
\pagestyle{empty}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
\author{${author}}
|
||||
\title{${title} - Exercices}
|
||||
\date{${date}}
|
||||
\date{${date_short}}
|
||||
|
||||
\DeclareExerciseCollection[step=1]{banque}
|
||||
\xsimsetup{collect}
|
||||
|
@ -4,7 +4,7 @@
|
||||
\author{${author}}
|
||||
\title{${title} - Plan de travail}
|
||||
\tribe{${tribe}}
|
||||
\date{${date}}
|
||||
\date{${date_short}}
|
||||
|
||||
\pagestyle{empty}
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
\author{${author}}
|
||||
\title{${title} - Solutions}
|
||||
\tribe{${tribe}}
|
||||
\date{${date}}
|
||||
\date{${date_short}}
|
||||
|
||||
\DeclareExerciseCollection{banque}
|
||||
\xsimsetup{
|
||||
|
Loading…
Reference in New Issue
Block a user