Re: "new" \input vs. primitive behavior
Phelype Oleinik <[email protected]> Fri, 28 Jul 2023 12:30:40 -0300
| Newsgroups | gmane.comp.tex.latex.latex3 |
|---|---|
| Message-ID | <CANfjC0-aBOir2v7o99xWfLc4ut-C5jpRRL39c=QMAZTiZbPJjA@mail.gmail.com> |
--00000000000041428c06018dc48f Content-Type: text/plain; charset="UTF-8" On Fri, 28 Jul 2023, 12:18 LARONDE Thierry, <tlaronde-PXNCZ/[email protected]> wrote: > Hello Phelype, > > How can one rely on the size if the code can advertise the size that is > not the size of the file requested but of another one for which it has > added, on its own, an extension? > As Joseph said, because of a not-too-great design choice in the original TeX (I've had a good deal of trouble already because of the automatic adding of ".tex" in file names). When the file-related primitives were implemented in pdfTeX, they retained this questionable behaviour. On the one hand, it's a pain to deal with. On the other hand, I think it would be worse if \input behaved one way and other file-related primitives behaved differently. The lesser evil, in my opinion. Best, Phelype (sent from phone) > --00000000000041428c06018dc48f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D= "gmail_attr">On Fri, 28 Jul 2023, 12:18 LARONDE Thierry, <<a href=3D"mai= lto:tlaronde-PXNCZ/[email protected]">tlaronde-PXNCZ/[email protected]</a>> wrote:<br></div><blo= ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c= cc solid;padding-left:1ex">Hello Phelype,<br> <br> How can one rely on the size if the code can advertise the size that is<br> not the size of the file requested but of another one for which it has<br> added, on its own, an extension?<br></blockquote></div></div><div dir=3D"au= to"><br></div><div dir=3D"auto">As Joseph said, because of a not-too-great = design choice in the original TeX (I've had a good deal of trouble alre= ady because of the automatic adding of ".tex" in file names).=C2= =A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">When the file-relate= d primitives were implemented in pdfTeX, they retained this questionable be= haviour. On the one hand, it's a pain to deal with. On the other hand, = I think it would be worse if \input behaved one way and other file-related = primitives behaved differently. The lesser evil, in my opinion.=C2=A0</div>= <div dir=3D"auto"><br></div><div dir=3D"auto">Best,</div><div dir=3D"auto">= Phelype</div><div dir=3D"auto"><br></div><div dir=3D"auto">(sent from phone= )=C2=A0</div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex"> </blockquote></div></div></div> --00000000000041428c06018dc48f--