diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3clist.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3clist.dtx | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3clist.dtx b/Master/texmf-dist/source/latex/l3kernel/l3clist.dtx index 8cd9e6d6687..31a429e61ef 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3clist.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3clist.dtx @@ -37,7 +37,7 @@ % %<*driver|package> \RequirePackage{l3names} -\GetIdInfo$Id: l3clist.dtx 3460 2012-02-26 12:16:41Z will $ +\GetIdInfo$Id: l3clist.dtx 3490 2012-03-04 01:00:53Z bruno $ {L3 Experimental comma separated lists} %</driver|package> %<*driver> @@ -149,6 +149,16 @@ % \meta{comma list2} will be placed at the left side of the new comma list. % \end{function} % +% \begin{function}[EXP, pTF, added=2012-03-03] +% {\clist_if_exist:N, \clist_if_exist:c} +% \begin{syntax} +% \cs{clist_if_exist_p:N} \meta{comma list} +% \cs{clist_if_exist:NTF} \meta{comma list} \Arg{true code} \Arg{false code} +% \end{syntax} +% Tests whether the \meta{comma list} is currently defined. This does +% not check that the \meta{comma list} really is a comma list. +% \end{function} +% % \section{Adding data to comma lists} % % \begin{function}[added = 2011-09-06] @@ -274,8 +284,8 @@ % \begin{function}[EXP,pTF] % {\clist_if_eq:NN, \clist_if_eq:Nc, \clist_if_eq:cN, \clist_if_eq:cc} % \begin{syntax} -% \cs{clist_if_eq_p:NN} \Arg{clist_1} \Arg{clist_2} -% \cs{clist_if_eq:NNTF} \Arg{clist_1} \Arg{clist_2} \Arg{true code} \Arg{false code} +% \cs{clist_if_eq_p:NN} \meta{clist_1} \meta{clist_2} +% \cs{clist_if_eq:NNTF} \meta{clist_1} \meta{clist_2} \Arg{true code} \Arg{false code} % \end{syntax} % Compares the content of two \meta{comma lists} and % is logically \texttt{true} if the two contain the same list of @@ -729,6 +739,20 @@ % \end{macro} % \end{macro} % +% \begin{macro}[pTF]{\clist_if_exist:N, \clist_if_exist:c} +% Copies of the \texttt{cs} functions defined in \pkg{l3basics}. +% \begin{macrocode} +\cs_new_eq:NN \clist_if_exist:NTF \cs_if_exist:NTF +\cs_new_eq:NN \clist_if_exist:NT \cs_if_exist:NT +\cs_new_eq:NN \clist_if_exist:NF \cs_if_exist:NF +\cs_new_eq:NN \clist_if_exist_p:N \cs_if_exist_p:N +\cs_new_eq:NN \clist_if_exist:cTF \cs_if_exist:cTF +\cs_new_eq:NN \clist_if_exist:cT \cs_if_exist:cT +\cs_new_eq:NN \clist_if_exist:cF \cs_if_exist:cF +\cs_new_eq:NN \clist_if_exist_p:c \cs_if_exist_p:c +% \end{macrocode} +% \end{macro} +% % \subsection{Removing spaces around items} % % \begin{macro}[int,EXP]{\clist_trim_spaces_generic:nw} |