diff options
author | Karl Berry <karl@freefriends.org> | 2008-08-02 23:18:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-08-02 23:18:13 +0000 |
commit | 81dde574dee7e20779753c076ece922cdcba0fb0 (patch) | |
tree | 6fd6b740c2e6e9fd836ecef99b265445eb8dfae0 /Master/texmf-dist/tex/latex/expl3/l3tlp.sty | |
parent | 1a1b8177153694d230e0fcc3f541b242330aa067 (diff) |
expl3 update (2aug08)
git-svn-id: svn://tug.org/texlive/trunk@10021 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/expl3/l3tlp.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/expl3/l3tlp.sty | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/expl3/l3tlp.sty b/Master/texmf-dist/tex/latex/expl3/l3tlp.sty index 2b911f20523..f7baf935951 100644 --- a/Master/texmf-dist/tex/latex/expl3/l3tlp.sty +++ b/Master/texmf-dist/tex/latex/expl3/l3tlp.sty @@ -15,7 +15,7 @@ %% Do not distribute a modified version of this file. %% %% -%% File: l3tlp.dtx Copyright (C) 1990-2007 LaTeX3 project +%% File: l3tlp.dtx Copyright (C) 1990-2008 LaTeX3 project %% %% It may be distributed and/or modified under the conditions of the %% LaTeX Project Public License (LPPL), either version 1.3c of this @@ -48,7 +48,7 @@ %% %% ----------------------------------------------------------------------- \RequirePackage{l3names} -\GetIdInfo$Id: l3tlp.dtx 735 2008-01-14 22:31:02Z morten $ +\GetIdInfo$Id: l3tlp.dtx 740 2008-08-01 13:25:38Z morten $ {L3 Experimental Token List Pointers} \ProvidesExplPackage {\filename}{\filedate}{\fileversion}{\filedescription} @@ -266,6 +266,16 @@ } \let_new:NN \tlist_map_break:w \use_none_delimit_by_q_recursion_stop:w \let_new:NN \tlp_map_break:w \tlist_map_break:w +\def_long_new:Npn \tlist_elt_count:n #1{ + \num_value:w \num_eval:w 0 + \tlist_map_function:nN {#1}\num_elt_count:n + \num_eval_end: +} +\def_new:Npn \tlp_elt_count:N #1{ + \num_value:w \num_eval:w 0 + \tlp_map_function:NN #1 \num_elt_count:n + \num_eval_end: +} \let_new:NN \tlist_compare:xx \pdfstrcmp \def_long_new:NNn \tlist_compare:nn 2{ \tlist_compare:xx{\exp_not:n{#1}}{\exp_not:n{#2}} |