diff options
author | Norbert Preining <norbert@preining.info> | 2019-10-12 03:00:57 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-10-12 03:00:57 +0000 |
commit | 2e4672ed6f7b49c9d1c44b6ca850cfe7024fc639 (patch) | |
tree | 8cc5672ceb359cb652306244d63afc5f7d939008 /macros/latex/contrib/l3packages | |
parent | d51deaad31c304a71b51411feaf44acceb8aeb1b (diff) |
CTAN sync 201910120300
Diffstat (limited to 'macros/latex/contrib/l3packages')
-rw-r--r-- | macros/latex/contrib/l3packages/CHANGELOG.md | 9 | ||||
-rw-r--r-- | macros/latex/contrib/l3packages/README.md | 24 | ||||
-rw-r--r-- | macros/latex/contrib/l3packages/l3keys2e.dtx | 4 | ||||
-rw-r--r-- | macros/latex/contrib/l3packages/l3keys2e.pdf | bin | 327677 -> 327046 bytes | |||
-rw-r--r-- | macros/latex/contrib/l3packages/xfp.dtx | 4 | ||||
-rw-r--r-- | macros/latex/contrib/l3packages/xfp.pdf | bin | 310471 -> 309901 bytes | |||
-rw-r--r-- | macros/latex/contrib/l3packages/xfrac.dtx | 4 | ||||
-rw-r--r-- | macros/latex/contrib/l3packages/xfrac.pdf | bin | 481873 -> 454315 bytes | |||
-rw-r--r-- | macros/latex/contrib/l3packages/xparse.dtx | 39 | ||||
-rw-r--r-- | macros/latex/contrib/l3packages/xparse.pdf | bin | 501765 -> 501992 bytes | |||
-rw-r--r-- | macros/latex/contrib/l3packages/xtemplate.dtx | 4 | ||||
-rw-r--r-- | macros/latex/contrib/l3packages/xtemplate.pdf | bin | 416969 -> 416401 bytes |
12 files changed, 49 insertions, 39 deletions
diff --git a/macros/latex/contrib/l3packages/CHANGELOG.md b/macros/latex/contrib/l3packages/CHANGELOG.md index 9f4f537301..cf63a73ebf 100644 --- a/macros/latex/contrib/l3packages/CHANGELOG.md +++ b/macros/latex/contrib/l3packages/CHANGELOG.md @@ -7,9 +7,13 @@ this project uses date-based 'snapshot' version identifiers. ## [Unreleased] +## [2019-10-11] + +- `xparse`: Allow processors to depend on other arguments (fixes #629) + ## [2019-05-28] -- Remove stray spaces in processor information +- `xparse`: Remove stray spaces in processor information ## [2019-05-03] @@ -50,7 +54,8 @@ this project uses date-based 'snapshot' version identifiers. - Switch to ISO date format - Improve cross-module use of internal functions -[Unreleased]: https://github.com/latex3/latex3/compare/2019-05-28...HEAD +[Unreleased]: https://github.com/latex3/latex3/compare/2019-10-11...HEAD +[2019-10-11]: https://github.com/latex3/latex3/compare/2019-05-28...2019-10-11 [2019-05-28]: https://github.com/latex3/latex3/compare/2019-05-03...2019-05-28 [2019-05-03]: https://github.com/latex3/latex3/compare/2019-03-05...2019-05-03 [2019-03-05]: https://github.com/latex3/latex3/compare/2019-09-24...2019-03-05 diff --git a/macros/latex/contrib/l3packages/README.md b/macros/latex/contrib/l3packages/README.md index 413bc2a8a6..cfe6b5f904 100644 --- a/macros/latex/contrib/l3packages/README.md +++ b/macros/latex/contrib/l3packages/README.md @@ -1,7 +1,7 @@ LaTeX3 High-Level Concepts ========================== -Release 2019-05-28 +Release 2019-10-11 Overview -------- @@ -94,27 +94,7 @@ The LaTeX3 Project ------------------ Development of LaTeX3 is carried out by -[The LaTeX3 Project](http://www.latex-project.org/latex3.html). Currently, -the team members are - -* Johannes Braams -* David Carlisle -* Robin Fairbairns -* Morten Høgholm -* Bruno Le Floch -* Thomas Lotze -* Frank Mittelbach -* Will Robertson -* Chris Rowley -* Rainer Schöpf -* Joseph Wright - -Former members of The LaTeX3 Project team were - -* Michael Downes -* Denys Duchier -* Alan Jeffrey -* Martin Schröder +[The LaTeX3 Project](https://www.latex-project.org/latex3/). The development team can be contacted by e-mail: <latex-team@latex-project.org>; for general LaTeX3 discussion diff --git a/macros/latex/contrib/l3packages/l3keys2e.dtx b/macros/latex/contrib/l3packages/l3keys2e.dtx index 92f3e82a37..9a10f7ef79 100644 --- a/macros/latex/contrib/l3packages/l3keys2e.dtx +++ b/macros/latex/contrib/l3packages/l3keys2e.dtx @@ -62,7 +62,7 @@ % }^^A % } % -% \date{Released 2019-05-28} +% \date{Released 2019-10-11} % % \maketitle % @@ -133,7 +133,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{l3keys2e}{2019-05-28}{} +\ProvidesExplPackage{l3keys2e}{2019-10-11}{} {LaTeX2e option processing using LaTeX3 keys} % \end{macrocode} % diff --git a/macros/latex/contrib/l3packages/l3keys2e.pdf b/macros/latex/contrib/l3packages/l3keys2e.pdf Binary files differindex aee2995d1f..661b4171c7 100644 --- a/macros/latex/contrib/l3packages/l3keys2e.pdf +++ b/macros/latex/contrib/l3packages/l3keys2e.pdf diff --git a/macros/latex/contrib/l3packages/xfp.dtx b/macros/latex/contrib/l3packages/xfp.dtx index 1b6cbd3680..33f66c6589 100644 --- a/macros/latex/contrib/l3packages/xfp.dtx +++ b/macros/latex/contrib/l3packages/xfp.dtx @@ -64,7 +64,7 @@ % }^^A % } % -% \date{Released 2019-05-28} +% \date{Released 2019-10-11} % % \maketitle % @@ -167,7 +167,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{xfp}{2019-05-28}{} +\ProvidesExplPackage{xfp}{2019-10-11}{} {L3 Floating point unit} % \end{macrocode} % diff --git a/macros/latex/contrib/l3packages/xfp.pdf b/macros/latex/contrib/l3packages/xfp.pdf Binary files differindex 3f595b37c9..35921ed162 100644 --- a/macros/latex/contrib/l3packages/xfp.pdf +++ b/macros/latex/contrib/l3packages/xfp.pdf diff --git a/macros/latex/contrib/l3packages/xfrac.dtx b/macros/latex/contrib/l3packages/xfrac.dtx index fa1739eee5..62600c37be 100644 --- a/macros/latex/contrib/l3packages/xfrac.dtx +++ b/macros/latex/contrib/l3packages/xfrac.dtx @@ -65,7 +65,7 @@ % }^^A % } % -% \date{Released 2019-05-28} +% \date{Released 2019-10-11} % % \maketitle % @@ -535,7 +535,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{xfrac}{2019-05-28}{} +\ProvidesExplPackage{xfrac}{2019-10-11}{} {L3 Experimental split-level fractions} % \end{macrocode} % diff --git a/macros/latex/contrib/l3packages/xfrac.pdf b/macros/latex/contrib/l3packages/xfrac.pdf Binary files differindex 9a4da3d7b3..06f7ea363a 100644 --- a/macros/latex/contrib/l3packages/xfrac.pdf +++ b/macros/latex/contrib/l3packages/xfrac.pdf diff --git a/macros/latex/contrib/l3packages/xparse.dtx b/macros/latex/contrib/l3packages/xparse.dtx index 6aee5f22f6..2a0b842fbb 100644 --- a/macros/latex/contrib/l3packages/xparse.dtx +++ b/macros/latex/contrib/l3packages/xparse.dtx @@ -67,7 +67,7 @@ % }^^A % } % -% \date{Released 2019-05-28} +% \date{Released 2019-10-11} % % \maketitle % @@ -340,6 +340,7 @@ % mailing list. % % \subsection{Default values of arguments} +% \label{sec:defaultvaluesofarguments} % % Uppercase argument types (\texttt{O}, \texttt{D}, \ldots{}) allow to % specify a default value to be used when the argument is missing; their @@ -676,6 +677,23 @@ % followed by \cs{ProcessorB} to the tokens grabbed by the \texttt{m} % argument. % +% It might sometimes be useful to use the value of another argument as +% one of the arguments of a processor. For example, using the +% \cs{SplitList} processor defined below, +% \begin{verbatim} +% \NewDocumentCommand \foo { O{,} >{\SplitList{#1}} m } { \foobar{#2} } +% \foo{a,b;c,d} +% \end{verbatim} +% results in |\foobar| receiving the argument |{a}{b;c}{d}| because +% \cs{SplitList} receives as its two arguments the optional one (whose +% value here is the default, a comma) and the mandatory one. To +% summarize, first the arguments are searched for in the input, then any +% default argument is determined as explained in +% Section~\ref{sec:defaultvaluesofarguments}, then these default +% arguments are passed to any processor. When referring to arguments +% (through |#1|, |#2| and so on) in a processor, the arguments used are +% always those before applying any processor. +% % \begin{variable}{\ProcessedArgument} % \pkg{xparse} defines a very small set of processor functions. In the % main, it is anticipated that code writers will want to create their @@ -898,7 +916,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{xparse}{2019-05-28}{} +\ProvidesExplPackage{xparse}{2019-10-11}{} {L3 Experimental document command parser} % \end{macrocode} % @@ -1552,11 +1570,13 @@ % \end{macro} % % \begin{macro}{\@@_args_process:} -% \begin{macro}{\@@_args_process_loop:nn, \@@_args_process_aux:n, \@@_args_process_aux:nn} +% \begin{macro}{\@@_args_process_loop:nn, \@@_args_process_aux:n} % Loop through arguments (stored in \cs{l_@@_args_tl}) and the % corresponding processors (in \cs{l_@@_process_all_tl}) % simultaneously, apply all processors for each argument and store the -% result back into \cs{l_@@_args_tl}. +% result back into \cs{l_@@_args_tl}. To allow processors to depend +% on other arguments, for every processor define a temporary auxiliary +% that receives all arguments \cs{l_@@_args_tl}. % \begin{macrocode} \cs_new_protected:Npn \@@_args_process: { @@ -1575,9 +1595,13 @@ \tl_put_right:No \l_@@_args_ii_tl { \exp_after:wN { \ProcessedArgument } } } -\cs_new_protected:Npn \@@_args_process_aux:n - { \exp_args:No \@@_args_process_aux:nn { \ProcessedArgument } } -\cs_new_protected:Npn \@@_args_process_aux:nn #1#2 { #2 {#1} } +\cs_new_protected:Npn \@@_args_process_aux:n #1 + { + \cs_generate_from_arg_count:NNnn \@@_tmp:w \cs_set:Npn + { \tl_count:N \l_@@_args_tl } {#1} + \exp_args:NNNo \exp_after:wN \@@_tmp:w \l_@@_args_tl + { \ProcessedArgument } + } % \end{macrocode} % \end{macro} % \end{macro} @@ -4336,6 +4360,7 @@ { \@@_peek_nonspace_aux:nNNTF { #1 ~ } #2 #3 {#4} {#5} } { #2 #3 { #4 } { #5 #1 } } } +% \end{macrocode} % \end{macro} % % \subsection{Messages} diff --git a/macros/latex/contrib/l3packages/xparse.pdf b/macros/latex/contrib/l3packages/xparse.pdf Binary files differindex 4fb161e35e..b6822014f4 100644 --- a/macros/latex/contrib/l3packages/xparse.pdf +++ b/macros/latex/contrib/l3packages/xparse.pdf diff --git a/macros/latex/contrib/l3packages/xtemplate.dtx b/macros/latex/contrib/l3packages/xtemplate.dtx index 04aa51be36..c12297b4ed 100644 --- a/macros/latex/contrib/l3packages/xtemplate.dtx +++ b/macros/latex/contrib/l3packages/xtemplate.dtx @@ -63,7 +63,7 @@ % }^^A % } % -% \date{Released 2019-05-28} +% \date{Released 2019-10-11} % % \maketitle % @@ -682,7 +682,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{xtemplate}{2019-05-28}{} +\ProvidesExplPackage{xtemplate}{2019-10-11}{} {L3 Experimental prototype document functions} % \end{macrocode} % diff --git a/macros/latex/contrib/l3packages/xtemplate.pdf b/macros/latex/contrib/l3packages/xtemplate.pdf Binary files differindex 0b716f7d70..4d4258f8d0 100644 --- a/macros/latex/contrib/l3packages/xtemplate.pdf +++ b/macros/latex/contrib/l3packages/xtemplate.pdf |