texlive[67893] Master/texmf-dist: profmaquette (11aug23)

commits+karl at tug.org commits+karl at tug.org
Fri Aug 11 23:14:24 CEST 2023


Revision: 67893
          http://tug.org/svn/texlive?view=revision&revision=67893
Author:   karl
Date:     2023-08-11 23:14:24 +0200 (Fri, 11 Aug 2023)
Log Message:
-----------
profmaquette (11aug23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/profmaquette/profmaquette-doc.pdf
    trunk/Master/texmf-dist/doc/latex/profmaquette/profmaquette-doc.tex
    trunk/Master/texmf-dist/tex/latex/profmaquette/ProfMaquette.sty

Modified: trunk/Master/texmf-dist/doc/latex/profmaquette/profmaquette-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/profmaquette/profmaquette-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/profmaquette/profmaquette-doc.tex	2023-08-11 21:14:15 UTC (rev 67892)
+++ trunk/Master/texmf-dist/doc/latex/profmaquette/profmaquette-doc.tex	2023-08-11 21:14:24 UTC (rev 67893)
@@ -102,7 +102,7 @@
   \end{tabular}
 }%
 \author{C.Poulain}
-\date{\PfMfiledate}
+\date{v \PfMfileversion -- \PfMfiledate}
 
 \usepackage[colorlinks=true,linkcolor=purple]{hyperref}
 
@@ -1055,7 +1055,7 @@
 \clearpage
 \section*{Historique}
 \begin{description}
-\item[\PfMfiledate{}--v \PfMfileversion] Ajout de styles de personnalisation.
+\item[\PfMfiledate{}--v \PfMfileversion] Adaptation du multicolonnage des corrections.
 \end{description}
 \end{document}
 %%% Local Variables: 

Modified: trunk/Master/texmf-dist/tex/latex/profmaquette/ProfMaquette.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/profmaquette/ProfMaquette.sty	2023-08-11 21:14:15 UTC (rev 67892)
+++ trunk/Master/texmf-dist/tex/latex/profmaquette/ProfMaquette.sty	2023-08-11 21:14:24 UTC (rev 67893)
@@ -2,9 +2,9 @@
 % licence    : Released under the LaTeX Project Public License v1.3c
 % or later, see http://www.latex-project.org/lppl.txtf
 \NeedsTeXFormat{LaTeX2e}%
-\def\filedate{2023/08/07}%
+\def\filedate{2023/08/11}%
 \let\PfMfiledate\filedate%
-\def\fileversion{0.2}%
+\def\fileversion{0.25}%
 \let\PfMfileversion\fileversion%
 \ProvidesPackage{ProfMaquette}[\filedate\space v\fileversion\space Maquettage de documents]%
 
