diff options
author | Karl Berry <karl@freefriends.org> | 2020-07-29 21:35:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-07-29 21:35:00 +0000 |
commit | aa5fb438d7967358b1b4f55df2bff028fdc564ad (patch) | |
tree | 4cb90f527223f12a7067b4f23480c4e0456a569d /Master/texmf-dist/source/latex/annee-scolaire | |
parent | 47dcd2e2b5322254f57061c60596e7dda1c9054e (diff) |
annee-scolaire (29jul20)
git-svn-id: svn://tug.org/texlive/trunk@55988 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/annee-scolaire')
-rw-r--r-- | Master/texmf-dist/source/latex/annee-scolaire/annee-scolaire.dtx | 25 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/annee-scolaire/annee-scolaire.ins | 15 |
2 files changed, 17 insertions, 23 deletions
diff --git a/Master/texmf-dist/source/latex/annee-scolaire/annee-scolaire.dtx b/Master/texmf-dist/source/latex/annee-scolaire/annee-scolaire.dtx index 6a8d5ebf484..80a75009274 100644 --- a/Master/texmf-dist/source/latex/annee-scolaire/annee-scolaire.dtx +++ b/Master/texmf-dist/source/latex/annee-scolaire/annee-scolaire.dtx @@ -13,7 +13,7 @@ % %<*driver|package|doc> \RequirePackage{expl3}[2013/03/12] -\GetIdInfo$Id: annee-scolaire.dtx 1.5 2020-04-05 TdS $ +\GetIdInfo$Id: annee-scolaire.dtx 1.6 2020-07-29 TdS $ {} %</driver|package|doc> %<*driver> @@ -52,7 +52,14 @@ % \maketitle % % \changes{v1.5}{2020/04/05}{First public -% version.\foreignlanguage{french}{Première version publique.}} +% version.\foreignlanguage{french}{\emph{Première version publique.}}} +% \changes{v1.6}{2020/04/13}{Correction of typos in documentation. +% \foreignlanguage{french}{\emph{Correction d'erreurs dans la documentation.}}} +% \changes{v1.6}{2020/04/13}{Unification of lppl version in documentation. +% \foreignlanguage{french}{\emph{Unification de la version de la LPPL dans la +% documentation.}}} +% \changes{v1.6}{2020/07/29}{Replacement of obsolete macro \cs{c_one}. +% \foreignlanguage{french}{\emph{Remplacement de la macro obsolète \cs{c_one}.}}} % % \thispagestyle{empty} % @@ -167,9 +174,9 @@ La documentation française pour l'utilisateur de l'extension \section{The Macros} \label{sec:macros} -The \pkg{annee-scolaire} offers three main document macros which produce text in -the final document and one macro which is used to determine the presentation of -the said text. +\pkg{annee-scolaire} offers three main document macros which produce +text in the final document and one macro which is used to determine the +presentation of the said text. \subsection{Main Macros} \label{sec:main} @@ -243,7 +250,7 @@ See examples on page \pageref{sec:changelook}. \section{Les macros} \label{sec:macros} -L'extension \pkg{annee-scolaire} offrent quatre macros de document: trois macros +L'extension \pkg{annee-scolaire} offre quatre macros de document: trois macros principales produisant du texte et une macro, qui ne devrait être utilisée que rarement et peut-être même jamais, qui permet de changer la présentation du texte écrit. @@ -272,7 +279,7 @@ Comme son nom l'indique, cette macro donne l'année de début de l'année scolai \begin{function}{\finanneescolaire} \begin{syntax} - \cs{finanneescolaire}\oarg{shift} + \cs{finanneescolaire}\oarg{décalage} \end{syntax} \end{function} @@ -578,7 +585,7 @@ qui précède. Il ne viendra à l'esprit de personne d'y voir un encouragement à \int_const:Nn \c_@@_Annee_Deb_int { \int_compare:nNnTF { 100*\the\month + \the\day } < { 100*\c_@@_Premier_Mois_int + \c_@@_Premier_Jour_int} - {\year - \c_one + \c_@@_Decalage_int} + {\year - 1 + \c_@@_Decalage_int} {\year + \c_@@_Decalage_int} } % \end{macrocode} @@ -587,7 +594,7 @@ qui précède. Il ne viendra à l'esprit de personne d'y voir un encouragement à % \begin{variable}{\c_@@_Annee_Fin_int} % \begin{macrocode} \int_const:Nn \c_@@_Annee_Fin_int { - \c_@@_Annee_Deb_int + \c_one + \c_@@_Annee_Deb_int + 1 } % \end{macrocode} % \end{variable} diff --git a/Master/texmf-dist/source/latex/annee-scolaire/annee-scolaire.ins b/Master/texmf-dist/source/latex/annee-scolaire/annee-scolaire.ins index 88230a8ee85..de8c6d5e357 100644 --- a/Master/texmf-dist/source/latex/annee-scolaire/annee-scolaire.ins +++ b/Master/texmf-dist/source/latex/annee-scolaire/annee-scolaire.ins @@ -1,6 +1,6 @@ \iffalse meta-comment -File annee-scolaire.ins Copyright (C) 2019 Yvon Henel +File annee-scolaire.ins Copyright (C) 2019, 2020 Yvon Henel It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this @@ -9,10 +9,6 @@ of this license is in the file http://www.latex-project.org/lppl.txt -This file is part of the "l3trial bundle" (The Work in LPPL) -and all files in that bundle must be distributed together. - -The released version of this bundle is available from CTAN. \fi \input l3docstrip.tex @@ -33,15 +29,6 @@ Do not distribute a modified version of this file. \file{annee-scolaire.sty}{\from{annee-scolaire.dtx}{package}} \file{annee-scolaire-fra.tex}{\from{annee-scolaire.dtx}{doc,FRA}} \file{annee-scolaire-eng.tex}{\from{annee-scolaire.dtx}{doc,ENG}} - % % examples - % \file{annee-scolaire-test-fra.tex}{\from{annee-scolaire.dtx}{test,FRA}} - % \file{annee-scolaire-test-eng.tex}{\from{annee-scolaire.dtx}{test,ENG}} } -% \usedir{./testfiles} % ne marche pas comme attendu :( -% \generate{ -% \file{annee-scolaire-test.lvt}{\from{annee-scolaire.dtx}{lvt}} -% } - - \endbatchfile |