From d555686463897ab048255c1cd733b133cf76d0b6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 8 Jun 2021 20:36:48 +0000 Subject: xintsession (8jun21) git-svn-id: svn://tug.org/texlive/trunk@59524 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/plain/xintsession/xintsession.tex | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/plain/xintsession/xintsession.tex b/Master/texmf-dist/tex/plain/xintsession/xintsession.tex index d7f6cffb069..1cf708bab56 100644 --- a/Master/texmf-dist/tex/plain/xintsession/xintsession.tex +++ b/Master/texmf-dist/tex/plain/xintsession/xintsession.tex @@ -1,4 +1,4 @@ -% Release 0.3 (2021-05-31) of xintsession.tex +% Release 0.3a (2021-06-08) of xintsession.tex % author: Jean-Francois Burnol % License: LPPL 1.3c (author-maintained) % Usage: execute "etex (or pdftex) xintsession" @@ -55,7 +55,7 @@ _ / _ / / / /_ / __/ / / /_/ // /__ / /_ _ / __ |/ // __/__ /_/ /_/ /_/\__/ \___//_/ \__,_/ \___/ \__/ /_/ _____/ \___//_/% }% ?xdef?xs_copyright{% - xintsession 0.3 (2021-05-31) + xintsession 0.3a (2021-06-08) Copyright (c) Jean-Francois Burnol, 2021.% }}% \def\xs_no{0}% @@ -151,8 +151,8 @@ _ / _ / / / /_ / __/ / / /_/ // /__ / /_ _ / __ |/ // __/__ \immediate\write\xs_out {\expandafter\string\xs_xintdefvar\space @_\xs_no:=% \detokenize\expandafter{\xs_in};}% - \XINT_expr_defvar_one{@___}{\csname XINT_expr_varvalue_@__\endcsname}% - \XINT_expr_defvar_one{@__}{\csname XINT_expr_varvalue_@_\endcsname}% + \XINT_expr_defvar_one{@___}{\XINT_expr_varvalue_@__}% + \XINT_expr_defvar_one{@__}{\XINT_expr_varvalue_@_}% \XINT_expr_defvar_one{@_}{\csname XINT_expr_varvalue_@_\xs_no\endcsname}% \xs_message{% @_\expandafter\xs_keepsix\xs_no\space\space\space\space\space\relax @@ -191,8 +191,8 @@ _ / _ / / / /_ / __/ / / /_/ // /__ / /_ _ / __ |/ // __/__ \immediate\write\xs_out {\expandafter\string\xs_xintdefvar\space\detokenize\expandafter{\xs_left}:=% \detokenize\expandafter{\xs_right};}% - \XINT_expr_defvar_one{@___}{\csname XINT_expr_varvalue_@__\endcsname}% - \XINT_expr_defvar_one{@__}{\csname XINT_expr_varvalue_@_\endcsname}% + \XINT_expr_defvar_one{@___}{\XINT_expr_varvalue_@__}% + \XINT_expr_defvar_one{@__}{\XINT_expr_varvalue_@_}% \XINT_expr_defvar_one{@_}{\csname XINT_expr_varvalue_@_\xs_no\endcsname}% % this is to allow multiple assignments \expandafter\xs_xintdefvar\xs_left=@_\xs_no;% @@ -308,7 +308,7 @@ _ / _ / / / /_ / __/ / / /_/ // /__ / /_ _ / __ |/ // __/__ - The computing kernel can work in various modes: exact (uses \xintexpr), fp (uses \xintfloatexpr), int (uses - (\xintiiexpr), and pol (makes definitions using \poldef). + \xintiiexpr), and pol (makes definitions using \poldef). To activate a mode enter `&' at the prompt - Issue `&mode' if you forgot in what mode you are currently in. @@ -484,4 +484,8 @@ _ / _ / / / /_ / __/ / / /_/ // /__ / /_ _ / __ |/ // __/__ % \xsrestorecatcodes% \csname xs\string _storeenv\endcsname\endlinechar13\relax% -\endinput\xintsession% +% extremely eTeX-weird bug of 0.3 which had here \endinput\xintsession, +% causing breakage if the latter attempts a \scantokens in an \edef +% (which is what happens for function definitions). +% bugfix 0.3a by simply moving \xintsession to before the \endinput +\xintsession\endinput% -- cgit v1.2.3