[latex3-commits] [git/LaTeX3-latex3-latex3] master: Support for trace package in xparse (fixes #564) (9a0c59b)
Joseph Wright
joseph.wright at morningstar2.co.uk
Fri Apr 26 23:55:33 CEST 2019
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/9a0c59b668a9a9b7b7f3d0ba7834cd3ed2d2cdfe
>---------------------------------------------------------------
commit 9a0c59b668a9a9b7b7f3d0ba7834cd3ed2d2cdfe
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Apr 26 22:55:33 2019 +0100
Support for trace package in xparse (fixes #564)
>---------------------------------------------------------------
9a0c59b668a9a9b7b7f3d0ba7834cd3ed2d2cdfe
l3packages/CHANGELOG.md | 4 ++++
l3packages/xparse/xparse.dtx | 9 +++++++++
2 files changed, 13 insertions(+)
diff --git a/l3packages/CHANGELOG.md b/l3packages/CHANGELOG.md
index 3f080a8..2f91d3a 100644
--- a/l3packages/CHANGELOG.md
+++ b/l3packages/CHANGELOG.md
@@ -7,6 +7,10 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+### Added
+
+- `xparse`: Support for `trace` package
+
## [2019-03-05]
### Added
diff --git a/l3packages/xparse/xparse.dtx b/l3packages/xparse/xparse.dtx
index 91d6a00..2f88748 100644
--- a/l3packages/xparse/xparse.dtx
+++ b/l3packages/xparse/xparse.dtx
@@ -1415,6 +1415,9 @@
% \begin{macrocode}
\cs_new_protected:Npn \@@_start_env:nnnnn #1#2
{
+%<*package>
+ \conditionally at traceoff
+%</package>
\str_set:Nn \l_@@_environment_str {#2}
\bool_set_true:N \l_@@_environment_bool
\@@_start_aux:ccnnnn
@@ -1424,6 +1427,9 @@
}
\cs_new_protected:Npx \@@_start:nNNnnn #1#2#3
{
+%<*package>
+ \conditionally at traceoff
+%</package>
\exp_not:c { xparse~function~is~not~expandable }
\exp_not:n { \bool_set_false:N \l_@@_environment_bool }
\exp_not:N \@@_start_aux:NNnnnn
@@ -1460,6 +1466,9 @@
{
\tl_if_empty:NF \l_@@_defaults_tl { \@@_defaults: }
\tl_if_empty:NF \l_@@_process_all_tl { \@@_args_process: }
+%<*package>
+ \conditionally at traceon
+%</package>
\exp_after:wN \l_@@_fn_code_tl \l_@@_args_tl
}
% \end{macrocode}
More information about the latex3-commits
mailing list