From: Denise sur Lya Date: Fri, 14 Aug 2020 08:15:22 +0000 (+0200) Subject: ajout de l'heure et gestion de la timezone X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=d5828ba370ac3bd85eb992167ee3dc0f506eb27a;hp=dee7a8c6447749e29594c43ccbb7f7fc03618653;p=perso%2FDenise%2Faventuriers.git ajout de l'heure et gestion de la timezone --- diff --git a/aventuriers.tex b/aventuriers.tex index dc419bf..c6aa27a 100644 --- a/aventuriers.tex +++ b/aventuriers.tex @@ -8,6 +8,7 @@ \usepackage{amsmath} \usepackage{xspace} \usepackage{graphicx} +\usepackage{datetime} % pour les liens \usepackage{hyperref} @@ -73,7 +74,7 @@ \parskip=4pt \title{La compagnie d'aventuriers des Pieds Jaloux \label{debut}} -\date{Dernière mise à jour : \today} +\date{Dernière mise à jour : \today, \currenttime} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/makefile b/makefile index c5797e9..07b9095 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,7 @@ LISTEFICHIERS=symbole.png aventuriers.tex arc_5RCDA.tex arc_6_CI.tex arc_3RC.tex arc_libeseve.tex arc_JC.tex arc_4AD.tex arc_4.5_JCS.tex intro.tex arc_CID.tex noms.tex arc_7_JCSR.tex arc_8.tex arc_9.tex arc_10_chateau.tex arc_11_sauvetages.tex arc_12_sauvetagesvraiment.tex arc_13_retourI.tex +COMMANDE_TZ=TZ='Europe/Paris' +#COMMANDE_TZ=TZ='Australia/Adelaide' all: aventuriers.pdf @@ -21,12 +23,12 @@ aventuriers.epub: html/aventuriers.html aventuriers.pdf: $(LISTEFICHIERS) pdflatex aventuriers.tex - pdflatex aventuriers.tex + $(COMMANDE_TZ) pdflatex aventuriers.tex html/aventuriers.html: $(LISTEFICHIERS) mkdir -p html - nice -19 htlatex aventuriers.tex "xhtml,charset=utf-8" " -cmozhtf -utf8" -dhtml/ -interaction=nonstopmode + $(COMMANDE_TZ) nice -19 htlatex aventuriers.tex "xhtml,charset=utf-8" " -cmozhtf -utf8" -dhtml/ -interaction=nonstopmode # ln -sf aventuriers.html index.html symbole.png: symbole.svg