@@ -1580,8 +1580,12 @@
       %\let\Exercice\exerciceFiche\let\endExercice\endexerciceFiche%
       \ifboolKV[Boulot]{CorrigeFin}{%
           \AddToHook{env/Maquette/after}[Correction]{%
+            \setKV[Boulot]{#1}%
+                      \setlength{\columnseprule}{\useKV[Boulot]{Epaisseur}}%
             \TikzFicheCor{#2}%
-            \PfMAffichageCorrige%
+            \ifboolKV[Boulot]{CorrectionColonnes}{\begin{multicols}{\useKV[Boulot]{Colonnes}}}{}%
+                \PfMAffichageCorrige%
+                \ifboolKV[Boulot]{CorrectionColonnes}{\end{multicols}}{}%
           }%
         }{}%
     }{%
@@ -1591,9 +1595,13 @@
     \let\exercice\ExerciceRecapBrevet\let\endexercice\endExerciceRecapBrevet%
     %\let\Exercice\ExerciceRecapBrevet\let\endExercice\endExerciceRecapBrevet%
     \ifboolKV[Boulot]{CorrigeFin}{%
-      \AddToHook{env/Maquette/after}[Correction]{%
+        \AddToHook{env/Maquette/after}[Correction]{%
+          \setKV[Boulot]{#1}%
+                      \setlength{\columnseprule}{\useKV[Boulot]{Epaisseur}}%
         \TikzRecapBrevetCor{#2}%
-        \PfMAffichageCorrige%
+        \ifboolKV[Boulot]{CorrectionColonnes}{\begin{multicols}{\useKV[Boulot]{Colonnes}}}{}%
+                       \PfMAffichageCorrige%
+                     \ifboolKV[Boulot]{CorrectionColonnes}{\end{multicols}}{}%
       }%
     }{}%
   }{%
@@ -1614,8 +1622,12 @@
         %\let\Exercice\exerciceParcours\let\endExercice\endexerciceParcours%
         \ifboolKV[Boulot]{CorrigeFin}{%
             \AddToHook{env/Maquette/after}[Correction]{%
+              \setKV[Boulot]{#1}%
+                      \setlength{\columnseprule}{\useKV[Boulot]{Epaisseur}}%
               \TikzParcoursCor{#2}
-              \PfMAffichageCorrige%
+              \ifboolKV[Boulot]{CorrectionColonnes}{toto\begin{multicols}{\useKV[Boulot]{Colonnes}}}{}%
+                  Ici titi \PfMAffichageCorrige%
+                  \ifboolKV[Boulot]{CorrectionColonnes}{\end{multicols}}{}%
             }%
         }{}%
       }{%
@@ -1624,9 +1636,13 @@
           \let\exercice\exercicePdT\let\endexercice\endexercicePdT%
           %\let\Exercice\exercicePdT\let\endExercice\endexercicePdT%
           \ifboolKV[Boulot]{CorrigeFin}{%
-            \AddToHook{env/Maquette/after}[Correction]{%
+              \AddToHook{env/Maquette/after}[Correction]{%
+                \setKV[Boulot]{#1}%
+                      \setlength{\columnseprule}{\useKV[Boulot]{Epaisseur}}%
               \TikzPdTCor{#2}%
-              \PfMAffichageCorrige%
+              \ifboolKV[Boulot]{CorrectionColonnes}{\begin{multicols}{\useKV[Boulot]{Colonnes}}}{}%
+                       \PfMAffichageCorrige%
+                     \ifboolKV[Boulot]{CorrectionColonnes}{\end{multicols}}{}%
             }%
           }{}%
         }{
@@ -1635,9 +1651,13 @@
             \let\exercice\exerciceDM\let\endexercice\endexerciceDM%
             %\let\Exercice\exerciceDM\let\endExercice\endexerciceDM%
             \ifboolKV[Boulot]{CorrigeFin}{%
-              \AddToHook{env/Maquette/after}[Correction]{%
+                \AddToHook{env/Maquette/after}[Correction]{%
+                  \setKV[Boulot]{#1}%
+                      \setlength{\columnseprule}{\useKV[Boulot]{Epaisseur}}%
                 \TikzDMCor{#2}%
-                \PfMAffichageCorrige%
+                \ifboolKV[Boulot]{CorrectionColonnes}{\begin{multicols}{\useKV[Boulot]{Colonnes}}}{}%
+                    \PfMAffichageCorrige%
+                    \ifboolKV[Boulot]{CorrectionColonnes}{\end{multicols}}{}%
               }%
             }{}%
           }{%
@@ -1692,9 +1712,13 @@
                   \end{center}
                 }{}%
                 \ifboolKV[Boulot]{CorrigeFin}{%
-                  \AddToHook{env/Maquette/after}[Correction]{%
+                    \AddToHook{env/Maquette/after}[Correction]{%
+                      \setKV[Boulot]{#1}%
+                      \setlength{\columnseprule}{\useKV[Boulot]{Epaisseur}}%
                     \TikzDSCor{#2}%
-                    \PfMAffichageCorrige%
+                    \ifboolKV[Boulot]{CorrectionColonnes}{\begin{multicols}{\useKV[Boulot]{Colonnes}}}{}%
+                       \PfMAffichageCorrige%
+                     \ifboolKV[Boulot]{CorrectionColonnes}{\end{multicols}}{}%
                   }%
                 }{}%
               }{%
@@ -1703,9 +1727,13 @@
                   \let\exercice\exerciceDS\let\endexercice\endexerciceDS%On garde exerciceDS
  %                 \let\Exercice\exerciceDS\let\endExercice\endexerciceDS%On garde exerciceDS
                   \ifboolKV[Boulot]{CorrigeFin}{%
-                    \AddToHook{env/Maquette/after}[Correction]{%
+                      \AddToHook{env/Maquette/after}[Correction]{%
+                        \setKV[Boulot]{#1}%
+                      \setlength{\columnseprule}{\useKV[Boulot]{Epaisseur}}%
                       \TikzIECor{#2}%
-                      \PfMAffichageCorrige%
+                      \ifboolKV[Boulot]{CorrectionColonnes}{\begin{multicols}{\useKV[Boulot]{Colonnes}}}{}%
+                       \PfMAffichageCorrige%
+                     \ifboolKV[Boulot]{CorrectionColonnes}{\end{multicols}}{}%
                     }%
                   }{}%
                 }{%



More information about the tex-live-commits mailing list.