diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/listofitems/listofitems.tex | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/generic/listofitems/listofitems.tex b/Master/texmf-dist/tex/generic/listofitems/listofitems.tex index 39634b434b3..5d4c776d246 100644 --- a/Master/texmf-dist/tex/generic/listofitems/listofitems.tex +++ b/Master/texmf-dist/tex/generic/listofitems/listofitems.tex @@ -3,13 +3,12 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \def\loiname {listofitems} % -\def\loiver {1.51} % +\def\loiver {1.52} % % % -\def\loidate {2017/10/24} % +\def\loidate {2018/01/13} % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % -% -------------------------------------------------------------------- % Author : Christian Tellechea, Steven B. Segletes % Status : Maintained % Maintainer : Christian Tellechea @@ -18,7 +17,7 @@ % Package URL: https://www.ctan.org/pkg/listofitems % Bug tracker: https://framagit.org/unbonpetit/listofitems/issues % Repository : https://framagit.org/unbonpetit/listofitems/tree/master -% Copyright : Christian Tellechea 2017 +% Copyright : Christian Tellechea 2017-2018 % Licence : Released under the LaTeX Project Public License v1.3c % or later, see http://www.latex-project.org/lppl.txt % Files : 1) listofitems.tex @@ -28,7 +27,7 @@ % 5) listofitems-en.tex % 6) listofitems-en.pdf % 7) README -% -------------------------------------------------------------------- +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \expandafter\edef\csname loi_restorecatcode\endcsname{\catcode\number`\_=\number\catcode`\_\relax} \catcode`\_11 @@ -185,14 +184,9 @@ %%%%%%%%%%%%%%%%%%%%%% macro publique \readlist %%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcount\loi_nestcnt -\def\greadlist{% - \let\loi_def\gdef \let\loi_edef\xdef \def\loi_let{\global\let}% - \loi_nestcnt1 % niveau initial = 1 - \loi_argcsname\loi_let{loi_previndex[\number\loi_nestcnt]}\empty - \loi_ifstar{\_removeextremespacestrue\readlist_i}{\_removeextremespacesfalse\readlist_i}% -} -\def\readlist{% - \let\loi_def\def \let\loi_edef\edef \let\loi_let\let +\def\greadlist{\let\loi_def\gdef\let\loi_edef\xdef\def\loi_let{\global\let}\readlist_o}% +\def\readlist{\let\loi_def\def\let\loi_edef\edef\let\loi_let\let\readlist_o} +\def\readlist_o{% \loi_nestcnt1 % niveau initial = 1 \loi_argcsname\let{loi_previndex[\number\loi_nestcnt]}\empty \loi_ifstar{\_removeextremespacestrue\readlist_i}{\_removeextremespacesfalse\readlist_i}% @@ -228,6 +222,7 @@ \long\def\readlist_iv#1#2{% #1=compteur d'index #2=liste d'\'el\'ements \`a examiner \loi_ifempty{#2} {\loi_argcsname\loi_edef{\loi_listname len[\csname loi_previndex[\number\loi_nestcnt]\endcsname0]}{\number\numexpr#1-1\relax}% + \loi_argcsname\loi_let{\loi_listname sep[\csname loi_previndex[\number\loi_nestcnt]\endcsname\number\numexpr#1-1\relax]}\empty% le dernier <sep> est <vide> \advance\loi_nestcnt-1 \loi_argcsname\loi_let\loi_currentsep{loi_listofsep[\number\loi_nestcnt]}% } @@ -388,4 +383,7 @@ v1.5 06/10/2017 - correction d'un bug dans \loi_ifcs v1.51 24/10/2017 - - correction d'un bug dans \loi_ifcs
\ No newline at end of file + - correction d'un bug dans \loi_ifcs + +v1.52 13/01/2018 + - le dernier s\'eparateur est <vide>
\ No newline at end of file |