summaryrefslogtreecommitdiff
path: root/macros/generic
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-03-11 03:02:52 +0000
committerNorbert Preining <norbert@preining.info>2024-03-11 03:02:52 +0000
commitd0e99dfc632984d24851f9160409ef583a011f48 (patch)
treec4135f83059d24d568e89d91b17d94d64dc4f371 /macros/generic
parent0977b5581b838e81912bc5f34fff3672359e236a (diff)
CTAN sync 202403110302
Diffstat (limited to 'macros/generic')
-rw-r--r--macros/generic/listofitems/README4
-rw-r--r--macros/generic/listofitems/listofitems-en.pdfbin165367 -> 166455 bytes
-rw-r--r--macros/generic/listofitems/listofitems-fr.pdfbin165788 -> 166182 bytes
-rw-r--r--macros/generic/listofitems/listofitems.tex21
-rw-r--r--macros/generic/listofitems/test/listofitems-test-latex.pdfbin22162 -> 22162 bytes
-rw-r--r--macros/generic/listofitems/test/listofitems-test-tex.pdfbin70779 -> 70779 bytes
6 files changed, 15 insertions, 10 deletions
diff --git a/macros/generic/listofitems/README b/macros/generic/listofitems/README
index 8fb8ec787b..b3a9c3fbaf 100644
--- a/macros/generic/listofitems/README
+++ b/macros/generic/listofitems/README
@@ -4,9 +4,9 @@ ___________________________________
listofitems
package
- v1.64
+ v1.65
- 10/02/2024
+ 09/03/2024
___________________________________
Maintainer : Christian Tellechea
diff --git a/macros/generic/listofitems/listofitems-en.pdf b/macros/generic/listofitems/listofitems-en.pdf
index cbb6fd89ed..2d657e0ca3 100644
--- a/macros/generic/listofitems/listofitems-en.pdf
+++ b/macros/generic/listofitems/listofitems-en.pdf
Binary files differ
diff --git a/macros/generic/listofitems/listofitems-fr.pdf b/macros/generic/listofitems/listofitems-fr.pdf
index eb10a5e933..447ab413a9 100644
--- a/macros/generic/listofitems/listofitems-fr.pdf
+++ b/macros/generic/listofitems/listofitems-fr.pdf
Binary files differ
diff --git a/macros/generic/listofitems/listofitems.tex b/macros/generic/listofitems/listofitems.tex
index 419bb233bf..13008a3f75 100644
--- a/macros/generic/listofitems/listofitems.tex
+++ b/macros/generic/listofitems/listofitems.tex
@@ -3,9 +3,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
\def\loiname {listofitems} %
-\def\loiver {1.64} %
+\def\loiver {1.65} %
% %
-\def\loidate {2024/02/10} %
+\def\loidate {2024/03/09} %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
@@ -95,7 +95,8 @@
}
{%
}%
- \string}
+ \string
+}
\def\loi_argcsname#1#{\loi_argcsname_a{#1}}
\def\loi_argcsname_a#1#2{\loi_expafter{#1}{\csname#2\endcsname}}
\long\def\loi_addtomacro#1#2{\loi_exparg{\def#1}{#1#2}}
@@ -263,7 +264,7 @@
}%
}%
}
-\long\def\loi_count_occur#1\in#2:#3{% compte le nombre d'occurrences de #1 dans #2 et met le résultat dans la macro #3
+\long\def\loi_count_occur#1\in#2\_nil#3{% compte le nombre d'occurrences de #1 dans #2 et met le résultat dans la macro #3 ##BUGFIX v1.65
\long\def\loi_count_occur_a##1##2#1##3\_nil{%
\loi_ifempty{##3}
{%
@@ -281,8 +282,8 @@
\loi_second
}
{%
- \loi_count_occur#1\in#3:\loi_tempa
- \loi_count_occur#2\in#3:\loi_tempb
+ \loi_count_occur#1\in#3\_nil\loi_tempa
+ \loi_count_occur#2\in#3\_nil\loi_tempb
\loi_ifnum{\loi_tempa=\loi_tempb\relax}%
}%
}
@@ -601,7 +602,7 @@
{%
\long\def\readlist_i##1\_nil##2{%
\loi_exparg{\loi_exparg\loi_grabpaired_expr\loi_listofpair}{\loi_gobarg##1}{#2}\loi_grabpaired_result\loi_grabpaired_remain
- \loi_exparg{\loi_exparg{\readlist_j{##2}}{\loi_grabpaired_remain}}{\loi_grabpaired_result}{#2}}%{#}
+ \loi_exparg{\loi_exparg{\readlist_j{##2}}{\loi_grabpaired_remain}}{\loi_grabpaired_result}{#2}}%
}%
}%
\readlist_i\relax% le \relax meuble l'argument délimité
@@ -877,4 +878,8 @@ v1.64 10/02/2024
\listlen)
- la primitive \expanded est désormais obligatoire
- code source UFT8, manuel compilé avec luaLaTeX
- - code plus lisiblement formaté \ No newline at end of file
+ - code plus lisiblement formaté
+ ----------------------------------------------------------------------
+v1.65 09/03/2024
+ - bug corrigé dans la définition de \loi_count_occur, l'argument ne
+ doit _pas_ être délimité par ":" \ No newline at end of file
diff --git a/macros/generic/listofitems/test/listofitems-test-latex.pdf b/macros/generic/listofitems/test/listofitems-test-latex.pdf
index 34fe82b026..38abee21f8 100644
--- a/macros/generic/listofitems/test/listofitems-test-latex.pdf
+++ b/macros/generic/listofitems/test/listofitems-test-latex.pdf
Binary files differ
diff --git a/macros/generic/listofitems/test/listofitems-test-tex.pdf b/macros/generic/listofitems/test/listofitems-test-tex.pdf
index 0fa54394a1..0409eb6bba 100644
--- a/macros/generic/listofitems/test/listofitems-test-tex.pdf
+++ b/macros/generic/listofitems/test/listofitems-test-tex.pdf
Binary files differ