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