Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

C is quirky, flawed, and an enormous success -- Dennis M. Ritchie


computers / comp.text.tex / xintexpr.sty and miniltx not playing nicely in TL2022

SubjectAuthor
* xintexpr.sty and miniltx not playing nicely in TL2022Jim Diamond
`* Re: xintexpr.sty and miniltx not playing nicely in TL2022jfbu
 +- Re: xintexpr.sty and miniltx not playing nicely in TL2022jfbu
 +- Re: xintexpr.sty and miniltx not playing nicely in TL2022jfbu
 `* Re: xintexpr.sty and miniltx not playing nicely in TL2022Jim Diamond
  `- Re: xintexpr.sty and miniltx not playing nicely in TL2022jfbu

1
xintexpr.sty and miniltx not playing nicely in TL2022

<slrnt9vcls.acu.JimDiamond@x360.localdomain>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=4886&group=comp.text.tex#4886

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: JimDiamond@ns.sympatico.ca (Jim Diamond)
Newsgroups: comp.text.tex
Subject: xintexpr.sty and miniltx not playing nicely in TL2022
Date: Tue, 7 Jun 2022 17:19:06 -0300
Organization: A noiseless patient Spider
Lines: 127
Message-ID: <slrnt9vcls.acu.JimDiamond@x360.localdomain>
Injection-Info: reader02.eternal-september.org; posting-host="c20c17b2770e80b92d7d48bdf8cff690";
logging-data="23243"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/fm/K8jT26dj9whqaTHGDS"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:lZWON1kKnk7OIfq155cD9M3anPQ=
 by: Jim Diamond - Tue, 7 Jun 2022 20:19 UTC

With the following file

-------------------- mnwe-xintextr.tex ---------------------
\input miniltx

\input xintexpr.sty

\bye
------------------------------------------------------------

With TL2021, I get

$ pdftex mnwe-xintextr.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2021) (preloaded format=pdftex)
restricted \write18 enabled.
entering extended mode
(./mnwe-xintextr.tex
(/usr/local/texlive/2021/texmf-dist/tex/plain/graphics-pln/miniltx.tex)
(/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintexpr.sty
(/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintfrac.sty
(/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xint.sty
(/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintcore.sty
(/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintkernel.sty))))
(/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xinttools.sty
(/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintkernel.sty))
(/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xinttrig.sty)
(/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintlog.sty)) )
No pages of output.
Transcript written on mnwe-xintextr.log.

With TL2022 (updated minutes ago with 'tlmgr update --all'), I get

$ pdftex mnwe-xintextr.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdftex)
restricted \write18 enabled.
entering extended mode
(./mnwe-xintextr.tex
(/usr/local/texlive/2022/texmf-dist/tex/plain/graphics-pln/miniltx.tex)
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintexpr.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintfrac.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xint.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintcore.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))))
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttools.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttrig.sty

Package xinttrig Warning:
First loading of xinttrig.sty should be via \input xintexpr.sty\relax
Will try that now.

(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintexpr.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintfrac.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xint.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintcore.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))))
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttools.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttrig.sty

Package xinttrig Warning:
First loading of xinttrig.sty should be via \input xintexpr.sty\relax
Will try that now.

(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintexpr.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintfrac.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xint.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintcore.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))))
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttools.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttrig.sty

Package xinttrig Warning:
First loading of xinttrig.sty should be via \input xintexpr.sty\relax
Will try that now.

(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintexpr.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintfrac.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xint.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintcore.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))))
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttools.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttrig.sty

Package xinttrig Warning:
First loading of xinttrig.sty should be via \input xintexpr.sty\relax
Will try that now.

(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintexpr.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintfrac.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xint.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintcore.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))))
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttools.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttrig.sty

Package xinttrig Warning:
First loading of xinttrig.sty should be via \input xintexpr.sty\relax
Will try that now.

(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintexpr.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintfrac.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xint.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintcore.sty
! TeX capacity exceeded, sorry [text input levels=15].
<to be read again>
\relax
l.67 \z
%
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on mnwe-xintextr.log.

Does anyone have any words of wisdom about this?

(Note: for amusement I tried adding \relax to the end of the
\input xintexpr.sty
line, but that didn't help at all.)

Cheers.

Jim

Re: xintexpr.sty and miniltx not playing nicely in TL2022

<62a128fe$0$22065$426a34cc@news.free.fr>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=4895&group=comp.text.tex#4895

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!212.27.60.64.MISMATCH!cleanfeed3-b.proxad.net!nnrp3-2.free.fr!not-for-mail
Date: Thu, 9 Jun 2022 00:55:58 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:91.0)
Gecko/20100101 Thunderbird/91.10.0
From: jfREMOVEbu@free.fr (jfbu)
Subject: Re: xintexpr.sty and miniltx not playing nicely in TL2022
Newsgroups: comp.text.tex
References: <slrnt9vcls.acu.JimDiamond@x360.localdomain>
Content-Language: fr
In-Reply-To: <slrnt9vcls.acu.JimDiamond@x360.localdomain>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 201
Message-ID: <62a128fe$0$22065$426a34cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 09 Jun 2022 00:55:58 CEST
NNTP-Posting-Host: 37.167.48.174
X-Trace: 1654728958 news-4.free.fr 22065 37.167.48.174:64628
X-Complaints-To: abuse@proxad.net
 by: jfbu - Wed, 8 Jun 2022 22:55 UTC

Le 07/06/2022 à 22:19, Jim Diamond a écrit :
> With the following file
>
> -------------------- mnwe-xintextr.tex ---------------------
> \input miniltx
>
> \input xintexpr.sty
>
> \bye
> ------------------------------------------------------------
>
> With TL2021, I get
>
> $ pdftex mnwe-xintextr.tex
> This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2021) (preloaded format=pdftex)
> restricted \write18 enabled.
> entering extended mode
> (./mnwe-xintextr.tex
> (/usr/local/texlive/2021/texmf-dist/tex/plain/graphics-pln/miniltx.tex)
> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintexpr.sty
> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintfrac.sty
> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xint.sty
> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintcore.sty
> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintkernel.sty))))
> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xinttools.sty
> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintkernel.sty))
> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xinttrig.sty)
> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintlog.sty)) )
> No pages of output.
> Transcript written on mnwe-xintextr.log.
>
>
> With TL2022 (updated minutes ago with 'tlmgr update --all'), I get
>
> $ pdftex mnwe-xintextr.tex
> This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdftex)
> restricted \write18 enabled.
> entering extended mode
> (./mnwe-xintextr.tex
> (/usr/local/texlive/2022/texmf-dist/tex/plain/graphics-pln/miniltx.tex)
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintexpr.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintfrac.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xint.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintcore.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))))
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttools.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttrig.sty
>
> Package xinttrig Warning:
> First loading of xinttrig.sty should be via \input xintexpr.sty\relax
> Will try that now.
>
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintexpr.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintfrac.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xint.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintcore.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))))
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttools.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttrig.sty
>
> Package xinttrig Warning:
> First loading of xinttrig.sty should be via \input xintexpr.sty\relax
> Will try that now.
>
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintexpr.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintfrac.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xint.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintcore.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))))
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttools.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttrig.sty
>
> Package xinttrig Warning:
> First loading of xinttrig.sty should be via \input xintexpr.sty\relax
> Will try that now.
>
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintexpr.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintfrac.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xint.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintcore.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))))
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttools.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttrig.sty
>
> Package xinttrig Warning:
> First loading of xinttrig.sty should be via \input xintexpr.sty\relax
> Will try that now.
>
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintexpr.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintfrac.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xint.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintcore.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))))
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttools.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttrig.sty
>
> Package xinttrig Warning:
> First loading of xinttrig.sty should be via \input xintexpr.sty\relax
> Will try that now.
>
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintexpr.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintfrac.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xint.sty
> (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintcore.sty
> ! TeX capacity exceeded, sorry [text input levels=15].
> <to be read again>
> \relax
> l.67 \z
> %
> ! ==> Fatal error occurred, no output PDF file produced!
> Transcript written on mnwe-xintextr.log.
>
>
> Does anyone have any words of wisdom about this?

Hi Jim, I do not yet because it is late and I was doing my weekly
check of c.t.tex after a long day, and got the surprise to
see your bug report. To be honest I never tested usage of xintexpr
with miniltx...

.... here is a work-around

one should issue

\expandafter\let\csname ver@xintexpr.sty\endcsname\empty

before \input xintexpr.sty

$ rlwrap etex -jobname foo
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2023/dev) (preloaded format=etex)
restricted \write18 enabled.
**miniltx
entering extended mode
(/usr/local/texlive/2022/texmf-dist/tex/plain/graphics-pln/miniltx.tex)
*\expandafter\let\csname ver@xintexpr.sty\endcsname\empty

*\input xintexpr.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintexpr.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintfrac.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xint.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintcore.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))))
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttools.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintkernel.sty))
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttrig.sty)
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintlog.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/poormanlog/poormanlog.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/poormanlog/poormanlog.tex))))
*\message{\xinteval{log(Pi)}}
1.1447298858494
*\xintDigits*:=60;
(/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xintlog.sty
Reloading xintlog library using Digits=60.
) (/usr/local/texlive/2022/texmf-dist/tex/generic/xint/xinttrig.sty
Reloading xinttrig library using Digits=60.
) *\message{\xinteval{log(Pi)}}
1.14472988584940017414342735135305871164729481291531157151362
*\bye
No pages of output.
Transcript written on foo.log.

I will have to
- update the test suite to incorporate miniltx
- learn about what miniltx really is
- and perhaps do a hotfix release

So can you try with this in your file:

-------------------- mnwe-xintextr.tex ---------------------
\input miniltx

\expandafter\let\csname ver@xintexpr.sty\endcsname\empty
\input xintexpr.sty

\bye
------------------------------------------------------------

Sorry for the trouble introduced at xintexpr 1.5

Best regards,

Jean-François

>
>
> (Note: for amusement I tried adding \relax to the end of the
> \input xintexpr.sty
> line, but that didn't help at all.)
>
> Cheers.
>
> Jim

Re: xintexpr.sty and miniltx not playing nicely in TL2022

<62a129e1$0$8519$426a34cc@news.free.fr>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=4896&group=comp.text.tex#4896

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.nntp4.net!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed3-b.proxad.net!nnrp1-1.free.fr!not-for-mail
Date: Thu, 9 Jun 2022 00:59:45 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:91.0)
Gecko/20100101 Thunderbird/91.10.0
Subject: Re: xintexpr.sty and miniltx not playing nicely in TL2022
Content-Language: fr
Newsgroups: comp.text.tex
References: <slrnt9vcls.acu.JimDiamond@x360.localdomain>
<62a128fe$0$22065$426a34cc@news.free.fr>
From: jfREMOVEbu@free.fr (jfbu)
In-Reply-To: <62a128fe$0$22065$426a34cc@news.free.fr>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 6
Message-ID: <62a129e1$0$8519$426a34cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 09 Jun 2022 00:59:45 CEST
NNTP-Posting-Host: 37.167.48.174
X-Trace: 1654729185 news-4.free.fr 8519 37.167.48.174:64640
X-Complaints-To: abuse@proxad.net
 by: jfbu - Wed, 8 Jun 2022 22:59 UTC

Le 09/06/2022 à 00:55, jfbu a écrit :
> Sorry for the trouble introduced at xintexpr 1.5

I need some sleep. Introduced at recent 1.4l.
1.5 is supposed to bring some internal core improvements...
....at some point perhaps in a few months

Re: xintexpr.sty and miniltx not playing nicely in TL2022

<62a18fdd$0$22284$426a34cc@news.free.fr>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=4897&group=comp.text.tex#4897

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed2-b.proxad.net!nnrp4-1.free.fr!not-for-mail
Date: Thu, 9 Jun 2022 08:14:53 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:91.0)
Gecko/20100101 Thunderbird/91.10.0
Subject: Re: xintexpr.sty and miniltx not playing nicely in TL2022
Content-Language: fr
Newsgroups: comp.text.tex
References: <slrnt9vcls.acu.JimDiamond@x360.localdomain>
<62a128fe$0$22065$426a34cc@news.free.fr>
From: jfREMOVEbu@free.fr (jfbu)
In-Reply-To: <62a128fe$0$22065$426a34cc@news.free.fr>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 109
Message-ID: <62a18fdd$0$22284$426a34cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 09 Jun 2022 08:14:53 CEST
NNTP-Posting-Host: 37.167.56.6
X-Trace: 1654755293 news-4.free.fr 22284 37.167.56.6:34536
X-Complaints-To: abuse@proxad.net
 by: jfbu - Thu, 9 Jun 2022 06:14 UTC

Hi Jim,

Le 09/06/2022 à 00:55, jfbu a écrit :
> Le 07/06/2022 à 22:19, Jim Diamond a écrit :
>> With the following file
>>
>> -------------------- mnwe-xintextr.tex ---------------------
>> \input miniltx
>>
>> \input xintexpr.sty
>>
>> \bye
>> ------------------------------------------------------------
>>
>> With TL2021, I get
>>
>> $ pdftex mnwe-xintextr.tex
>> This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2021) (preloaded format=pdftex)
>>   restricted \write18 enabled.
>> entering extended mode
>> (./mnwe-xintextr.tex
>> (/usr/local/texlive/2021/texmf-dist/tex/plain/graphics-pln/miniltx.tex)
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintexpr.sty
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintfrac.sty
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xint.sty
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintcore.sty
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintkernel.sty))))
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xinttools.sty
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintkernel.sty))
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xinttrig.sty)
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintlog.sty)) )
>> No pages of output.
>> Transcript written on mnwe-xintextr.log.

Yes, but in fact loading of xintexpr with miniltx in the past
was also broken : xinttrig and xintlog in aborted with a very
discrete message only shown in the log file.

Still with 1.4k from 3 weeks ago one sees in the log file:

> ....
> xintexpr: 2022/05/18 v1.4k Expandable expression parser (JFB)
> (./xinttrig.sty
> xinttrig: Loading should be via \input xintexpr.sty rather, aborting
> ) (./xintlog.sty
> xintlog: Loading should be via \input xintexpr.sty rather, aborting
> ))
> ....

As I never played with etex/pdftex + miniltx + xintexpr I didn't know
about that. At 1.4l there were some changes when xinttrig or xintlog
is loaded and thinks (erroneously, with miniltx, as it turns out)
xintexpr is not yet loaded:
1) issue a warning also visible in console output
2) try to load xintexpr

This causes the infinite loop you encountered.

[...]

>
> I will have to
> - update the test suite to incorporate miniltx
> - learn about what miniltx really is
> - and perhaps do a hotfix release
>
> So can you try with this in your file:
>
> -------------------- mnwe-xintextr.tex ---------------------
> \input miniltx
>
> \expandafter\let\csname ver@xintexpr.sty\endcsname\empty
> \input xintexpr.sty
>
> \bye
> ------------------------------------------------------------
>
> Sorry for the trouble introduced at xintexpr 1.5
>

At 1.4l.

I hesitate about

> - and perhaps do a hotfix release

because

1) there is the work around above and are there
.. many people actually using xintexpr+miniltx
2) I had acted already those last few days,
.. in a renewed brief (I hope) period of activity
.. in my sources the upcoming 1.5 (say before end of 2022) and
.. had already removed various deprecated things. And I may
.. introduce a new bug now if I go into a release.

On the other hand

A) I currently have implemented a nicely
.. colorized hyperlinked rendering of the source code, so
.. I am tempted into releasing that soon.

B) the infinite loop is poor taste

Best,

Jean-François

Re: xintexpr.sty and miniltx not playing nicely in TL2022

<slrntaadeu.a7c.JimDiamond@x360.localdomain>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=4905&group=comp.text.tex#4905

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: JimDiamond@ns.sympatico.ca (Jim Diamond)
Newsgroups: comp.text.tex
Subject: Re: xintexpr.sty and miniltx not playing nicely in TL2022
Date: Sat, 11 Jun 2022 21:39:57 -0300
Organization: A noiseless patient Spider
Lines: 84
Message-ID: <slrntaadeu.a7c.JimDiamond@x360.localdomain>
References: <slrnt9vcls.acu.JimDiamond@x360.localdomain>
<62a128fe$0$22065$426a34cc@news.free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="ae09ff2b2de300a25c580ad4fccff549";
logging-data="24710"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dRNCt6CFB5Ry97tMR5U1m"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:7i7iGL+xQKIt81Jb2xsJ1FW+RR4=
 by: Jim Diamond - Sun, 12 Jun 2022 00:39 UTC

On 2022-06-08 at 19:55 ADT, jfbu <jfREMOVEbu@free.fr> wrote:
> Le 07/06/2022 à 22:19, Jim Diamond a écrit :
>> With the following file
>>
>> -------------------- mnwe-xintextr.tex ---------------------
>> \input miniltx
>>
>> \input xintexpr.sty
>>
>> \bye
>> ------------------------------------------------------------
>>
>> With TL2021, I get
>>
>> $ pdftex mnwe-xintextr.tex
>> This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2021) (preloaded format=pdftex)
>> restricted \write18 enabled.
>> entering extended mode
>> (./mnwe-xintextr.tex
>> (/usr/local/texlive/2021/texmf-dist/tex/plain/graphics-pln/miniltx.tex)
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintexpr.sty
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintfrac.sty
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xint.sty
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintcore.sty
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintkernel.sty))))
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xinttools.sty
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintkernel.sty))
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xinttrig.sty)
>> (/usr/local/texlive/2021/texmf-dist/tex/generic/xint/xintlog.sty)) )
>> No pages of output.
>> Transcript written on mnwe-xintextr.log.
>>
>>
>> With TL2022 (updated minutes ago with 'tlmgr update --all'), I get
>>
>> $ pdftex mnwe-xintextr.tex
>> This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdftex)
>> restricted \write18 enabled.

<many lines snipped>

>> ! TeX capacity exceeded, sorry [text input levels=15].
>> <to be read again>
>> \relax
>> l.67 \z
>> %
>> ! ==> Fatal error occurred, no output PDF file produced!
>> Transcript written on mnwe-xintextr.log.
>>
>>
>> Does anyone have any words of wisdom about this?
>
>
> Hi Jim, I do not yet because it is late and I was doing my weekly
> check of c.t.tex after a long day, and got the surprise to
> see your bug report. To be honest I never tested usage of xintexpr
> with miniltx...
>
> ... here is a work-around
>
> one should issue
>
> \expandafter\let\csname ver@xintexpr.sty\endcsname\empty
>
> before \input xintexpr.sty

<snip>

Jean-Francois,

Thanks very much for the work-around, as well as your other two messages.

Although (in general) I am not as fond of work-arounds as fixes to the
code base, I very much appreciate the efforts you have put into this
useful package, and I also appreciate your replies to my message.

In summary, I'll look forward to a fix being added to your code at
some point in the future, and your work-around gets me going again.

Cheers.

Jim

Re: xintexpr.sty and miniltx not playing nicely in TL2022

<62a61188$0$3010$426a74cc@news.free.fr>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=4908&group=comp.text.tex#4908

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed1-a.proxad.net!nnrp1-2.free.fr!not-for-mail
Date: Sun, 12 Jun 2022 18:17:11 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:91.0)
Gecko/20100101 Thunderbird/91.10.0
Subject: Re: xintexpr.sty and miniltx not playing nicely in TL2022
Content-Language: en-US
Newsgroups: comp.text.tex
References: <slrnt9vcls.acu.JimDiamond@x360.localdomain>
<62a128fe$0$22065$426a34cc@news.free.fr>
<slrntaadeu.a7c.JimDiamond@x360.localdomain>
From: jfREMOVEbu@free.fr (jfbu)
In-Reply-To: <slrntaadeu.a7c.JimDiamond@x360.localdomain>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 107
Message-ID: <62a61188$0$3010$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 12 Jun 2022 18:17:12 CEST
NNTP-Posting-Host: 37.173.20.31
X-Trace: 1655050632 news-3.free.fr 3010 37.173.20.31:34547
X-Complaints-To: abuse@proxad.net
 by: jfbu - Sun, 12 Jun 2022 16:17 UTC

Le 12/06/2022 à 02:39, Jim Diamond a écrit :
> On 2022-06-08 at 19:55 ADT, jfbu <jfREMOVEbu@free.fr> wrote:
>> Le 07/06/2022 à 22:19, Jim Diamond a écrit :
>>> With the following file
>>>
>>> -------------------- mnwe-xintextr.tex ---------------------
>>> \input miniltx
>>>
>>> \input xintexpr.sty
>>>
>>> \bye
>>> ------------------------------------------------------------
>> ... here is a work-around
>>
>> one should issue
>>
>> \expandafter\let\csname ver@xintexpr.sty\endcsname\empty
>>
>> before \input xintexpr.sty
>
> <snip>
>
> Jean-Francois,
>
> Thanks very much for the work-around, as well as your other two messages.
>
> Although (in general) I am not as fond of work-arounds as fixes to the
> code base, I very much appreciate the efforts you have put into this
> useful package, and I also appreciate your replies to my message.
>
> In summary, I'll look forward to a fix being added to your code at
> some point in the future, and your work-around gets me going again.
>
> Cheers.
>
> Jim

Hello Jim,

Thanks again for your bug report, it came at a good time
as I was currently active with TeX, and particularly
with xintexpr recently, not so much with the code but with
the documentation. I had been doing some clean-up with the
idea that perhaps at a later date this year I would engage
into some internal core upgrades. I was happy with the
hyperlinking added to the commented code very recently,
but felt I would
not engage soon into adding features deserving a release,
then the bug you discovered surfaced and after some thinking
it gives me the excuse for a release. It is now on CTAN
as 1.4m and should reach TeX distributions in the coming days
I guess. I had already acted some removals of deprecated
macros and decided against reverting these changes.

And the further excellent thing I owe to your report is to
let me play a bit with miniltx and I discover right now
that my LaTeX package bnumexpr can perfectly well be used
thanks to it with pdftex or etex.

Indeed all the LaTeX interface it uses (related to package loading)
seems to be supported via miniltx so one can do this

---- file to be executed with etex, or pdftex, ...
\input miniltx

\RequirePackage{bnumexpr}

\immediate\write128
{the cube of factorial(50) is \bnumeval{50!^3}}

\immediate\write128
{maybe you wanted it in hexadecimal? here it is \evaltohex{50!^3}}

% \xintLength is a bit of a pain as it does no expansion of its argument
\def\LengthAfterFExpansion#1%
{\expandafter\xintLength\expandafter{\romannumeral-`0#1}}

Sorry I can't print it here it will go into the margin because it has
\LengthAfterFExpansion{\evaltohex{50!^3}} hexadecimal digits and
\LengthAfterFExpansion{\bnumeval{50!^3}} decimal digits.

Now, I should have done
{\tt\detokenize{\edef\foo{\bnumeval{50!^3}}}} and then
{\tt\detokenize{\edef\foohex{\evaltohex{\foo}}}} and not let TeX
compute again and again the same thing, but it wasn't that long a wait.

\edef\foo{\bnumeval{50!^3}}
\immediate\write128{\meaning\foo}

\edef\foohex{\evaltohex{\foo}}
\immediate\write128{\meaning\foohex}
\bye
----

https://ctan.org/pkg/bnumexpr

loads xintkernel, xintbinhex and xintcore,
Together with its own code this "weighs" about 1/4 of
loading xintexpr, so if one only needs big integers this
may be good choice
(although it provides much less than one-fourth of the
xintexpr+xintbinhex features).

Best,

Jean-François

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor